forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
MillhioreF

mmstick wrote:

The problem with that is peppy sees no value in porting to Linux and insists that Wine is the solution even though Wine will never be the solution. He should really ditch the whole .NET thing as well and replace it with the universally loved Qt framework which is a lot easier to code and is portable to every OS.
Completely wrong - peppy would love to port to Linux and Mac. The problem is that it's so ingrained in XNA and .NET that it's a herculean task to port it over, and it'll probably take a couple of years if not more to make native ports a reality. Wine is the solution for the foreseeable future because of this.
m42a

MillhioreF wrote:

Completely wrong - peppy would love to port to Linux and Mac. The problem is that it's so ingrained in XNA and .NET that it's a herculean task to port it over, and it'll probably take a couple of years if not more to make native ports a reality. Wine is the solution for the foreseeable future because of this.
Completely wrong - .NET code will run using Mono, and MonoGame implements the XNA framework. Both of those work on Linux.
mmstick

MillhioreF wrote:

mmstick wrote:

The problem with that is peppy sees no value in porting to Linux and insists that Wine is the solution even though Wine will never be the solution. He should really ditch the whole .NET thing as well and replace it with the universally loved Qt framework which is a lot easier to code and is portable to every OS.
Completely wrong - peppy would love to port to Linux and Mac. The problem is that it's so ingrained in XNA and .NET that it's a herculean task to port it over, and it'll probably take a couple of years if not more to make native ports a reality. Wine is the solution for the foreseeable future because of this.
That is most definitely wrong on every possible level, especially to say a port 'takes a couple of years'. XNA is hardly a problem, just ditch the XNA code and rewrite it with open standards for all platforms. That's the biggest improvement that could possibly be made for Osu! from here on out. Once again, it's not that hard at all. There used to be a single man who would solo port entire commercial games to Linux by himself, and he didn't need 'a couple of years' to do it.
MillhioreF

peppy wrote:

The eventual mono-compatible version will happen, at some point.

Ephemeral wrote:

after having seen the source code for osu!, I can safely say that attempting to port osu! at all would be a herculean task
p/2055253
I'm sure peppy could port it all over in just a few months (less?) if he dropped everything and worked on nothing but porting it. Keep in mind that he's regularly updating and maintaining the game though, and since wine works so well it's not huge on his to-do list.
mmstick

MillhioreF wrote:

peppy wrote:

The eventual mono-compatible version will happen, at some point.

Ephemeral wrote:

after having seen the source code for osu!, I can safely say that attempting to port osu! at all would be a herculean task
p/2055253
I'm sure peppy could port it all over in just a few months (less?) if he dropped everything and worked on nothing but porting it. Keep in mind that he's regularly updating and maintaining the game though, and since wine works so well it's not huge on his to-do list.
What? Wine doesn't work so well at all, it's completely broken. I guess a ton of people getting black screens, openGL doesn't work, there's a crap ton of input lag, low framerates even with high end machines like my 4Ghz FX-8120 and Radeon HD 7950, seizure inducing flicker garbage, and corrupted textures is your definition of 'works well'.
Allyoutoo
Not mentioning the problems with multiplayer, like pressing "Donwload map" causes osu to freeze on top and force you to kill it before you can see the browser opened on the background. Its near impossible to try play anything even slightly fast since if you move mouse enough fast you get lag in movement making the cursor jump, playing with any effects (even the background video sometimes) can cause major frame drops depending on map even freeze the game for a while.. It looks like its playable and works well on some slow Easy maps with no video or heavy storyboard, but it really isn't working well enough for anything else.

Osu on wine can't be in anyway considered as the official Linux support and it never should.
computerex
There are so many threads about linux, because people want to play Osu! in it! It was never difficult to get the game running in linux, it is difficult to get it to run well. I had it running okay and now I am getting an unhandled exception in .NET. I really wish Osu was available in my primary OS. I hate having to boot in Windows just so that I can play Osu, especially when my other games such as League of Legends/Portal 2/Skyrim run fine with Wine..

I get that Osu is free software. But I'd definitely pay for the game if it means that it will be available in linux.

Edit:

The unhandled exception was due to me having dual monitors. Apparently launching the game on anything but the primary monitor causes it to crash (with Wine).
mmstick

computerex wrote:

There are so many threads about linux, because people want to play Osu! in it! It was never difficult to get the game running in linux, it is difficult to get it to run well. I had it running okay and now I am getting an unhandled exception in .NET. I really wish Osu was available in my primary OS. I hate having to boot in Windows just so that I can play Osu, especially when my other games such as League of Legends/Portal 2/Skyrim run fine with Wine..

I get that Osu is free software. But I'd definitely pay for the game if it means that it will be available in linux.

Edit:

The unhandled exception was due to me having dual monitors. Apparently launching the game on anything but the primary monitor causes it to crash (with Wine).
It's also a good idea to make your wine prefix use ALSA.

winetricks sound=alsa

Also to run wine games with pasuspender

pasuspender wine <game>

I personally made a script in /usr/bin named osu that does this + kills composition. It runs okayish but sometimes there's reliably random input lag and choppiness in some beatmaps.
Allyoutoo
I can confirm that the game runs smoother and with lot less flickering on Crossover on ubuntu 13.04, but has still lower fps then windows and some graphics are distorted.
ZedCraftOnline
I have Ubuntu 13.04 Raring Ringtail 64-bit and everything was working perfectly until it said: This product is not supported by 64-bit, the installer will now exit" what should i do?!
Espionage724

ZedCraftOnline wrote:

I have Ubuntu 13.04 Raring Ringtail 64-bit and everything was working perfectly until it said: This product is not supported by 64-bit, the installer will now exit" what should i do?!
You have to use a 32-bit Wine prefix

Try checking out: p/2227460
SpaghettiMaster
The .net installer crashes when I start installing.
Any help?
Espionage724

xSpacex wrote:

The .net installer crashes when I start installing.
Any help?
Are you installing to a clean 32-bit Wine prefix and using a modern version of Wine (at least 1.4)
SpaghettiMaster

Espionage724 wrote:

xSpacex wrote:

The .net installer crashes when I start installing.
Any help?
Are you installing to a clean 32-bit Wine prefix and using a modern version of Wine (at least 1.4)
Not sure about the 32-bit wine prefix, but I do have updated wine.
Espionage724

xSpacex wrote:

Not sure about the 32-bit wine prefix, but I do have updated wine.
Hmm; if you get complaints about the architecture not being compatible or anything along those lines, you're likely not using a 32-bit prefix. If you're using a x86_64 Linux distro, and Wine 1.5, it defaults to a 64-bit prefix.

One pretty easy way to actually check though; look in your .wine (or wherever the prefix is) folder and check for a Program Files (x86) folder. If it exists, it's a 64-bit prefix, and won't work.
SpaghettiMaster

Espionage724 wrote:

xSpacex wrote:

Not sure about the 32-bit wine prefix, but I do have updated wine.
Hmm; if you get complaints about the architecture not being compatible or anything along those lines, you're likely not using a 32-bit prefix. If you're using a x86_64 Linux distro, and Wine 1.5, it defaults to a 64-bit prefix.

One pretty easy way to actually check though; look in your .wine (or wherever the prefix is) folder and check for a Program Files (x86) folder. If it exists, it's a 64-bit prefix, and won't work.
It's a 32-bit wine prefix.
This is the response I get when I run it.
Espionage724
Hmm, not entirely sure what's up. Do you have any other applications installed to the prefix? Could always just start fresh, either in the default .wine prefix or a new one just for osu!.

You just need the 32-bit prefix, and from there, you can install dotnet20 (you don't absolutely need gdiplus, and it seems the download size for it increased significantly).

I can't think of any reason in particular why it would fail on a clean prefix, but I can see how it would fail if there's other things installed in the prefix; especially if something else messed with .NET at all, or if Mono was messed with in Wine.
SpaghettiMaster

Espionage724 wrote:

Hmm, not entirely sure what's up. Do you have any other applications installed to the prefix? Could always just start fresh, either in the default .wine prefix or a new one just for osu!.

You just need the 32-bit prefix, and from there, you can install dotnet20 (you don't absolutely need gdiplus, and it seems the download size for it increased significantly).

I can't think of any reason in particular why it would fail on a clean prefix, but I can see how it would fail if there's other things installed in the prefix; especially if something else messed with .NET at all, or if Mono was messed with in Wine.
How do I start fresh?
Sorry about all this, I don't use ubuntu too much.
Espionage724

xSpacex wrote:

How do I start fresh?
Sorry about all this, I don't use ubuntu to much.
Essentially, just delete the .wine folder from your home folder, either via GUI (Ctrl + H on Ubuntu) or command (rm -rf .wine from /home/username directory).

From there, just re-create the prefix in 32-bit mode from Terminal (can use WINEARCH=win32 winecfg command and then close the cfg window), install dotnet20 from winetricks, and then proceed to the fun of installing osu! (start the installer, copy the folder somewhere, close installer, put folder back, run osume, win)

I have a guide here for it: p/2227460

It'll become second nature after doing it a lot 8-)
SpaghettiMaster

Espionage724 wrote:

xSpacex wrote:

How do I start fresh?
Sorry about all this, I don't use ubuntu to much.
Essentially, just delete the .wine folder from your home folder, either via GUI (Ctrl + H on Ubuntu) or command (rm -rf .wine from /home/username directory).

From there, just re-create the prefix in 32-bit mode from Terminal (can use WINEARCH=win32 winecfg command and then close the cfg window), install dotnet20 from winetricks, and then proceed to the fun of installing osu! (start the installer, copy the folder somewhere, close installer, put folder back, run osume, win)

I have a guide here for it: http://osu.ppy.sh/forum/p/2227460

It'll become second nature after doing it a lot 8-)
The same error occurred.
Why must everything I do always go wrong? ;_;
Edit: Nevermind it worked for some reason.
Thank you so much!
Espionage724

xSpacex wrote:

The same error occurred.
Why most everything I always do go wrong? ;_;
Hmm, that is pretty troubling :/

What version of Ubuntu are you running? And how did you install Wine?
SpaghettiMaster

Espionage724 wrote:

xSpacex wrote:

The same error occurred.
Why most everything I always do go wrong? ;_;
Hmm, that is pretty troubling :/

What version of Ubuntu are you running? And how did you install Wine?
Never mind, I found out I was using the wrong command to install .net.
It is working now, thanks!
MarioErmando
osu! lags like hell on my Ubuntu 13.04. Any solutions? :(
petterroea
Well, this would work well for me if it wasnt for that THE LINUX DRIVERS DONT WORK WELL WITH MY TITAN.
(Firstworldproblems to the max).

But this sullotion is great, and i am glad it exists, will use it when my cards works on linux :P
Espionage724

MarioErmando wrote:

osu! lags like hell on my Ubuntu 13.04. Any solutions? :(
What graphics card do you have and what drivers are you using? I for example have a Radeon HD 7850 and use fglrx (13.8 Catalyst Beta)
TKowl13

MarioErmando wrote:

osu! lags like hell on my Ubuntu 13.04. Any solutions? :(
These winetricks settings worked for me on Ubuntu 13.04, and don't forget to enable Virtual Desktop on winecfg (Very important).
winetricks gdiplus ddr=opengl fontsmooth=rgb glsl=disabled multisampling=disabled
rtlm=disabled strictdrawordering=disabled orm=fbo
Espionage724
Hmm, so https://osu.ppy.sh/p/download mentions you now need .NET Framework 3.5. Doing winetricks dotnet35 however installs 2.0, 2.0SP1, 3.0, and 3.0SP1 .NET Frameworks. And even after doing this, the installer still complains of the need of .NET 3.5. In other words, the new installer doesn't work at all it seems (using wine1.6 from Ubuntu's repositories).

My recommendations are to either use the old installer (perhaps someone could mirror it?), or just grab osume.exe and run that to grab the files. If you use osume, grab it from here, make the osu! folder in Program Files, run osume, let it update, then proceed as normal (my full instructions a page or two back still work; still required to use 32-bit wine prefix)

Both osume.exe and osu!.exe run just fine with just dotnet20 still, so I wonder about the 3.5 reliance. Can still use gdiplus if you want the fonts to look nicer, but note you need to download about 1GB or so now when using winetricks (wtf?).

Same old Combo Fire and scoreboard name glitch still exists it seems on my hardware (Lubuntu 13.04 + fglrx (13.8 beta)).
imagaK
I've successfully installed osu on ubuntu with the bloodcat deb package, however when i try to run osu it crashes immediatly (main menu does not show up, only the crash reporter appears).

System.TypeInitializationException: The type initializer for 'Microsoft.Xna.Framework.Graphics.GraphicsAdapter' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Xna.Framework.Graphics.GraphicsAdapter.InitializeAdapterList()
at Microsoft.Xna.Framework.Graphics.GraphicsAdapter..cctor()
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Graphics.GraphicsAdapter.get_Adapters()
at #Yc.#ed.#Pu()
at #Yc.#ed.#Ou(Boolean )
at #Yc.#ed.#Iu()
at #Yc.#4c.#It()
at #Wo.#Vo.#0qb(String , Boolean )

This is the osu crash report output.
Looks to me like my graphics card is causing the problem but I dont know what the actual problem is.
Anyone got an idea?
Espionage724
What graphics card do you have and what driver are you using?
imagaK
I'm using a notebook with sandy bridge onboard graphic.
And now that you say that I noticed that it wasnt recognized by ubuntu. :?
The support for the linux drivers has been cut for 12.04, so I'm Upgrading right now.
I'll post if it works under 13.04 with drivers installed.


UPDATE:
With 13.04 and drivers it works fine.
Kurokami
I recently want to run osu! under Ubuntu 10.04, but it is just not starting. I dunno what is the problem, but I really want to play osu! under ubuntu. :3
Espionage724

Kurokami wrote:

I recently want to run osu! under Ubuntu 10.04, but it is just not starting. I dunno what is the problem, but I really want to play osu! under ubuntu. :3
As long as you have drivers, wine, and a clean win32 prefix with only dotnet20 on it, I don't really see why it wouldn't work. Is there any way you could update your OS though? Perhaps Wine is too old in 10.04's repositories.

12.04.2 is the current LTS version.
m42a

Kurokami wrote:

I recently want to run osu! under Ubuntu 10.04, but it is just not starting. I dunno what is the problem, but I really want to play osu! under ubuntu. :3
Please post the entire output of osu! when you try to run it.
Kurokami
I downloaded ubuntu 10.04 lts and I don't really want to update it. I able to update it through updater but... I only have 6GB space. Wine is 1.2.2 if I remember right so I don't think its old. osume.exe is working but osu! couldn't start. There is really no other way except update?

m42a wrote:

Please post the entire output of osu! when you try to run it.
How?
Espionage724

Kurokami wrote:

I downloaded ubuntu 10.04 lts and I don't really want to update it. I able to update it through updater but... I only have 6GB space. Wine is 1.2.2 if I remember right so I don't think its old. osume.exe is working but osu! couldn't start. There is really no other way except update?

m42a wrote:

Please post the entire output of osu! when you try to run it.
How?
The latest version of Wine currently is 1.6 (stable) and 1.7 (development). Prior to that, Wine 1.4 was the stable version for I believe two years. Wine 1.2.2 seems "really" old in-comparison.

If osume runs, then dotnet20 seems to be ok, but I'm thinking it's graphics driver-related. What graphics hardware do you have, and are you using FOSS drivers or proprietary?

I would of course also recommend updating the OS itself to at least LTS 12.04.2 (there's non LTS 13.04 and also 13.10 daily images too); almost certain 10.04 isn't supported at all anymore for the most part.

Edit: As for how to get the output; open a Terminal window, type "wine " and drag osu!'s exe to the window. Everything that occurs should be outputted to that window. From there, just select all that text, and put it here.
bahamete
Hello all,

I just saw this thread and I can't help much but osu! runs perfect for me on Arch Linux (I know this is an Ubuntu thread but I can't find somewhere else this would fit) without any lag or crashing or anything - using wine-1.7.0 on kernel 3.10.3-1-ARCH. If you build the latest wine from source (or the release candidate) for Ubuntu it might just work, who knows.

My graphics card is some ancient thing.

bahamete@arch ~> lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] R580 [Radeon X1900 XT]

If I can assist in some way (winecfg or something else) please PM me though I don't know what makes my build able to work.
I know that many in this thread have said they have gotten it working for them but with issues, yet for me it runs the same as on Windows. Hmm. I hope an official port to Linux will occur at some point.
Kurokami
Then I guess there is no other way just an update. q.q
Anyways here is what terminal says:
SPOILER
kurokami@kurokami-laptop:~$ wine
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
kurokami@kurokami-laptop:~$ '/media/Stuffs/osu!/osu!.exe'
fixme:actctx:parse_manifest_buffer root element is L"asmv1:assembly", not <assembly>
fixme:advapi:RegisterTraceGuidsW (0x79fd471e, 0x125500, {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 9, 0x7a390368, (null), (null), 0x7a38d250,)
fixme:sync:CreateMemoryResourceNotification (0) stub
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"msvcm80"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:process:SetProcessPriorityBoost (0x1b8,0): stub
fixme:shell:URL_ParseUrl failed to parse L"osu"
err:ntdll:RtlpWaitForCriticalSection section 0x7bca5e20 "virtual.c: csVirtual" wait timed out in thread 0023, blocked by 0009, retrying (60 sec)
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing.resources"
fixme:shell:URL_ParseUrl failed to parse L"osu!framework"
fixme:shell:URL_ParseUrl failed to parse L"osu!.resources"
fixme:shell:URL_ParseUrl failed to parse L"osu!.resources"
fixme:shell:URL_ParseUrl failed to parse L"{91ca184b-6868-4d57-a19a-79a3c2217c13}"
fixme:shell:URL_ParseUrl failed to parse L"System.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.resources"
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1fc278,0x2069d0): stub
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
Segmentation fault
kurokami@kurokami-laptop:~$

After I updated only my wine into 1.4 which was hard to find osu! crashed with this error:
SPOILER
System.NullReferenceException: Object reference not set to an instance of an object.
at #Aj.#dm.#F8(String )
at #Aj.#dm.#G8(String )
at #Qj.#Qo.#bqb(String , Boolean )
at #Qj.#Qo.#bqb(String )
at #Ai.#Go.#6ob(Boolean )
at #Ai.#Go.#Br()
at #Yc.#4c.#Br()
at #Wo.#Xo.#Br()
at #Yc.#4c.#It()
at #Wo.#Vo.#0qb(String , Boolean )
Samidare
I'm on a i5 with Intel graphics running Ubuntu 13.04. Osu works pretty well using the Bloodcat package. But I've had one very specific, consistent problem, and I'm curious if other people were experiencing it.

If I select a Taiko map, then attempt to return to the menu by hitting Escape, Osu invariably hangs (I was only able to terminate it with a SIGKILL). However, if I select a regular map and then do the same thing (hit Escape, select Return to Menu) then nothing bad happens. I haven't tested playing through a Taiko map and seeing if the score menu still works.

Kind of a shame, since everything else works super smoothly. Are other people getting this problem too?
ErunamoJAZZ
The Bloodcat deb package no works for me. u.u
nightbane112

ErunamoJAZZ wrote:

The Bloodcat deb package no works for me. u.u
Ever since I upgraded Wine from 1.6 to 1.7, Bloodcat packages stop working. Previously, on 1.6, it worked smoothly :(
show more
Please sign in to reply.

New reply