Bug#909218: nvidia-xconfig: Files section missing ModulePath entries break GLX upon installing libgl1-nvidia-glx (required by Steam)
Andreas Beckmann
anbe at debian.org
Thu Sep 20 16:17:41 BST 2018
Control: severity -1 serious
Control: tag -1 sid buster
Maybe it's time to phase nvidia-xconfig out for buster ...
On 2018-09-19 22:26, miguev wrote:
> 2. System freezes after locking screen with xflock4, can't even get to tty.
> https://unix.stackexchange.com/questions/411900/after-installing-nvidia-
> drivers-computer-freezes-after-locking-cant-even-get
Can we try to analyze and fix this bug instead of fixing nvidia-xconfig?
Does the following minimal Xorg.conf work for you?
Section "Files"
ModulePath "/usr/lib/xorg/modules/linux"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
Since X seems to work without xorg.conf (unless you lock your screen)
please get Xorg logs from both no xorg.conf and a working minimal xorg.conf
> Workaround is to generate /etc/X11/xorg.conf by running nvidia-xconfig
> # nvidia-xconfig
> # /etc/init.d/lightdm restart
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
>
> Adding NVidia’s drivers path in /etc/X11/xorg.conf in the otherwise empty
> “Files” section:
> Section "Files"
> ModulePath "/usr/lib/nvidia"
NEVER EVER add "/usr/lib/nvidia" as a search path.
This tree will also contain incompatible legacy modules.
Use /usr/lib/xorg/modules/linux instead. There will be a symlink to the
correct module.
> ModulePath "/usr/lib/xorg/modules"
> EndSection
>
> The paths are those that contain libglx.so
> # find /usr/ -name libglx.so
> /usr/lib/nvidia/libglx.so
> /usr/lib/nvidia/current/libglx.so
> /usr/lib/xorg/modules/extensions/libglx.so
> /usr/lib/xorg/modules/linux/libglx.so
>
> Found this idea in the NVidia Dveloper forum:
> https://devtalk.nvidia.com/default/topic/800059/linux/glxinfo-command-
> returning-quot-badwindow-invalid-window-parameter-quot-error/
Andreas
More information about the pkg-nvidia-devel
mailing list