Running ubuntu 18.04 with nvidia-driver-390. How can I switch to nouveau and make the change persistent between reboots?
4 Answers
You can switch drivers by running the GUI Additional Drivers from the Software and Update app.
Or you can do it from the terminal commandline by running these commands:
$ ubuntu-drivers devices
This will show you your available drivers. Then pick the nouveau driver found and switch to it with this command:
$ sudo apt install [xserver-xorg-video-nouveau]
The [xserver-xorg-video-nouveau] is an example a nouveau driver that might be found.
If for some reason you have removed your nouveau drivers, you can reinstall them with (for example):
$ sudo apt install nouveau-firmware
You can verify the available nouveau drivers from the repository with this command:
$ apt search nouveau
- 24,768
- 10
- 68
- 116
-
1I cannot find any explanation of what `nouveau-firmware` is needed for exactly. It is not listed among dependencies of `xserver-xorg-video-nouveau`, and selecting `xserver-xorg-video-nouveau` with GUI Driver Manager does not install `nouveau-firmware`. Could it be useful to install `nouveau-firmware` manually? Does the Nvidia card model matter? – Alexey Feb 16 '19 at 19:09
-
You may be right that the particular driver may not be needed. The command lines (which I edited the answer to clarify) are intended as examples for installing drivers. – L. D. James Feb 17 '19 at 09:33
-
When I try to install `xserver-xorg-video-nouveau` it says: The following packages have unmet dependencies: xserver-xorg-video-nouveau : Depends: xorg-video-abi-23 Depends: xserver-xorg-core (>= 2:1.18.99.901) – Lucas Bustamante Jul 02 '19 at 17:23
-
That means your library configuration is broken. There are quite a few Q&A's that addresses fixing **unmet dependencies** issues. This is a carefully filtered Google search of this site that may help you get started: https://www.google.com/search?ei=wcsbXc2ZNoK0gge4lpiYDg&q=%22ubuntu%22+how+to+resolve+video+unmet+dependencies+site%3Aaskubuntu.com&oq=%22ubuntu%22+how+to+resolve+video+unmet+dependencies+site%3Aaskubuntu.com&gs_l=psy-ab.3..0i71l8.0.0..307347...0.0..0.0.0.......0......gws-wiz.b9VnL4hfPcE The first one (currently) on the list will likely resolve your issue. – L. D. James Jul 02 '19 at 21:27
Run
sudo apt purge nvidia-driver-390
sudo apt autoremove
and reboot.
Another way is to do it in "Software & Updates" -> Additional Drivers tab.
- 88,764
- 91
- 205
- 313
-
1I've tried that but then when rebooting it doesn't enter to desktop. – Smeterlink May 05 '18 at 11:02
-
2That may mean that your video card is not perfectly supported by nouveau. – Pilot6 May 05 '18 at 11:24
Answer my own question: ubuntu-drivers and "Software and Update > Additional drivers" are broken on ubuntu 18.04. We'll have to wait until developers fix it. For now just use the proprietary nvidia driver which works ok.
- 373
- 1
- 4
- 16
On Xubuntu 18.04, "Software and Update > Additional drivers" worked for me, but I had to replace the /etc/X11/xorg.conf file by the original one, /etc/X11/xorg.conf.nvidia-xconfig-original, which in my case is just a blank file.
- 11
- 1