Hi everyone. My question might sound “strange” but I have a pretty good Lenovo laptop with Nvidia 3070ti + intel 12th gen that it’s struggling to get decent fps. I have a good background in Linux (20+ years) and no matter the distro I chose or the DE I use steam games are getting half the fps I have on windows. No, it doesn’t matter if I use Wayland or xorg and yes, I tried the latest and some of the older proprietary drivers. Would anybody with a similar hardware tell me if there’s a trick or something to get at least 80% of the performance you get on windows? Thanks
Check your wattage with nvidia-smi and enable the nvidia-powerd service… It won’t be perfect but it should be better.
Nvidia-powerd is already enabled. Nvidia-smi is telling me that wattage is how it’s supposed to be….i’s say “unfortunately”
Could it be the hybrid graphics stuck on the igp of your Intel 12th gen instead of switching to the discrete gpu?
Maybe worth to take a look at the documentation related to this topic
- https://wiki.archlinux.org/title/PRIME
- https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
- https://wiki.archlinux.org/title/Bumblebee
An older thread but it could be similar to your case: https://forums.developer.nvidia.com/t/lenovo-p15-gen1-with-rtx-a4000-ubuntu-20-04-discrete-graphics-blank-screen/201672/3
Similar but not the same. The only thing I see is the boot kernel parameter (acpi=off). Do you think that a bios update could be useful? Mind that the laptop works beautifully and the performances under windows are on par with what you’d expect
It couldn’t hurt if only to fix some vulnerabilities, Lenovo do try to be up to date on CVE, but I doubt it will fix your specific issue.
What are the difference between Linux and Windows if you have a benchmark/game you can try on both ?
Let me add some infos. If I boot the system using only the discrete card (changing the settings in the bios) games will run as good as windows. The issue is specific to offloading when you are on the hybrid mode
I see, so it’s really a switch issue. I can’t test due to not having a laptop with Nvidia in it but Endeavour documentation do display a large set of options to mange that from auto to manual switch: https://discovery.endeavouros.com/nvidia/nvidia-optimus-notebooks-hybrid-graphics/2021/03/
The first one mentioned do have a in-depth page on the Arch wiki: https://wiki.archlinux.org/title/Supergfxctl
It does references two parameters required for the kernel: https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting
I checked with nvtop and mangohud, the graphic card is definitely being used. The wattage, everything is right.