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

posted
Total Posts
253
show more
Invictus Tiberius
I'm working on a new guide aplicable to latest versions of Wine (2.x or newer). Test reports, comments and votes for osu! would be very helpful.
https://appdb.winehq.org/objectManager.php?sClass=version&iId=28025

Consider that I don't pretend to be exhautive, because (hopefully) osu!lazer will come ~soon~. Instead, I put all minimum necessary steps to get osu! working and usefull tested workarounds for common problems. This way there's no need to strictly use a separate, managed Wine prefix if the default prefix is correctly configured.
Pata-Kun
Ok so I have 2 problems:
  1. First, each time I launch the game, it tries to download discord-rpc.dll_patch and then discord-rpc.dll. It doesn't do anything apparent but I think it might cause the scond one:
  2. I can't connect ! It constantly tells me to verify myself online even though I made it already ! Help !


And also, the game's not very fluid (not smooth 60fps display) and I have more input latency than back on Windows. (Had no problems on Windows)
SlowLogicBoy
Linux Mint 18.3
Followed PlayOnLinux guide, game launches fine but no ethernet. I knew that the problem was gnutls since well logs... And installed all of the libs available after fighting for 2 days:
If it says it can't connect to the internet, install these old versions of libgcrypt and gnutls and try again:
https://launchpad.net/ubuntu/+archive/p ... 4_i386.deb
http://launchpadlibrarian.net/311120747 ... 7_i386.deb
this helped, I guess It's a good idea to add these in PlayOnLinux section too... 18.2 had lib32-gnutls lib so that helped. 18.3 one doesn't... I wonder if there are any fallback ppas for these.
Topic Starter
Franc[e]sco

Invictus Tiberius wrote:

I'm working on a new guide aplicable to latest versions of Wine (2.x or newer). Test reports, comments and votes for osu! would be very helpful.
https://appdb.winehq.org/objectManager.php?sClass=version&iId=28025

Consider that I don't pretend to be exhautive, because (hopefully) osu!lazer will come ~soon~. Instead, I put all minimum necessary steps to get osu! working and usefull tested workarounds for common problems. This way there's no need to strictly use a separate, managed Wine prefix if the default prefix is correctly configured.
it's the exact same steps that i do with wine 1.8.3 (minus compiling wine), except it has more sound delay, that's why i don't advise it. yes i already tried the audio tricks and it's still more latency than old wine, sometimes it even bugs out completely. this is only for my setup though, your mileage may vary so feel free to try latest wine with sound=alsa and a lowlatency kernel

btw, the updater loop on discord-rpc.dll can be fixed by copying it from a clean client and restarting the updater, here's mine: http://hnng.moe/f/YRu
Ryu Sei
Somewhat, I tried Invictus' way to do it on Wine 2.x. Tried first with native gdiplus.dll copied directly from Windows 10 and it crashes on my winecfg.
Maybe I was too dumb to not change the system version in winecfg to Windows 10?

Also,

Seems the font render were screwed :\ especially on 6 and 9 (image taken after crash and swapping gdiplus to built>native priority. It seems osu! accidentally deleted essentials .dll files back then?)
Seems the latency for Wine 2.x is kinda far, but I haven't tried 1.8 again. You can infer that I hitted 'earlier'.

Might as well as building myself 1.8.
Matix99
EDIT:outdated, please ignore my post
marshallracer
You can add elementaryOS 0.4.1 to the working distros
it's really just based on Ubuntu 16.04 LTS and I've only tried it within a VM but it does its job
(no comment on latency or performance because VM tests are not to be trusted a lot but it worked just fine)

Is there actually a distro or repository where one can test wayland?
I'm actually really curious how (bad) it actually turns out to be (for playing osu) in its current state
XHPLAYER[_]

marshallracer wrote:

You can add elementaryOS 0.4.1 to the working distros
it's really just based on Ubuntu 16.04 LTS and I've only tried it within a VM but it does its job
(no comment on latency or performance because VM tests are not to be trusted a lot but it worked just fine)

Is there actually a distro or repository where one can test wayland?
I'm actually really curious how (bad) it actually turns out to be (for playing osu) in its current state
newest ubuntu
marshallracer
So I tried to install everything through the POL way on Ubuntu 17.10 on my Laptop and I'm kinda stuck with an error message about wine not being able to use TrueType Fonts because of a missing/insufficient Freetype version (starting with the registry editor not working properly and continuing with spitting out errors during dotnet45 install and crashing osu bevor it can download/install anything)
I don't know if I screwed up myself somewhere or if there's some dependency or basic package I overlooked, I reinstalled libfreetype6, wine and POL but still nothing doing
XHPLAYER[_]
developedby
Using wine 1.8.3 results in massive stuttering for me. Updating the version to 3.1 solves that problem, while still having the same amount of latency (somewhat bad, i'm using wayland)
MrFoxLT
Mint 18.3 here, i tried all possible methods but osu keeps restarting on "We are updating your game"
goeo_
i recently successfully installed osu on linux, and here are some neat tips i've collected from mostly franc[e]sco and thepoon, the two osu-on-linux professionals:

1) you can get the same latency as from wine 1.8 on recent wine versions (i've tested this on 3.5) if you use alsa and not pulse. to do this without completely removing pulse, you will need to

WINEPREFIX=whatever WINEARCH=win32 winetricks sound=alsa
WINEPREFIX=whatever WINEARCH=win32 pasuspender -- winecfg

and in the Audio tab, set the proper Output device for your system, click Apply, then Test Sound to make sure it works. Now, you can run your game with pasuspender (so for example,
WINEPREFIX=whatever WINEARCH=win32 pasuspender -- wine 'C:\\osu\osu!.exe'
) and it should work fine!

2) if you use a wacom tablet and you do not drag, you may notice that you go out of your tablet's range much easier than on windows. this is because of a tablet feature where it has two different states of being in proximity, and in range, in which the pen is still close enough that the tablet detects it but not as close as "in proximity". the current linux wacom drivers completely ignore this second state, and only update your pen's location if it's in proximity. but the maintainer of the linuxwacom project has done some work on it (i'm not sure if they're planning to merge it (perhaps as a setting) to the main driver), and this branch is the fixed driver where you can lift your pen as high as you could on windows.

3) approach circles look weird? limit your fps.

while the game is not running, open your osu!.user.cfg, and set the CustomFrameLimit to the highest fps your computer can handle stably. Note that osu! normally shows how many milliseconds it takes to render a frame instead of the fps in the "fps counter", so the math is
fps = 1000/(how many milliseconds it takes to render one frame)
Topic Starter
Franc[e]sco
rewrote most of the guide for wine 3+ with a lot less complicated steps

also added a fix for having both the main menu top-right icons and working japanese fonts thanks to _goeo's testing as well as the wacom hover distance fix
Neil Watts
Hey,
Thanks for having written this - and keeping up to date.

That said, it doesn't seem to work on my side - under Debian stable (stretch).
I've tried so many tutorials but I'm really stuck. Since I wiped my Windows partition in December, I didn't find a way to play osu! again and it's quite troublesome to me.

Here's a video showing my problem, just dumbly copypasting your commands :
https://youtu.be/_cDb7CYPcjE

As usual, wine is going nuts and I don't have a clue of what's happening.
I know your tutorial isn't especially designed for Debian systems, but if you have any idea of where I can start digging to have a chance to make it run, please let me know.
Thanks for your help.
Topic Starter
Franc[e]sco

Neil Watts wrote:

Hey,
Thanks for having written this - and keeping up to date.

That said, it doesn't seem to work on my side - under Debian stable (stretch).
I've tried so many tutorials but I'm really stuck. Since I wiped my Windows partition in December, I didn't find a way to play osu! again and it's quite troublesome to me.

Here's a video showing my problem, just dumbly copypasting your commands :
https://youtu.be/_cDb7CYPcjE

As usual, wine is going nuts and I don't have a clue of what's happening.
I know your tutorial isn't especially designed for Debian systems, but if you have any idea of where I can start digging to have a chance to make it run, please let me know.
Thanks for your help.
thanks for debugging my guide

looks like I made a copypaste mistake, the osu!install command is supposed to be

WINEPREFIX=~/osu-wine WINEARCH=win32 wine ~/Downloads/osu\!install.exe


other than that it looks like the other steps went fine
Neil Watts
Oh my god, seriously, thank you.
https://i.imgur.com/SZHfiTV.png

I was thinking the installation failed because of all the errors wine was throwing in the console, without even trying to understand why there was a command attempting to open osu!install.exe with regedit.

Can't thank you enough, I'll be able to click circles again now.
Feel free to contact me if you need to debug anything under Debian.
ExploXd
hello there. i have got arch linux. i was about to throw this away because no internet connection on wine. but now i figured how to fix that. write "sudo pacman -S lib32-gnutls" and i guess your issue will be fixed.
ExploXd
https://osu.ppy.sh/ss/10759611 do you think i can do anything with this?

specs: HP ProBook 450 G1 (arch linux + KDE)
processor : i5-4200M @ 2.50 ghz
graphics: intergrated
ram: 3.7gb
thats all sadly.

i have got better performance on win.
XHPLAYER[_]
show more
Please sign in to reply.

New reply