-
TypeGame behaviour Bug descriptionWhen starting up the game on Linux using Wayland and the SDL_VIDEODRIVER=wayland environment variable, the window resizes to an incorrect size.
As soon as any of the graphics layout settings are changed, and the game "refreshes", it scales to the correct size. On my 2560x1440@240 screen, it initially scales to 1365x767, which is about 53% my screen's size. It hasn't done this 4 days ago. That should've been on 2023.1224.0. Screenshots or videos2023-12-29_21-43-16.mp4Sorry, video doesn't seem to play in Firefox. Version2023.1229.1 Logs |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 33 replies
-
This might be something more. I found out that my tablet also doesn't work in osu anymore until I toggle a specific setting on and off again. To be clear, on Wayland you have to disable "High precision mouse" to get OpenTabletDriver working in osu. This has always been the case and that's okay. But now, I have to enable and again disable this setting to get my tablet working on each startup. It seems as if osu starts with some default values and does not consider some saved settings anymore. This video shows me using my tablet outside of osu (working), when starting up osu (not working) and after toggling "High precision mouse" on and off again (working). 2023-12-30_14-00-28.mp4 |
Beta Was this translation helpful? Give feedback.
-
This is not a wayland issue, I would guess it has to do with your specific DE not wayland in general. I run sway with the same SDL_VIDEODRIVER env var and I don't experience any issues (game works both with/without high precision mouse enabled and setting persists across restarts, tested on 2023.12.29.1). It is something else about your setup. From my understanding of this projects stance on linux, if you want this to be resolved, it may be helpful to go through and find the specific commit/code change that introduced the issue (a good starting point might be before/after 1233533). |
Beta Was this translation helpful? Give feedback.
-
Okay, I finally found the time to set the project up on my linux machine. It was a hassle to get dotnet 6 with Roslyn support working. As Arch's packaging of dotnet somehow has Roslyn disabled, I had to use Microsoft's install script, which installs dotnet in user-space and move it into the system dirs manually. Anyways, I am able to reproduce the error on a fresh build with default settings. Time to bisect! Edit: Summary of the below conversation
|
Beta Was this translation helpful? Give feedback.
-
If anyone wants a lazy temporary solution I made a tiny python script that automatically full screens osu! on launch: https://github.com/THEGOLDENPRO/kde-osu-fullscreen-fix |
Beta Was this translation helpful? Give feedback.
-
It's fixed for me now in 2024-412-1. The game still briefly starts with the wrong dimensions and fixes itself as soon as it gets focused. This also fixed the problems I had with my tablet. It's worth mentioning that it always worked on my NixOS machine. It was just broken on my Arch installation. Weird. Probably SDL2, maybe I'll investigate it when I have some time. Good thing is that it works for now x) Edit: Well, my tablet is not really fixed. It works again initially, but it's completely offset to my actual settings and has wrong sensitivity. It's like osu re-maps the tablet input. Tablet input is disabled in osu so it uses my OpenTabletDrivers. It's fixed by, just like before, cycling through windowed, borderless and fullscreen again. |
Beta Was this translation helpful? Give feedback.
-
Please give it a try again in the latest version! We've switched to SDL3, so things might have changed. |
Beta Was this translation helpful? Give feedback.
-
#31965 this fixed the mouse problem. No more having to toggle direct input on and off again. SDL also seems to start in full screen and on the correct monitor now. Everything is fixed! 🥳 |
Beta Was this translation helpful? Give feedback.
#31965 this fixed the mouse problem. No more having to toggle direct input on and off again. SDL also seems to start in full screen and on the correct monitor now. Everything is fixed! 🥳