Appears to work now without workaround. Just started ALVR and it worked flawlessly on Hyprland.
I'm unable to retest it, I'm no longer using SteamVR directly and I don't want to experiment with it.
If others can provide feedback or maintainers want to close it - feel welcome.
@kisak-valve
to test this, i just need to add the QT_QPA part to the vrmontior.sh text?
if so i can test this. I'm on hyprland and alvr is refusing to work
Closing per the last handful of comments.
Still does not work without the QT_QPA_PLATFORM=xcb argument
(latest everything, beta steam, beta steamvr, arch, amdgpu, liquorix kernel, but in my opinion it doesn't matter in this case, I use hyprland)
Error from Steam trying to launch SteamVR (output in terminal, not a popup):
Workaround
Adding
QT_QPA_PLATFORM=xcbto SteamVR launch flags fixes the issue.So, those are my current flags:
RADV_DEBUG=zerovram QT_QPA_PLATFORM=xcb %command%Change request
(I lack fundamental understanding on how qt works, but I will go for few assumptions...)
I understand the error message as SteamVR UI supports xcb backend and in result it uses xwayland's xcb on platforms like kde's wayland.
Wlroots-based compositors tend to default that
QT_QPA_PLATFORMenv towayland, so I think it will be beneficial to do the workaround on SteamVR launch script level.To
vrstartup.shI've added following lines:Can we go this way until SteamVR will support a wayland directly?
Full
vrstartup.sh: