nvtop icon indicating copy to clipboard operation
nvtop copied to clipboard

No encoding/decoding info with AMD Radeon RX 7700 XT, Linux 6.12.8

Open davidebeatrici opened this issue 1 year ago • 9 comments

davidebeatrici avatar Jan 14 '25 18:01 davidebeatrici

Hi @davidebeatrici, by default the encoding usage is only shown while encoding/decoding and 30 seconds after.

If you're not currently encoding you can make it always show in the setup: image

Otherwise if you are currently encoding, is the usage shown in other utilities like amdgpu_top?

Steve-Tech avatar Jan 15 '25 09:01 Steve-Tech

Yep:

davidebeatrici avatar Jan 15 '25 16:01 davidebeatrici

Hi @davidebeatrici, I think I've found the issue, would you be able to test my amd-enc branch?

Steve-Tech avatar Jan 16 '25 01:01 Steve-Tech

Tested, ENC/DEC still not shown unfortunately.

davidebeatrici avatar Jan 16 '25 05:01 davidebeatrici

Thanks for testing, sorry I don't know what the issue might be then.

Steve-Tech avatar Jan 16 '25 06:01 Steve-Tech

Please note that when forcing ENC/DEC to be shown, the percentage stays at 0%.

davidebeatrici avatar Jan 16 '25 15:01 davidebeatrici

Turns out the percentage shows up for decoding, I had to add hwdec=auto to mpv's config in order for it to use VA-API.

davidebeatrici avatar Feb 12 '25 13:02 davidebeatrici

Ahh cool, but still not for encoding?

Steve-Tech avatar Feb 12 '25 21:02 Steve-Tech

I'm seeing something similar when using sunshine to screen-cast the screen to an Apple TV with an RX 6800XT.

I don't see any encoding reported by the AMDGPU driver, however it's using vaapi for sure since it's not being encoded on the CPU!

When using ffmpeg to encode a video I see the encoder utilization though!

I don't know, it may be an AMDGPU driver bug that does not report encoder usage in some cases?

Syllo avatar Mar 23 '25 13:03 Syllo