forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
vKarl

NoYzE wrote:

You either write with cross platform in mind, or you don't.

The main problem i see here (maybe i'm wrong) is .NET, since the game depends on libraries of .NET and .NET is a framework of Microsoft so they make sure you are caught on the platform once you start write code for it, you can't change it to cross platform easily.

There is some effort in porting .NET to cross-platform called Mono, but it is somewhat behind and probably will never port some important libraries like Windows Presentation Foundation (WPF).
Also some of the devs were bought (xamarin) to develop .NET Core, a Open Source .NET rebuild from Microsoft with fewer element tailored to the needs of the cloud.

All in all it's pretty complicated with all the framework stuff and corporate interests.
If you want cross platform, you better stay away from closed source proprietary frameworks owned by a company thats very interested in keeping you locked in the ecosystem.

However i really wonder why there is a MacOs X port of the game, if it isn't heavily wrapped in wine, the assumption above may be wrong and peppy just don't want to support linux for whatever reason.
Well WINE works nicely. The game works very well if you use the playonlinux script:)

But unless peppy decides "Hey, I want to support a bit more of the community, I'll develop with cross-platform in mind and write the engine with OpenGL and Vulkan" it's probably not going to happen. :(os
Kitlith
For those who are having trouble getting osu! to run with the looping 'Information Class 16 not implemented" or such, there are two things I would try: Try installing winbind `apt-get install winbind`, first, and then if that doesn't work, `wineserver -k`, `wineserver -k9`, or `killall wineserver` *might* help.

Thank you, people, though, for making this guide. My tips are from playing osu, thn osu not working without changing anything, and then doing those things... though in opposite order. So, I hope this helps someone.
marshallracer
For those who haven't noticed (due to it not being stickied yet), there's a NEW THREAD on how to tun osu! latency-free on Linux

May the new Thread be stickied instead of this one?
Espionage724
I have some new notes on getting osu! to run here: https://wiki.realmofespionage.xyz/games:wine:osu

I've only tested it on Solus, but I see no reason why it wouldn't work fine on any other mainstream distro. This provides a plain install of osu! with no additional tweaking (in my experience, I've had no latency issues on the computers I've used). CJK fonts are untested (if they're broken, winetricks cjkfonts should fix that)

dotnet40 is still the only dotnet package needed (I'm still a bit curious why dotnet45 is being used by some people; does it actually solve anything?)
Jesper
I wonder if linux kali works.
Chaosemerald

Espionage724 wrote:

I have some new notes on getting osu! to run here: https://wiki.realmofespionage.xyz/games:wine:osu

I've only tested it on Solus, but I see no reason why it wouldn't work fine on any other mainstream distro. This provides a plain install of osu! with no additional tweaking (in my experience, I've had no latency issues on the computers I've used). CJK fonts are untested (if they're broken, winetricks cjkfonts should fix that)

dotnet40 is still the only dotnet package needed (I'm still a bit curious why dotnet45 is being used by some people; does it actually solve anything?)
That's awesome! I'll definitely try it sometime on Ubuntu 16.04 when I've got time.

dotnet45 is a total pain in the arse to install (and I think it's harmful too..?) and osu! works fine with dotnet40. I don't understand why people would install dotnet45, when dotnet40 is much more easier to install
Espionage724

Chaosemerald wrote:

That's awesome! I'll definitely try it sometime on Ubuntu 16.04 when I've got time.

dotnet45 is a total pain in the arse to install (and I think it's harmful too..?) and osu! works fine with dotnet40. I don't understand why people would install dotnet45, when dotnet40 is much more easier to install
Not entirely sure if it's harmful, but I'm pretty sure it has the potential for more problems if anything. I'm not aware of anything that dotnet45 and its massive dependency set would solve that isn't provided solely with dotnet40.

Notes updated also; I keep forgetting osu! doesn't start the install on Ubuntu if it happens to be in the Downloads folder (seems to work regardless on other distros strangely). corefonts is also added (it fixes most non-Latin fonts).
grfx
Ubuntu 16 04 1
Mouse is not responsive at all ;-;
Putting the settings on Raw / absolute raw makes the mouse only move on the half of my monitor
Putting it without raw, it delays and completely randomize the speed of the cursor.
Tried both on fullscreen and windows-mode ( also with and without letterbox )
Im using a steelseries kana v2.

Is there any way to fix this?

I tried installing the driver (steelseries engine 2) through wine but didnt worked. Gave me lots of errors.
Espionage724

vroomsegway wrote:

Ubuntu 16 04 1
Mouse is not responsive at all ;-;
Putting the settings on Raw / absolute raw makes the mouse only move on the half of my monitor
Putting it without raw, it delays and completely randomize the speed of the cursor.
Tried both on fullscreen and windows-mode ( also with and without letterbox )
Im using a steelseries kana v2.

Is there any way to fix this?

I tried installing the driver (steelseries engine 2) through wine but didnt worked. Gave me lots of errors.
What GPU do you have and what drivers are you using?

If it's Intel, NVIDIA with nouveau, or AMD with open-source graphics drivers (radeon or AMDGPU), try running osu! with the environment variable vblank_mode=0

If it's NVIDIA with the proprietary driver or AMD with GPU-PRO, try figuring out some way to disable vblank/vsync (NVIDIA has an environment variable, no idea on GPU-PRO but it might share the same variable as the open-source drivers above).

Alternatively, try another distro and/or desktop enviroment (like Xubuntu or Ubuntu MATE).
Luddy
I honestly gave up after a while of trying to run osu! on any version of Ubuntu I have on any device, it was always slow and jittery. Plus it took way too much work to get it to even function at subpar 50 fps. That's when I gave up and went back to playing on Windows 10 with everything smooth. I do recommend though if you are going to be running osu! on Linux that you try using OpenGL and changing the capped framerates off of VSync (if it even is in the first place) as I find that VSync is broken in a lot of games on Linux.
Espionage724

Ludd wrote:

I honestly gave up after a while of trying to run osu! on any version of Ubuntu I have on any device, it was always slow and jittery. Plus it took way too much work to get it to even function at subpar 50 fps. That's when I gave up and went back to playing on Windows 10 with everything smooth. I do recommend though if you are going to be running osu! on Linux that you try using OpenGL and changing the capped framerates off of VSync (if it even is in the first place) as I find that VSync is broken in a lot of games on Linux.
The amount of work is pretty minimal nowadays (with the guide in my sig, you can copy/paste the lines and end up with a working set-up). osu! nowadays only has an OpenGL renderer.
SuwakoMmmh

Ludd wrote:

I honestly gave up after a while of trying to run osu! on any version of Ubuntu I have on any device, it was always slow and jittery. Plus it took way too much work to get it to even function at subpar 50 fps. That's when I gave up and went back to playing on Windows 10 with everything smooth. I do recommend though if you are going to be running osu! on Linux that you try using OpenGL and changing the capped framerates off of VSync (if it even is in the first place) as I find that VSync is broken in a lot of games on Linux.
I had the same problems as you, and the problem was wine 1.7, it's not the last version, try installing wine staging, run winecfg and in the tab "staging" check "Enable_CSMT for better graphic performance" it will allow wine to multithread. it actually gave me a 300 fps boost, hope you will have the same :b
Espionage724

dodorama wrote:

...try installing wine staging, run winecfg and in the tab "staging" check "Enable_CSMT for better graphic performance" it will allow wine to multithread. it actually gave me a 300 fps boost, hope you will have the same :b
Can you confirm this happening still? osu! nowadays should only use OpenGL (not sure if there's a fallback to D3D) and CSMT (as-documented) only affects Direct3D.
Chaosemerald
Not really related to osu!, but I just realized that the version of Wine in the Ubuntu repositories is really old (1.6.2) and I want to install latest version of Wine Staging using the official Wine PPA for Ubuntu. Will the prefixes disappear, if I uninstall Wine?
Also, osu! is apparently installed in a folder in my downloads folder. Will that go away too?
Espionage724

Chaosemerald wrote:

Not really related to osu!, but I just realized that the version of Wine in the Ubuntu repositories is really old (1.6.2) and I want to install latest version of Wine Staging using the official Wine PPA for Ubuntu. Will the prefixes disappear, if I uninstall Wine?
Also, osu! is apparently installed in a folder in my downloads folder. Will that go away too?
Nope, the prefix will be preserved if you remove and/or update Wine. If you change Wine versions, then upon osu!'s next start, you'll get a quick message about the prefix updating and then it should start.
SuwakoMmmh

Espionage724 wrote:

dodorama wrote:

...try installing wine staging, run winecfg and in the tab "staging" check "Enable_CSMT for better graphic performance" it will allow wine to multithread. it actually gave me a 300 fps boost, hope you will have the same :b
Can you confirm this happening still? osu! nowadays should only use OpenGL (not sure if there's a fallback to D3D) and CSMT (as-documented) only affects Direct3D.
Sorry, i didn't see your post because i don't check osu often. and yes, CSMT still works with osu!.
Chaosemerald

Espionage724 wrote:

Chaosemerald wrote:

Not really related to osu!, but I just realized that the version of Wine in the Ubuntu repositories is really old (1.6.2) and I want to install latest version of Wine Staging using the official Wine PPA for Ubuntu. Will the prefixes disappear, if I uninstall Wine?
Also, osu! is apparently installed in a folder in my downloads folder. Will that go away too?
Nope, the prefix will be preserved if you remove and/or update Wine. If you change Wine versions, then upon osu!'s next start, you'll get a quick message about the prefix updating and then it should start.
Oh, I see. Thanks for the reply ^^
nofacedev
Nice tutorial tho. My friend was searching this to run the game on his Ubuntu.
shiinware
I was able to install the game through PlayOnLinux :)
The fps seems to be fine also.
xiaodu_old

shiinware wrote:

I was able to install the game through PlayOnLinux :)
The fps seems to be fine also.
can you tell how to setting?
Cyber-X
Nice post, i have installed wine. but i can't connect to the internet when i'm installing osu!. can you help me?
marshallracer

Cyber-X wrote:

Nice post, i have installed wine. but i can't connect to the internet when i'm installing osu!. can you help me?
I guess we need a few more infos like specific OS and the way you installed it (straight up through wine or PoL)
I for myself had issues getting osu to run in Arch on my laptop because osu's not getting a connection for me aswell. Should've looked at the problem earlier but I didn't bother so far since it wasn't important for me to have it on there anyway
ljonka
So, after toying around with the instructions you posted here and not being able to connect to the internet as well I tried a script someone put up on GitHub
(https://www.reddit.com/r/osugame/commen ... and_other/ -> the Reddit thread)
and now everything works fine, except for the fact that I can't alt-tab out of osu! and if I try the window freezes and I have to kill the process in another console.

Despite the alt-tab-freeze I tried to play and I experienced some lag. It wasn't that much but definitely noticeable (I play around 2.5-3.5 star maps). I set FPS to unlimited, running on Full-screen (1920x1080) but it's persistent whatever I do.

Edit: After enabling multi-threading and setting the osu! window to borderless windowed most of the lag is gone and it runs really smooth
Chaosemerald
is it just me or has anyone else also experienced that the circles and sliders appear way too early, which makes it pretty hard to play?
I have to set my universal offset to 64ms and local offset to 95ms in order to make the objects and hitsounds appear correctly in time with the music :<
Raging Ray

Chaosemerald wrote:

is it just me or has anyone else also experienced that the circles and sliders appear way too early, which makes it pretty hard to play?
I have to set my universal offset to 64ms and local offset to 95ms in order to make the objects and hitsounds appear correctly in time with the music :<
Offset seems fine for me.

Did that happen somewhere else as well?
If yes and you are using Pulseaudio, this might be the problem.
You could try to deactivate it and just use the Alsa Mixer.
Chaosemerald

Raging Ray wrote:

Offset seems fine for me.

Did that happen somewhere else as well?
If yes and you are using Pulseaudio, this might be the problem.
You could try to deactivate it and just use the Alsa Mixer.
I don't have that problem anywhere else, not even in the other Wine games.
But I'll try to deactivate PulseAudio anyway and see if it does anything c:
Chaosemerald
I don't know how to disable PulseAudio in Ubuntu, but then I found about pasuspender, which apparently is a pretty neat utility for disabling PulseAudio temporarily

But if I'm going to use pasuspender in terminal, am I going to type this:
pasuspender -- WINEPREFIX=~/.wineosu wine ~/osu/"osu!".exe
or this:
WINEPREFIX=~/.wineosu pasuspender -- wine ~/osu/"osu!".exe


Edit: Nevermind, I'm going to get rid of Ubuntu soon and install Debian anyway, so I don't want to spend time on that
ioneccc
Thank you for the guide
I would be really glad tho to see a native linux build in the future
Chaosemerald

ioneccc wrote:

Thank you for the guide
I would be really glad tho to see a native linux build in the future
There is actually coming a native Linux port! I think it'll be released, when osu!next gets released
Alysia_old_1
Does anyone have any tips on running osu! on GNOME/Kali Linux?
TinC
Hey, have mint kde x64, but osu client from playonlinux app run only in x32. How can I fix this and run x64 version? Teach me, senpai.
marshallracer

TinC wrote:

Hey, have mint kde x64, but osu client from playonlinux app run only in x32. How can I fix this and run x64 version? Teach me, senpai.
Basically, there's a in-depth, up-to-date guide over here
There are sections on creating 32-Bit Wine prefixes for various conditions such as either using pre-existing or self-compiled wine versions
If you want to get it working as easily as possible I guess taking the PlayOnLinux route is your best bet but you're given various options (papa bless Franc[e]sco for all of his efforts of making and updating his guide)
Stray Lamb2
I've been playing on Linux Xubuntu 16.04 in PlayOnLinux for a month or two now, stable fps, no tearing, same latency as windows, minor visual issues with settings side panel and non-latin letters. If you check my latest scores, given my skill level, it is the same as my pre-linux scores. So, with that as a metric, you could say it is the same exact experience.

How I got it running is simple:
- Make a new PoL drive (x32), with wine 2.0-rc3-staging (x32).

- Configure->Miscellaneous->Open a shell

- Enter the following (one at a time) :

Install newest winetricks:
  wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks

Install vcrun2015
sh winetricks vcrun2015

- Go to the "Install components" tab, install dotnet40

- Miscellaneous tab once again, "Run a .exe file in this virtual drive"

- Run your osu! installer

- Play the game

Hope it works for you too, didn't post up until now to test functionality.
CodeNameT1M
just found this post and i also got osu! to run, but it doesn't connect to Bancho

osu 20170616 (latest)
wine 2.11
manjaro linux 17.0.2
dotnet 4.5 installed

if someone else had this problem and know how to fix that i would appreciate it if you help me ^^
marshallracer

DJT1M wrote:

just found this post and i also got osu! to run, but it doesn't connect to Bancho

osu 20170616 (latest)
wine 2.11
manjaro linux 17.0.2
dotnet 4.5 installed

if someone else had this problem and know how to fix that i would appreciate it if you help me ^^
From this Thread

SanteriP wrote:

Fixed it by installing lib32-gnutls and lib32-gnutls26 (not sure which one because I installed both at once, lol). Also installed libgnutls. The game is running! Wonderful.
Ambrew
Hi, Does this work on Lubuntu 15.04 Vivid on a i386 (32-bit) architecture? Thanks!

EDIT: Looking through the guide I came across this...

6. Download osume.exe
Terminal > wget http://osu.ppy.sh/release/osume.exe
This link leads to an HTTP 404 Not Found Error. Can someone post an updated link?
marshallracer

Ambrew wrote:

This link leads to an HTTP 404 Not Found Error. Can someone post an updated link?
I would instead follow the guide on t/367783
It's up-to-date and gives you varying ways to install osu


To this date I wonder why the other thread isn't stickied yet >:(
roblox
Could you make a version for Lubuntu?? Thanks :)
TheRealVinite
On osu! Updater it says ‘An error occurred! Please check your internet connection.’ How do I fix this problem?
Kazutoy
works fine on debian
show more
Please sign in to reply.

New reply