After updating Hyprland to the latest version I get different UI bugs: - Google Docs documents don't have the text rendered - VirtualBox UI is completely teared up - The cursor on Kitty's terminal is missing - Various letters are missing from Zoom UI - The cursor vanishes inside various components - The cursor action doesn't correspond to what is shown (text selection when hovering a button) Examples (adding as an attachment too): https://imgur.com/a/hVwraQs This began happening after the update, but reverting to older versions of Hyprland don't fix the issue.
Created attachment 894084 [details] Google Docs
Created attachment 894085 [details] VirtualBox
Created attachment 894086 [details] Zoom
Have you checked if it could be anything else that was updated around the same time? Mesa maybe? Also getting logs for the applications or dmesg would be good if there is anything abnormal.
I checked the emerge.log (I leave it for reference) and tried to downgrade mesa, wlroots and hyprland. ``` $ cat /etc/portage/package.mask/recent =gui-wm/hyprland-0.40.0-r1 =gui-libs/wlroots-0.17.3-r1 =media-libs/mesa-24.1.0 ``` I also checked Kitty's log: ``` $ kitty [0.172] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop ``` Nothing particularly out of the ordinary. For Firefox there was only "Theme parsing error". I couldn't find anything relevant on dmesg (attaching it), but I realized when writing "$ dmesg > dmesg" that the ">" character wasn't rendering on the terminal. Weird.
Created attachment 894088 [details] dmesg
Created attachment 894089 [details] emerge.log
This commit fixed it: https://github.com/gentoo/gentoo/commit/7319ff722dbb79d4b8b1a93154bea3b7fdcb0a7b Apparently mesa compiled with LTO produced this, closing. Your hunch was correct Alfred, it was Mesa indeed
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=617b657f254bede24caeb6da40f99c390e845e38 commit 617b657f254bede24caeb6da40f99c390e845e38 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-24 06:28:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-24 06:28:32 +0000 media-libs/mesa: add another bug ref for LTO issue I hadn't seen this bug / clocked it was mesa/LTO related until after I committed the workaround. Add a reference now we know they're linked. Bug: https://bugs.gentoo.org/932591 Signed-off-by: Sam James <sam@gentoo.org> media-libs/mesa/mesa-24.0.8-r1.ebuild | 2 +- media-libs/mesa/mesa-24.1.0-r1.ebuild | 2 +- media-libs/mesa/mesa-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c5b79a1737d2a3ef083a3745b2eb2fc9e6681be commit 1c5b79a1737d2a3ef083a3745b2eb2fc9e6681be Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-03 10:22:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-03 10:23:38 +0000 media-libs/mesa: filter LTO unconditionally Mesa seems to have a tonne of issues with LTO and had some reports on IRC of hitting possibly https://gitlab.freedesktop.org/mesa/mesa/-/issues/11846 w/ GCC 13. Not worth the constant games with this, just filter unconditionally given we keep hearing of these different bugs involving LTO and none of them have been rootcaused/debugged/analysed upstream. Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11846 Bug: https://bugs.gentoo.org/932591 Signed-off-by: Sam James <sam@gentoo.org> media-libs/mesa/mesa-24.1.7.ebuild | 4 ++-- media-libs/mesa/mesa-24.2.3.ebuild | 4 ++-- media-libs/mesa/mesa-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)