-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alxr-client-uwp crashes on startup #100
Comments
Hi, thanks for the info, if the non-uwp builds are crashing it's probably the same issue for the uwp build, Is the error message you're referring to this one?
You can try using the other graphics backend options, something I keep forgetting to put in the wiki is that by default Vulkan is typically the choosen backend and the default decoder is D3D11VA which currently this combo doesn't work, only with the decoder options of NVDEC, CUVID and cpu. I would suggest using the other graphics backend options, |
For the UWP build, I have no idea how to get logs. Thus, I tried your suggestions with the Windows exe client (no nvidia). No, I don't get the error you mentioned at all. Either way, no matter which of the arguments you proposed I use (or none of them at all), the log spams:
After hundreds of these logs, there's another log message for when I use no arguments or
And then the process exits. If I use
And then the process exits. WMR works perfectly fine on that environment (just to mention that this shouldn't be the issue), and I'm using it as the OpenXR runtime. I tried it with SteamVR, but it can't even open a session, so that doesn't work at all. It seems that the client connects to the server, though, for a few seconds. I can see it in the server logs. And then it disconnects:
Apart from the logged error with D3D11, there are no obvious errors that would explain why the process shuts down in the other scenarios. It even seems to be a graceful shutdown, considering logs like I assume NVDEC and CUVID are both Nvidia decoders that require cuda cores, at least the logs tell me that doesn't work. I had some kind of success with the CPU decoder in combination with D3D11. No arbitrary shutdowns anymore, but the headset just shows a green screen (with shadows of a game library it seems, but I can't really say...) |
Maybe I find some time to set up the dev env and look into that problem. Do you think it's worth it? Where could I start debugging? I guess the most of it is in ALVR-OpenXR-Engine? Since there's not really much code in the openxr-client directory, and all the client seems to do is instantiate the ALXRClientCtx from that lib. All the graphics and decoder stuff also seems to be there, so I think that's where I need to look? Or do you have any other suggestions? |
Description
I installed alxr-client-uwp on my steam deck on Windows 11. When I try to launch it, I get a white screen with a gray X in a gray rectangle for a split second, then it crashes without an error message. I tried a few other alxr-client-uwp versions but all seem to have the same problem.
Apart from that, I had to circumvent the certificate block using this guide because Windows asked me to provide a private key password in order to install the release certificate. I doubt that this is related, though.
I also didn't find a way to retrieve any kind of logs, not sure if there's a possibility to get them (not even in the Event Viewer). I also tried it with the debug package, to no avail.
I tried the windows client too, which successfully connects to my ALVR server, but then crashes because of this error.
Another issue I faced, related to the alxr-client-uwp: it requires windows version 10.0.20348.0 - this Windows SDK has only been released to Windows Server, which means the UWP app can only be installed on Windows Server 2022 or Windows 11, but not Windows 10.
General Troubleshooting
Environment
Hardware
It's a Steam deck running Windows 11 from SD-card.
Installation
ALVR Version: 18.5.0 (on server)
ALXR Version: v0.16.0+nightly.2023.10.02
SteamVR Version: 1.27.5
Install Type:
exe
,deb
,rpm
, etc) - UWPzip
)OS Name and Version: Windows 11 22621.1702 (22H2)
The text was updated successfully, but these errors were encountered: