Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
487 stars 78 forks source link

Weird throttling behavior with GTX 965M refresh on Clevo P640RF #153

Open cabrust opened 7 years ago

cabrust commented 7 years ago

Hi, I'm observing this weird throttling-like behaviour on my system:

Using watch nvidia-smi or nvidia-settings, I can see power states and frequencies. Because I don't need the Intel GPU, I run prime-select nvidia and reboot. The following happens:

Here is where it gets interesting:

I also tried nouveau because I like the render offloading, but it doesn't support Maxwell 2 reclocking yet. I still captured some performance data, because why not. Suspend doesn't seem to affect nouveau except for one crash with Unigine Valley. Another thing I tried was pcie_port_pm=off, but that didn't change anything.

glmark2

Driver iGPU Performance dGPU Performance dGPU Performance after Suspend
nouveau 1969 528 527
blob 2017 898 7352

Unigine Valley

Driver iGPU Performance dGPU Performance dGPU Performance after Suspend
nouveau 350 252 (crash)
blob 351 276 2110

There doesn't seem to be anything interesting in the kernel log. I do get the Argument #4 ACPI errors. bbswitch works well except for this weird behaviour. I'm not even sure if this is a bbswitch issue, but I'd like to find out and hear some ACPI gurus' thoughts. Some things that may be to blame:

Thanks! Clemens

cabrust commented 7 years ago

Another "feature": I can get the GPU to go fast by running "nvidia-smi -r" on it while lightdm is stopped. But starting it again makes it go slow again.

cabrust commented 7 years ago

I also found this discussion and my nvidia-smi displays the same behavior.