[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-13 Thread Dedas
If you want it to stay create a file /etc/rc.local and make it executable: sudo chmod +x /etc/rc.local In rc.local type: #!/bin/sh -e sh -c 'echo auto > /sys/bus/pci/devices/\:01\:00.0/power/control' sh -c "echo "1" > remove" (I didn't need this) exit 0 -- You received this bug

[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-13 Thread Dedas
@Tom "can you elaborate a bit more what that does? - Is it safe? - Will it allow switching nvidia on with "sudo prime-select nvidia" ? - Is this command needed only once?" Yes it should be safe. It it freezes just restart your machine, the setting will be gone. It turns off the nvidia gpu så

[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-10 Thread Dedas
Thank you for your answer. I solved the problem with nvidia prime not really disabling the nvidia card (still drawing power) when switching to Intel with: sh -c 'echo auto > /sys/bus/pci/devices/\:01\:00.0/power/control' Almost halved the power draw on my Dell XPS 15. -- You received this

[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-10 Thread Dedas
Ivan Janes, With those options NVidia card seems to be disabled properly but now the systems hang whenever I plug in the laptop power charger. Also, I can only use Wayland and not Xorg (freeze again). Maybe the last one is a bad xorg.conf? -- You received this bug notification because you are a