X11 module path not extended by this package (/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf)
In order for the Nvidia GLX module to be loaded, the ModulePath for the X Server needs to be extended.
This is what normally should be done by /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
.
This file is supposed to contain an entry like
ModulePath "/usr/lib/nvidia/xorg"
However, this package takes the original file nvidia-drm-outputclass.conf
as provided by Nvidia, and does not make this necessary amendment.
This results in the X Server failing to load the proper GLX module:
[ 206.998] (**) NVIDIA(0): Enabling 2D acceleration
[ 206.998] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 206.998] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 206.998] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 206.998] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 206.998] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
As the ModulePath entry is missing in nvidia-drm-outputclass.conf
, the file /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
is overwritten each time the package is updated, resulting in the above-mentioned error to re-occur.
This is not only a cosmetic problem. Failing to load the proper GLX module results, for example, in Chromium not being able to play videos anymore.
Please kindly fix. Thank you very much.