Bug 489229 - Broken rendering with OpenGL compositing on i915
Summary: Broken rendering with OpenGL compositing on i915
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 12:42 UTC by rachid
Modified: 2024-06-27 07:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rachid 2024-06-26 12:42:18 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
On older video card hardware (i915) there is some broken rendering with OpenGL composting. 
In journalctl I see the following information:

Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to build graphics pipeline state
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to build graphics pipeline state
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to build graphics pipeline state
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to build graphics pipeline state
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to build graphics pipeline state
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to build graphics pipeline state
Jun 26 13:12:39 mrichan plasmashell[1424]: Failed to link shader program: error: Exceeded max ALU instructions (106/64)
Jun 26 13:15:13 mrichan systemsettings[1774]: Failed to link shader program: error: Exceeded max ALU instructions (77/64)
Jun 26 13:15:13 mrichan systemsettings[1774]: Failed to build graphics pipeline state
Jun 26 13:15:13 mrichan systemsettings[1774]: Failed to link shader program: error: Exceeded max ALU instructions (77/64)
Jun 26 13:15:13 mrichan systemsettings[1774]: Failed to build graphics pipeline state



STEPS TO REPRODUCE
1. Install KDE 6.1.1 (or older version) on hardware with video card i915
2. Check the logs 

OBSERVED RESULT
Issues with graphics rendering.
Also separate issue with login screen SDDM without text. I have created separate bug report: https://github.com/sddm/sddm/issues/1958

EXPECTED RESULT
No rendering issues 

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: Gentoo
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Comment 1 Zamundaaa 2024-06-26 13:30:23 UTC
Please attach the output of wayland-info. If KWin falls back to llvmpipe or QPainter, apps should be doing the same
Comment 2 rachid 2024-06-26 14:08:27 UTC
(In reply to Zamundaaa from comment #1)
> Please attach the output of wayland-info. If KWin falls back to llvmpipe or
> QPainter, apps should be doing the same

Currently i am using X11 and not wayland.
wayland-info
failed to create display: No such file or directory
Comment 3 Zamundaaa 2024-06-26 14:11:50 UTC
ah. Not sure we can do anything about this then; maybe Qt needs a similar check as KWin now has
Comment 4 Nate Graham 2024-06-26 16:29:29 UTC
Yeah.
Comment 5 rachid 2024-06-26 19:35:25 UTC
Is this reported to QT?