on amd64, xorg-x11 implementation is in /usr/lib64/opengl/xorg-x11. emerging nvidia-drivers (256.35) creates /usr/lib32/opengl then setting xorg-x11 configuration will fail because it will always look in the lib32 folder. Reproducible: Always Steps to Reproduce: 1. emerge nvidia-drivers 2. eselect opengl set xorg-x11 Actual Results: Switching to xorg-x11 OpenGL interface...!!! Error: No proper xorg-x11 or xorg-x11 opengl implementation found exiting Expected Results: Switching to xorg-x11 OpenGL interface... done Proposed patch as opengl.eselect.diff.
Created attachment 240473 [details, diff] /usr/share/eselect/modules/opengl.eselect patch Also fixed indentation.
(In reply to comment #1) > Also fixed indentation. Patch is unreviewable, please provide 2 patches if you want to clean up indentation. Thanks
Created attachment 240669 [details, diff] Diff 1 without indentation
Created attachment 240671 [details, diff] Diff 2 for indentation FYI You can ignore this patch and fix indentation by yourself if you prefer
Tbh you are fixing something that should not happen. On amd64 you need proper emul libs... app-emulation/emul-linux-x86-opengl-20100611-r99 (/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2) media-libs/mesa-9999 (/usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2) scarab@ugly-elf: ~ $ s eselect opengl set nvidia Switching to nvidia OpenGL interface... done scarab@ugly-elf: ~ $ s eselect opengl set xorg-x11 Switching to xorg-x11 OpenGL interface... done So it works as advertised. Just ebuild deps are lacking. It always expected emul-libs to be around on amd64...
Ok i fixed deps in both ati and nvidia drivers. So this is again fixed. Thanks for report. Reopen if i missed something :]