-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvidia-xrun fails to disable the intel graphics card. Nvidia is enabled by default #130
Comments
Hello @shakolan I not remember exactly what I did (I had few read on Arch and other stuff but I will try to add here all my configuration in case it help. I use Debian in case it can help too. # cat /etc/modprobe.d/nvidia.conf
install nvidia modprobe -i nvidia-current $CMDLINE_OPTS
install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS
install nvidia-drm modprobe nvidia-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS
install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS
remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm nvidia
remove nvidia-modeset modprobe -r -i nvidia-drm nvidia-modeset
# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias pci:v000010DEd00000E00sv*sd*bc04sc80i00* nvidia
alias pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc02i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia # cat /etc/systemd/system/nvidia-disable.service
[Unit]
Description="Disable NVIDIA PCI bus"
[Service]
ExecStart=/bin/bash -c 'tee /sys/bus/pci/devices/0000:01:00.0/remove <<< 1'
[Install]
WantedBy=multi-user.target The first file look pretty normal to me, but just in case I copy paste it. The systemd service let you disable the nvidia pci bus, not forget to change the pci bus if needed. I really not remember if I did something more or if it will fix your intel card issue but I remember I had my nvidia card always up after an upgrade of Debian. Good luck Edit: |
Can anyone please help me? I am desperate. I can't seem to fix it. Nvidia is enabled by default
The text was updated successfully, but these errors were encountered: