Hi. I have this problem on Lenovo S540 and Ubuntu 18.04LTS After reboot bbswitch is ON
But i look this situation:
file /etc/systemd/system/nvidia-prime-boot-service contains call /usr/local/bin/turnoff_nvidia_at_boot, where last command change bbswitch to OFF
#!/bin/sh rmmod nouveau rmmod nvidia_drm rmmod nvidia_modeset rmmod nvidia_uvm rmmod nvidia modprobe bbswitch echo "OFF" > /proc/acpi/bbswitch
Bingo? No...
After automatically run nvidia-prime-boot-service as a service, switch stay is ON and NVidia powered.
Okay, i run nvidia-prime-boot manually...
$ sudo tlp-stat -b | grep power_now /sys/class/power_supply/BAT0/power_now = 18832 [mW]
$ sudo systemctl start nvidia-prime-boot
$ sudo tlp-stat -b | grep power_now /sys/class/power_supply/BAT0/power_now = 5041 [mW]
Nvidia power is OFF. Bingo is here? No..
It's unpleasant when to have everything, but it's not working properly. I guess we can run bbswitch OFF later and it will work. So far, there's only hope for cron.
Hi.
I have this problem on Lenovo S540 and Ubuntu 18.04LTS
After reboot bbswitch is ON
But i look this situation:
file /etc/systemd/ system/ nvidia- prime-boot- service contains call /usr/local/ bin/turnoff_ nvidia_ at_boot, where last command change bbswitch to OFF
#!/bin/sh
rmmod nouveau
rmmod nvidia_drm
rmmod nvidia_modeset
rmmod nvidia_uvm
rmmod nvidia
modprobe bbswitch
echo "OFF" > /proc/acpi/bbswitch
Bingo? No...
After automatically run nvidia- prime-boot- service as a service, switch stay is ON and NVidia powered.
Okay, i run nvidia-prime-boot manually...
$ sudo tlp-stat -b | grep power_now power_supply/ BAT0/power_ now = 18832 [mW]
/sys/class/
$ sudo systemctl start nvidia-prime-boot
$ sudo tlp-stat -b | grep power_now power_supply/ BAT0/power_ now = 5041 [mW]
/sys/class/
Nvidia power is OFF.
Bingo is here? No..
It's unpleasant when to have everything, but it's not working properly.
I guess we can run bbswitch OFF later and it will work.
So far, there's only hope for cron.