[Bug 1230637] New: Wrong colors with Mesa 24.2.2
https://bugzilla.suse.com/show_bug.cgi?id=1230637 Bug ID: 1230637 Summary: Wrong colors with Mesa 24.2.2 Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: sndirsch@suse.com QA Contact: gfx-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- After fixing broken rendering with Mesa 24.1.4 (boo#1228164) an update to Mesa 24.2.2 (where the fix was dropped again since it no longer applied) broke colors: Examples in openQA during installation with YaST https://openqa.opensuse.org/tests/4484038#step/welcome/7 https://openqa.opensuse.org/tests/4485651#step/partitioning_finish/2 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c1 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 877389 --> https://bugzilla.suse.com/attachment.cgi?id=877389&action=edit screenshot-boo1230637.jpg Screenshot of TW installation with Mesa 24.2.2. Left bottom: Qemu GUI, right top: Xvnc/vncviewer. Obviously same result. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 877390 --> https://bugzilla.suse.com/attachment.cgi?id=877390&action=edit screenshot-boo1230637-ssh-X.jpg Screenshot of YaST started via 'ssh -X'. Correct colors. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org, | |mrueckert@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ana.guerrero@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Slowroll |Current -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- Colors are correct once I uninstall Mesa-dri package (drivers including "swrast") $ yast2 & QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000 qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) $ So I'm pretty sure that the OpenGL backend of Qt is being used by default by YaST. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c4 --- Comment #4 from Stefan Dirsch <sndirsch@suse.com> --- Colors of glxgears are correct, btw. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c5 --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- Colors in glmark2 look correctly. If using KDE-Wayland instead of X11-Wayland desktop the colors in YaST look correctly as well. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c6 --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> --- Colors of YaST2 are correct in X11 when using qemu's -vga virtio instead of -vga std -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c7 --- Comment #7 from Dominique Leuenberger <dimstar@opensuse.org> --- A possibly related upstream bug report: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11873 It targets VirtualBox, but the effect is also shifted colors -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c8 --- Comment #8 from Marcus Rückert <mrueckert@suse.com> --- https://gitlab.freedesktop.org/mesa/mesa/-/issues/11839 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c9 --- Comment #9 from Stefan Dirsch <sndirsch@suse.com> --- Yeah, I already figured out that it depends on with which Mesa version you start the Xserver, i.e. if you start Xserver with Mesa 24.1 installed the colors are correct even with later installing Mesa 24.2. OTOH if you start Xserver with Mesa 24.2 installed colors are broken even with later installing and running Mesa 24.1. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 877414 --> https://bugzilla.suse.com/attachment.cgi?id=877414&action=edit glxinfo.good.xserver-mesa241.xclient-mesa242 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c11 --- Comment #11 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 877415 --> https://bugzilla.suse.com/attachment.cgi?id=877415&action=edit glxinfo.bad.xserver-mesa242.xclient-mesa242 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c12 --- Comment #12 from Stefan Dirsch <sndirsch@suse.com> --- The missing GLX Visuals/GLXFBConfig are the issue here I believe: --- glxinfo.good.xserver-mesa241.xclient-mesa242 2024-09-18 12:26:19.509722326 +0200 +++ glxinfo.bad.xserver-mesa242.xclient-mesa242 2024-09-18 12:26:19.505722244 +0200 -260 GLX Visuals +80 GLX Visuals -680 GLXFBConfigs: +240 GLXFBConfigs: -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c13 --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> --- With Mesa 24.2 Xserver loads /usr/lib64/dri/libdril_dri.so whereas with Mesa 24.1 Xserver loads /usr/lib64/dri/swrast_dri.so -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c14 --- Comment #14 from Stefan Dirsch <sndirsch@suse.com> --- Everything points to this commit: d709b42180e29519ce9eb119e99226299380a9b5 is the first bad commit commit d709b42180e29519ce9eb119e99226299380a9b5 Author: Adam Jackson <ajax@redhat.com> Date: Thu Jun 13 19:01:05 2024 -0400 dri: Let dril handle the DRI driver link farm Unfortunately just reverting isn't trivial. A lot of additional commits are sitting on top of it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c15 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> --- I'm attaching glxinfo outputs for running qemu with "-vga virtio" for Mesa 24.1 and Mesa 24.2 (Xserver and Client). Both have correct colors although you'll see a different set of GLX Visuals/GLXFBConfigs. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c16 --- Comment #16 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 877416 --> https://bugzilla.suse.com/attachment.cgi?id=877416&action=edit glxinfo.good.virtio-xserver-24.2 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c17 --- Comment #17 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 877417 --> https://bugzilla.suse.com/attachment.cgi?id=877417&action=edit glxinfo.good.virtio-xserver-24.1 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c18 --- Comment #18 from Stefan Dirsch <sndirsch@suse.com> --- With virtio Visuals/GLXFBConfigs are reduced with 24.2 but not so much it seems. --- glxinfo.good.virtio-xserver-24.1 2024-09-18 13:33:08.855836147 +0200 +++ glxinfo.good.virtio-xserver-24.2 2024-09-18 13:33:08.859836229 +0200 -260 GLX Visuals +144 GLX Visuals -680 GLXFBConfigs: +272 GLXFBConfigs: -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c19 --- Comment #19 from Stefan Dirsch <sndirsch@suse.com> --- Just commented upstream. https://gitlab.freedesktop.org/mesa/mesa/-/issues/11839#note_2573113 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c20 --- Comment #20 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #19)
Just commented upstream.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11839#note_2573113
Meanwhile closed as a duplicate of https://gitlab.freedesktop.org/mesa/mesa/-/issues/11840#note_2572386 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230637 https://bugzilla.suse.com/show_bug.cgi?id=1230637#c21 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #21 from Stefan Dirsch <sndirsch@suse.com> --- Finally a fix was found. Closing therefore. ------------------------------------------------------------------- Wed Nov 6 17:34:15 UTC 2024 - Stefan Dirsch <sndirsch@suse.com> - 0001-dril-Fixup-order-of-pixel-formats-in-drilConfigs.patch * fixes colors for 'swrast' driver (boo#1230637, gitlab issue#11840) More interesting information: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31950 https://gitlab.freedesktop.org/mesa/mesa/-/issues/12097 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com