alvr-org / ALVR

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

BlackScreen on MetaQuest 2 On Linux #2420

Open travrei opened 1 month ago

travrei commented 1 month ago

So i followed the tutorial. Get into Fix page, follow the errors and fixes there... nothing!

I allready try: ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command% and: WAYLAND_DISPLAY='' %command%

I can't get image out on my Quest2

 [SESSION] Updated
18:03:28.291 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
18:03:28.291 [INFO] AV1 profile does not contain encoding entrypoint. You unlikely to have hardware encoding for it.
18:03:30.284 [INFO] Server connected
18:03:32.219 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B
18:03:32.242 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B
18:03:32.242 [INFO] Set socket send buffer succeeded: 425984
18:03:32.242 [INFO] Set socket recv buffer succeeded: 425984
18:03:32.244 [INFO] Render Target: 5184 2848
18:03:32.244 [INFO] Refresh Rate: 120
18:03:32.244 [INFO] CEncoder::Run
18:03:32.244 [INFO] CEncoder Listening
18:03:32.273 [INFO] CEncoder client connected, pid 3661, cmdline /home/andreiesteves/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor
18:03:32.287 [INFO] Using Vulkan device AMD Radeon RX 6750 XT (RADV NAVI22)
18:03:32.295 [INFO] Using device path /dev/dri/renderD128
18:03:32.296 [INFO] FrameRender: Input size 5184x2848
18:03:32.299 [INFO] FrameRender: Output size 3072x1504
18:03:32.317 [INFO] Encoder: Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
18:03:32.320 [INFO] Using VAAPI encoder
18:03:33.743 [INFO] Client disconnected. Cause: Broken pipe (os error 32)
18:03:37.221 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B
18:03:37.238 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B
18:03:37.238 [INFO] Set socket send buffer succeeded: 425984
18:03:37.238 [INFO] Set socket recv buffer succeeded: 425984
18:03:37.240 [INFO] Render Target: 5184 2848
18:03:37.240 [INFO] Refresh Rate: 120
18:03:37.278 [INFO] Received new playspace with size: [1.2, 1.2]
18:03:37.322 [INFO] Client 0781.client.local.: [Error] FIXME: Leaking Imagereader!
18:04:26.723 [INFO] Received new playspace with size: [1.2, 1.2]
18:05:17.632 [INFO] Client disconnected. Cause: Connection refused (os error 111)
18:05:24.272 [INFO] Server disconnected

CPU: AMD Ryzen 5 5600 VideoCard: AMD Radeon RX 6750 XT 12Gb Ram: 16g OS: ArchLinux ~ Pipewire ~ Gnome 47

The-personified-devil commented 1 month ago

You'll have to merge them like this: WAYLAND_DISPLAY='' ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%

travrei commented 1 month ago

Nope, still no image, even with both commands!

The-personified-devil commented 1 month ago

You get the os error 32, which is usually related to issues with your firewall, so look into that, there should be a button in alvr to setup the firewall. Or try asking in chat on discord or matrix as people there have dealt with that a lot already and can help figure it out