-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lenovo Legion 5 15ARH05 #1207
Comments
Could this be a case similar to #1038? Definitely sounds like there is more than one version, and it is unlikely than the original creator simply missed the correct bus ID. |
It is similar indeed, Lenovo seems to have three versions for this model: My test setup for my model works so far and seems to be correct on paper, but I'm holding back due to a couple of unresolved issues with NVIDIA GPU (not properly working sleep/suspend on both open and closed driver). |
I missed the H being missing in your3 title and first line. Woops. |
I'm not on GNOME (mostly running Hyprland), so sadly the fix doesn't apply. Suspend works most of the time (at very rare occasions screen turns off, but laptop still works; in that case screen turns on from any key/mouse action and then suspend will work from the second try), the issues mostly arise upon waking up from the sleep as I've had the laptop freeze a bunch of times. I also can't get neither S01x nor D3 to work despite reports on the Internet that it works for other people with the same/similar laptop/GPU models (the usual workaround of closed driver with Detailscat /proc/driver/nvidia/gpus/0000:01:00.0/power Runtime D3 status: Not supported GPU Hardware Support: S0ix Power Management: For some more context, I'm on nixos-unstable with 6.12.5-xanmod1 kernel and stable 565.77 closed nvidia driver. |
I suspect the finegrained power management ( cat /proc/driver/nvidia/gpus/0000\:01\:00.0/powerRuntime D3 status: Enabled (coarse-grained)
Video Memory: Active
GPU Hardware Support:
Video Memory Self Refresh: Not Supported
Video Memory Off: Supported
S0ix Power Management:
Platform Support: Not Supported
Status: Disabled I've done a few dozen suspend & hibernate cycles without issues: laptop properly shutdowns and wakes up. Setting |
I just looked into this and realised the card does not (officially) support the option on the open modules. The finegrained option mentions the chapter 22 of the nvidia docs, which do say it supports Turing and newer, but the open kernel modules docs say that they only support RTD3 from Ampere (30 series) onwards. Hence why the closed driver should make it work, but, well, your empirical testing seems to show that no. Have you tested manually adding the |
Default Basic coarse-grained There are a bunch of reports like pop-os/nvidia-graphics-drivers#216 on the Internet, which make me think that the GPU itself should support fine-grained too, but the workarounds didn't work for me. |
I've dug up some threads from years ago, notably like this one: https://forums.developer.nvidia.com/t/nvidia-d3-runtime-power-management-only-works-on-window/196553/3. According to the users with the same issue, NVIDIA blocked fine-grained RTD3 on Linux on Ryzen 4xxx and 3xxx models (I have Ryzen 5 4600H) despite the hardware support being there and it working fine on Windows. I couldn't find any official statements from NVIDIA or sources besides users just reporting the issue, but seems plausible, and sucks if that still the case after all these years. My system advertises support for cat /sys/power/mem_sleep
s2idle [deep] But NVIDIA's unhappy, and booting with |
There's already a profile for 15ARH05H model, and it seems to work fine so far with my
15ARH05
.https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/legion-series/legion-5-15arh05/
Possibly could be almost 1:1 copy, the only issue I noticed is a different AMD GPU bus id, which is
PCI:5:0:0
instead ofPCI:6:0:0
:lspci | grep -i vga 01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1) 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] (rev c7)
Edit: currently testing my setup at https://github.com/SoSeDiK/nixos-hardware/tree/lenovo-legion-15arh05, will open a PR later at some point.
The text was updated successfully, but these errors were encountered: