> Remove from your /etc/X11/xorg.conf blocks like this:

Section "Files"
...
EndSection

This is known to happen when the configuration is generated by nvidia-xconfig.
Such a section interferes with the "Files" Section provided by the package.

-------------------------------------------------------------------------------

> If you wish to go back to nouveau:

# xbps-remove nvidia340 nvidia340-dkms
# xbps-install libglvnd
