And to that I ask the same I asked there: why does decode only (without displaying anything) use 3x as much power on linux as deconde and display uses on windows? Also why does software decoding use less power <1080p30 when both use as little fixed function stuff for the rest?
I am very glad to see there are related optimizations made in stuff I use but the point of the decoder itself using way too much power.
The thing mentioned above about the cursor isnāt quite obvious to everyone; but the issue with the cursor is that itās composited with the desktop plane rather than running on itās own hardware plane.
So IIUC that means youāre spinning up the GFX engine in order to have a cursor. Moving it to itās own plane will mean that the compositor doesnāt need to have GFX running as frequently. Doing direct scanout will mean that the compositor doesnāt need to have GFX running.
All these optimizations to use the hardware more efficiently should add up.
Without scannout to the display (like just to dmabuf) can you see if the new PHX VCN F/W that was upsteamed today still consumes too much (specifically with EPP set to balanced)?
The one that fixes the vp9 stuttering? If itās that one, at least the beta one didnāt do anything power wise (it did remove youtube stuttering in firefox though), I could retest the release one next week.
Yeah itās the release one for that issue. I havenāt personally looked at it so I donāt know for sure if there was anything else added to it from beta to release.
Itās important to test it specifically in a non-composited environment such as direct scan out or with a compositor not running to ensure the graphics engine doesnāt spin up so that youāre only looking at the hardware decoder.
Fair enough, though I am pretty sure the ffmpeg into /dev/null cut out pretty much everything. Also the vaapi vs software decoding tests should also have everything else pretty much equal and jet the hw decoder uses significantly more power than software below 1080p30 (and both use significantly more power than doing the same takes on my t480s with an 8th gen i5), something fishy is going o there that isnāt just scaling and compositing.
The test firmware has worked well for me for the past 2 weeks, I have not noticed any video stutters. It did however unfortunately do nothing about the absurd power consumption.
yes, I installed the updated firmware for fedora 39 this past weekend. Unfortunately, there is still stuttering when playing videos with hardware acceleration in firefox. It happens less frequently than before, but it is still happening
@David_Corning@1115 apologies if this is an obvious question but, did you re-generate the boot-time initrd image? The firmware thatās present in that (which is taken from the amd-gpu-firmware package thatās installed at the time of image creation) is what runs. Normally images are generated on new kernel version installs but in Fedora you can also run sudo dracut --force then reboot.
Hello, thanks for asking! I think yes because using dmesg and finding the VCN version of the firmware, itās running the latest version: VCN firmware Version ENC: 1.30 DEC. Iām on rembrandt btw (not a framework user yet)
I think on phoenix people should expect ā„ ENC: 1.17. With last firmware from gitlab I get: [drm] Found VCN firmware Version ENC: 1.19 DEC: 7 VEP: 0 Revision: 0
No, I didnāt. It turns out I was on VCN firmware Version ENC: 1.12 DEC: 5 VEP: 0 Revision: 0.
After regenerating the initrd, now Iām at VCN firmware Version ENC: 1.19 DEC: 7 VEP: 0 Revision: 0.
There was a kernel update released roughly around the same time (kernel-6.7.9-200) and I thought Iād pulled in updated kernel + updated firmware all at the same time, but I misrememberd The kernel update came in first, and then hours later I pulled in the firmware.
Thanks for the reminder to check the basics first @dimitris
I tested a 4k60 vid today, and no stuttering so far, fingers crossed.