GPUOpen-LibrariesAndSDKs / AMF

The Advanced Media Framework (AMF) SDK provides developers with optimal access to AMD devices for multimedia processing
Other
611 stars 152 forks source link

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

Open DeChains1 opened 1 year ago

DeChains1 commented 1 year ago

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):

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).

MikhailAMD commented 1 year ago

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

DeChains1 commented 1 year ago

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

MikhailAMD commented 1 year ago

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

DeChains1 commented 1 year ago

You're welcome. Glad I could help.

DeChains1 commented 1 year ago

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.

MikhailAMD commented 1 year ago

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

DeChains1 commented 1 year ago

Woo hoo!

DeChains1 commented 1 year ago

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.

MikhailAMD commented 1 year ago

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

DeChains1 commented 1 year ago

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