forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
Espionage724
Got osu! running again for the most part on Ubuntu 13.04 (yesterday's daily build).

  1. First, you'll need a 32-bit Wine prefix
    WINEARCH=win32 winecfg
  2. At the bare minimum, you need dotnet20 to even start the installer or game, but gdiplus also helps fonts look nicer (but not required; may want to skip gdiplus for now if your internet connection is slow)
    winetricks dotnet20 gdiplus
    (it does not appear you can use Mono as a replacement to dotnet20)
  3. Next, you want to download and start osu!'s installer
    wget 'http://osu.r-a-d.io/osu!install.exe'
    wine osu!installer.exe
  4. On the installer, you want to press Next, Next, and then you want to stop (the installer should throw an error or something, don't click Don't Send)
  5. Go to your Wine's Program Files folder
    /home/USERNAME/.wine/dosdevices/c:/Program Files
    (replace USERNAME with your username)
  6. Take the osu! folder and drag it to your Desktop or somewhere safe
  7. Now go back to osu!'s installer and hit Don't Send, Close, and then Finish
  8. Now put the osu! folder you put somewhere safe, back in Wine's Program Files folder
  9. Go into the osu! folder (either GUI or Terminal) and run osume.exe
    wine osume.exe
  10. Quickly uncheck the Automatically start osu! after updating box (you might not have to do this anymore; might be unchecked by default)
  11. Wait for it to get done, then hit the start osu! button
  12. From here, I've had very inconsistent results. Sometimes osu! would just crash on first startup, other times it would start fine the first time. If it doesn't start successfully the first time, go back and try it again.
  13. osu! should now be opened, in a borderless fullscreen mode. You should be prompted to login, but the login box is behind osu!. If this happens, you want to just press esc to skip the login.
  14. Now go into Options, and set a Windowed resolution. Your screen may then just lock up, but osu! should still be active. You want to press Esc, Esc, 1 in that order (back out of Options to Main Menu, then Exit Game confirm).
  15. Re-open osu!, it should be windowed, and you should be able to login just fine now.
  16. From here, osu! is pretty playable for me in this state, aside from two problems (and a third that rarely happens). The problems are:

    1. Combo Fire renders weird (wrong colors, faded, etc.)
    2. Usernames on the in-game scoreboard (while you're actually playing a song) show as corrupted, along with the song title when it first appears
    3. Combo popouts (pipi) appear garbled (this is the rare one)
  17. I've been messing with osu! for a few hours, and have no idea how to consistently fix all three issues, but I managed to randomly fix the last two issues (not combo fire). It involves basically re-doing osu's settings until it "just" works (deleting your user cfg, re-opening osu!, and doing the resolution stuff). Hoping it just doesn't break again later though.

    OpenGL mode still doesn't appear to work either.

    I also have a Radeon HD 7850 GPU and I'm using AMD's 13.3 Beta 3 drivers.
Some random additional notes:
- The messed up scoreboard seems to have to do with the score filter thing (Global, Global with Mods, Friends, Local). Local seems to work the best.
- Xubuntu (13.04) 4/7/13 daily had slightly worse results with osu!. Screen would have some random glitch every minute or so, and there was some slight hitching (disabling Fast TLS might of fixed the hitching though)
- CTB person is an entire corrupted block; I'm thinking some skin elements just might have issues loading? (related to the corrupted combo popout thing)
iceandele
After installing osu-1.0.6_all.deb on Linux Mint 14 and running it i get the following:
/usr/games/osu: line 55: [: missing `]'
/usr/games/osu: line 55: -e: command not found
Installing osu!

Creating wineprefix...
Do NOT install Mono (press cancel)!
Installing .NET 2.0 and gdi...
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround
Created new window in existing browser session.
------------------------------------------------------
Please download dotnetfx.exe from http://download.cnet.com/Microsoft-NET-Framework-Redistributable-Package-x86/3000-10250_4-10726028.html, place it in /home/iceandele/.cache/winetricks/dotnet20, then re-run this script.
------------------------------------------------------
I see that it says Mono is not installed, but i checked the software manager, and mono is installed.
A popup window appeared for Microsoft .Net Frame Work, but i get " this product is not supported on the 64 bit operating system, help?
Espionage724

iceandele wrote:

...A popup window appeared for Microsoft .Net Frame Work, but i get " this product is not supported on the 64 bit operating system, help?
Sounds like the Wine prefix was created for x64, instead of x86 (32-bit). I have no idea how the deb handles it, but you'll want to use WINEARCH=win32
Espionage724
So does anyone happen to have any issue with in-game (actually playing a beatmap) fonts for the song title and scoreboard? corefonts nor fixfonts via winetricks helps, and I'm lost as to what would cause it even. Happens on both 1.4.1 and 1.5.27 (latest) Wine also.

I also became a Super maintainer on the Wine AppDB page for osu! and fixed it up a bit (added links, changed description, added install notes, and recent Wine/Ubuntu testing). Instead of individual version numbers, I just made a version for both Public and Test builds of osu! (should cut down on "clutter" a good bit).

http://appdb.winehq.org/objectManager.p ... n&iId=9581

Edit: According to a friend with Intel and NVIDIA hardware, his scoreboard looks fine, along with Combo Fire. If that's true, then it looks like it might be a fglrx (AMD/ATI) specific issue :/ Need more feedback though.
mmstick
You mustn't forget that a lot of issues with fglrx is because AMD codes the drivers properly to spec, and buggy code doesn't play well with spec. NVIDIA drivers are programmed buggy to compensate for buggy code.

Overall, this is still a pretty worthless attempt. It's better to just sit and wait until official Linux binaries are created.
zral
how about an official linux port with steam migration? :3 would be nice
mmstick
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.
Espionage724

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.
While that may be the best choice, I don't believe it's just as simple as "ditching .NET".

If anything, should use Mono, but once again it's not a simple .NET-to-Mono thing.
mmstick
It's not as hard as you think. This isn't a very complex program anyway. I'm assuming most of the .NET code is the GUI updater which wouldn't take long to make a C++/Qt GUI replacement. I can't think of any sane person on Linux that would want Mono on their system.

Other than that, Osu! is already capable of OpenGL, so there is practically little need to add code, just delete the DirectX stuff. All it needs is to just be refurbished a bit to run cleanly in a Linux environment, and if it is using any Windows-specific libraries, replace them with open source Linux libraries (which I doubt is necessary).

Not only do users on Linux need Osu!, but Linux needs Osu!
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 :(
Espionage724
Just a quick status report: osu! seems to run nicely in Wine 1.7.1 (CSMT-patched) with fglrx (13.8b2) on Xubuntu 13.10 (saucy daily). No FPS drops, and the graphic glitches I reported before are gone. This is in DirectX mode. OpenGL mode still appears unselectable currently (via in-game or .cfg modifying).
Espionage724
Newer guide: p/3822351

(last updated September 7th, 2014)

Imgur album breifly describing my process: http://imgur.com/a/7JEig (do not rely on this alone as it isn't up-to-date with latest changes; refer to text guide below for updates)

Here's some detailed instructions for getting osu! on Ubuntu (tested on 13.04, 13.10, and 14.04 (x86_64)):

1. Add the Wine PPA
System Settings > Software & Updates > Other Software > Add... > ppa:ubuntu-wine/ppa > Close
or
Terminal > sudo add-apt-repository ppa:ubuntu-wine/ppa

2. Update Software Sources
Terminal > sudo apt-get update

3. Install Wine
Terminal > sudo apt-get install wine1.7
- Should install around 230 or so MB of archives
- At the time of writing, wine1.7 will give you the latest Wine, 1.7.9. If you specify just wine, it will give you 1.6.
- Accept the license for the fonts package (well, read it first of course 8-); may have to click the Terminal window and use Tab and Arrow Keys to navigate)

4. Set up a 32-bit Wine Prefix
Terminal > WINEARCH=win32 winecfg
- This implies you want your main Wine prefix to be 32-bit. If you want osu! to be in it's own prefix, make a folder somewhere and use WINEPREFIX=[location] to specify it)
- Feel free to just close the configuration window afterwards

5. Install .NET Framework 2.0
Terminal > winetricks dotnet20
- You do not need any other dotnet. People seem to feel the need to install dotnet30 and 40, but I'm unsure why...

6. Download osume.exe
Terminal > wget http://osu.ppy.sh/release/osume.exe

7. Create a osu! folder in the Program Files folder in your Wine prefix, move osume.exe to it, and start osume.exe
Terminal > mkdir '.wine/drive_c/Program Files/osu!' && mv osume.exe '.wine/drive_c/Program Files/osu!' && cd '.wine/drive_c/Program Files/osu!' && wine osume.exe
- Long command that creates the directory, moves osume.exe to it, puts the Terminal into that folder, and runs osume.exe
- You can manually create the folders and move osume.exe with GUI also (just create an osu! folder in Program Files and drag osume.exe to it and right-click it to run it with Wine Windows Program Loader)

8. Wait for osu! update to completely download osu!
- If you have a beatmap and/or skin library backup somewhere, now would be a good time to restore it.

9. Start osu!
- If you cannot start osu! at this point, it is likely because of graphics drivers. If this is the case, you have to either install proprietary drivers, update the open-source drivers, or install 32-bit OGL libraries.
- Run osu! from Terminal via wine 'osu!.exe' and try checking for any specific errors if issues appear.

10. Do any initial in-game setup you want
- Includes logging-in, setting a resolution, changing keybinds, etc.
- If you cannot see the login prompt (likely the osu! game window will be above it), you'll have to exit osu! and either try disabling compositing, or setting osu!'s resolution lower in its cfg file
- If setting a fullscreen resolution causes osu! to crash and you cannot close it, see additional notes.

11. Exit osu!

At this point, you should have osu! on your computer, congratulations :)

Additional Notes:

- From this point on, the only thing you need to do to run osu! is just run the osu!.exe binary (double-click it or use the wine command from Terminal).

- If you want a Desktop and/or Menu shortcut to osu!, you'll have to either do this manually (really easy once you get the hang of it), or use something like wine-launcher-creator (that program is pretty helpful, especially if you have/want osu! on it's own prefix easily)
My XFCE icon for reference: http://pastebin.com/R6sM63ju (use it as a guideline)

- .osz downloads should automatically just work (did for me anyway; otherwise, just drag them to the Songs folder manually)

- You do not need gdiplus, but it is optional if you really want the few things it affects to look better. If you do opt for this, be prepared to download 538M, and run winetricks gdiplus and also note I cannot vouch for how compatible gdiplus is currently.

- I cannot vouch for how well osu! runs in a Wine prefix with other things installed, but I imagine it would be fine for most things (if any problems occur, do try it from a clean prefix if you didn't already)

- Choosing OpenGL mode in osu!'s Options will likely not work (osu! restarts back to DirectX mode). The reasoning for this is unknown.

- You cannot use the current osu! Installer from the Download page unless you install .NET Framework 3.0 (3.5?), and even then I'm not too sure if that works. As-per the guide above, you shouldn't need to do this at all though, but should you try it, be prepared for a troubleshooting process if things go wrong.

- If you have the older osu! installer that relies on .NET Framework 2.0 instead, you can use it, but last I tried it, it would crash during install. If this happens, do not re-run the installer, and copy osume.exe to the osu! folder and run it. You should have all the needed shortcuts if using this method.

- The reason for a 32-bit Wine Prefix is because of the dotnet20 installer. If you want a multiarch prefix (32/64 bit), you'll have to modify the dotnet20 installer package to accept 64-bit OSes. There are very few situations I can think of where this would be wanted... (you're better off putting osu! in a separate 32-bit prefix)

- If you have a Program Files (x86) folder present in the Wine prefix you tried installing osu! to, you have a multiarch prefix, which (for sake of simplicity) you don't want. You'll want to start over from Step 4.

- Should osu! crash or lock-up, you can try one of the following commands after pressing Alt + F2:
wineserver -k
killall wineserver
xkill > *click on osu!*
- If none of that works, try bringing up Terminal instead (Ctrl + Alt + T is default in most DEs) and trying the command(s) there
- If all else fails, do REISUB (be prepared for reboot)
- You may wish to try different video drivers (like going from fglrx to radeon) or other driver-specific troubleshooting (like --tls=0 on fglrx) if a crash or lock-up occurs

- If you have in-game scoreboard, combo popup, or other graphical corruption, a solution may be to enable StrictDrawOrdering (Terminal > winetricks strictdrawordering=enabled) but this can drop performance (your experience may vary). Another option is to use a d3d command stream-patched Wine and enable it (CSMT=enabled). Here's a PPA for such a version of Wine (do not submit AppDB results with this version of Wine). Do either one or the other. If going from StrictDrawOrdering to CSMT though, make sure to remove the StrictDrawOrdering setting, or set it back to disabled. Using gallium-nine also fixes corruption. Be sure to only choose one of these methods though (don't use more than one at a time).

- If you use a fullscreen resolution other than your native resolution, osu! may scale strangely in some cases. A quick fix I found was to just go under Options and set the frame limit to Unlimited (gameplay). Another option is to disable the window decorator from controlling windows (under winecfg)

- You may have to look into some hardware-specific stuff to get everything working good with your setup (such as setting a primary screen for multi-monitor setups, setting tablets to only hook to one screen, switching your touchpad to absolute mode, etc.)

- You may have to alter some commands slightly if you happen to use another desktop environment, distro of Linux, or some non-standard Ubuntu setup.

Here is the Wine AppDB entry for osu!.

And if all of that is seemingly too complicated, you could try PlayOnLinux. boat wrote a pretty nice guide here. I can't vouch for how well it may work or offer support about it directly, but I'm sure others can.

Good luck :)

Random Tips:

- If your tablet is experiencing strange behavior (see my thread here for reference), try removing xserver-xorg-input-wacom (and it's dependency xserver-xorg-input-all).

- If using open-source graphics drivers, it is recommended to have the latest Kernel you feel comfortable with. When using radeon, it is also recommended you manually enable DPM (radeon.dpm=1 as a kernel parameter; unless it's automatically enabled). If using Saucy Salamander (13.10) or feel brave with another similar distro (Mint, Debian, etc;) you should also consider adding Oibaf's Updated and Optimized Open Graphics Drivers PPA.

- Setting the environment variable vblank_mode=0 (either via EXPORT or just run it like vblank_mode=0 wine 'osu!.exe') disables vsync, and may lessen input delay. Only applicable to open-source graphics drivers.

- Disabling PulseAudio may lessen audio delay and issues. Use pasuspender, as removing PulseAudio is generally a bad idea. You may have to go through winecfg or winetricks to set ALSA to be used.

- Use of a Realtime Kernel may also further lessen any latency.
uzzi
Thanks for the explanation! I managed to get osu! to work after having to alter my wine to set the prefix to 32-bit, but after that it worked just fine. The only thing wrong now is that the frames seem to cap out at 60ish, even with the frame limiter off. I'm not sure if it's my hardware, because when I play on my Windows installation i get anywhere from 200-400fps, and anything under 140fps seems to delay my cursor. Have any idea as to what I can do?
Espionage724

- [ U z z I ] - wrote:

Thanks for the explanation! I managed to get osu! to work after having to alter my wine to set the prefix to 32-bit, but after that it worked just fine. The only thing wrong now is that the frames seem to cap out at 60ish, even with the frame limiter off. I'm not sure if it's my hardware, because when I play on my Windows installation i get anywhere from 200-400fps, and anything under 140fps seems to delay my cursor. Have any idea as to what I can do?
Hmm, are you using the open-source included drivers, or proprietary?

Could try using Terminal to start osu! with a environment variable to disable vsync:

Terminal > cd (wherever osu! is) > vblank_mode=0 wine 'osu!.exe'

(if it mentions some bash error or doesn't like osu!'s "!", then try dragging osu!.exe to the Terminal window instead of typing the exe (type the vblank_mode=0 wine part first, and leave a space after wine before dragging))
uzzi

Espionage724 wrote:

- [ U z z I ] - wrote:

Thanks for the explanation! I managed to get osu! to work after having to alter my wine to set the prefix to 32-bit, but after that it worked just fine. The only thing wrong now is that the frames seem to cap out at 60ish, even with the frame limiter off. I'm not sure if it's my hardware, because when I play on my Windows installation i get anywhere from 200-400fps, and anything under 140fps seems to delay my cursor. Have any idea as to what I can do?
Hmm, are you using the open-source included drivers, or proprietary?

Could try using Terminal to start osu! with a environment variable to disable vsync:

Terminal > cd (wherever osu! is) > vblank_mode=0 wine 'osu!.exe'

(if it mentions some bash error or doesn't like osu!'s "!", then try dragging osu!.exe to the Terminal window instead of typing the exe (type the vblank_mode=0 wine part first, and leave a space after wine before dragging))
I gave your suggestion a shot, and it seems to have rid of the frame cap, but the fps doesn't even pass 70 while playing, and the highest I saw out of the game was around 80-90. Not sure what to do at this point.

Oh and I'm not entirely sure which drivers I am using, as it has been a long time since I installed Ubuntu (not sure how to find out D;)
Espionage724
What GPU do you have?

If it's AMD or ATI, try typing fglrxinfo in Terminal and see if it reports something (if it gives a OpenGL version, you have AMD's proprietary driver). If it doesn't work, you likely have the open-source driver (radeon)

If it's NVIDIA, try typing nvidia-settings in Terminal and see if it opens anything (if a control panel opens, you have NVIDIA's proprietary driver). If it doesn't work, you likely have the open-source driver (nouveau)

If it's Intel, you likely have the open-source driver (there is a driver you can download from Intel, but it came out rather recently, and you'd probably know if you've did this).

Could also try using glxinfo | grep render from Terminal but this requires mesa-utils to be installed.
Fenek Alfa
Did exactly as you wrote, Everything worked except for the game itself.

fenek@fenek-MS-7693:~/.wine/drive_c/Program Files/osu!$ err:ole:CoGetContextToken apartment not initialised
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"msvcm80"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
fixme:process:SetProcessPriorityBoost (0x228,0): stub
fixme:shell:URL_ParseUrl failed to parse L"osu"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"Accessibility"
fixme:win:EnumDisplayDevicesW ((null),0,0x33df30,0x00000000), stub!
fixme:shell:URL_ParseUrl failed to parse L"System.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.resources"
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
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"{9ef86bea-cd1d-4cfd-a8e2-db51e2cb25c1}"
fixme:process:FlushProcessWriteBuffers : stub
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "Gallium 0.4 on llvmpipe (LLVM 0x300)", version "1.4 (2.1 Mesa 8.0.4)").
err:d3d:test_arb_vs_offset_limit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from ARB vp offset limit test cleanup @ directx.c / 478
fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM 0x300)").
err:d3d:match_fbo_tex_update FBO status 0
err:d3d:match_broken_arb_fog FBO status 0
fixme:shell:URL_ParseUrl failed to parse L"osu!.resources"

And then it gives this line every few seconds:
fixme:thread:NtQueryInformationThread info class 16 not supported yet
Espionage724

Fenek Alfa wrote:

Did exactly as you wrote, Everything worked except for the game itself.

And then it gives this line every few seconds:
fixme:thread:NtQueryInformationThread info class 16 not supported yet
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "Gallium 0.4 on llvmpipe (LLVM 0x300)", version "1.4 (2.1 Mesa 8.0.4)").
err:d3d:test_arb_vs_offset_limit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from ARB vp offset limit test cleanup @ directx.c / 478
fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM 0x300)").
You either need proper graphics drivers, or 32-bit OGL driver libraries installed. That shows that you're falling back to software acceleration via llvmpipe, which may not include some required features to get osu! running.

What's your GPU? (the post above should give you some ideas as to how to find out specifically along with what driver is in-use)
Marcin
Nice guide Espionage724, I'll add it into OP!
boat
I'm no good at this, I don't understand what went wrong :-(

I'd appreciate some help on this.



Doing it manually doesn't work for me either. Nothing happens when I open osume with the wine windows program loader.

Re-doing it gave me this

boat@theboat:~$ mkdir '.wine/drive_c/Program Files/osu!' && mv osume.exe '.wine/drive_c/Program Files/osu!' && cd '.wine/drive_c/Program Files/osu!' && wine osume.exe

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3


[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3
Espionage724
Hmm, what version of Wine are you using boat?
boat
Should be whatever the latest one is as this is a fresh install from just a day or so ago, although I'm on ubuntu 12.04, not 13.

Wine configuration says it's at 1.6
Espionage724
Hmm, not too sure what was done wrong on the second attempt to throw a FATAL UNHANDLED EXCEPTION.

Could you give the terminal output for what happens when you try running osume.exe?
boat
I'm sorry but I don't even really know how I'd run it through the terminal. Right clicking the file and trying to open it with wine windows program launcher doesn't do anything at all.
Espionage724

boat wrote:

I'm sorry but I don't even really know how I'd run it through the terminal. Right clicking the file and trying to open it with wine windows program launcher doesn't do anything at all.
Either open a Terminal at the osu! folder location (Xfce and KDE has a right-click Action for it; Nautilus I believe has it on the top-bar menu somewhere), or cd into it manually. Then type wine osume.exe
boat
boat@theboat:~/.wine/drive_c/Program Files/osu!$ wine osume.exe

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3


[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3
Espionage724

boat wrote:

boat@theboat:~/.wine/drive_c/Program Files/osu!$ wine osume.exe

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3


[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3
Try doing winetricks dotnet20 if you haven't already
boat
Well I have already, but I'll try redoing it all. Would reinstalling/installing a different (confirmed working) version of wine also be something to try?

The installer for net framework 2.0 fails because it's not supported on a 64bit os apparently. Odd, thought it worked the first time. I guess that's probably the problem, then.
Espionage724

boat wrote:

Well I have already, but I'll try redoing it all. Would reinstalling/installing a different (confirmed working) version of wine also be something to try?
If you are trying to redo it, just make sure to delete the old prefix (either through winetricks --gui or just manually delete the .wine folder from your Home directory).

I got the same error just now when I tried running osume.exe, but I didn't do the dotnet20 setup yet. When you try rerunning the command in a clean prefix, make sure it actually finishes (took maybe 2 minutes to complete for me in the past).

I've seen osu! run fine on wine1.6, and I don't believe anyone had any problem with some previous versions, but it's nice to be on the latest one if possible. On raring with just the official ubuntu-wine PPA added for Wine, the latest should be 1.7.2 (you might to reinstall wine using wine1.7, or just select it from a package manager like Synaptic). But in any case, wine1.6 should work fine.
boat
Well I got it running without reinstalling, I just messed up the prefix step.

It runs, but, uh



I get good framerates on dx (300-400), but it's the same issue there.
Espionage724

boat wrote:

Well I got it running without reinstalling, I just messed up the prefix step.

It runs, but, uh
Are you by some chance using AMD/ATI hardware and fglrx?
boat
Well I installed the "AMD Catalyst™ 13.4 Proprietary Linux x86 Display Driver" when I was fiddling with getting dota2 to run, which it handles very well.

Couldn't run it on fglrx. Is this not fixable, and if not, would getting an nvidia gpu solve it?
Espionage724

boat wrote:

Well I installed the "AMD Catalyst™ 13.4 Proprietary Linux x86 Display Driver" when I was fiddling with getting dota2 to run, which it handles very well.

Couldn't run it on fglrx.
fglrx is the name of AMD's proprietary driver on Linux (FireGL and Radeon for X). A quick way to check if that's what you're using is typing fglrxinfo from Terminal.

If you are using fglrx though, that particular glitching seems to be a known issue. You could try either enabling StrictDrawOrder with winetricks strictdrawordering=enabled or use a D3D Command Stream-patched version of Wine (either have to do this via acquiring Wine's source, patching it, and compiling/installing it; or try this PPA)

I'm not entirely sure why fglrx would cause such an issue though.
boat
winetricks strictdrawordering=enabled solved it. It runs significantly worse, but at least it works. Thanks a load!
Fenek Alfa

Espionage724 wrote:

Fenek Alfa wrote:

Did exactly as you wrote, Everything worked except for the game itself.

And then it gives this line every few seconds:
fixme:thread:NtQueryInformationThread info class 16 not supported yet
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "Gallium 0.4 on llvmpipe (LLVM 0x300)", version "1.4 (2.1 Mesa 8.0.4)").
err:d3d:test_arb_vs_offset_limit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from ARB vp offset limit test cleanup @ directx.c / 478
fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM 0x300)").
You either need proper graphics drivers, or 32-bit OGL driver libraries installed. That shows that you're falling back to software acceleration via llvmpipe, which may not include some required features to get osu! running.

What's your GPU? (the post above should give you some ideas as to how to find out specifically along with what driver is in-use)
(been away, finally got some time to do it)
So I have a Gigabyte GeForce GTX 650, and no matter whether I downloaded the drivers from Nvida's site or through "Additional Drivers", both of them caused my pc to turn on only with console. I got it working again in both cases(by "sudo apt-get remove --purge nvidia* " and then "sudo start lightdm" and rebooting, I heard that's the first thing to do when a Nvidia driver install related fail happens), although now my cursor sometimes disappears.
Espionage724

Fenek Alfa wrote:

(been away, finally got some time to do it)
So I have a Gigabyte GeForce GTX 650, and no matter whether I downloaded the drivers from Nvida's site or through "Additional Drivers", both of them caused my pc to turn on only with console. I got it working again in both cases(by "sudo apt-get remove --purge nvidia* " and then "sudo start lightdm" and rebooting, I heard that's the first thing to do when a Nvidia driver install related fail happens), although now my cursor sometimes disappears.
Hmm, unfortunately I have no experience with NVIDIA hardware under Linux :/

I don't know how well nouveau suports your card, but here's a pretty up-to-date PPA for graphics drivers that might help. Might also recommend updating your kernel as well to the latest you're comfortable with (there's 3.12 nightlies, 3.12rc2, and 3.11.1 currently; raring by default comes with 3.8). Newer kernels tend to have some open-source driver improvements.

Another option to try is to use a Desktop Environment that doesn't require 3D acceleration (Unity on Ubuntu I believe since 12.10 requires 3D acceleration, either via hardware or llvmpipe). Not sure if this would be helpful to a computer that doesn't seem to start lightdm though at all...
marshallracer
Wow, it's been quite some time since I used Linux .. nice to be back again

So, I tried to follow your (in fact easy to understand) guide Espionage, but I have Ubuntu 12.04 LTS 64Bit installed and I just don't know where or how to setup a 32 bit Prefix for Wine

Anyway, nice to see how People keep up with osu! on Linux, I'm impressed
Espionage724

marshallracer wrote:

Wow, it's been quite some time since I used Linux .. nice to be back again

So, I tried to follow your (in fact easy to understand) guide Espionage, but I have Ubuntu 12.04 LTS 64Bit installed and I just don't know where or how to setup a 32 bit Prefix for Wine

Anyway, nice to see how People keep up with osu! on Linux, I'm impressed
Once you have Wine installed, you first run WINEARCH=win32 winecfg to create the 32-bit prefix (you can close the Wine Configuration window once it appears). Then from there, you run the winetricks dotnet20 command. If it completes without error, you've successfully created a 32-bit prefix :) If it mentions it can't install on a 64-bit OS, that means the prefix isn't 32-bit.
marshallracer
Yeah, I somehow got that far but everytime I type that in the result looks like this:
martin@martin-PC:~$ WINEARCH=win32 winecfg
wine: WINEARCH set to win32 but '/home/martin/.wine' is a 64-bit installation.

And when I try to use winetricks dotnet20 the installer just tells me that it can't be installed on 64-bit architecture
Espionage724

marshallracer wrote:

Yeah, I somehow got that far but everytime I type that in the result looks like this:
martin@martin-PC:~$ WINEARCH=win32 winecfg
wine: WINEARCH set to win32 but '/home/martin/.wine' is a 64-bit installation.

And when I try to use winetricks dotnet20 the installer just tells me that it can't be installed on 64-bit architecture
Ah; as long as you don't have anything else in the prefix you'd want, just delete the .wine folder from your Home directory, then run the WINEARCH=win32 winecfg command again.

Running rm -rf ~/.wine should do the job for removing the folder.
marshallracer
Ok, I got it working, then got gdiplus and enabled strictdrawordering
Results : osu! is running perfectly fine, no performance drops to be honest and no graphical issues

Somewhat different procedure from what I remember how it was back then (I guess the one I used was from somewhere around pages 13-15), but it seems this doesn't change the outcome

Thanks for helping out on that one :D
mmstick
You guys do realize it's far easier to configure a Play On Linux install than simply using Wine, right? PlayOnLinux already provides a CSMT-patched wine version (1.7.1-CSMT) but you must disable Strict Draw Ordering on the Display tab.
Espionage724

mmstick wrote:

You guys do realize it's far easier to configure a Play On Linux install than simply using Wine, right? PlayOnLinux already provides a CSMT-patched wine version (1.7.1-CSMT) but you must disable Strict Draw Ordering on the Display tab.
I don't use POL, but wouldn't it run into the same exact issues and basically be the same install process?

You still need a 32-bit Wine prefix, you still need dotnet20, and afaik, you still need to manually create the folder for osu!, copy osume.exe over to it, and run it.

POL is an unsupported Wine frontend, so if anyone has any unexpected issues with osu!, now not only is the problem not limited to just Wine, but also with POL. It might make the menu/desktop shortcut creation easier, if anything, along with easier handling of multiple prefixes if you need them.
mmstick

Espionage724 wrote:

mmstick wrote:

You guys do realize it's far easier to configure a Play On Linux install than simply using Wine, right? PlayOnLinux already provides a CSMT-patched wine version (1.7.1-CSMT) but you must disable Strict Draw Ordering on the Display tab.
I don't use POL, but wouldn't it run into the same exact issues and basically be the same install process?

You still need a 32-bit Wine prefix, you still need dotnet20, and afaik, you still need to manually create the folder for osu!, copy osume.exe over to it, and run it.

POL is an unsupported Wine frontend, so if anyone has any unexpected issues with osu!, now not only is the problem not limited to just Wine, but also with POL. It might make the menu/desktop shortcut creation easier, if anything, along with easier handling of multiple prefixes if you need them.
In other words, you don't know much about PlayOnLinux. You should try it out. dotnet20 is installed on the "Install components" tab. Prefixes are called "virtual drives'. If you know what 'front end' means then it won't cause any problems that wine itself wouldn't have already caused by itself. It will certainly make debugging wine problems easier. The purpose is to make wine installation and management easier.
boat

Espionage724 wrote:

you still need to manually create the folder for osu!, copy osume.exe over to it, and run it.
nop

I've written a script that does literally everything for you.

http://www.playonlinux.com/en/topic-110 ... t_osu.html

mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/osu!"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/osu!"

POL_Download http://osu.ppy.sh/release/osume.exe
POL_Wine osume.exe

But it really is pretty much the same thing just that you can have a script do it for you, and it makes troubleshooting easier.
boat
Espionage724

boat wrote:

^ The script is validated.

http://www.playonlinux.com/en/app-1856-osu.html
Hmm, that is pretty cool looking. I'm curious about the user.cfg though?
boat
The updater doesn't create a osu!.user.cfg file (not sure if the installer does this either though), the game starts in fullscreen and on some machines the login window is displayed behind the game itself. It's an unnecessary step for the user to have to close the game (which can be buggy as well) and change the resolution manually through the cfg, so I made it download it automatically without having to emulate a virtual desktop with wine, which wouldn't let you change the resolution beyond the virtual desktop res.

I did make an icon for the shortcut as well but petch didn't add it for some reason. In the meantime you can manually set it to this.

nightbane112
Funny thing is the Bloodcat .deb file work but only for the 1.0-5 version http://blog.bloodcat.com/207 :P . According to the steps, I'm suppose to install ver. 1.0-5 and then the latter, 1.0-6 . Whenever I uninstall osu! and reinstall it, it magically doesn't work :( . But, there's a catch, if I install the 1.0-5 ver.only , osu! works ! :) . Here, have some screenshots!


antiflash
So today I spent 2 hours getting this to work properly. Here's what I did:

1) sudo apt-get install wine
2) rm -rf ~/.wine (I had to do this because I have 64bit installation. This command removes wine folder.)
3) WINEARCH=win32 winecfg (And this command forces it to be 32bit.)
4) winetricks dotnet20 (And proceed with installation of framework.)
5) Copy folder with installed Osu somewhere on your computer. (I didn't install it, I just took it from my Windows.)
6) Right click on Osu.exe, run with Wine aaaaand... It's working!

I don't have any graphical issues and OpenGL works fine.

Issues I have:
- audio is slightly off the rhythm sometimes
- I need to have mouse speed set on 1.0 in Osu, otherwise the mouse speed changes from like 1cm to other side of the screen with the same lenght of mouse moved.

HW:
AMD Radeon HD7770
AMD Phenom II x4 965
I'm running Linux Mint 15 Oliva, so it should work exactly the same on Ubuntu 13.04 and newest version of Debian.
I don't have any lags and fps is around the same as on Windows.

Hope it somehow help anybody who can't get it to work.

PS: Sorry for my bad english, I hope it's understandable.

;)
boat
Yeah, that's pretty much the same procedure as the currently recommended one, osume does the same but with new files.

I'm surprised you're able to run it in openGL though, I've been trying to do that myself but can't get it to work.
Espionage724

antiflash wrote:

I don't have any graphical issues and OpenGL works fine.

HW:
AMD Radeon HD7770
Hmm, what driver are you using?
Lomadriel
Hello

For Ubuntu 13.10, i have a nice trick :
The following commands install PlayoneLinux and osu

1.
sudo apt-get install p7zip-full

2.
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -

3.
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list

4.
sudo apt-get update

5.
sudo apt-get install curl
6.
sudo apt-get install playonlinux


When you have finished these steps. Open Playonlinux. Click on "Install". Check "test" and search osu. Follow the installation steps ( install the recommended programs ) it's finished. The best Wine's Version is installed for Osu! by Playonlinux. ^^

PS : I am French, sry for my english. ^^
PS2 : With this tool you can install many Windows games ^^
Espionage724

Lomadriel wrote:

Hello

For Ubuntu 13.10, i have a nice trick :
The following commands install PlayoneLinux and osu
Is all of that really necessary? I was on Ubuntu 13.10 a few days ago, and the only thing I had to do to get PoL was download their .deb package from their website, install it, and run it (all done from GUI). Didn't need to manually install p7zip, add any keys, or mess with curl.

PoL might even be in Ubuntu's repository (but don't quote me on this), so you might even be able to get away with just running command 6.
Lomadriel
Hum, I am not sure but the version in the repository is not the last version. On my computer p7zip and curl were not installed automatically.
marshallracer
13.10 has the newest PoL package in its repository, previous Versions probably don't for whatever reasons (atleast I had an older version in the 12.04 repo 2 days ago)
didn't check if it works on 13.10 but I guess there wouldn't be any reason it shouldn't
Lomadriel

marshallracer wrote:

13.10 has the newest PoL package in its repository
Okay so open the official repository and install playonlinux is sufficient ^^
mmstick

Espionage724 wrote:

antiflash wrote:

I don't have any graphical issues and OpenGL works fine.

HW:
AMD Radeon HD7770
Hmm, what driver are you using?
As long as you use strict draw ordering, you won't have any graphical issues with RadeonSI, but you will have significantly lower performance. He's probably using Catalyst, as I only recommend Catalyst 13.11 with RadeonSI GPUs. I've been able to get 1000-2000FPS with my HD 7950 with strict draw ordering disabled with Cat 13.11 on Ubuntu 13.04 with kernel 3.12.

Also, yes playonlinux is in Ubuntu 13.10's repos. Just 'sudo aptitude install playonlinux -y' and you're done.
Espionage724

mmstick wrote:

As long as you use strict draw ordering, you won't have any graphical issues with RadeonSI, but you will have significantly lower performance. He's probably using Catalyst, as I only recommend Catalyst 13.11 with RadeonSI GPUs. I've been able to get 1000-2000FPS with my HD 7950 with strict draw ordering disabled with Cat 13.11 on Ubuntu 13.04 with kernel 3.12.
Yeah but the thing I was curious about was him using OpenGL rendering with osu!. At least in my experience, osu! will always use DirectX, regardless of ticking the OpenGL box from options or setting it via cfg.
marshallracer
hey, has anyone an idea why I'm having a pure black screen in all wine applications on 13.10 (including osu!, ofcourse)?
I completely reinstalled Ubuntu a few days ago since I had problems with the display manager in 12.04 and I got myself Saucy now and somehow Starting osu results in a simple black screen
Newest Catalyst Beta is installed using a HD 5670 and osu was installed using boats POL script
mmstick

marshallracer wrote:

hey, has anyone an idea why I'm having a pure black screen in all wine applications on 13.10 (including osu!, ofcourse)?
I completely reinstalled Ubuntu a few days ago since I had problems with the display manager in 12.04 and I got myself Saucy now and somehow Starting osu results in a simple black screen
Newest Catalyst Beta is installed using a HD 5670 and osu was installed using boats POL script
Your first and biggest issue is the fact that you are using Catalyst for a non-GCN card. It's only advised to use Catalyst if, and only if, you have a Radeon HD 7000 or higher. For everyone else, AMD is putting almost all of their development effort into the open source drivers, which massively outperforms Catalyst on non-GCN hardware.

Second, the drivers that ship with Ubuntu 13.10 are horrible, and Ubuntu 13.10 has launched with a ton of bugs which may take a month to get fixed. Ubuntu 13.04 on the other hand is very stable.

First, uninstall Catalyst and then do the following:

## Install Kernel 3.12-rc6 (It has massively improved performance due to CPU governor improvements)
cd /tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc6-saucy/linux-headers-3.12.0-031200rc6-generic_3.12.0-031200rc6.201310191635_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc6-saucy/linux-headers-3.12.0-031200rc6_3.12.0-031200rc6.201310191635_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc6-saucy/linux-image-3.12.0-031200rc6-generic_3.12.0-031200rc6.201310191635_amd64.deb
sudo dpkg -i linux*.deb

## Install the latest 'Updated and Optimized' open source drivers via Oibaf's PPA then reboot
sudo add-apt-repository -y ppa:oibaf/graphics-drivers; sudo apt-get update; sudo aptitude upgrade -y; sudo aptitude dist-upgrade -y; sudo reboot
show more
Please sign in to reply.

New reply