I am using gentoo kerel 6.6.62 and latest X11 server Everything was fine until switch to mesa 24.3.3 from 24.2.8. Now I only have llvmpipe software rendering. My video card is quatro 1000m on a laptop I use nouveau driver. Thxs I think the this might be the problem; Adam Jackson (8): meson: Introduce the legacy-x11 option glx: Move DRI2 client support behind legacy-x11 egl/x11: Move DRI2 client support behind legacy-x11 gallium/video: Move DRI2 support behind legacy-x11 rusticl: Add clCreateSubDevices stub vtn: Handle SPV_INTEL_optnone rusticl: Enable out-of-order execution glx: Fix the GLX_EXT_swap_control_tear drawable attributes Maybe a legacy-x11 use flag should be added? Thxs Merlyn,
Ok, I seemed to have worked it out. nouveau requires dri2 which has been disabled in mesa =>24.3.0 So either mesa needs the legacy-x11 option enabled, which would re-enable legacy dri2, or nouveau needs to enable dri3. Another way is to remove nouveau all together and let the xserver use DDX find and config everything. please use this to help others! Drforbin
Oh, interesting. Thanks. I'll investigate.
Did you confirm that building with `-Dlegacy-x11=dri2` fixes your issue? In the default case (`-Dlegacy-x11=none`), what is the output of `LIBGL_DEBUG=verbose glxgears`? I'm wondering what error message we get.
No, I removed nouveau which forced the xserver to use ddx to modeset etc. When I donot do this all I get is the software pipe llvm pipe. This is from glxinfo
I would be curious if/when you confirm
According to upstream, this is a problem when the xf86-video-* driver doesn't support/enable DRI3, and xf86-video-nouveau doesn't enable DRI3 by default. I suspect the best thing to do is to patch xf86-video-nouveau to enable DRI3 by default. (In reply to merlyn from comment #5) > I would be curious if/when you confirm I don't have a nouveau system to test with. It would be particularly helpful if you could test suggestions to resolve the bug you reported...
That's fine. What would you like me to do? I'll help in anyway I can.
(In reply to merlyn from comment #7) > That's fine. What would you like me to do? > I'll help in anyway I can. Please try what Matt suggested in https://bugs.gentoo.org/948591#c3 (both the option and also the command output). Let us know if you need help doing that. For the option part: you can try the option on the command line with a hack, like this: MYMESONARGS="-Dlegacy-x11=dri2` emerge -v1 mesa.
make that: MYMESONARGS="-Dlegacy-x11=dri2" emerge -v1 mesa.
Ok. MYMESONARGS="-Dlegacy-x11=dri2` emerge -v1 mesa. That environmental will pass the option to config?
(In reply to merlyn from comment #10) > Ok. > MYMESONARGS="-Dlegacy-x11=dri2` emerge -v1 mesa. > That environmental will pass the option to config? Yes.
I hit this issue via https://bugs.gentoo.org/948623 Doing MYMESONARGS="-Dlegacy-x11=dri2` emerge -v1 mesa lead to a working setup. Thanks
*** Bug 948623 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb817f378ce3ca84c2682570a1e821f1239f0f68 commit bb817f378ce3ca84c2682570a1e821f1239f0f68 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-02-03 17:08:59 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-02-03 17:12:58 +0000 media-libs/mesa: Backport fixes from -9999 Closes: https://bugs.gentoo.org/948591 Closes: https://bugs.gentoo.org/949118 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/{mesa-24.3.4.ebuild => mesa-24.3.4-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936f4af27c29cde075c7540cc6cacf60dc677f1b commit 936f4af27c29cde075c7540cc6cacf60dc677f1b Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-02-03 16:42:39 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-02-03 17:12:58 +0000 media-libs/mesa: Build with -Dlegacy-x11=dri2 This is required for users of xf86-video-nouveau and xf86-video-intel. Bug: https://bugs.gentoo.org/948591 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 1 + 1 file changed, 1 insertion(+)
*** Bug 949346 has been marked as a duplicate of this bug. ***