server icon indicating copy to clipboard operation
server copied to clipboard

crashes with wivrn

Open birdguy-cs opened this issue 1 year ago • 4 comments

For me it crashes when installed on manjaro via the AUR, when i load it shows a black screen for a couple seconds and then closes.

birdguy-cs avatar Jan 12 '25 23:01 birdguy-cs

are you using a nvidia gpu by any chance?

technobaboo avatar Jan 12 '25 23:01 technobaboo

yea

birdguy-cs avatar Jan 12 '25 23:01 birdguy-cs

This happens on my system too. I installed it via Envision, but also from the Fedora Terra repository, and I am just getting a black screen, though I am running telescope, so it should have an actual output. There is an error in the output, which is constantly being thrown:

<timestamp> ERROR tokio-runtime-worker smithay::backend::renderer::gles: 358: [GL] GL_INVALID_FRAMEBUFFER_OPERATION in glDrawElementsInstanced

Is this related to NVIDIA and the proprietary driver and is there any potential user-sided solution, or does some code in StardustXR need adjustment? It could also be understandable that it's a bug in the actual driver which would require intervention by NVIDIA.

AlphaCraft9658 avatar Jul 20 '25 22:07 AlphaCraft9658

fundamentally idk why that happens... but i do know we are replacing GL entirely with vulkan so this problem should be categorically solved.... whenever we can figure out the bugs with bevy and our dmabufs/shm buffers (they flicker for some reason, the whole mesh doesn't render for some frames.... really frustrating)

so yeah... sorry it's taken so long and is so broken!! fundamentally, stereokit (the renderer we were using) wasn't built for Linux and I don't have the energy to maintain and update C-style C++ code that barely builds with gcc/clang (it was made for msvc)... and GL doesn't let you precisely pick which GPU to use so multigpu issues and all, it was time for a refactor anyway. On the discord you can see us working on the bug in the new bevy version...

so sorry, we're working on it! if you know bevy or such we'd appreciate help too On Sunday, July 20th, 2025 at 6:25 PM, Alpha-Craft @.***> wrote:

AlphaCraft9658 left a comment (StardustXR/server#33)

This happens on my system too. I installed it via Envision, but also from the Fedora Terra repository, and I am just getting a black screen, though I am running telescope, so it should have an actual output. There is an error in the output, which is constantly being thrown:

ERROR tokio-runtime-worker smithay::backend::renderer::gles: 358: [GL] GL_INVALID_FRAMEBUFFER_OPERATION in glDrawElementsInstanced

Is this related to NVIDIA and the proprietary driver and is there any potential user-sided solution, or does some code in StardustXR need adjustment? It could also be understandable that it's a bug in the actual driver which would require intervention by NVIDIA.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

technobaboo avatar Jul 21 '25 16:07 technobaboo