forum

[confirmed] [osu!lazer] osu!lazer doesn't like controllers and crashes

posted
Total Posts
9
Topic Starter
Vento5886
Problem details:
When I unplug my mouse and keyboard and then connect a controller, it crashes almost imediately or it panics and stops responding.
Out of the 7 attempts in remaking this problem, 6 out of 7 were successful at crashing.
For the record, I'm using a EasySMX ESM-9101 through USB.


Video or screenshot showing the problem:
https://imgur.com/a/sCMFmPy

osu! version: Lazer 2024.817.0
spaceman_atlas
Please export logs from the game using the button in settings and attach them in this thread.
Topic Starter
Vento5886
spaceman_atlas
Thanks. It appears we have this logged already as https://github.com/ppy/osu/issues/24458. I'll look into whether I can reproduce in my environment.
spaceman_atlas
Hm. Unfortunately it appears that I cannot reproduce this issue on my PC. It is most definitely related to the controller, though.

Are you able to check if setting the OSU_SDL3=1 environment variable fixes this crash? One guide that describes how to do this is here: https://docs.oracle.com/cd/E83411_01/OREAD/creating-and-modifying-environment-variables-on-windows.htm#OREAD158
Topic Starter
Vento5886
I added the variable and it works and doesn't woek at the same time.

Just for the sake off it, I tried unpluging the keyboard and mouse and pluged in the controller, and vice-versa to check if it does work.
The 2 times I tried it, the first one crashed after pluging in the controller two timws (order: keyboad+mouse --> controller --> keyboad+mouse --> controller) and the second time I tried it, it crashed after three times doing it.
spaceman_atlas
Just to confirm that the envvar worked correctly - when you open the game with the environment variable set, and then press ctrl-f11, some text will appear in the bottom right of the screen. Does it say "SDL2" or "SDL3" on there?
Topic Starter
Vento5886
SDL2. It is not how it should be when the variable is on, right?

Here's a screenshot of how the variables are set. Is it right?
https://imgur.com/a/76wJNvL
spaceman_atlas
Yeah it should be saying SDL3.

You set the environment variable incorrectly (although that might have been my fault due to being imprecise). You want the envvar name to be OSU_SDL3 (you did that part right) and the value to be just 1 (that isn't right on your screenshot, your value is OSU_SDL3=1).
Please sign in to reply.

New reply