forum

Installing osu! on Linux with low-latency [2024]

posted
Total Posts
339
show more
Toromi Hearts
I'm having a weird issue where osu runs at the proper refresh rate when i set the game to power saving but going up to optimal and unlimited causes the game to feel like its going down in refresh rate. My fps was perfectly fine when i use mangohud but the game gets noticeably choppy, it feels like i go down from 240hz at power saving to 60hz at optimal (feels like 30hz when im using dt).

idk if anyone has dealt with this or knows a fix, im Nobara 38 (fedora based) and its a fresh install, this happens on both xorg and wayland as well as with my 2nd monitor on and off. Compositing is off on xorg when osu runs too.

edit: decided to install arch instead and its doing the same thing, also i should mention i have an amd gpu
Jasnah
I have tried this in arch, ubuntu, fedora and opensuse it always works
paradiseunicorn

Toromi Hearts wrote:

I'm having a weird issue where osu runs at the proper refresh rate when i set the game to power saving but going up to optimal and unlimited causes the game to feel like its going down in refresh rate. My fps was perfectly fine when i use mangohud but the game gets noticeably choppy, it feels like i go down from 240hz at power saving to 60hz at optimal (feels like 30hz when im using dt).

idk if anyone has dealt with this or knows a fix, im Nobara 38 (fedora based) and its a fresh install, this happens on both xorg and wayland as well as with my 2nd monitor on and off. Compositing is off on xorg when osu runs too.

edit: decided to install arch instead and its doing the same thing, also i should mention i have an amd gpu
Looks like we may have a similar issue! I've installed Arch on Wayland today with my AMD GPU and the game is stuck to about 47 fps, alt-entering fixes it until I click anything..

EDIT: Turns out installing the "xorg-xwayland-osu" package from the AUR and rebooting solved the issue.
GloriousNova
Thank you!
Pizdoglazka
Works but broken sound in another game
Mizuto-
There are a lot of lag spikes even though I'm getting overall higher fps.
How do I fix this issue.
I'm on Linux Mint Cinnamon 21.2 if you're wondering.
Topic Starter
MarshNello

Mizuto- wrote:

There are a lot of lag spikes even though I'm getting overall higher fps.
How do I fix this issue.
I'm on Linux Mint Cinnamon 21.2 if you're wondering.
I reccommend either trying gamemode out or changing kernel from mainline to a better one like Liquorix.
asuo
im having some issues with mouse on Arch, when i play using mouse the game starts to stutter, does anyone know how to fix this?
ShiroiYuki28
can you help me, why can't i run osu-wine with terminal, after running it i get this message:
fsync: up and running.
002c:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 8.16 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
00b8:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b8:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b8:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b8:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Application could not be started, or no application associated with the specifie
d file.
ShellExecuteEx failed: File not found.
Nyariri
I found multiple monitor issue, and how to solve that
- my osu wine was perform pertectly
- my wine didn't show all refresh rate correctly (it out just 60hz, my second monitor's hz)


In other words, if you have different hz multiple monitor that can only present lowest monitor's refresh rate.

and for solving this, excute osuwine with winecfg arguments "osu-wine --winecfg"
than, go to graphics tab - turn off "Allow the window managerr to decorate the windows" and "Allow the windows manager to control the windows" on window settings.
https://ibb.co/ykPxYwf

I think this can be helpful info for someone. :3

-----

above method is very uncomfortable window managing (you cant back to osu window doing alt+tab) and even not active sometimes. just turn off another monitor when play osu. T_T
Topic Starter
MarshNello

Nyariri wrote:

I found multiple monitor issue, and how to solve that
- my osu wine was perform pertectly
- my wine didn't show all refresh rate correctly (it out just 60hz, my second monitor's hz)


In other words, if you have different hz multiple monitor that can only present lowest monitor's refresh rate.

and for solving this, excute osuwine with winecfg arguments "osu-wine --winecfg"
than, go to graphics tab - turn off "Allow the window managerr to decorate the windows" and "Allow the windows manager to control the windows" on window settings.
https://ibb.co/ykPxYwf

I think this can be helpful info for someone. :3

-----

above method is very uncomfortable window managing (you cant back to osu window doing alt+tab) and even not active sometimes. just turn off another monitor when play osu. T_T

Waait, what's your DE? Yeah while this might be a workaround there might be better ways to fix.
NekoNatsuki
I install o! on Kali Linux with XFCE4 DE

" E: Unable to locate package winehq-staging
Script failed: Some libraries didn't install for some reason, check apt or your connection "l

I tried reinstall winello and it have same result

Idk how to solve that ;w;
zenze
It suddently stopped working one day, it would launch and get stuck on the osu logo showing up on your screen. running osu-wine in the terminal and it seems to get stuck on

0144:err:sync:RtlpWaitForCriticalSection section 4EDD7274 (null) wait timed out in thread 0144, blocked by 0180, retrying (60 sec)

I've tried uninstalling and reinstalling but it didn't change anything. I'm running Fedora 38 with Gnome 44.6. I've tried this in both Wayland and X11 and it behaves the exact same

edit: here's a video of it happening https://www.youtube.com/watch?v=CK2EtrOCysU
KatouMegumi

NekoNatsuki wrote:

I install o! on Kali Linux with XFCE4 DE

" E: Unable to locate package winehq-staging
Script failed: Some libraries didn't install for some reason, check apt or your connection "l

I tried reinstall winello and it have same result

Idk how to solve that ;w;
Not using a distribution meant to be used as a network penetration testing live cd image as a daily driver would help. Just install a more suitable distribution such as Linux Mint or Debian.
NekoNatsuki

KatouMegumi wrote:

NekoNatsuki wrote:

I install o! on Kali Linux with XFCE4 DE

" E: Unable to locate package winehq-staging
Script failed: Some libraries didn't install for some reason, check apt or your connection "l

I tried reinstall winello and it have same result

Idk how to solve that ;w;
Not using a distribution meant to be used as a network penetration testing live cd image as a daily driver would help. Just install a more suitable distribution such as Linux Mint or Debian.
It appear this line for debian

E: Unable to locate package winehq-staging
Script failed: Some libraries didn't install for some reason, check apt or your connection
Reverting install...: Reverting done, try again with ./osu-winello.sh
mv: cannot stat '/etc/apt/sources.list.bak': No such file or directory
zenze

Saratoga wrote:

It suddently stopped working one day, it would launch and get stuck on the osu logo showing up on your screen. running osu-wine in the terminal and it seems to get stuck on

0144:err:sync:RtlpWaitForCriticalSection section 4EDD7274 (null) wait timed out in thread 0144, blocked by 0180, retrying (60 sec)

I've tried uninstalling and reinstalling but it didn't change anything. I'm running Fedora 38 with Gnome 44.6. I've tried this in both Wayland and X11 and it behaves the exact same

edit: here's a video of it happening https://www.youtube.com/watch?v=CK2EtrOCysU
It fixed itself after I reinstalled Fedora so idrk what could've been the issue
Akira Morilas
Just a word of warning, if you're on Linux Mint DO NOT update, I lost all audio(system-wide, not just osu) and now when I play I get an error saying my score won't be submitted.

Looking into it it seems like the updater decided to delete pipewire without replacing it with anything else, and now wants me to Linus(Sebastian, not Torwalds) myself by requiring to delete Cinnamon to install it back(and even if I do click yes it doesn't go through with it, saying it needs to fix broken packages first).

The very reason I went back to Mint is because I wanted a distro that "just works", but if I can't have that then I'll just use Arch btw.
Espionage724
All this latency talk and there's no mention of preempt=full threadirqs ?


Akira Morilas wrote:

Just a word of warning, if you're on Linux Mint DO NOT update, I lost all audio(system-wide, not just osu) and now when I play I get an error saying my score won't be submitted.

Looking into it it seems like the updater decided to delete pipewire without replacing it with anything else, and now wants me to Linus(Sebastian, not Torwalds) myself by requiring to delete Cinnamon to install it back(and even if I do click yes it doesn't go through with it, saying it needs to fix broken packages first).

The very reason I went back to Mint is because I wanted a distro that "just works", but if I can't have that then I'll just use Arch btw.
I'm surprised people still use Mint after they had Wine broken for months. If you want a distro that just works, why aren't you using any of the 3 mainstream ones (Fedora, Ubuntu, openSUSE) that actually do that? They're mainstream for a reason :p
TheWMGoverment
Really cool!
Jangsoodlor

Espionage724 wrote:

All this latency talk and there's no mention of preempt=full threadirqs ?


Akira Morilas wrote:

Just a word of warning, if you're on Linux Mint DO NOT update, I lost all audio(system-wide, not just osu) and now when I play I get an error saying my score won't be submitted.

Looking into it it seems like the updater decided to delete pipewire without replacing it with anything else, and now wants me to Linus(Sebastian, not Torwalds) myself by requiring to delete Cinnamon to install it back(and even if I do click yes it doesn't go through with it, saying it needs to fix broken packages first).

The very reason I went back to Mint is because I wanted a distro that "just works", but if I can't have that then I'll just use Arch btw.

I'm surprised people still use Mint after they had Wine broken for months. If you want a distro that just works, why aren't you using any of the 3 mainstream ones (Fedora, Ubuntu, openSUSE) that actually do that? They're mainstream for a reason :p
Linux mint is considered to be "beginner friendly" so there's a lot of ppl using it.
Espionage724

Jangsoodlor wrote:

Linux mint is considered to be "beginner friendly" so there's a lot of ppl using it.
So is Ubuntu and has been for years. Mint was only good for Cinnamon when it was somewhat competitive with GNOME in the early version 3 days, and I guess media playback for people who couldn't check a box for it during Ubuntu's set-up.

Imo it makes no sense today to use Mint as a beginner distro since there's Ubuntu with far better stability and support, and Mint isn't doing anything noteworthy or better than other distros to even catch a glance.
Hedeyohu2
im stuck with 17 ms latency
KatouMegumi

Hedeyohu2 wrote:

im stuck with 17 ms latency
visual? disable vsync
Zip gamers
Hi, so, evertime that i try to install the osu! my tablet dont work on it, how can i make to get that thing to work? Like, my mouse works fine on game, and my tablet dont. My tablet works fine outside osu! I forgot to said, even with artist mode it doesn't work
RedDeadCobra
osu-wine command doesn't work for me, I am using the shortcut for now

Edit: the game also doesn't go fullscreen without manually hiding the taskbar (KDE Plasma, Wayland)
Stage
Just here to say thanks for the useful install script - this is awesome. Worked flawlessly, i3 arch.
masterFelixJr
My fps locked on 60 and ms on 17. I turned off the limiter of fps, but it doesnt work. Maybe problem in Xwayland or something else. Can you help me with that? I got 60hz monitor, intel iris xe graphics, intel core i5 1135g7. Ubuntu 24.04. When i played osu! on windows i got more 120 fps
Stage

masterFelixJr wrote:

My fps locked on 60 and ms on 17. I turned off the limiter of fps, but it doesnt work. Maybe problem in Xwayland or something else. Can you help me with that? I got 60hz monitor, intel iris xe graphics, intel core i5 1135g7. Ubuntu 24.04. When i played osu! on windows i got more 120 fps
It was really laggy until I followed the troubleshooting guide and added it to lutris. Should just be able to run 'osu-wine --lutris' and follow the instructions. Then always launch through Lutris, was buttery smooth after that.
Akebana Yukio
I'm unable to minimize or change windows while in the edit menu or beatmap editor
McEndu
Any lazer-stable comparisons?
Topic Starter
MarshNello

Akebana Yukio wrote:

I'm unable to minimize or change windows while in the edit menu or beatmap editor
You should be able to after yesterday's update, try running osu-wine --update
xalaxet
The sound is broken :(
Winnyace

xalaxet wrote:

The sound is broken :(
Broken in what sense?
3l_St3v3n
How do i get maps? help plz
BlueChinchompa

3l_St3v3n wrote:

How do i get maps? help plz

just drag the osu beatmap file into the game
Akebana Yukio
i got these errors while installing osu with dependencies

"The following packages have unmet dependencies:
winehq-staging : Depends: wine-staging (= 9.12~noble-1)
E: Unable to correct problems, you have held broken packages.
Script failed: Some libraries didn't install for some reason, check apt or your connection
Reverting install...:
Reverting done, try again with ./osu-winello.sh"

I tried to install the required dependency but the required dependency doesn't exist
BenjiXD
is it possible to redirect the games path to my windows folder so I dont have to copy all my songs and skins to a different hard drive
AbsurdDive
Just followed the guide and, I'm happy!

Offset wise, I only had to change it to -10 give or take.

Haven´t tested thoroughly, but this puts me one step closer to turn linux into my daily driver


The guide works perfectly under Bazzite!
Winnyace

BenjiXD wrote:

is it possible to redirect the games path to my windows folder so I dont have to copy all my songs and skins to a different hard drive
Yes. Mount the Windows partition and then create a symlink from the osu! Songs and Skins folders on the Linux partition. You might want to also make it so the Windows partition auto-mounts on startup, which shouldn't be too complicated. Google should help you with both of those things.
xaphan_
is there a fix for no launch arguments working? whenever i use a launch argument for example --lutris or --devserver <address> the game just launches as normal. when i first started using the script they worked and i was also able to add skins through the terminal with osu-wine <skin>, but this also doesn't work anymore. thanks.
ZnCookie
If you find that there is no sound, or the video performance is poor, you may not have installed the 32-bit package to provide support for 32-bit applications.

For example, I fixed it by installing lib32-pipewire and lib32-nvidia-utils on Arch Linux.
Clone
Is it just me or the game seems to crash a lot after the new update?
fuse apex dm me
when i tried to use the editor today, i couldn't open the map folder from the File menu. i've ran osu-wine --fixfolders and osu-wine --update, it still doesn't work. i see in the terminal, it outputs this whenever i do it:
0274:fixme:exec:SHELL_execute flags ignored: 0x00000100
Lawlietzz
i get this output whenever i launch osu-wine:

libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 517
Current serial number in output stream: 516

does anyone know how i can fix this?
great_elmo
I get a "file not found" error.
Winnyace

great_elmo wrote:

I get a "file not found" error.
close the terminal and open it again. If even then, it doesn't launch, the start script is in $HOME/.local/bin.
great_elmo
Ended up reinstalling and it's now working fine! Even runs well, very satisfied!

latency's a little high and the lag spikes are definitely there but that's okay
Vaxii
anyone else have issues with the cursor not moving with opentabletdriver? I heard it being a issue with Wayland but even going into X11 doesn't help, the cursor will not move no matter what.

Edit: I Fixed it, turns out it's a issue with Nvidia's drivers, it didn't work because I was using the base Nvidia driver instead of nvidia-dkms, replacing the base with nvidia-dkms fixed it all, so if anyone has issues with it, first make sure it's on X11, then get nvidia-dkms package, then get steam if it's a new install with it's utils (this is because it's changed to proton-osu and it doesn't work without steam's utils lul)
LeunoSam
@Lawlietzz

Lawlietzz wrote:

i get this output whenever i launch osu-wine:

libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 517
Current serial number in output stream: 516

does anyone know how i can fix this?
In case you still did not find a solution:

I had almost the same error message, but instead of 'failed to load driver radeonsi' I had 'failed to open iris'. (I'm assuming that's because you have amd and I have intel?)
Anyways, I'm on openSuse Tumbleweed and I fixed this by installing the Mesa-libGL-devel-32bit package and all recommended packages.
Maybe it would be sufficient to install Mesa-libGL1-32bit and its recommended packages only, but I did not test this.
Additionally, you should check if your graphic drivers are up to date / you have the correct drivers.
Akebana Yukio
Osu won't start after updating to the latest version (Stable 20241030). After osu scans for updates, a wine debugger window appears in half a second and then osu closes itself. I have yet to try reinstalling it tho
Winnyace

Akebana Yukio wrote:

Osu won't start after updating to the latest version (Stable 20241030). After osu scans for updates, a wine debugger window appears in half a second and then osu closes itself. I have yet to try reinstalling it tho
It's a bug with osu-winello. See if
osu-wine --update
works.
Please sign in to reply.

New reply