It's almost the same workaround for all nvidia versions: you must inform where is the nvidia_drv and libglx.
For nvidia-340, you must add:
Section "Files" ModulePath "/usr/lib/nvidia-340/xorg" ... EndSection
Other versions will need other path.
It's almost the same workaround for all nvidia versions: you must inform where is the nvidia_drv and libglx.
For nvidia-340, you must add:
Section "Files" nvidia- 340/xorg"
ModulePath "/usr/lib/
...
EndSection
Other versions will need other path.