FS#56993 - [nvidia-utils] 387.34-4 breaks glxgears
Attached to Project:
Arch Linux
Opened by ads (flv) - Sunday, 07 January 2018, 17:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 09 January 2018, 10:33 GMT
Opened by ads (flv) - Sunday, 07 January 2018, 17:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 09 January 2018, 10:33 GMT
|
Details
Description:
After installing 387.34-4, glxgears doesn't work on the integrated intel card The output is similar to this: https://bbs.archlinux.org/viewtopic.php?id=135562 Steps to reproduce: install version 387.34-4 on a laptop with integrated (intel) graphics run glxgers output similar to this: https://bbs.archlinux.org/viewtopic.php?id=135562 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 09 January 2018, 10:33 GMT
Reason for closing: Fixed
Tuesday, 09 January 2018, 10:33 GMT
Reason for closing: Fixed
The -3 version of the package works without issue, so the bug is definitely due to changes in -4
Running -3 and everything works fine. X starts on Intel, optirun runs programs on the dGPU just fine.
I repeat. -3 is working correctly
Xorg.1 is for -4
Xorg.0 for -3
Xorg.1.log (38.6 KiB)
In order to fix it you can create /etc/X11/xorg.conf.d/20-modulepath.conf with the following content:
Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection
cat /usr/share/X11/xorg.conf.d/99-nvidia.conf
Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/lib/nvidia/xorg"
EndSection
I've basically switched the order or the two ModulePath entries. Somebody without dual graphics should probably test this
cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
EndSection
so nvidia-99 could probably be removed if this is done
cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/lib/nvidia/xorg"
EndSection