alvr-org / ALVR

Stream VR games from your PC to your headset via Wi-Fi
MIT License
5.53k stars 489 forks source link

[ALVR v19] AMF SDK Update crashes AMD GPU driver #1228

Closed Timocop closed 1 year ago

Timocop commented 2 years ago

Description

For some weird reason, the newest AMF SDK does not like HEVC HW encoding on my machine at all. I'm using Adrenalin 22.5.1 stable. Sadly, I'm unable to use any beta drivers because then Video Players in the game VRChat would crash the GPU driver instead (confirmed by multiple people, I'm not alone in this).

The same exact issue happens when using the OBS-Studio HEVC HW encoder in the newest version. When using AMD HEVC HW, it runs fine for like roughly ~15min and then indefinitely crashes my GPU driver if any 3D application is run. Until I restart my machine. I have not tested AMD H.264 HW in ALVR v19 but I assume it's the same behavior as in OBS-Studio: It doesn't work, like in ALVR v18.

Older AMF SDKs seem to work perfectly fine. Such as ALVR v18 or OBS-Studio's older AMF plugins.

It would be nice to see commit c5cc8f05675d2ce8d50d460b970ae3893643de19 reverted until AMD patches this driver issue. I'm surely not the only one that has this issue.

Environment

Hardware

CPU: AMD Ryzen 7 5700X GPU: AMD RX 6700 XT

Installation

ALVR Version:

SteamVR Version:

Install Type:

OS Name and Version : Windows 10 21H2 (Build 19044.2130)

deiteris commented 2 years ago

I think the issue is that latest AMF SDK requires driver 22.7.1+. Could you try updating to any driver version after 22.7.1? Or anything past 22.5.1 causes issues with VRChat video players? image

Timocop commented 2 years ago

Yes, the current beta driver (and the studio driver) crashes when videos play with the AVPro video player in VRChat. So the driver and the game crashes when I join a world that has a AVPro player in it, which is like every world now. That's why I can't use newer drivers until this crashing issue is fixed. Which has been months.

Is it possible to just use AMF SDK 1.4.24 (or 1.4.23) instead until the next stable driver release? I volunteer for testing.

image

(FYI: AMF Plugin for OBS Studio is running AMF 1.4.14)

Timocop commented 2 years ago

I've build ALVR v19 with AMF SDK 1.4.18 so people like me that are on stable AMD GPU drivers can use ALVR v19. If anyone is interested in testing, here are the binaries (windows only). https://cdn.discordapp.com/attachments/721675451969306655/1038637827459665990/ALVR_v19_AMF_1.4.18.7z (could not upload the binaries on GitHub due to size limit)

The server works with those clients: https://github.com/alvr-org/ALVR-nightly/releases/tag/v19.0.0-dev05%2Bnightly.2022.10.29

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.