GPUOpen-LibrariesAndSDKs / Radeon-ReLive-VR

157 stars 19 forks source link

Relive still doesn't work with the latest radeon software #109

Closed knightsun2010 closed 3 years ago

knightsun2010 commented 3 years ago

3600XT/6800XT/32G/quest2/win10 20H2 Render Resolution: 2704x2736 Encoder Resolution: 1832x1920 Scaling: Non-linear Codec: HEVC Video Bitrate: 100Mbps Field of View: 100 100 Frame rate: 40 10000 Streaming Protocol: UDP

The above setting worked perfect until I installed the 3.1 drivers, after waiting for 2 months, it still can't work with the latest 5.1 release, I have to roll back to the 2.1 drivers. any comment will be appreciated.

Sparkness commented 3 years ago

same problem, can only work properly with radeon driver 21.2.1.

Niguella commented 3 years ago

This just svaed me a bunch of troubleshooting as was trying to set this up on Q2 today and not getting it to appear as a HMD in the link profile.

eywhat commented 3 years ago

I have amd driver 5.1 and v28 on Quest and relive work perfect.

Niguella @.***> schrieb am So., 9. Mai 2021, 09:47:

This just svaed me a bunch of troubleshooting as was trying to set this up on Q2 today and not getting it to appear as a HMD in the link profile.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GPUOpen-LibrariesAndSDKs/Radeon-ReLive-VR/issues/109#issuecomment-835731059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOSAYMB7RKOWRASKHEC2CHTTMY4YFANCNFSM44MBE3FQ .

GennadiyAMD commented 3 years ago

@knightsun2010 - switch to AVC - HEVC has a problem in the latest driver. AVC works well. We're working on a fix.

knightsun2010 commented 3 years ago

@knightsun2010 - switch to AVC - HEVC has a problem in the latest driver. AVC works well. We're working on a fix.

Tried to use AVC but AVC doesn't work either

GennadiyAMD commented 3 years ago

@knightsun2010 - is it failing the same way with AVC - a TDR with a pop-up that the graphics driver failed to respond within the allotted time frame and a subsequent crash in SteamVR? Or is it a different behavior with AVC and HEVC? We can reproduce the problem with HEVC, but AVC is working fine for us here and for other users, judging by the comments in this thread. Could you please provide more details about what you're seeing? A log from c:\Program Files (x86)\Steam\logs\AMDWirelessVR.log would be helpful too.

I see no point in cranking the render resolution that high relative to the encode resolution. The image will get scaled down to the encode resolution anyway, so you'd not get the visual quality of the 2736 pixels anyway, but a frame would take significantly longer to render.

knightsun2010 commented 3 years ago

@GennadiyAMD Thank you for your response, please find my logs, 5.1 with the default setting work well, but the quality is not good. The other 2 didn't work. I didn't see any crash on my side, when I change the resolution, quest2 doesn't display anything, the screen is black. I wrote a review and simple guide for relive, a lot of readers said they have the same problem with me because they configure the relive as what I did, for the users who owned old AMD card, they can roll back to Feb driver, but for those who just bought 6700xt, Feb driver doesn't support the new card. please help to check if I did anything wrong, thanks.

I set the render resolution according to the max value of Oculus link, I think there must be a reason they provide such a resolution, a lot of people said high render resolution can guarantee a good encoder quality, it works pretty well if I roll back to Feb driver.

AMDWirelessVR_5.1_default.log AMDWirelessVR_5.1_NewRes_AVC.log AMDWirelessVR_5.1_NewResolution_CodecAuto.log

knightsun2010 commented 3 years ago

@GennadiyAMD Here is the log with the same setting when using the Feb driver.

AMDWirelessVR_v2.3.log

Sparkness commented 3 years ago

6900xt can work with radeon driver 21.2.1. but with 5.1, relive vr on quest2 only black screen. Sometime it work with AVC encoding, but the video quality is awful.

GennadiyAMD commented 3 years ago

@knightsun2010, @Sparkness - There are two separate issues that exist today - HEVC may trigger a TDR and there's an issue in ReLive VR itself - for the later the fix has been submitted and will be available in 21.6.1.

But in the meantime please use the following workaround:

  1. Use AVC or Default for codec. At high bitrates like 50-100Mbps there isn't much difference in video quality between AVC and HEVC - HEVC is better at low bitrates, but at 50+Mbps - not really.
  2. The black screen problem happens when render resolution is different from encode resolution AND non-linear scaling is ON. For any Navi you can set render resolution anywhere between 1600x1600 to 2100x2100 per eye (you can leave encode resolution at 0, which would make it use the render resolution numbers) and enable non-linear scaling. Higher numbers will give you a crisper image while lower numbers would offer better latency.

Thank you very much for catching these issues!

knightsun2010 commented 3 years ago

@GennadiyAMD thank you for your explanation and workaround, glad you confirm this issue and hope it will be solved soon.

knightsun2010 commented 3 years ago

6.1 driver works now but the video quality is worse than the Feb driver, could you please help to check if the HEVC encoding is working or not? thanks.

GennadiyAMD commented 3 years ago

@knightsun2010 - please attach your settings.json and AMDWirelessVR.log and I'll have a look. Thanks!

knightsun2010 commented 3 years ago

@GennadiyAMD Thanks for your quick response. Please find my logs and setting files. Feb.zip June.zip

GennadiyAMD commented 3 years ago

@knightsun2010 - one strange thing that I see in the June archive is the discrepancy between the bitrate specified in settings.json and AMDWirelessVR.log. settings.json is configured for 100Mbps, however in the log I see this:

2021-06-23 23:55:07.668 93C [VideoPipeline] Info: InitializeEncoder(HEVC) succeeded 2021-06-23 23:55:07.668 93C [VideoPipeline] Info: Video bitrate (overall) changed to 50.00 Mbps 2021-06-23 23:55:07.669 93C [VideoPipeline] Info: HEVC Video bitrate changed to 25.00 Mbps for left eye 2021-06-23 23:55:07.669 93C [VideoPipeline] Info: HEVC Video bitrate changed to 25.00 Mbps for right eye 2021-06-23 23:55:07.669 93C [VideoPipeline] Info: InitializeConverter() 2021-06-23 23:55:07.709 93C [VideoPipeline] Info: Initialize(): Codec: HEVC Render Resolution: 2704x2736 Encode Resolution: 1832x1920@90fps EFC: false Format: NV12 Bitrate: 50000000 bps Stereo: yes SeparateEyeProcessing: yes Non Linear Scale Supported : yes

I cannot reproduce this on my side however - the bitrate always matches. Is it possible that settings.json and the log file were mismatched somehow when you zipped them? Could you please double-check this? Thanks!

knightsun2010 commented 3 years ago

@GennadiyAMD I also noticed this before I upload the files, I am sure the settings.json is the one I used for the June driver. but it's strange that I can't use WebUI to read the settings in settings.json, every time I open WebUI, it displays the default value, but if I check the settings.json file, the previous setting remains, and I can use WebUI to change the value. The settings.json doesn't change even after I reinstall the AMD driver. Just change the max framerate and tried again, please check the new file. settings.zip AMDWirelessVR.zip

knightsun2010 commented 3 years ago

@GennadiyAMD correct one thing, the WebUI read default value after every PC reboot, not every time access it. Tried again 1 uninstall the current driver with DDU, reboot, delete the AMD and OpenVR folder so when installing the driver again it can generate a new settings.json file. 2 Install 6.1 driver and select delete previous driver option 3 config the WebUI and test again, nothing change.

knightsun2010 commented 3 years ago

@GennadiyAMD FYI I upgrade my PC to B550M, 5600x, Windows 10 21H1

GennadiyAMD commented 3 years ago

@knightsun2010 - just updated the client app, please give it a try. You should see 100Mbps now. Please let me know if this helps.

knightsun2010 commented 3 years ago

@GennadiyAMD it looks much better now, thank you very much for your help.

GennadiyAMD commented 3 years ago

@knightsun2010 - thanks for confirming!