FS#51503 - [nvidia] gpu installed in this system is not supported due runtime pm
Attached to Project:
Arch Linux
Opened by Bjoern Bidar (Thaodan) - Saturday, 22 October 2016, 21:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 16 December 2016, 15:55 GMT
Opened by Bjoern Bidar (Thaodan) - Saturday, 22 October 2016, 21:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 16 December 2016, 15:55 GMT
|
Details
Description:
If runtime puts the gpu into suspend (d3cold) before the nvidia driver is loaded. The gpu is offline and the driver can not accessing it, resulting in the message in the title. Either the bumblebe projects implements a hack until nvidia does this or it wont work until nvidia changes their driver Their are several ways to fix this: 1. Add pcie_port_pm=off to the kernel commandline 2. Do the opposide of this: https://wiki.archlinux.org/index.php/Power_management#PCI_Runtime_Power_Management 3. mark the gpu as hotplugable (as optimus is somekind of hotplug), so that the gpu not put to d3cold 4. Wake the gpu up before accessing it. (either in bumblebee/bbswitch or by nvidia). The first two are the easyest to do and should be done first as using the gpu wont work without a fix. The bug affects users of the bumblebee users with and without bumblebee. Its clearly an upstream bug, but there should be at least a working about the issue. Additional info: * pkgs: linux >= 4.8.x, bumblebee (not specific to it especially), nvidia * log files etc. see upstream bug: * upstream url: https://github.com/Bumblebee-Project/Bumblebee/issues/810 * post in the nvidia forum: https://devtalk.nvidia.com/default/topic/971733/linux/nvidia-gtx-960m-not-supported-anymore-by-370-28-/?offset=5#4999717 Steps to reproduce: 1. boot the system with a kernel >= 4.8 without any of the fixes mentioned 2. try to use it. 3. wont work |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 16 December 2016, 15:55 GMT
Reason for closing: Fixed
Friday, 16 December 2016, 15:55 GMT
Reason for closing: Fixed
FS#51268?Please look at the last commits on the upstream bug report.
Using the branch pm-rework but not the commit 5c7b3f53f229c70bc49c710295967605ac5846e4 fixes the issue as it implements the support for pm-runtime suspend.
the only thing that needs to be done is to enable/disable the card before/after suspend (a solution is to stop/start bumblebee after/before suspend).
I already use it in bbswitch-pf and it makes no issues.
The only thing that needs to be done is that the gpu is on before suspend.