forum

Guide osu! Linux

posted
Total Posts
82
show more
marshallracer

AlphaS wrote:

Do not turn on CompatibilityContext or Compatibility mode in osu! settings. DO NOT!!!
Do not turn on Shaders (white screen on transitions) or Softening filter (WHITE FUCKING SCREEN EVERYWHERE). DO NOT!!!
yeah, compatibility mode crippled my fps in Wine 5.14 which is when I noticed that without it the game already runs extremely smooth
before then (or rather before 5.7) there was no difference when having compat mode enabled or disabled or at least I never noticed any
1chucklehead
I ended up getting opsu instead of osu. I can't log into my account.
WolfiyEdits
worked great thx

(arch 5.8.13, bspwm)
icr0
Is the latest update broken for anyone else (arch)
i restarted osu to update, can't launch it anymore:


0103:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
00fb:fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Remoting"
00fb:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0xd90aba, (nil), 0x1114ee0) stub.
0109:fixme:process:FlushProcessWriteBuffers : stub
00fd:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
DonTMover_old
Tnks
YumiEvergarden
When I run osu! Updater it gives the error "an error occurred! Please check your internet connection". How do I fix this? (Manjaro)
kevincos5
This works for elementary os?
marshallracer

DRO4ULA wrote:

When I run osu! Updater it gives the error "an error occurred! Please check your internet connection". How do I fix this? (Manjaro)
Check and see if you have lib32-gnutls installed, this is often the reason the updater has no internet connection



kevincos5 wrote:

This works for elementary os?
Yes. As it is based on Ubuntu, installation should be straightforward.
Valorix

marshallracer wrote:

DRO4ULA wrote:

When I run osu! Updater it gives the error "an error occurred! Please check your internet connection". How do I fix this? (Manjaro)
Check and see if you have lib32-gnutls installed, this is often the reason the updater has no internet connection



kevincos5 wrote:

This works for elementary os?
Yes. As it is based on Ubuntu, installation should be straightforward.
Yesterday I upgraded from Fedora 32 to Fedora 33 and I'm having the same issue. For Fedora install command for gnutls is "sudo dnf install gnutls" and it writes this "Package gnutls-3.6.15-1.fc33.i686 is already installed.
Package gnutls-3.6.15-1.fc33.x86_64 is already installed.
".. It is installed, but doesn't work somehow.. I have osu! installed through Lutris script. I tried deleting the Wine prefix and installing it again. Nothing.. I tried this install script https://github.com/yurisuki/osu-install and still nothing. Lutris log shows this "GnuTLS error: No or insufficient priorities were set."

EDIT: I've been able to at least work around this issue. I've made a separate prefix and tried to run it with Proton (just to see, what happens) and it worked. Through Winetricks I downloaded dotnet45 and gdiplus dlls. And that broke it (was getting those gnutls errors). I tried it with just gdiplus dll and it worked. Later I've made new prefix just to clean up mess that I created by trying different stuff. Tried to run it with regular Wine and it works. TLDR: dotnet45 was an issue for me. Deleted it and it was fine.
Note: I did everything in Lutris.
marshallracer
ok, dotnet breaking something does not really surprise me .. but it killing networking is definitely weird and should not happen. Even more confusing as how you got it to run withouut it since osu relies on at least dotnet40 but it could very well be there's something borked in that very specific setup with 45. Maybe I'll give it a shot in a vm to see what happens.
EmoBlitz

RoARene317 wrote:

Since osu! is for Windows and Mac version, the linux version isn't available right now. But for me after a long journey in linux, finally I get the working osu! on linux.

1. Install Lutris (since they already provided the script and do it for you)
Ubuntu user (Ubuntu based OS):

sudo add-apt-repository ppa:lutris-team/lutris
sudo apt-get update
sudo apt-get install lutris

Arch Linux (Arch Linux Based OS):
sudo pamac -S lutris

For other distro can refer to this guide : https://lutris.net/downloads/

2. search osu! and click search lutris.net

3. Click install and go to the Windows Version

4. Just wait this will install:
Microsoft .Net Framework 4.0
Microsoft .Net Framework 4.5
GDI Plus (For Graphical Fixes)
CJK Font
Wine Staging Version
If you get a lot of fixme:error blah blah blah , it's normal as long you don't get fatal error. This process takes along time about 30 minutes so be patient.

5. osu! Installed


Low latency osu! (Thanks PooN)
1. Download the custom audio driver (Download the both)
https://blog.thepoon.fr/assets/articles/2018-06-16-osuLinuxAudioLatency/32bit/winepulse.drv.so (32bit)
https://blog.thepoon.fr/assets/articles/2018-06-16-osuLinuxAudioLatency/64bit/winepulse.drv.so (64bit)

2. Type on terminal :
[file browser apps] /home/[username]/.local/share/lutris/wine/tkg-osu-4.6-x86_64
Replace file browser apps with your own depending on your operating system: Arch = Dolphin Ubuntu = Nautilus

Replace username with your own username


3. Paste the file 32 bit to the lib folder and the 64 bit to the lib64 folder

4. Type on terminal : sudo nano /etc/security/limits.conf

edit and paste this command

echo "@[username] - nice -20
@[username] - rtprio 99" >> /etc/security/limits.conf

Repalce username with your own username

5. Save by Ctrl+X
6. Copy paste this command to terminal
mkdir -p /etc/pulse/daemon.conf.d/
echo "high-priority = yes
nice-level = -15

realtime-scheduling = yes
realtime-priority = 50

resample-method = speex-float-0

default-fragments = 2 # Minimum is 2
default-fragment-size-msec = 2 # You can set this to 1, but that will break OBS audio capture." | sudo tee -a /etc/pulse/daemon.conf.d/10-better-latency.conf

7. Type sudo nano /etc/pulse/default.pa
Find the line that include this command:
load-module module-udev-detect

add tsched=1

save it

8. Back To Lutris and configure osu --> Game Options --> change arguments to STAGING_AUDIO_DURATION=10000


Troubleshoot
1. Stuck at looping on installation

It takes a lot of time depending on your CPU, HDD.

2. osu! takes a long time / not boot

Check the task manager if the cpu usage osu.exe higher than 50% it means program is preparing because there is the big change in your osu folder

3. Where is my osu folder
Default /home/[username]/Games/osu

4. Cross on installation = Image cross

install libpng by apt-get install libpng // pacman -S libpng

5. If problem persist kill wine-server
and osu!.exe

That's it :)

RoARene317 wrote:

Since osu! is for Windows and Mac version, the linux version isn't available right now. But for me after a long journey in linux, finally I get the working osu! on linux.

1. Install Lutris (since they already provided the script and do it for you)
Ubuntu user (Ubuntu based OS):

sudo add-apt-repository ppa:lutris-team/lutris
sudo apt-get update
sudo apt-get install lutris

Arch Linux (Arch Linux Based OS):
sudo pamac -S lutris

For other distro can refer to this guide : https://lutris.net/downloads/

2. search osu! and click search lutris.net

3. Click install and go to the Windows Version

4. Just wait this will install:
Microsoft .Net Framework 4.0
Microsoft .Net Framework 4.5
GDI Plus (For Graphical Fixes)
CJK Font
Wine Staging Version
If you get a lot of fixme:error blah blah blah , it's normal as long you don't get fatal error. This process takes along time about 30 minutes so be patient.

5. osu! Installed


Low latency osu! (Thanks PooN)
1. Download the custom audio driver (Download the both)
https://blog.thepoon.fr/assets/articles/2018-06-16-osuLinuxAudioLatency/32bit/winepulse.drv.so (32bit)
https://blog.thepoon.fr/assets/articles/2018-06-16-osuLinuxAudioLatency/64bit/winepulse.drv.so (64bit)

2. Type on terminal :
[file browser apps] /home/[username]/.local/share/lutris/wine/tkg-osu-4.6-x86_64
Replace file browser apps with your own depending on your operating system: Arch = Dolphin Ubuntu = Nautilus

Replace username with your own username


3. Paste the file 32 bit to the lib folder and the 64 bit to the lib64 folder

4. Type on terminal : sudo nano /etc/security/limits.conf

edit and paste this command

echo "@[username] - nice -20
@[username] - rtprio 99" >> /etc/security/limits.conf

Repalce username with your own username

5. Save by Ctrl+X
6. Copy paste this command to terminal
mkdir -p /etc/pulse/daemon.conf.d/
echo "high-priority = yes
nice-level = -15

realtime-scheduling = yes
realtime-priority = 50

resample-method = speex-float-0

default-fragments = 2 # Minimum is 2
default-fragment-size-msec = 2 # You can set this to 1, but that will break OBS audio capture." | sudo tee -a /etc/pulse/daemon.conf.d/10-better-latency.conf

7. Type sudo nano /etc/pulse/default.pa
Find the line that include this command:
load-module module-udev-detect

add tsched=1

save it

8. Back To Lutris and configure osu --> Game Options --> change arguments to STAGING_AUDIO_DURATION=10000


Troubleshoot
1. Stuck at looping on installation

It takes a lot of time depending on your CPU, HDD.

2. osu! takes a long time / not boot

Check the task manager if the cpu usage osu.exe higher than 50% it means program is preparing because there is the big change in your osu folder

3. Where is my osu folder
Default /home/[username]/Games/osu

4. Cross on installation = Image cross

install libpng by apt-get install libpng // pacman -S libpng

5. If problem persist kill wine-server
and osu!.exe

That's it :)
everybody gangster until you cant get beatmaps to work
Bluesuma
sudo mkdir -p /etc/pulse/daemon.conf.d/
PerFect!
ThachAnhHoang
Alright, I have a bit of a note. For those using Fedora and wants to play osu!, you shouldn't update to Fedora 33. Why? The post-install screen doesn't update and keeps showing the "Please check your internet connection" message. Therefore, I suggest that you stay at 32 (but preferably not something before 30) cuz that would be quite old already. Side note, idk if NVIDIA has solved its problems with its drivers on kernel 5.9 yet.
BilalMirza1000
when i run osu! my pc logs out of my account and when i get back in linux everythings closed how do i fix this
ThachAnhHoang
You do realize you cannot have 2 computers with osu! on simultaneously with just 1 account?
battleof3
tsched=1 is incorrect btw, supposed to be tsched=0. We want the interrupt scheduler so our staging duration and pulsewine patches are able to work properly.
multimode freak
i figured it out
den4k4554
how can i install osu on solus budgie 4.1?
TakayaHQ
F to pay respect
Jacques Chirac
Ok so I have a big problem. Everything is installed correctly but whe I lauche the game via Lutris I get the message error 'NoneType' object has no attribute "lower". I can't launch the game help me

Edit: ok I managed to fix error but, why do the game crash after finishing a game ?
Hisakawa
Manjaro user here. Tried OP, works perfectly fine. In order to turn off my mouse acceleration I used the guide from the arch wiki, the one with libinput:


Alternatively, since libinput-1.1.0-1 and xf86-input-libinput-0.15.0-1 you can use a flat acceleration profile. To enable it create the following file:

/etc/X11/xorg.conf.d/50-mouse-acceleration.conf

Section "InputClass"
Identifier "My Mouse"
Driver "libinput"
MatchIsPointer "yes"
Option "AccelProfile" "flat"
Option "AccelSpeed" "0"
EndSection
Jupilian
destroyed my linux mint sound after a restart, I needed to undo manually everything
marshallracer

Jupilian wrote:

destroyed my linux mint sound after a restart, I needed to undo manually everything
This is why PooN's low latency stuff should not be just used as is because it is prone to breaking entire system audio

Recent wine(-staging) versions (from 5.7 onwards) have greatly improved latency over the outdated osu-specific wine packages provided by either PooN or Lutris scripts. For some these may still work but require a lot of effort for very little gain compared to leaving everything at default with recent wine version.

This guide still works perfectly (and is pinned for a reason) and alternatively there's an install script I have on my github that is very much based and said pinned guide
WoLFire TL
aea tu categoria es una kgada no sirvio para nada >:I
NickNiGamer

wuuT wrote:

I'm not sure, but looks like that building yourself with osu!lazer doesn't require this anymore. I did install it on my Fedora and it's working fine.

Not sure if we have a post for it, but I can manage to do one if needed.
im in fedora too
kawaiighost
Any difference with ozu lazer ?
JugaadooRadhu
by the way i use arch 😀😀😀😀😀😀🙃
ReplayEditor
um, im getting this error every time i open up osu
https://imgur-archive.ppy.sh/discord/771724007728087081-874971379831812126-unknown.png
any ideas how to fix this? (im guessing its something with net framework)
irevenantz
howw can i play with tablet wacom?
Pressed Soda

irevenantz wrote:

howw can i play with tablet wacom?
If you use X11 Window System then refer this: https://github.com/linuxwacom/input-wacom
DiSan

hikidiggy wrote:

how do i add beatmaps then (lutris)
I use ubuntu 20.04 and download my beatmaps in ~/Games/osu/drive_c/osu/Songs.
If you want to download skins there is also the ~/Games/osu/drive_c/osu/Skins folder.
-FR
Hey, I'm like a Linux newbie.
I had Arch installed which went well as for installing the opentabletdriver.
As for getting osu to run properly the the guide of the poon it didnt went so well and I ended up having everything cluttered. As for now I'll be installing Manjaro because graphical installer. But that won't eliminate my issue with having to deal with installing osu properly. If anyone is down to help me please write a forum dm or add me on discord: Fletscherrrr#0517
I could really use some help as I'm really new and not getting shit to run is really discouraging ngl.
dumsiq_ofc

wuuT wrote:

I'm not sure, but looks like that building yourself with osu!lazer doesn't require this anymore. I did install it on my Fedora and it's working fine.

Not sure if we have a post for it, but I can manage to do one if needed.
yes, osu!lazer can easy be installed in linux, but osu! is better, serious osu!lazer is a litle bit stranger
multimode freak
Can't freaking fix .net System.AccessViolationException crashes, no matter what i try.
RyuujiNijima
I am using LinuxMint and everytime I do mkdir -p /etc/pulse/daemon.conf.d/ it always say permission denied even though I did everything before it
Tykork

RyuujiNijima wrote:

I am using LinuxMint and everytime I do mkdir -p /etc/pulse/daemon.conf.d/ it always say permission denied even though I did everything before it
Did you run it with sudo?
latteru
Hey, what if I use pipewire as audio server?
ondrej13
thank you so much, ubuntu seems faster and better overall to me so i will deffo use this :3
Jeffery_Nani
is there any way to fix the sound problem on linux arch for osu
-FR

Jeffery_Nani wrote:

is there any way to fix the sound problem on linux arch for osu
are you using lutris?
Ford Focoes
When it's almost done installing, it opens the game (while the installer window is still open) and the installer exits with an error code that I accidentally clicked away. Then it just loops on "Installing osu!". I think the problem is that it's not installing .NET properly, since it says:

065c:fixme:path:parse_url failed to parse L"System.Windows.Forms"
065c:fixme:path:parse_url failed to parse L"System.Security"
065c:fixme:path:parse_url failed to parse L"System.Xml"
065c:fixme:path:parse_url failed to parse L"System"
065c:fixme:path:parse_url failed to parse L"System.Configuration"
065c:fixme:path:parse_url failed to parse L"System.Drawing"
065c:fixme:path:parse_url failed to parse L"Accessibility"
065c:fixme:path:parse_url failed to parse L"System.Core"
065c:fixme:path:parse_url failed to parse L"System.Deployment"
065c:fixme:path:parse_url failed to parse L"System.Runtime.Serialization.Formatters.Soap"
065c:fixme:path:parse_url failed to parse L"System"
065c:fixme:path:parse_url failed to parse L"System.Drawing"

Does anyone know how to fix this? I desperately need to play osu!. Please...
M A N O L O

Ford Focoes wrote:

When it's almost done installing, it opens the game (while the installer window is still open) and the installer exits with an error code that I accidentally clicked away. Then it just loops on "Installing osu!". I think the problem is that it's not installing .NET properly, since it says:

065c:fixme:path:parse_url failed to parse L"System.Windows.Forms"
065c:fixme:path:parse_url failed to parse L"System.Security"
065c:fixme:path:parse_url failed to parse L"System.Xml"
065c:fixme:path:parse_url failed to parse L"System"
065c:fixme:path:parse_url failed to parse L"System.Configuration"
065c:fixme:path:parse_url failed to parse L"System.Drawing"
065c:fixme:path:parse_url failed to parse L"Accessibility"
065c:fixme:path:parse_url failed to parse L"System.Core"
065c:fixme:path:parse_url failed to parse L"System.Deployment"
065c:fixme:path:parse_url failed to parse L"System.Runtime.Serialization.Formatters.Soap"
065c:fixme:path:parse_url failed to parse L"System"
065c:fixme:path:parse_url failed to parse L"System.Drawing"

Does anyone know how to fix this? I desperately need to play osu!. Please...

Ford Focoes wrote:

When it's almost done installing, it opens the game (while the installer window is still open) and the installer exits with an error code that I accidentally clicked away. Then it just loops on "Installing osu!". I think the problem is that it's not installing .NET properly, since it says:

065c:fixme:path:parse_url failed to parse L"System.Windows.Forms"
065c:fixme:path:parse_url failed to parse L"System.Security"
065c:fixme:path:parse_url failed to parse L"System.Xml"
065c:fixme:path:parse_url failed to parse L"System"
065c:fixme:path:parse_url failed to parse L"System.Configuration"
065c:fixme:path:parse_url failed to parse L"System.Drawing"
065c:fixme:path:parse_url failed to parse L"Accessibility"
065c:fixme:path:parse_url failed to parse L"System.Core"
065c:fixme:path:parse_url failed to parse L"System.Deployment"
065c:fixme:path:parse_url failed to parse L"System.Runtime.Serialization.Formatters.Soap"
065c:fixme:path:parse_url failed to parse L"System"
065c:fixme:path:parse_url failed to parse L"System.Drawing"

Does anyone know how to fix this? I desperately need to play osu!. Please...
You have to either stop the lutris process or make a copy of the osu folder (usually /home/[user]/Games/osu) and then add it to lutris yourself
NewJoarpa

D31LtheFOX wrote:

Hey, what if I use pipewire as audio server?
You don't have to worry about audio latency then.

Jeffery_Nani wrote:

is there any way to fix the sound problem on linux arch for osu
If you're using pipewire, remember to install:
  1. pipewire-alsa
  2. lib32-pipewire
If you're using pulseaudio, I guess you should install:
  1. pulseaudio-alsa
But I'm not sure about that one.
sticky33
thank you so much.
anosbruh
i use arch btw
Ova9344
i didnt understand the steps 2, 3 and 4
Kxewe
idk if this was made before this was a thing but if you want to play on linux, try this
https://github.com/ppy/osu#running-osu
MazaczeKK
Guys upvote idea for making osu! for linux.

community/forums/topics/1632170?n=1

Mabye they will notice us
Metafusion
Hey so I am getting the graphics driver error on osu.

"osu! was unable to obtain a graphics context. If this is the first time you've seen this, please try restarting your PC."

I restarted, nothing.

For some reason enabling PRIME offloading in the config caused the error to not appear, but rather for the program to refuse to start. It simply froze on the osu logo.

Log (osu crash):

#=z$ZWlmi4_gPbesUWV4bG_WK700Tf9: No available GL context found. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at #=zGADi$iV81GCVjmuFLmQ178U=.#=zBJcoi3WPsz3p_fT$XQ==()
at #=zGADi$iV81GCVjmuFLmQ178U=.#=zhz3vpEsJZqEGYEXdCqHCc_HmTdZm()
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
--- End of inner exception stack trace ---
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.OnHandleCreated(EventArgs #=zpGaEOyU=)
at #=zN477QjW3BBux4RJIheiMwakEWwu3.OnHandleCreated(EventArgs #=zpGaEOyU=)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmCreate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at #=z9cR4$Ts27D$8Hn41OBHNECc=.WndProc(Message& #=zof5sAbM=)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Ognjana
Hi.I managed to install OSU on linux from the official site the day before yesterday.
waltahh
works. thanks
Please sign in to reply.

New reply