mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
This is new rust-written open-source drivers for nvidia newly made available in kernel 6.15, albeit quite work-in-progress and not quite sure if they are even usable yet. And, like nouveau, they would conflict if used. Not worth revbumps given users would've had to go quite out of their way to enable it manually and should know what they are getting into. It will either way propagate on kernel bumps due to requiring to rebuild nvidia-drivers. Blacklisting given "possible" that dist-kernels will enable it by default in the future albeit it is quite experimental at this stage and needs rust, so I doubt it'll happen with 6.15.x. Note nvidia-drm.fbdev=1 may or may not be able to unload it which *could* allow unblacklisting (same for nouveau), but this feels kind of fragile and we have it off by default for now. It is more typical to use fbdev=1 to unload simpledrm after using for early boot display. Technically not meaningful in nvidia-390/470.conf given nova is not usable for these old cards, but no real reason not to keep in sync. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
23 lines
824 B
Plaintext
23 lines
824 B
Plaintext
# NVIDIA drivers options
|
|
# See /usr/share/doc/nvidia-drivers-*/README.txt* for more information.
|
|
|
|
# nvidia-drivers and nouveau / nova cannot be used at same time.
|
|
# Comment out the following lines if you wish to allow either.
|
|
blacklist nouveau
|
|
blacklist nova_core
|
|
|
|
# !!! Security Warning !!!
|
|
# Do not change the DeviceFile options unless you know what you are doing.
|
|
# Only add trusted users to the 'video' group, these users may be able to
|
|
# crash, compromise, or irreparably damage the machine.
|
|
options nvidia \
|
|
NVreg_DeviceFileGID=@VIDEOGID@ \
|
|
NVreg_DeviceFileMode=432 \
|
|
NVreg_DeviceFileUID=0 \
|
|
NVreg_ModifyDeviceFiles=1
|
|
|
|
# Should be no need to touch anything below.
|
|
alias char-major-195 nvidia
|
|
alias /dev/nvidiactl char-major-195
|
|
remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia
|