polygraphene / ALVR

ALVR is an open source remote VR display for Gear VR and Oculus Go. With it, you can play SteamVR games in your standalone headset.
MIT License
1.82k stars 248 forks source link

Video Codec error. Weird behavior. Wont start with h264, but starts with h265 codec just fine. #674

Closed TobySushi closed 2 years ago

TobySushi commented 4 years ago

Hi! So I started playing around with ALVR last night, and everything was working absolutely incredibly, it took the stress off of my GPU that quest link would produce, so games run much better with ALVR. However, this morning when I went to pick it up again, I kept getting a "Failed To Initialize CEncoder. AllVideoEncoder are not available." The rest essentially told me to switch to the H264 codec instead because HEVC (h265) wouldn't work with my GPU. The funny part is that starting the server with the H264 codec gave me this error, and I could start the server with the h265 codec just fine. I really don't know what could be the issue here, I had changed no other settings beforehand, this simply happened overnight. I was using the H264 codec last night and it worked fine, but using the H265 codec today results in horrible freezing, stuttering, and video compression artifacts. Changing the resolution and bitrate very low helps with the H265 codec, but i would rather use H264 as it has worked much better for me in the past.

If anyone has any recommendations for how to fix this, please let me know. My NVIDIA drivers are all up to date, and I'm running a GTX 1060 3gb. I found similar issues on fourms in the past, but they all ended in changing the codec over to h264, which doesnt work in my case.