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

posted
Total Posts
257
show more
Forefront
Suggestions:
1. Install `cabextract`: `sudo apt install cabextract`
2. Install Wine (I mean, you told me to add the repository WITHOUT installing wine?!) `sudo apt install winehq-stable`
3. On Bionic (18.04), you probably don't need the repository (no bionic in repo): `sudo apt install --install-recommends wine-development`
ExploXd
nvm, i figured it out.

btw i use arch. in aur repository is a package named mimeo so install that. you also should install xdg-utils and perl-file-mimeinfo from official repositories.

then download some skin and beatmap (their file extensions must be: .osk and .osz) and in terminal write:

# replace the directory with your directory with these files.
cd directory
# now we'll use the tool we installed. change file.osk with the name of the actual file.
mimeopen -d file.osk
# now it will say if you want to open it with smth so select other if it's there. then write just osu and it will open osu with that file and also it will set as default. if #you don't have an option other in mimeopen then select osu!.
#
#now we'll do this same with .osz extension
mimeopen -d file.osz
# now it will say if you want to open it with smh so select other if it's there. then write just osu and it will open osu with that file and also it will set as default. if #you don't have option other in mimeopen then select osu!.

sorry if it's not clear. i hope that francesco will rewrite this to actual guide. be free to ask me for smth
cykip
fps drop. playonlinux is better oon performance. can help me increase fps?
thnkg
It should noted that the hovering issue on Wacom tablets has been fixed upstream since input-wacom version 0.41.0 and kernel 4.18.
See this github issue: https://github.com/linuxwacom/xf86-input-wacom/issues/14
_Cynical_
When trying to create a new wine prefix and install .NET 4.6.2, gdiplus and japanese font aliases, I keep getting this specific error "sha256sum mismatch! Rename /home/anthony/.cache/winetricks/dotnet462/dotNetFx462_Full_x86_x64_Slim.exe and try again."

Now, I have tried countless things, reinstalling, deleting Wine and Winetricks from "/home/usr/.cache" But nothing seems to work.

The reason I have switched to Linux is because of the countless issues I get with Windows 10, bsod's, Bad performance and constant bugs, overall the main reason I got bored of Windows was because it lost it's charm and ultimately got boring to use.

I knew switching to Linux would have some worth getting used to. But running osu is my main priority for now.

Hopefully this issue can be resolved quickly.

Thanks for your time!

-Cynical
CaptainKriss

_Cynical_ wrote:

When trying to create a new wine prefix and install .NET 4.6.2, gdiplus and japanese font aliases, I keep getting this specific error "sha256sum mismatch! Rename /home/anthony/.cache/winetricks/dotnet462/dotNetFx462_Full_x86_x64_Slim.exe and try again."

Now, I have tried countless things, reinstalling, deleting Wine and Winetricks from "/home/usr/.cache" But nothing seems to work.

The reason I have switched to Linux is because of the countless issues I get with Windows 10, bsod's, Bad performance and constant bugs, overall the main reason I got bored of Windows was because it lost it's charm and ultimately got boring to use.

I knew switching to Linux would have some worth getting used to. But running osu is my main priority for now.

Hopefully this issue can be resolved quickly.

Thanks for your time!

-Cynical
The download for dotnet462 changed, for now you can just change the dotnet version, dotnet461 should be good.
https://github.com/Winetricks/winetricks/issues/1124
CrypticInsanity
Hi, I've looked through a fair amount of this thread over and I can't find anything addressing this so can anyone help?

The issue is, whenever I get a notification, whether it be from steam or a native desktop notification (KDE Plasma) I get a large amount of stutter and/also tracking issues with my mouse.

I've disabled my compositor when osu launches and I use the proprietary NVIDIA drivers with a 1070.

Any help would be be appreciated, thanks in advance!
Xantis
Hi! I have similar issue as CrypticInsanity. I am using 2 displays and when I play Osu! and have facebook opened on the second display, Osu! suddenly starts to shutter when I receive a message. I have external notifications disabled, but it "blinks" on facebook site. The problem disappears, when the message is read. I'm using Nvidia RTX2070 with proprietary drivers and have VBlank disabled. I have tried to change sync from Auto to display, which is used for Osu! but it didn't help.
Zantetsuken
2000 fps with 1/3 this guide and a 1050Ti, thank you noble man
http://www.webupd8.org/2016/06/how-to-install-latest-nvidia-drivers-in.html

Monitor refreshrate not working ingame tho
GrunclePug
cant get it to launch, osu is stuck updating client info and this is my console output

pugchan@ubuntupc:~$ osu
0034:err:ole:CoGetContextToken apartment not initialised
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
Pata-Kun
According to the last error, the component called "ntlm_auth" (in its 3.0.25 version or above) must be installed on your computer (anywhere in the PATH environment variable, but don't worry about that).
Then it is said that this component is distributed through the "winbind" package. All you have to do is: "sudo apt-get install winbind" (since you are on an Ubuntu OS, apt/apt-get is your default package manager) (after updating the package list, "sudo apt-get update"). Then retry. I don't know if it will clear everything though.

(Sorry for the delayed reply, hope it helps and don't hesitate to reach out again if you still have issues)
marshallracer
as it is usual, once per year I got the whim to freshen up my Linux setup and see how this guide holds up to the test of time and I gotta say .. it works better than ever

Manjaro Cinnamon latest stable (18.04 I believe) with the default 4.19 kernel
Intel Xeon E3-1231v3
Radeon RX580 with free drivers shipped with Manjaro
Creative Sound Blaster X-Fi Xtreme
wine-4.11 Staging

The game runs buttery smooth in windowed mode and while there is still some latency, it is noticably lower than it has been before with -9 ms global offset being spot-on (previously having to struggle with something around ~-20ms)

I should mention that wine-staging is somewhat necessary by now (I think) since regular wine locks threads during osu install and is never able to finish though maybe I also just had some bad luck?
I am honestly surprised how well it runs now, performance-wise on par with Windows

also why is this damn thread still not pinned
abbperson
For some reason I cannot for the life of me get any internet in/out no matter how many different ways I try to config everything before/during/after install.

I'm currently running Ubuntu 19.04 Disco Dingo, mostly stock out of the box
All the steps work out fine, but I can't ever get an auth from bancho once I'm in the game.

If anyone has a similar issue feel free to chime in, I've decided to give up on it for now, unless I have an epiphany about something I did wrong :(
marshallracer

abbperson wrote:

For some reason I cannot for the life of me get any internet in/out no matter how many different ways I try to config everything before/during/after install.

I'm currently running Ubuntu 19.04 Disco Dingo, mostly stock out of the box
All the steps work out fine, but I can't ever get an auth from bancho once I'm in the game.

If anyone has a similar issue feel free to chime in, I've decided to give up on it for now, unless I have an epiphany about something I did wrong :(
Have you tried installing lib32-gnutls?
This has been a common issue in the past which required that package to be installed to make osu connect to the internet
abbperson

marshallracer wrote:

abbperson wrote:

For some reason I cannot for the life of me get any internet in/out no matter how many different ways I try to config everything before/during/after install.

I'm currently running Ubuntu 19.04 Disco Dingo, mostly stock out of the box
All the steps work out fine, but I can't ever get an auth from bancho once I'm in the game.

If anyone has a similar issue feel free to chime in, I've decided to give up on it for now, unless I have an epiphany about something I did wrong :(
Have you tried installing lib32-gnutls?
This has been a common issue in the past which required that package to be installed to make osu connect to the internet
Yea I read about lib32-gnults for arch users, but I can't locate it for ubuntu, my searches are consisting of the default apt repos with Ubuntu 19.04, and some googling.

I found some posts saying to try
`apt-get install libgnults30:i386`
but no package is located.

GUI software browser brings up nothing for gnults

It seems like an arch only package almost, but I'm not foolhardy enough to assume I'm right about that.
marshallracer
It's definitely not Arch-only as I needed that package myself a few years back, though back then it has been at version 2.8 or 2.6 I believe

I've found a link to the 32-bit package, though I can't check rn if it's any useful (I should set up a Ubuntu VM at some point to test stuff) or if you've tried it already
https://packages.ubuntu.com/disco/i386/libgnutls30/download

edit:
https://packages.ubuntu.com/disco/libgnutls28-dev
the 2.8 package I believe has been used
abbperson

marshallracer wrote:

It's definitely not Arch-only as I needed that package myself a few years back, though back then it has been at version 2.8 or 2.6 I believe

I've found a link to the 32-bit package, though I can't check rn if it's any useful (I should set up a Ubuntu VM at some point to test stuff) or if you've tried it already
https://packages.ubuntu.com/disco/i386/libgnutls30/download

edit:
https://packages.ubuntu.com/disco/libgnutls28-dev
the 2.8 package I believe has been used
Thanks I'll give it another install through and through and report back, shame about naming conventions having no standard between package managers.

Edit: libgnutls28-dev was indeed the needed package. osu! seems to be working just fine now, thank you so much!
creeperskin1
typing "osu" in ternal
sends back
bash: /usr/bin/osu: Permission denied
followed all the steps,
any possable solutions?
an_3y3sack

creeperskin1 wrote:

typing "osu" in ternal
sends back
bash: /usr/bin/osu: Permission denied
followed all the steps,
any possable solutions?
You've probably haven't set your file permissions correctly. Try running "sudo chmod +x /usr/bin/osu"
abbperson

GrunclePug wrote:

cant get it to launch, osu is stuck updating client info and this is my console output

pugchan@ubuntupc:~$ osu
0034:err:ole:CoGetContextToken apartment not initialised
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
0043:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
After installing winbind, I still get

00b5:err:ole:CoGetContextToken apartment not initialised
00c4:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
00c4:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
00c4:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
00c4:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733

in a loop, and osu won't complete it's update. odd.

edit: big brain: I got a working rpc dll as specified in the troubleshooting section and dumped it in the osu folder. Solved.

edit2: music and noise are super sped up and glitchy asf, I assume I borked something with wine so I'm going to start from scratch and try again
--> WINEPREFIX=~/osu-wine WINEARCH=win32 winetricks sound=alsa

Is the culprit, something wrong with my alsa setup presumably. Switching back to Pulse Audio and no more glitching.
show more
Please sign in to reply.

New reply