forum

Ultimate guide to low-latency osu! on Linux (rev.12)

posted
Total Posts
275
show more
ZecosMAX
Also: Wine has changed the key. It is now downloaded from this command:

wget -nc https://dl.winehq.org/wine-builds/winehq.key
Fuz2y
thats cool
Forna
well this is just too awesome. Thanks dude, you're a Genius.
Btw works amazing on ubuntu but then again I have a beast laptop and a beast PC (but using fedora on that)
liujeikla
Ok boomer
The_Baralasch
Wow really good guide
I have arch linux installed and will try to install osu
mrniceguy127
I set up a script that does all of this if it helps anyone: https://github.com/mrniceguy127/osu-wine-install-script

Well, "all" as in everything besides the optional Japanese fonts fix.
marshallracer

mrniceguy127 wrote:

I set up a script that does all of this if it helps anyone: https://github.com/mrniceguy127/osu-wine-install-script

Well, "all" as in everything besides the optional Japanese fonts fix.
This is perfect. I wanted to do this myself for quite a while but I'm lazy and couldn't be bothered to get into shell scripting.

What I'd change (and this is just personal preference, though leaving it as in the guide is fine, too) is having the prefix in a subfolder or something instead of it just laying around in the root of $HOME. Maybe $HOME/Games/osu-wine/ instead of $HOME/osu-wine/, similar to what Lutris does when installing a game.
Also, idk about current wine(-staging) (5.21 atm) but previous 5.x versions have a bug which prevent the proper installation of dotnet4x packages so maybe a warning for that can be added
mrniceguy127

marshallracer wrote:

mrniceguy127 wrote:

I set up a script that does all of this if it helps anyone: https://github.com/mrniceguy127/osu-wine-install-script

Well, "all" as in everything besides the optional Japanese fonts fix.
This is perfect. I wanted to do this myself for quite a while but I'm lazy and couldn't be bothered to get into shell scripting.

What I'd change (and this is just personal preference, though leaving it as in the guide is fine, too) is having the prefix in a subfolder or something instead of it just laying around in the root of $HOME. Maybe $HOME/Games/osu-wine/ instead of $HOME/osu-wine/, similar to what Lutris does when installing a game.
Also, idk about current wine(-staging) (5.21 atm) but previous 5.x versions have a bug which prevent the proper installation of dotnet4x packages so maybe a warning for that can be added
I'll get to this next time my accelerated curriculum gives me time lmao. I'll probably have an environment variable or something that allows for this. I've also tested this on wine 5.21 without issues. Although I'll try it again at some point.

Something I often do for paths I can't change is setup a symlink. That way songs don't eat up whatever drive home is on. I have symlinks for all of the *important* data in my osu folder. With a script that generates them too, so I can fresh install osu! less painfully.

EDIT: WINEPREFIX is now changeable via the environment (WINEPREFIX="..." ./install-osu). As well as your WINE, WINESERVER, WINECFG, and WINETRICKS.
marshallracer
symlinks definitely work, totally forgot about them since my home folder got its dedicated 2TB drive for pretty much everything it needs while the system itself runs off an ssd
I used symlinks a couple of years ago (and maybe even mentioned it somewhere in this thread) where back when I was actively dual booting I linked the songs folder from my windows drive

also, testing with a new wineprefix on 5.21 staging, dotnet462 install hangs for me (except when running wineserver -k in the prefix which wasn't necessary in wine 4.x since the installs worked there without having to kill anything)
it's not too bad since it's an easy fix but still a shame the bug persists
mrniceguy127

marshallracer wrote:

symlinks definitely work, totally forgot about them since my home folder got its dedicated 2TB drive for pretty much everything it needs while the system itself runs off an ssd
I used symlinks a couple of years ago (and maybe even mentioned it somewhere in this thread) where back when I was actively dual booting I linked the songs folder from my windows drive

also, testing with a new wineprefix on 5.21 staging, dotnet462 install hangs for me (except when running wineserver -k in the prefix which wasn't necessary in wine 4.x since the installs worked there without having to kill anything)
it's not too bad since it's an easy fix but still a shame the bug persists
Oh yeah I have the stalling sadly. I actually put a note on the repo about the work around. I thought you meant that it wouldn't work at all or something. I think it might be related to fonts?

100 GB home folder ftw (used to be 50). I have a whole other partition on a separate drive for game storage and other huge storage. Sadly I'm still forced to dual boot for certain games too :(. I moved my Songs folder to my ext4 games partition though. Might be placebo, but somehow I felt like it gave me better load times.
marshallracer
I kinda doubt that the .net runtime provides any fonts, though if it did, it would supply those with each incremental update since I've observed the hangs with each (sub-)version being installed through winetricks.
The notice in the repo is good for those stuck, though I do hope it gets fixed in future wine updates again.

And load times really depend on what the game and the songs are being read from but I know what you mean, even if the load times in osu are generally fast already it just seems a bit snappier when dividing load on two different drives
intrrpolantics
it says Wine Mono is not installed? how do i fix this.
marshallracer
Where/when does it say that? If it's when setting up the wine prefix at first, you don't need Wine Mono at all since you'll install .NET within the prefix anyway
soxaa_
i just have been looking on google and youtube to get a cursor like a custom one on linux i have the editing software GIMP and idk how to get a cursor. i no how to make em
Blue_Ninja0
Anyone knows if the Lutris scripts already apply these low-latency optimizations?
KatouMegumi

Blue_Ninja0 wrote:

Anyone knows if the Lutris scripts already apply these low-latency optimizations?
No. However, someone from poon's server is making a better guide with even lower latencies. Should be compatible with lutris.
Java2107
I'm not sure how many people this has happened to, but if you're using Arch (Manjaro, in my case) and you're faced with a garbled/black screen with a console error, you're missing a library. Installing ``lib32-libxcomposite`` resolves this issue.

Command for newbies: ``sudo pacman -S lib32-libxcomposite``

I've been facing this issue for a while and took a bit to fix it, so I am leaving it here for the benefit of the community.
AssPlayer
0024:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"osu!install.exe" cannot be loaded
0024:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\ass\\Downloads\\osu!install.exe" failed, status c0000135


shows up when i typed WINEPREFIX=~/osu-wine WINEARCH=win32 wine ~/Downloads/osu\!install.exe in the terminal on arch
oWrthless
Thank you im playing on linux for a wile and i can only play osu!lazer without input lag and high latency
RyuujiNijima
I have a problem, the script to run osu is not working for me it kept saying " wine: cannot find '/home/ryuuji/osufolder/osu!.exe' " for me
I use linux mint

Edit:I fixed it I only needed to download mono wine
Please sign in to reply.

New reply