Nouveau blacklisted but loaded
![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
Hi I am trying to use Ubuntu-Prime for ubuntu 18 on an asus laptop with 2 GPU (intel & nvidia).
I found the power consumption of the computer to be way too high when I reboot with only the intel GPU (using prime-select intel
or using nvidia-settings
).
I found that the nouveau driver was loaded despite normally not used:
$ gpu-manager | grep nouveau
Is nouveau loaded? yes
Is nouveau blacklisted? yes
Skipping "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
Found "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
I tried to blacklist it and also have a kernel startup option to prevent nouveau from being loaded yet it still loads. This seems very un-linuxy to me.
18.04 nouveau nvidia-prime modprobe
add a comment |Â
up vote
3
down vote
favorite
Hi I am trying to use Ubuntu-Prime for ubuntu 18 on an asus laptop with 2 GPU (intel & nvidia).
I found the power consumption of the computer to be way too high when I reboot with only the intel GPU (using prime-select intel
or using nvidia-settings
).
I found that the nouveau driver was loaded despite normally not used:
$ gpu-manager | grep nouveau
Is nouveau loaded? yes
Is nouveau blacklisted? yes
Skipping "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
Found "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
I tried to blacklist it and also have a kernel startup option to prevent nouveau from being loaded yet it still loads. This seems very un-linuxy to me.
18.04 nouveau nvidia-prime modprobe
Is the nvidia driver loaded? Post the whole output of gpu-manager. Blacklisting doesn't prevent something from explicitly loading a driver, so something must be pulling it in, maybe because Nvidia's not loaded.
â ubfan1
Jun 4 at 22:59
No nvidia is not loaded. I would actually like my discrete GPU to be off to prevent it from draining the battery.
â Antonin
Jun 5 at 7:04
What video driver are you trying to use, Vesa? See askubuntu.com/questions/849481/⦠There might even be another framebuffer fallback driver possible.
â ubfan1
Jun 5 at 15:29
I do not see why I would need a driver for a graphic card supposedly off ?
â Antonin
Jun 6 at 9:20
Digging the issue, Ubuntu 18 has a conflicting service (with prime) that actually loads a driver for the discrete GPU : ``` systemctl status nvidia-fallback.service â nvidia-fallback.service - Fall back on nouveau if nvidia is not loadedLoaded: loaded (/lib/systemd/system/nvidia-fallback.service; enabled; vendor preset: enable Active: active (exited) Process: 1007 ExecStart=/sbin/modprobe nouveau --config /(code=exited, status=0/SUCCESS) Main PID: 1007 (code=exited, status=0/SUCCESS) XX systemd[1]: Starting Fall back on nouveau if nvidia is not loaded
â Antonin
Jun 6 at 9:45
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Hi I am trying to use Ubuntu-Prime for ubuntu 18 on an asus laptop with 2 GPU (intel & nvidia).
I found the power consumption of the computer to be way too high when I reboot with only the intel GPU (using prime-select intel
or using nvidia-settings
).
I found that the nouveau driver was loaded despite normally not used:
$ gpu-manager | grep nouveau
Is nouveau loaded? yes
Is nouveau blacklisted? yes
Skipping "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
Found "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
I tried to blacklist it and also have a kernel startup option to prevent nouveau from being loaded yet it still loads. This seems very un-linuxy to me.
18.04 nouveau nvidia-prime modprobe
Hi I am trying to use Ubuntu-Prime for ubuntu 18 on an asus laptop with 2 GPU (intel & nvidia).
I found the power consumption of the computer to be way too high when I reboot with only the intel GPU (using prime-select intel
or using nvidia-settings
).
I found that the nouveau driver was loaded despite normally not used:
$ gpu-manager | grep nouveau
Is nouveau loaded? yes
Is nouveau blacklisted? yes
Skipping "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
Found "/dev/dri/card1", driven by "nouveau"
Skipping "/dev/dri/card1", driven by "nouveau"
I tried to blacklist it and also have a kernel startup option to prevent nouveau from being loaded yet it still loads. This seems very un-linuxy to me.
18.04 nouveau nvidia-prime modprobe
edited Jun 6 at 11:27
![](https://i.stack.imgur.com/2SXNl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/2SXNl.jpg?s=32&g=1)
WinEunuuchs2Unix
34.1k756130
34.1k756130
asked Jun 4 at 22:14
![](https://i.stack.imgur.com/rUgjK.jpg?s=32&g=1)
![](https://i.stack.imgur.com/rUgjK.jpg?s=32&g=1)
Antonin
465
465
Is the nvidia driver loaded? Post the whole output of gpu-manager. Blacklisting doesn't prevent something from explicitly loading a driver, so something must be pulling it in, maybe because Nvidia's not loaded.
â ubfan1
Jun 4 at 22:59
No nvidia is not loaded. I would actually like my discrete GPU to be off to prevent it from draining the battery.
â Antonin
Jun 5 at 7:04
What video driver are you trying to use, Vesa? See askubuntu.com/questions/849481/⦠There might even be another framebuffer fallback driver possible.
â ubfan1
Jun 5 at 15:29
I do not see why I would need a driver for a graphic card supposedly off ?
â Antonin
Jun 6 at 9:20
Digging the issue, Ubuntu 18 has a conflicting service (with prime) that actually loads a driver for the discrete GPU : ``` systemctl status nvidia-fallback.service â nvidia-fallback.service - Fall back on nouveau if nvidia is not loadedLoaded: loaded (/lib/systemd/system/nvidia-fallback.service; enabled; vendor preset: enable Active: active (exited) Process: 1007 ExecStart=/sbin/modprobe nouveau --config /(code=exited, status=0/SUCCESS) Main PID: 1007 (code=exited, status=0/SUCCESS) XX systemd[1]: Starting Fall back on nouveau if nvidia is not loaded
â Antonin
Jun 6 at 9:45
add a comment |Â
Is the nvidia driver loaded? Post the whole output of gpu-manager. Blacklisting doesn't prevent something from explicitly loading a driver, so something must be pulling it in, maybe because Nvidia's not loaded.
â ubfan1
Jun 4 at 22:59
No nvidia is not loaded. I would actually like my discrete GPU to be off to prevent it from draining the battery.
â Antonin
Jun 5 at 7:04
What video driver are you trying to use, Vesa? See askubuntu.com/questions/849481/⦠There might even be another framebuffer fallback driver possible.
â ubfan1
Jun 5 at 15:29
I do not see why I would need a driver for a graphic card supposedly off ?
â Antonin
Jun 6 at 9:20
Digging the issue, Ubuntu 18 has a conflicting service (with prime) that actually loads a driver for the discrete GPU : ``` systemctl status nvidia-fallback.service â nvidia-fallback.service - Fall back on nouveau if nvidia is not loadedLoaded: loaded (/lib/systemd/system/nvidia-fallback.service; enabled; vendor preset: enable Active: active (exited) Process: 1007 ExecStart=/sbin/modprobe nouveau --config /(code=exited, status=0/SUCCESS) Main PID: 1007 (code=exited, status=0/SUCCESS) XX systemd[1]: Starting Fall back on nouveau if nvidia is not loaded
â Antonin
Jun 6 at 9:45
Is the nvidia driver loaded? Post the whole output of gpu-manager. Blacklisting doesn't prevent something from explicitly loading a driver, so something must be pulling it in, maybe because Nvidia's not loaded.
â ubfan1
Jun 4 at 22:59
Is the nvidia driver loaded? Post the whole output of gpu-manager. Blacklisting doesn't prevent something from explicitly loading a driver, so something must be pulling it in, maybe because Nvidia's not loaded.
â ubfan1
Jun 4 at 22:59
No nvidia is not loaded. I would actually like my discrete GPU to be off to prevent it from draining the battery.
â Antonin
Jun 5 at 7:04
No nvidia is not loaded. I would actually like my discrete GPU to be off to prevent it from draining the battery.
â Antonin
Jun 5 at 7:04
What video driver are you trying to use, Vesa? See askubuntu.com/questions/849481/⦠There might even be another framebuffer fallback driver possible.
â ubfan1
Jun 5 at 15:29
What video driver are you trying to use, Vesa? See askubuntu.com/questions/849481/⦠There might even be another framebuffer fallback driver possible.
â ubfan1
Jun 5 at 15:29
I do not see why I would need a driver for a graphic card supposedly off ?
â Antonin
Jun 6 at 9:20
I do not see why I would need a driver for a graphic card supposedly off ?
â Antonin
Jun 6 at 9:20
Digging the issue, Ubuntu 18 has a conflicting service (with prime) that actually loads a driver for the discrete GPU : ``` systemctl status nvidia-fallback.service â nvidia-fallback.service - Fall back on nouveau if nvidia is not loadedLoaded: loaded (/lib/systemd/system/nvidia-fallback.service; enabled; vendor preset: enable Active: active (exited) Process: 1007 ExecStart=/sbin/modprobe nouveau --config /(code=exited, status=0/SUCCESS) Main PID: 1007 (code=exited, status=0/SUCCESS) XX systemd[1]: Starting Fall back on nouveau if nvidia is not loaded
â Antonin
Jun 6 at 9:45
Digging the issue, Ubuntu 18 has a conflicting service (with prime) that actually loads a driver for the discrete GPU : ``` systemctl status nvidia-fallback.service â nvidia-fallback.service - Fall back on nouveau if nvidia is not loadedLoaded: loaded (/lib/systemd/system/nvidia-fallback.service; enabled; vendor preset: enable Active: active (exited) Process: 1007 ExecStart=/sbin/modprobe nouveau --config /(code=exited, status=0/SUCCESS) Main PID: 1007 (code=exited, status=0/SUCCESS) XX systemd[1]: Starting Fall back on nouveau if nvidia is not loaded
â Antonin
Jun 6 at 9:45
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
I found a way to disable nouveau and get my battery life back when using prime with intel graphic card :
2 bugs in Ubuntu 18 are concerned :
1. Prime fails to turn off discrete GPU (known issue).
Make sure that your discrete GPU is connected to PCI port 0000:01:00.0 (using lspci -vnn | grep '''[030[02]]'
for instance)
Change /etc/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
and replace the current execstart (referencing vgaswitcheroo which is not usually available by ExecStart=/bin/sh -c "echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'"
)
2. nvidia-fallback loads nouveau when nvidia is not loaded
Even if we are willing not to use the discrete gpu !
Disable the following service which loads nouveau driver when nvidia driver is not loaded : sudo systemctl disable nvidia-fallback.service
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
I found a way to disable nouveau and get my battery life back when using prime with intel graphic card :
2 bugs in Ubuntu 18 are concerned :
1. Prime fails to turn off discrete GPU (known issue).
Make sure that your discrete GPU is connected to PCI port 0000:01:00.0 (using lspci -vnn | grep '''[030[02]]'
for instance)
Change /etc/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
and replace the current execstart (referencing vgaswitcheroo which is not usually available by ExecStart=/bin/sh -c "echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'"
)
2. nvidia-fallback loads nouveau when nvidia is not loaded
Even if we are willing not to use the discrete gpu !
Disable the following service which loads nouveau driver when nvidia driver is not loaded : sudo systemctl disable nvidia-fallback.service
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
add a comment |Â
up vote
3
down vote
I found a way to disable nouveau and get my battery life back when using prime with intel graphic card :
2 bugs in Ubuntu 18 are concerned :
1. Prime fails to turn off discrete GPU (known issue).
Make sure that your discrete GPU is connected to PCI port 0000:01:00.0 (using lspci -vnn | grep '''[030[02]]'
for instance)
Change /etc/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
and replace the current execstart (referencing vgaswitcheroo which is not usually available by ExecStart=/bin/sh -c "echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'"
)
2. nvidia-fallback loads nouveau when nvidia is not loaded
Even if we are willing not to use the discrete gpu !
Disable the following service which loads nouveau driver when nvidia driver is not loaded : sudo systemctl disable nvidia-fallback.service
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
add a comment |Â
up vote
3
down vote
up vote
3
down vote
I found a way to disable nouveau and get my battery life back when using prime with intel graphic card :
2 bugs in Ubuntu 18 are concerned :
1. Prime fails to turn off discrete GPU (known issue).
Make sure that your discrete GPU is connected to PCI port 0000:01:00.0 (using lspci -vnn | grep '''[030[02]]'
for instance)
Change /etc/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
and replace the current execstart (referencing vgaswitcheroo which is not usually available by ExecStart=/bin/sh -c "echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'"
)
2. nvidia-fallback loads nouveau when nvidia is not loaded
Even if we are willing not to use the discrete gpu !
Disable the following service which loads nouveau driver when nvidia driver is not loaded : sudo systemctl disable nvidia-fallback.service
I found a way to disable nouveau and get my battery life back when using prime with intel graphic card :
2 bugs in Ubuntu 18 are concerned :
1. Prime fails to turn off discrete GPU (known issue).
Make sure that your discrete GPU is connected to PCI port 0000:01:00.0 (using lspci -vnn | grep '''[030[02]]'
for instance)
Change /etc/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
and replace the current execstart (referencing vgaswitcheroo which is not usually available by ExecStart=/bin/sh -c "echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'"
)
2. nvidia-fallback loads nouveau when nvidia is not loaded
Even if we are willing not to use the discrete gpu !
Disable the following service which loads nouveau driver when nvidia driver is not loaded : sudo systemctl disable nvidia-fallback.service
edited Jun 6 at 12:11
answered Jun 6 at 10:00
![](https://i.stack.imgur.com/rUgjK.jpg?s=32&g=1)
![](https://i.stack.imgur.com/rUgjK.jpg?s=32&g=1)
Antonin
465
465
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
add a comment |Â
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
This worked perfectly for me. Thank you.
â Joseph Redfern
Jun 25 at 10:04
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%2f1043638%2fnouveau-blacklisted-but-loaded%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
Is the nvidia driver loaded? Post the whole output of gpu-manager. Blacklisting doesn't prevent something from explicitly loading a driver, so something must be pulling it in, maybe because Nvidia's not loaded.
â ubfan1
Jun 4 at 22:59
No nvidia is not loaded. I would actually like my discrete GPU to be off to prevent it from draining the battery.
â Antonin
Jun 5 at 7:04
What video driver are you trying to use, Vesa? See askubuntu.com/questions/849481/⦠There might even be another framebuffer fallback driver possible.
â ubfan1
Jun 5 at 15:29
I do not see why I would need a driver for a graphic card supposedly off ?
â Antonin
Jun 6 at 9:20
Digging the issue, Ubuntu 18 has a conflicting service (with prime) that actually loads a driver for the discrete GPU : ``` systemctl status nvidia-fallback.service â nvidia-fallback.service - Fall back on nouveau if nvidia is not loadedLoaded: loaded (/lib/systemd/system/nvidia-fallback.service; enabled; vendor preset: enable Active: active (exited) Process: 1007 ExecStart=/sbin/modprobe nouveau --config /(code=exited, status=0/SUCCESS) Main PID: 1007 (code=exited, status=0/SUCCESS) XX systemd[1]: Starting Fall back on nouveau if nvidia is not loaded
â Antonin
Jun 6 at 9:45