Same laptop (w530):
Driver: nvidia binary With dGPU active: f8 With dGPU inactive: 70
Method for switching: bbswitch Newer versions of ubuntu try to do the prime-select switching in a different way (i.e. not bbswitch) when the nvidia driver is in use. This new method doesn't work on these laptops. The old bbswitch method does work reliably. Also, nouveau is able to reliably turn the dgpu on and off. Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1778011
On Fri, Apr 5, 2019 at 3:13 PM Zaolin zaolin@das-labor.org wrote:
Sup,
-> f8 on my Thinkpad W530
On 05.04.19 20:21, Patrick Rudolph wrote:
Hi folks, In order to add Nvidia Optimus support on Lenovo laptops, I'm trying to fix the last issues on [1], but I need your help to do some test on Lenovo's firmware. On Lenovo Sandy Bridge / Ivy Bridge series the PMH7 register 0x50 controls dGPU power. Comments on Gerrit show that different bits on different generations are used.
Please use util/pmh7tool on vendor firmware with Optimus enabled and graphics driver loaded:
$ ./pmh7tool -r 0x50
To wake the GPU from sleep, you can simply run lspci, or a graphical 3D application. It will go back to sleep after a few seconds of idle.
Please report which bits toggle and the device you run tests on. It will help to add proper Nvidia Optimus support to all Lenovo laptops.
1: https://review.coreboot.org/#/c/coreboot/+/28380/
Regards, Patrick _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org