AMF icon indicating copy to clipboard operation
AMF copied to clipboard

[Bug]: Issue capturing games at 4K 60fps H264

Open DeChains1 opened this issue 2 years ago • 10 comments

Hi,

I just bought a new 7900 XT over the weekend and noticed my 4k in home streams set to 60 fps were of subpar quality while using the AMD hardware encoder.

Describe the bug Steam Remote Play and AMD Link record an average of 57 fps while playing games at 4k when the client is locked to 60 fps. Same thing happens when recording a clip in ReLive at 4K 60fps.

To Reproduce Launch Steam Big Picture mode from client PC. Set streaming options to 3840 x 2160 resolution 60 fps. Launch Skyrim Anniversary Edition, Last of Us: Pt 1, or any other game and get an average 57 fps. Same from AMD Link.

Setup (please complete the following information):

  • OS: Windows 11 Pro 22H2
  • Driver Version 23.4.1
  • GPU RX 7900 XT
  • Vulkan NV12 + AMF H264 & D3D11 NV12 + AMF H264

Debug Log (please upload or paste): Let me know what I can send over to diagnose.

Expected behavior Record/Stream at 60 fps.

Screenshots Doom 4k 60 FPS target Doom 4k60 graph

Doom 4k 90 FPS target Doom 4k90 graph

Additional context I've tried just about everything but can't get AMD hardware encoding to provide a solid framerate at 4K 60. This is happening on a fresh install of Windows 11 Pro that is completely up to date. I can get 4k 60 using the iGPU (Intel UHD 770) or software rendering but the image quality is worse IMO. This appears to be a bug because I can set the FPS target to 90 fps in Steam and the stream is smoother but results in 33% frame drops. I've tried AMD Link and the result is the same (I also don't get sound).

DeChains1 avatar Apr 07 '23 05:04 DeChains1

Is it possible to share GPUVIEW log from the game PC (5-10 sec) ZIPped?

MikhailAMD avatar Apr 07 '23 16:04 MikhailAMD

Hi Mikhail, Here are my gpuview logs running Doom Eternal at 4k 60 on host. https://1drv.ms/u/s!Auu7Ww6Zvz7Tnk6xQhKiba0zd5VG?e=CIFCrr

DeChains1 avatar Apr 07 '23 19:04 DeChains1

Thanks for the log. Something seems is wrong. We will investigate.

MikhailAMD avatar Apr 07 '23 21:04 MikhailAMD

You're welcome. Glad I could help.

DeChains1 avatar Apr 07 '23 21:04 DeChains1

Hi Mikhail and AMD team, I retested ReLive recording at 4k60 AVC today. The only change made since initial report is installing April Cumulative update. ReLive appears not to be affected by this bug. I don’t know what happened when I recorded on 4/6 when I received 57 fps but today it was at 60. Steam Remote Play and AMD Link still affected. Just thought I’d let you know and will update my initial report.

DeChains1 avatar Apr 13 '23 16:04 DeChains1

Thanks for the update. We believe we know what the issue is and are working on a fix.

MikhailAMD avatar Apr 13 '23 16:04 MikhailAMD

Woo hoo!

DeChains1 avatar Apr 13 '23 16:04 DeChains1

Hi again Mikhail, hope the bug squashing is going well. I am just curious of how the fix will be rolled out to the public. Should I be on the lookout for the latest Adrenalin drivers? Also, if it would be helpful, I could beta the fix. If not, I will wait patiently.

DeChains1 avatar Apr 21 '23 15:04 DeChains1

Yes, the fix will come with driver update. Stay tuned. Thanks

MikhailAMD avatar Apr 21 '23 15:04 MikhailAMD

Great. I'll keep an eye out for it. Thanks again.

DeChains1 avatar Apr 21 '23 15:04 DeChains1