NVIDIA GPU Fails to power off (PRIME) Razer Blade 14 2022

I’ve installed Fedora 37 WorkStation KDE on my Razer Blade 14 2022 and have followed the documentation to enable RPM fusion and install the nvidia driver, and everything is up to date and appears installed properly.

The NVIDIA GPU is able to power off into D3cold status according to cat /sys/class/drm/card*/device/power_state when on AC, but on battery it switches to D0. I would like it to power off and run in D3cold all the time unless prompted to turn on by an application in order to save battery life. I have verified that D3cold works on battery in ubuntu, so it seems to be a matter of proper software configuration.

Please help me set it up so the NVIDIA GPU is powered off on battery! Thanks :)

There’s not really anything to configure, rather looks like a bug, possibly with Wayland and/or KDE.
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Thanks for your response!
Here it is.
nvidia-bug-report-wayland.log.gz (333.5 KB)

nvidia-bug-report-xorg.log.gz (401.3 KB)
I also have one done in xorg. For the record, the issue is the same in both.

It’s a bit odd, the gpu shows some activity and the kernel reports pcie errors. Since it worked with Ubuntu, I suspect problems with the latest 6.2 kernel Fedora uses.
Did you already check for a bios update?

I’ve checked for a BIOS update and am on the latest one. Something odd I noticed is that when I tested opensuse tumbleweed it worked on there with the same kernels as fedora, but importantly they don’t have the nvidia 530 driver yet, they had 525 (and so did ubuntu). This issue did occur in arch with 530 driver as well, so it may be a regression in the newer driver version. I’m not sure though.

I’ve discovered something quite interesting. I ended up installing arch since I am much more familiar with the package manager on there and have discovered the source of the problem. I tried downgrading the nvidia packages to a few prior versions and managed to get it to work on version 525.85.05, the same one that worked on mint and opensuse. Every version after that is broken with regards to this issue. Please let me know what I should do next to hopefully get this fixed.

That’s at least a hint, though for me 525.105.17 still works with a 3050ti so doesn’t seem to be a general bug but something machine specific.
You might want to send your bug-report.log to linux-bugs[at]nvidia.com though chances are low to get some more attention.

I have filed a bug 4084236 internally for tracking purpose.

I tried multiple different notebooks like ThinkPad P1 Gen 6; HP ZBook Fury 16 G9 Mobile Workstation PC and Razer Notebook 16 and installed Fedora 37 which has kernel version 6.0 but could not repro issue.

Later I installed Arch Linux which has kernel version 6.2 on Razer Notebook 16 but did not observe any issue, GPU can enter into D3cold in both AC/DC as well.

I will spend few more cycle on it and update and if required more information/logs from your end, I will let you know.

Thanks in advance.

Thank you for doing that. A user with the same laptop model as me has been able to reproduce this issue on the fedora forums. Perhaps this can help narrow down the issue?