FS#76019 - [mesa] 22.2.0-1 rendering breakage
Attached to Project:
Arch Linux
Opened by Hanabishi (Hanabishi) - Monday, 26 September 2022, 12:11 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 20:39 GMT
Opened by Hanabishi (Hanabishi) - Monday, 26 September 2022, 12:11 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 20:39 GMT
|
Details
Description:
testing/mesa 22.2.0-1 issues the rendering breakage for me. GPU is AMD Radeon RX 580. KDE kwin (X11) struggle to render windows, disabling the compositor helps. But other apps which use GPU rendering also suffer, e.g. Alacritty can't render text, Chromium just crashes at startup. More interesting that Firefox works totally fine, because of custom WebRender I guess. So I suspect this may be OpenGL breakage. Downgrading to 22.1 solves teh issue. Unfortunately there are no any errors or suspicious entries in the journal. I trying to investigate which configs/setups/tweaks can affect the issue, but nothing seems to work by now. Please suggest what else I can try and which debug output can be helpful. Additional info: * package version(s): mesa 22.2.0-1 |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 05 May 2023, 20:39 GMT
Reason for closing: Fixed
Additional comments about closing: fixed since this commit: https://github.com/archlinux/svntogit-pa ckages/commit/d4916e35375eead09fdceb6505 b4229022309660
Friday, 05 May 2023, 20:39 GMT
Reason for closing: Fixed
Additional comments about closing: fixed since this commit: https://github.com/archlinux/svntogit-pa ckages/commit/d4916e35375eead09fdceb6505 b4229022309660
With AMD Renoir/Cezanne iGPU,
in KDE Plasma 5.25.90 (a.k.a. 5.26 beta) Waylan
Downgrading to 22.1.7 workaround the problem.
In case more issues arrive, it would be a good time to consider downgrading if officially. That's up to the maintainer of course, I just wanted to point out, that 22.2.0 is a bit special, because there was no more update in about a month in the 22.2 branch after rc3 and then out of a sudden a stable release. This was also discussed on the mesa mailing list [2].
So, just a heads up, there might even be more issues.
[1]: https://www.phoronix.com/news/Mesa-22.2-Released
[2]: https://lists.freedesktop.org/archives/mesa-dev/2022-September/225849.html
Downgrading to 22.1.7 resolves all graphical issues.
So setting
options=('debug' '!lto')
and adding
-D b_lto=false \
to the arch-meson call to disable LTO could be a temporary fix.
If that can be a viable workaround for the packages is up to the maintainers to decide.
Houdini crash report indicates mesa problems:
> [michael@pocket3 ~] $ cat /tmp/houdini_temp/crash.HFTNAII_START_v002_023_freestyle_010.michael_7016_log.txt
Crash report from michael; Houdini FX Version 19.5.303 [linux-x86_64-gcc9.3]
Uptime 92 seconds
Fri Nov 4 00:59:11 2022
Caught signal 6
Traceback from 7016 ThreadId=0x7f9774714ec0
AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__sigaction <libc.so.6>
pthread_key_delete <libc.so.6>
raise <libc.so.6>
abort <libc.so.6>
[0x98c1f] <iris_dri.so>
nouveau_drm_screen_create <iris_dri.so>
__driDriverGetExtensions_d3d12 <iris_dri.so>
__driDriverGetExtensions_d3d12 <iris_dri.so>
glPrimitiveBoundingBox <libGLX_mesa.so.0>
glAreTexturesResidentEXT <libGLX_mesa.so.0>
glIsTextureEXT <libGLX_mesa.so.0>
qt_plugin_instance <libqxcb-glx-integration.so>
QOpenGLContext::swapBuffers(QSurface*) <libQt5Gui.so.5>
RE_Server::GLSwapBuffers(RE_Window*) <libHoudiniUI.so>
UI_Window::swapBuffers() <libHoudiniUI.so>
UI_Window::doRedrawSubclass() <libHoudiniUI.so>
dm_ViewLayoutWindow::doRedrawSubclass() <libHoudiniAPPS3.so>
UI_Window::doRedraw() <libHoudiniUI.so>
UI_Queue::doWindowRedraws() <libHoudiniUI.so>
UI_Queue::processNextEvent() <libHoudiniUI.so>
UI_Queue::drain() <libHoudiniUI.so>
UI_Queue::eventLoop() <libHoudiniUI.so>
main <libHoudiniUI.so>
__libc_init_first <libc.so.6>
__libc_start_main <libc.so.6>
main <houdini-bin>
I compiled mesa-22.3.0-rc4 against staging with lto re-enabled. The original issue of rendering breakage still happens. lto disabled and the issue does not appear. Seems like this needs to stay for longer.
I am not skilled enough to develop/look for tests or backtraces. I usually build the mesa-packages with modifying the PKGBUILD from the Arch repo, install the packages and reboot, if the issue still appears my DE looks like in the attached screenshot (distorted taskbar and missing/broken fonts) in which case I reinstall the packages without LTO and reboot again.
I don't have time to compile the git package at the moment, will report back when I had time.
mesa-git with LTO is fixed at least when built against staging.
I have compiled and used mesa23 since mesa23-rc2 with LTO reenabled, and have now used the PKGBUILD from testing with the 2 lines changed to reenable LTO and rebuild it for my systems: No rendering breakage occured, and no other issues appeared.
At least for what I can test, I'd say it's now safe to reenable LTO again.