Originally posted by kc1di
View Post
Announcement
Collapse
No announcement yet.
Can I switch graphics drivers without deinstalling?
Collapse
This topic is closed.
X
X
-
- Top
- Bottom
-
Originally posted by kc1di View PostSo your black list will look like this when using nouveau
#blacklist nouveau
blacklist nvidia
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
So what is the lbm-* for? And should I add corresponding aliases for nvidia? Like
alias nvidia off
alias lbm-nvidia off
- Top
- Bottom
Comment
-
Originally posted by kc1di View PostOr perhaps a bash script to make the change.
- Top
- Bottom
Comment
-
So after some searching, reading man pages, and trial-and-error, I did the following:
1. Moved the NVIDIA blacklist file /etc/modprobe.d/nvidia-graphics-drivers.conf (the one that blacklists the nouveau driver) to /etc/modprobe.d/nvidia-graphics-drivers.NOconf
2. Made a new file with the original name containing:
blacklist nvidia
options nvidia modeset=0
3. Did
sudo update-initramfs -u
4. Rebooted
I could tell something was different because in the Plasma startup screen, the little half circle that spins around while it's working would spin much faster with the Nvidia driver. Also, lsmod no longer listed any nvidia devices.
And glmark2 gave lower scores:
Intel graphics: 2180
NVIDIA GPU with nouveau: 2128
NVIDIA GPU with nvidia-390 driver: 4658
This is on a laptop with an Intel i7-8550U at 1.8GHz (but lscpu says it's
running at 2.5GHz) and a GeForce MX150 GPU.
The second number is lower than the first, but I'll call that noise.
I'm not sure whether this means the first test did not properly disable the GPU
or the Nouveau driver is not very good (at least for glmark2).
- Top
- Bottom
Comment
-
The Nouveau driver is an open source driver that was basically reversed engineered and may not have all the functions that the Propriety Nvidia driver has. So I think your test is quite good.
At least that has been my experience with nvidia cards and drivers.Dave Kubuntu 20.04 Registered Linux User #462608
Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385
- Top
- Bottom
Comment
-
"A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
Comment
-
Originally posted by kc1di View PostThe Nouveau driver is an open source driver that was basically reversed engineered and may not have all the functions that the Propriety Nvidia driver has. So I think your test is quite good.
I don't object to using a proprietary driver per se... but it seems to be causing other problems on my system, as I say on another thread (https://www.kubuntuforums.net/showth...reen-is-broken). Seems like I'll have to switch back and forth according to whether or not I need the perf (I originally installed the NVIDIA driver to use CUDA).
- Top
- Bottom
Comment
-
Originally posted by Mister Pi View PostSo after some searching, reading man pages, and trial-and-error, I did the following:
After some searching, I tried "udevadm monitor" and saw some error msgs about nvidia modeset, so I commented out the "options nvidia modeset=0" line in my blacklist file, reran "sudo update-initramfs -u" and rebooted. Now instead of one or two systemd-udevd processes eating up lots of CPU cycles, there were *25* of these, although each one only took up 1 or 2%. Also, /var/log/syslog was expanding at about 100 lines a second.
So I found that installing the Nvidia driver had added a file /lib/udev/rules.d/71-nvidia.rules, so I did
sudo touch /etc/udev/rules.d/71-nvidia.rules
which created a blank file which overrides the other rules file (according to the man page for udev). After rebooting, there is only one systemd-udevd process and it seems well-behaved.
- Top
- Bottom
Comment
Comment