Can't disable nouveau drivers in Ubuntu 18.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
3
down vote
favorite
I tried disabling nouveau drivers in Ubuntu 18.04 by putting these lines in /etc/modprobe.d/blacklist.conf
:
#Blacklist nouveau drivers
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
and updating initramfs.
On reboot the gdm won't start, blocked in the last line:
Trying to enter any tty, I get the same error (I had to undo changes from rescue mode).
The same procedure was working on 17.10 (with xorg).
My pc is an Asus ux430uq with clean install of ubuntu 18.04 (4.15.0-20 kernel).
I am afraid of uninstalling xserver-xorg-video-nouveau
drivers since I don't know how to reinstall them if something go wrong (I can't get internet working in rescue mode).
EDIT:
Uninstalling the above package lead to the same error. Trying to boot ubuntu with the kernel flag nouveau.modeset=0
gives the same error too.
drivers nvidia 18.04 nouveau blacklist
add a comment |Â
up vote
3
down vote
favorite
I tried disabling nouveau drivers in Ubuntu 18.04 by putting these lines in /etc/modprobe.d/blacklist.conf
:
#Blacklist nouveau drivers
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
and updating initramfs.
On reboot the gdm won't start, blocked in the last line:
Trying to enter any tty, I get the same error (I had to undo changes from rescue mode).
The same procedure was working on 17.10 (with xorg).
My pc is an Asus ux430uq with clean install of ubuntu 18.04 (4.15.0-20 kernel).
I am afraid of uninstalling xserver-xorg-video-nouveau
drivers since I don't know how to reinstall them if something go wrong (I can't get internet working in rescue mode).
EDIT:
Uninstalling the above package lead to the same error. Trying to boot ubuntu with the kernel flag nouveau.modeset=0
gives the same error too.
drivers nvidia 18.04 nouveau blacklist
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I tried disabling nouveau drivers in Ubuntu 18.04 by putting these lines in /etc/modprobe.d/blacklist.conf
:
#Blacklist nouveau drivers
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
and updating initramfs.
On reboot the gdm won't start, blocked in the last line:
Trying to enter any tty, I get the same error (I had to undo changes from rescue mode).
The same procedure was working on 17.10 (with xorg).
My pc is an Asus ux430uq with clean install of ubuntu 18.04 (4.15.0-20 kernel).
I am afraid of uninstalling xserver-xorg-video-nouveau
drivers since I don't know how to reinstall them if something go wrong (I can't get internet working in rescue mode).
EDIT:
Uninstalling the above package lead to the same error. Trying to boot ubuntu with the kernel flag nouveau.modeset=0
gives the same error too.
drivers nvidia 18.04 nouveau blacklist
I tried disabling nouveau drivers in Ubuntu 18.04 by putting these lines in /etc/modprobe.d/blacklist.conf
:
#Blacklist nouveau drivers
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
and updating initramfs.
On reboot the gdm won't start, blocked in the last line:
Trying to enter any tty, I get the same error (I had to undo changes from rescue mode).
The same procedure was working on 17.10 (with xorg).
My pc is an Asus ux430uq with clean install of ubuntu 18.04 (4.15.0-20 kernel).
I am afraid of uninstalling xserver-xorg-video-nouveau
drivers since I don't know how to reinstall them if something go wrong (I can't get internet working in rescue mode).
EDIT:
Uninstalling the above package lead to the same error. Trying to boot ubuntu with the kernel flag nouveau.modeset=0
gives the same error too.
drivers nvidia 18.04 nouveau blacklist
edited May 4 at 9:59
asked May 3 at 11:22
![](https://i.stack.imgur.com/U49BA.jpg?s=32&g=1)
![](https://i.stack.imgur.com/U49BA.jpg?s=32&g=1)
velix
236213
236213
add a comment |Â
add a comment |Â
4 Answers
4
active
oldest
votes
up vote
3
down vote
accepted
I found the solution. I'll write it here for who may have the same problem.
My gdm3 session was running in wayland. To check it:
$ loginctl
SESSION UID USER SEAT TTY
2 1000 velix seat0 tty2
c2 1000 velix
c1 120 gdm seat0 tty1
The command loginctl show-session <session-n> -p Type
show the session type:
$ loginctl show-session c1 -p Type
Type=Wayland
To change it, edit the file /etc/gdm3/custom.conf
and uncomment the line WaylandEnable=false
.
After rebooting:
$ loginctl show-session c1 -p Type
Type=x11
Now blacklisting nouveau drivers in /etc/modprobe.d/blacklist.conf
(as in the question) works and doesn't give the above error.
The key point is to run xorg instead of wayland
(That's why it was working in my 17.10 ubuntu, forced to run xorg)
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
1
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out withFailed to create bus connection
â Gabor
May 9 at 20:24
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
 |Â
show 2 more comments
up vote
1
down vote
Got exactly same problem, my configuration is x11 (returned by loginctl command).
The only way working for me at the moment is to rename the nouveau file module.
# pwd
/lib/modules/4.15.0-20-generic/kernel/drivers/gpu/drm/nouveau
# mv nouveau.ko nouveau.ko-old
# reboot
dirty solution but working, hope it will help. Of course, all was fine in 17.10.
add a comment |Â
up vote
1
down vote
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1784598
try:
sudo systemctl disable nvidia-fallback.service
add a comment |Â
up vote
0
down vote
Don't forget to disable Secure Boot in BIOS especially when you want nvidia (and not nouveau) driver working. Otherwise it will quite always fall back back to nouveau no matter what you do.
Also note that "Secure Boot" option can be hidden in BIOS under various options on various places and often that option is not saying anything about "Secure Boot" but sometimes it's called "Other OS" similar. Every BIOS can be quite unique here. It took me several days of trying various approaches until I went back to BIOS as last resort. It cannot be emphasized enough especially when you are upgrading 18.04 from older version.
add a comment |Â
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
I found the solution. I'll write it here for who may have the same problem.
My gdm3 session was running in wayland. To check it:
$ loginctl
SESSION UID USER SEAT TTY
2 1000 velix seat0 tty2
c2 1000 velix
c1 120 gdm seat0 tty1
The command loginctl show-session <session-n> -p Type
show the session type:
$ loginctl show-session c1 -p Type
Type=Wayland
To change it, edit the file /etc/gdm3/custom.conf
and uncomment the line WaylandEnable=false
.
After rebooting:
$ loginctl show-session c1 -p Type
Type=x11
Now blacklisting nouveau drivers in /etc/modprobe.d/blacklist.conf
(as in the question) works and doesn't give the above error.
The key point is to run xorg instead of wayland
(That's why it was working in my 17.10 ubuntu, forced to run xorg)
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
1
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out withFailed to create bus connection
â Gabor
May 9 at 20:24
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
 |Â
show 2 more comments
up vote
3
down vote
accepted
I found the solution. I'll write it here for who may have the same problem.
My gdm3 session was running in wayland. To check it:
$ loginctl
SESSION UID USER SEAT TTY
2 1000 velix seat0 tty2
c2 1000 velix
c1 120 gdm seat0 tty1
The command loginctl show-session <session-n> -p Type
show the session type:
$ loginctl show-session c1 -p Type
Type=Wayland
To change it, edit the file /etc/gdm3/custom.conf
and uncomment the line WaylandEnable=false
.
After rebooting:
$ loginctl show-session c1 -p Type
Type=x11
Now blacklisting nouveau drivers in /etc/modprobe.d/blacklist.conf
(as in the question) works and doesn't give the above error.
The key point is to run xorg instead of wayland
(That's why it was working in my 17.10 ubuntu, forced to run xorg)
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
1
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out withFailed to create bus connection
â Gabor
May 9 at 20:24
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
 |Â
show 2 more comments
up vote
3
down vote
accepted
up vote
3
down vote
accepted
I found the solution. I'll write it here for who may have the same problem.
My gdm3 session was running in wayland. To check it:
$ loginctl
SESSION UID USER SEAT TTY
2 1000 velix seat0 tty2
c2 1000 velix
c1 120 gdm seat0 tty1
The command loginctl show-session <session-n> -p Type
show the session type:
$ loginctl show-session c1 -p Type
Type=Wayland
To change it, edit the file /etc/gdm3/custom.conf
and uncomment the line WaylandEnable=false
.
After rebooting:
$ loginctl show-session c1 -p Type
Type=x11
Now blacklisting nouveau drivers in /etc/modprobe.d/blacklist.conf
(as in the question) works and doesn't give the above error.
The key point is to run xorg instead of wayland
(That's why it was working in my 17.10 ubuntu, forced to run xorg)
I found the solution. I'll write it here for who may have the same problem.
My gdm3 session was running in wayland. To check it:
$ loginctl
SESSION UID USER SEAT TTY
2 1000 velix seat0 tty2
c2 1000 velix
c1 120 gdm seat0 tty1
The command loginctl show-session <session-n> -p Type
show the session type:
$ loginctl show-session c1 -p Type
Type=Wayland
To change it, edit the file /etc/gdm3/custom.conf
and uncomment the line WaylandEnable=false
.
After rebooting:
$ loginctl show-session c1 -p Type
Type=x11
Now blacklisting nouveau drivers in /etc/modprobe.d/blacklist.conf
(as in the question) works and doesn't give the above error.
The key point is to run xorg instead of wayland
(That's why it was working in my 17.10 ubuntu, forced to run xorg)
edited May 29 at 17:57
answered May 4 at 13:34
![](https://i.stack.imgur.com/U49BA.jpg?s=32&g=1)
![](https://i.stack.imgur.com/U49BA.jpg?s=32&g=1)
velix
236213
236213
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
1
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out withFailed to create bus connection
â Gabor
May 9 at 20:24
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
 |Â
show 2 more comments
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
1
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out withFailed to create bus connection
â Gabor
May 9 at 20:24
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
+1 Thanks for sharing. Don't forget to accept your answer by clicking check mark next to it in a day or so when it lets you.
â WinEunuuchs2Unix
May 4 at 23:13
1
1
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
Gives black screen on a MacBook, answer no longer works?
â Gabor
May 9 at 2:10
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
My answer is 5 days old. This method is still working on my notebook.
â velix
May 9 at 16:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out with
Failed to create bus connection
â Gabor
May 9 at 20:24
On a MacBook, where I have the error same as in your screenshot, I only get a black screen. Loginctl also errors out with
Failed to create bus connection
â Gabor
May 9 at 20:24
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
I think it's a different problem. Open a new question and put more info in that.
â velix
May 10 at 9:58
 |Â
show 2 more comments
up vote
1
down vote
Got exactly same problem, my configuration is x11 (returned by loginctl command).
The only way working for me at the moment is to rename the nouveau file module.
# pwd
/lib/modules/4.15.0-20-generic/kernel/drivers/gpu/drm/nouveau
# mv nouveau.ko nouveau.ko-old
# reboot
dirty solution but working, hope it will help. Of course, all was fine in 17.10.
add a comment |Â
up vote
1
down vote
Got exactly same problem, my configuration is x11 (returned by loginctl command).
The only way working for me at the moment is to rename the nouveau file module.
# pwd
/lib/modules/4.15.0-20-generic/kernel/drivers/gpu/drm/nouveau
# mv nouveau.ko nouveau.ko-old
# reboot
dirty solution but working, hope it will help. Of course, all was fine in 17.10.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Got exactly same problem, my configuration is x11 (returned by loginctl command).
The only way working for me at the moment is to rename the nouveau file module.
# pwd
/lib/modules/4.15.0-20-generic/kernel/drivers/gpu/drm/nouveau
# mv nouveau.ko nouveau.ko-old
# reboot
dirty solution but working, hope it will help. Of course, all was fine in 17.10.
Got exactly same problem, my configuration is x11 (returned by loginctl command).
The only way working for me at the moment is to rename the nouveau file module.
# pwd
/lib/modules/4.15.0-20-generic/kernel/drivers/gpu/drm/nouveau
# mv nouveau.ko nouveau.ko-old
# reboot
dirty solution but working, hope it will help. Of course, all was fine in 17.10.
answered May 23 at 16:30
lightman
112
112
add a comment |Â
add a comment |Â
up vote
1
down vote
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1784598
try:
sudo systemctl disable nvidia-fallback.service
add a comment |Â
up vote
1
down vote
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1784598
try:
sudo systemctl disable nvidia-fallback.service
add a comment |Â
up vote
1
down vote
up vote
1
down vote
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1784598
try:
sudo systemctl disable nvidia-fallback.service
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1784598
try:
sudo systemctl disable nvidia-fallback.service
answered Jul 31 at 10:10
heeen
1112
1112
add a comment |Â
add a comment |Â
up vote
0
down vote
Don't forget to disable Secure Boot in BIOS especially when you want nvidia (and not nouveau) driver working. Otherwise it will quite always fall back back to nouveau no matter what you do.
Also note that "Secure Boot" option can be hidden in BIOS under various options on various places and often that option is not saying anything about "Secure Boot" but sometimes it's called "Other OS" similar. Every BIOS can be quite unique here. It took me several days of trying various approaches until I went back to BIOS as last resort. It cannot be emphasized enough especially when you are upgrading 18.04 from older version.
add a comment |Â
up vote
0
down vote
Don't forget to disable Secure Boot in BIOS especially when you want nvidia (and not nouveau) driver working. Otherwise it will quite always fall back back to nouveau no matter what you do.
Also note that "Secure Boot" option can be hidden in BIOS under various options on various places and often that option is not saying anything about "Secure Boot" but sometimes it's called "Other OS" similar. Every BIOS can be quite unique here. It took me several days of trying various approaches until I went back to BIOS as last resort. It cannot be emphasized enough especially when you are upgrading 18.04 from older version.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Don't forget to disable Secure Boot in BIOS especially when you want nvidia (and not nouveau) driver working. Otherwise it will quite always fall back back to nouveau no matter what you do.
Also note that "Secure Boot" option can be hidden in BIOS under various options on various places and often that option is not saying anything about "Secure Boot" but sometimes it's called "Other OS" similar. Every BIOS can be quite unique here. It took me several days of trying various approaches until I went back to BIOS as last resort. It cannot be emphasized enough especially when you are upgrading 18.04 from older version.
Don't forget to disable Secure Boot in BIOS especially when you want nvidia (and not nouveau) driver working. Otherwise it will quite always fall back back to nouveau no matter what you do.
Also note that "Secure Boot" option can be hidden in BIOS under various options on various places and often that option is not saying anything about "Secure Boot" but sometimes it's called "Other OS" similar. Every BIOS can be quite unique here. It took me several days of trying various approaches until I went back to BIOS as last resort. It cannot be emphasized enough especially when you are upgrading 18.04 from older version.
answered Jul 19 at 19:13
crdev
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1031511%2fcant-disable-nouveau-drivers-in-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password