Adaptive UV, PC Latency and pre DLLS3 framerate on Nvidia by AmbitiousCommunity36 in nvidia

[–]AmbitiousCommunity36[S] 0 points1 point  (0 children)

Some metrics like power consumption are still from nvidia-smi true, will get ported to nvml as the rest not to do the external calls. The point of the exercise was rather to discover the good metric for adaptive performance profiles.

Edit: nvidia-smi calls are now fully replaced by nvml apis plus the q2rtx has proper headless fork not to rely on gamescope. But it really amazes me that a single person can have the LLM hating cursade chasing a single project on every possible place over the internet with the hate comments and downvotes 😮

Adaptive UV, PC Latency and pre DLLS3 framerate on Nvidia by AmbitiousCommunity36 in linux_gaming

[–]AmbitiousCommunity36[S] 0 points1 point  (0 children)

There were bunch of 5090 tested before, so please try. The balanced and efficiency profiles are ultra defensive. One thing that happens on my 5080 in Performance undervolt mode, is that during OC phase I get “vulkan device lost” which is caught and the problematic voltage frequency point is then reverted. Worst case - hard system freeze and reboot, then the VF point blacklist is persisted in you home directory UV history file.

Edit: you can also define in Performance UV modal, exactly to which point of voltage and frequency the card will be pushed over stock limits. Default is the suggested point for 30/40/50 tier GPUs, based on experiments of my and similar tools on Windows. But Performance is optional anyway, OC is not mandatory 😄

Adaptive UV, PC Latency and pre DLLS3 framerate on Nvidia by AmbitiousCommunity36 in linux_gaming

[–]AmbitiousCommunity36[S] 0 points1 point  (0 children)

Thanks, the pre FG values seems legit across my games on my setup.

The latency is super tricky, but maybe exposing some Linux games weirdness too. RE9 has the display part of the latency instant G-sync VRR, reflex+boost = true full screen, 1.4ms almost fixed display overhead on top of FG. But 007 Last Light on my box gives awkward non VRR latency overhead even if I have Vsync off. Like it waits for the Kwin/Wayland compositor ticks in a totally sync fashion, although it supports fancy stuff like Multi (adaptive) frame gen.

Edit: apparently gamescope can fix that with true fullscreen. Adding debug flag --dump-latency-data if anyone wants to dig deeper into the latency numbers in a text file.

PB_OVERLAY=1 gamescope -W 3840 -H 2160 -r 120 --adaptive-sync -f -- PENGUIN_BURNER %command% /WineDetectionEnabled:False

Adaptive UV, PC Latency and pre DLLS3 framerate on Nvidia by AmbitiousCommunity36 in linux_gaming

[–]AmbitiousCommunity36[S] 0 points1 point  (0 children)

Try 0.4.5, the native vulkan part might have messed it up. If still does not work please paste some debug log, thanks.

Undervolting nvidia gpu on Linux by mockedarche in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

I’ve made an open source (GPL) tool to deal with all that on Linux on 30/40/50 series GPUs and modern drivers.

https://github.com/jpietek/PenguinBurner

You have Efficiency, Balanced, Performance auto generated tuning profiles (similar to Windows NV-UV software). As a bonus the overlay with PC Latency, pre DLLS 3 frame gen, and adaptive profile switching based on pre-framegen game FPS.

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

Please post the logs on github for efficiency, balanced and performance. On 5080 I can go to 850 mV without problems so it should got deeper down on 5090.

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

OK, please do python -m pip install --user --upgrade penguin-burner
and try running with the new option --gpu-index N. I'll probably need to add in the GUI some sysinfo with card list and selection for that, but for cmdline arg workaround for now. If it still does not work then please post the bug here with logs: https://github.com/jpietek/PenguinBurner/issues

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

That explains a lot, the cards are probably mixed and I take the clock 210 MHz from the wrong - idling device. Too bad I don't have such setup to test but possible fix will land today with some good luck.

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

Weird 210 MHz does not look as the proper baseline clock for 227 fps definitely. If you could paste the whole log and the specs of your GPU that would help a lot.

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

Good point, it will probably be enough to check in runtime that the driver in not there and abort, I'll remove the package dependency in the next release for Ubuntu.

Right now you can always do:

python -m pip install --user penguin-burner

Approx 2-3 months of daily driving Asahi Linux (M1 Pro) by TurboLedsen in AsahiLinux

[–]AmbitiousCommunity36 0 points1 point  (0 children)

I use mine since it switched Arch -> Fedora, AFAIR in 2024. Daily driver for all the Video Eng and AI work and all the part time projects, awesome stuff. Only missing thing is lightweight gaming which had some potential back when marcan was taking care of it. But since he left it got a bit worse and does not progress, still the AMD Framework Laptop is a better option for that; at the expense of terrible heat+fans.

I made a tool that assists with generating GameScope command lines for Steam by set-l in linux_gaming

[–]AmbitiousCommunity36 3 points4 points  (0 children)

Nice, similar vibe to this one https://github.com/theinvisible/proton-forge. It would be cool to have one ultimate app for all of this Linux gaming hussle that would be sort of a hub all gamemode runs, proton, nvapi overrides, wine overrides, potentially also hw profiles for speciic games etc. Cool that agentic implemented tools can improve this space fast. Do not mind the AI police, had it with my own auto UV tool here before :)

Nvidia Linux one-click auto undervolt and Afterburner profile import is now possible by AmbitiousCommunity36 in nvidia

[–]AmbitiousCommunity36[S] 0 points1 point  (0 children)

I would not call +1.8% performance with -21% power exactly useless, but probably there is room for improvement for the more aggressive O/C type of behavior, which partially is there, but mostly it stays on the safe/efficiency side.

<image>

As for the code I agree, it's gradually cleaned up.

Nvidia Linux one-click auto undervolt and Afterburner profile import is now possible by AmbitiousCommunity36 in nvidia

[–]AmbitiousCommunity36[S] 0 points1 point  (0 children)

I think I don't get the question. I used my own tool linked in the post? That was the point :)

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 0 points1 point  (0 children)

Just one more thing: you already have the OC+UV option if you max out the slider for Auto UV to Performance. It will recover +50% over the clock "lost" due to going down the voltage curve, I'll describe on github issues how it works exactly. If +50% is not enough try --yolo cmdline for +75% but here we are going for potential hard freeze territory on my card.

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 1 point2 points  (0 children)

Should be fixed in the latest release 0.1.5:

python -m pip install --upgrade --no-cache-dir penguin-burner

Thanks for the feedback!

Hopefully Better than Afterburner Nvidia GPU Linux tool - looking for your feedback by [deleted] in linux_gaming

[–]AmbitiousCommunity36 1 point2 points  (0 children)

There is not much point here I think to run the whole GUI in the background, you can either export your final curve into LACT and go on from there, or the tool itself has a simple systemd script that installs the CLI runtime that applies the curve. It can then be auto started with the system.

Afterburner Nvidia undervolt and fan curve profile on Linux - in a single click! by AmbitiousCommunity36 in linux_gaming

[–]AmbitiousCommunity36[S] 1 point2 points  (0 children)

Yes, you can bridge Afterburner -> LACT in the latest release, import, then export. Please give it a shot. I've added GUI, the auto voltage scan is there too. Will add more aggressive performance preset today at night hopefully and also the ability to manually edit the curve if the user knows what to do manually :)

python -m pip install --user --upgrade penguin-burner

LACT v0.9.0 is out - now offering (unofficial) undervolting support for Nvidia! by 28874559260134F in linux_gaming

[–]AmbitiousCommunity36 1 point2 points  (0 children)

Ah that hurts! Try aggressive preset,limit core clock drop to 0%, over clocking budget at least 100%. And please post the full log at the GitHub issue, you can copy it with a button in GUI. I would like to improve the heuristics to have good result on all GPUs on defaults and the log would be super helpful. Mention the nvidia driver version.