pop-os / cosmic-epoch

Next generation Cosmic desktop environment
3.13k stars 84 forks source link

Excessive Power usage for rx 7900xt on idle #873

Open theremper opened 2 months ago

theremper commented 2 months ago

On other desktop environments on idle I get appx 8 to 12 watts of power to rx 7900xt graphics card on Cosmic I am using 50 to 60 watts on idle

Department-stack commented 2 months ago

What OS are you using?

theremper commented 2 months ago

I have this problem in the Popos alpha as well as cosmic on arch

Department-stack commented 2 months ago

What is your gpu utilization? could you take a screenshot of an app such as nvtop?

theremper commented 2 months ago

screenshot-2024-09-02-18-49-03 gpu is one percent if that

Department-stack commented 2 months ago

Is your battery settings on high performance? If so try setting it to it's lowest value and see if anything changes. Also could you install radeontop & screenshot that too? You can remove it after you get the screenshot. (same with nvtop)

theremper commented 2 months ago

I am using a desktop but still set it to lowest value nothing changed. screenshot-2024-09-02-21-43-38

Department-stack commented 2 months ago

Your GPU's memory clock speed shouldn't be maxxed out on a idle desktop. When your computer is idle, the GPU runs at a lower clock speed to conserve power and reduce heat generation. For some reason it is not transfering to a low power state. For reference this should only happen when running demanding graphics applications or games

This is usually caused by:

A malfunctioning GPU or driver issue (Unlikely since you said that you only had this issue with the cosmic desktop) A background application consuming GPU resources (Can't be; nothings open) Overheating or poor cooling system (Can't be the case because your temp was low) Aggressive power management settings (Most likely answer, cosmic's power management seems to be the issue here)

Install something like tlp, while it is intended to optimize battery life for laptops, it should correctly put your gpu into the correct power state automatically, overriding cosmic-applet-battery

Department-stack commented 2 months ago

https://github.com/linrunner/TLP

You can install it via apt.

You can also install TLP-UI in flathub (much easier way to change settings) But the default settings are very good and should fix your issue. I would recomend for you to restart after installation

theremper commented 2 months ago

thank you for your assistance. You are correct in that its cosmic's power management. I hope this gets fixed at some point. For others sake

Drakulix commented 2 months ago

cosmic's power management seems to be the issue here

COSMIC itself doesn't do any power-management, it delegates that responsibility to other system76-power or power-profiles-daemon, depending on what is installed/provided by your distro.

So while this is an issue worth looking into for the Pop!_OS alpha, which ships system76-power, this isn't the culprit for the problem on Arch. Did you install any of these two on Arch?