Linux direct mode driver issues
I don't know if it's yet too early to report issues with the linux direct mode driver but I have some things I just want to make sure are at least reported.
Description
Encoder bugs:
- [ ] 1. The video is too dark, it's fine in the steamvr vrview on desktop but on the headset its too dark
- [x] 2. When the encoder restarts it doesnt restart properly but crashes with:
Could not set up the encoder: vk::Device::allocateMemory: ErrorOutOfDeviceMemory. Staying idle until the next client connect.
Even when there is still at least 4GB of free vram which should be more than enough for just alvr and steamvr. Reconnecting makes it just crash again.
Other rendering bugs:
- [ ] 3. Steamvr home looks very bugged if the overlay is closed.
- [ ] 4. Wayvr overlay shows behind the game. (i assume. Because it stops beeing visible as soon as the game enters vr. But you can still interact with it.)
Also async mode doesnt seem to activate editing config doesnt activate it ether. Steamvr says that either the config or the direct mode driver disable it. So might be intentional. idk.
Latency is also a little higher than old method, but that might also just be because its still wip.
Environment
Hardware
CPU: AMD Ryzen 5 5600X (12) @ 4.65 GHz
GPU: AMD Radeon RX Vega 64
GPU Driver Version: Mesa 26.2.1-arch1.1
Audio: ??
Installation
ALVR Version: Latest linux-direct-mode branch (945d3cc9be65f5db86d36508d9e4044f13dbd1ef)
ALVR Settings File: Default settings but 90Hz and high foveation. Both encoder issues also occur on h264 and hevc.
SteamVR Version: 2.16.7 and 2.17.7
Install Type:
- [ ] Packaged (
exe,deb,rpm, etc) - [ ] Portable (
zip) - [x] Source
OS Name and Version: Arch Linux
Retesting after: https://github.com/alvr-org/ALVR/commit/21b4b5be675b50bf88620e83ecf71e15f34da8eb still has wrong colors. something with the gamma i believe, its darker than it should be.
And still the crashing on reconnect.
What does the coredump say?
On the reconnect it doesnt fully 'crash', but gives a error popup: Could not set up the encoder: vk::Device::allocateMemory: ErrorOutOfDeviceMemory. Staying idle until the next client connect. Even when there's more than 4GB vram available, more info is in the description of the issue at the top.
https://github.com/alvr-org/ALVR/pull/3407 did not fix anything for me here
I'll try to fix it later today it's just vega is such an odd ball GPU arch
You can compile it yourself right?
You can compile it yourself right?
yes
The Image is still too dark. BUT, no more crashing on reconnect!
Thanks for the info
getting the same dark color and overlay issue on Nvidia RTX 3060. I also get on occasion violent jittering of the headtracking if theres too much latency forcing me to set the resolution really low