forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
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
Espionage724

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
Have you verified fglrx to be working properly? Try typing fglrxinfo in Terminal to see info, and then fgl_glxgears and see if anything appears.

As for mmstick's note, the open-source radeon driver is also something to try if fglrx isn't working out for you.

mmstick wrote:

First, uninstall Catalyst and then do the following:
## 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
Last I heard, Oibaf's PPA had little-to-no support for saucy (still appears to be the case). Only things you'd get out of it on saucy are "glamor-egl" and "wayland" if I understand right, unless you manually specify the raring branch instead?
mmstick

Espionage724 wrote:

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
Have you verified fglrx to be working properly? Try typing fglrxinfo in Terminal to see info, and then fgl_glxgears and see if anything appears.

As for mmstick's note, the open-source radeon driver is also something to try if fglrx isn't working out for you.

mmstick wrote:

First, uninstall Catalyst and then do the following:
## 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
Last I heard, Oibaf's PPA had little-to-no support for saucy (still appears to be the case). Only things you'd get out of it on saucy are "glamor-egl" and "wayland" if I understand right, unless you manually specify the raring branch instead?

Support for Saucy was added two days ago. The benefit of Oibaf is more than just glamor, but that the xorg drivers that shipped with Ubuntu 13.10 are nearly 3 months old. Marek Olsak joined AMD's open source team and began submitting patches on July 30th 2013, of which he has regularly submitted a substantial amount of patches, especially in the last 3 months. To benefit from that, you need the latest drivers, aka Oibaf, who stays up-to-date with the latest git efforts.
Espionage724

mmstick wrote:

Support for Saucy was added two days ago. The benefit of Oibaf is more than just glamor, but that the xorg drivers that shipped with Ubuntu 13.10 are nearly 3 months old. Marek Olsak joined AMD's open source team and began submitting patches on July 30th 2013, of which he has regularly submitted a substantial amount of patches, especially in the last 3 months. To benefit from that, you need the latest drivers, aka Oibaf, who stays up-to-date with the latest git efforts.
saucy: https://launchpad.net/~oibaf/+archive/g ... lter=saucy is only showing glamor and wayland packages.

raring: https://launchpad.net/~oibaf/+archive/g ... ter=raring on the other hand is showing the drivers and more.

If I understand right, if you add a PPA to Ubuntu as-is (in this case, ppa:oibaf/graphics-drivers), it will only grab packages from whatever distro version you're using at the time (in marshallracer's case, saucy).
marshallracer
so .. I already did follow mm's steps, just need to reboot but I still need to download a file so I just wait a bit as long as everything's still running

On a side note : I was using the same beta drivers on 12.04 a week ago and everything was running fine (except LoL which could've been because of Unity 3D), so I've been wondering now why it's not working on 13.10 (bugs, kernel, anything? I'm still not very experienced with Linux/Ubuntu but I'm figuring things out .. or atleast I try to)

Edit: sooo, I can tell something's not right .. or atleast I guess so
How I come to this conclusion .. well, I can't start Steam anymore, which was possible before, due to missing libraries

I don't know what to do, but then again I only followed your steps anyway, updating the Kernel (if that's what I've been doing), adding the repo, updating/upgrading and rebooting
Espionage724

marshallracer wrote:

Edit: sooo, I can tell something's not right .. or atleast I guess so
How I come to this conclusion .. well, I can't start Steam anymore, which was possible before, due to missing libraries

I don't know what to do, but then again I only followed your steps anyway, updating the Kernel (if that's what I've been doing), adding the repo, updating/upgrading and rebooting
Did you follow proper procedure to remove fglrx?

http://wiki.cchtml.com/index.php/Ubuntu ... st.2Ffglrx

Run the first two commands there (the fglrx-uninstall.sh and the --purge fglrx* ones), then proceed to those 5 below (running every command one at a time also). I never ran into that libgl1-mesa-dri issue that page mentions, but if you should happen to see it during the uninstall process, follow it's recommendation.

After all that, reboot, then you should be back on the open-source radeon driver.
Azern
Best to bookmarked it first....
marshallracer
ok, ok, I got everything running now, added oibaf's repo, got rid of catalyst/fglrx and fixed the libgl issue
Thanks alot guys, everythings running and hopefully keeps running for some time

edit: well, almost running .. when I go into beatmap selection the screen turn into something like this and stays like that until I restart osu

happens with and without StrictDrawOrdering
mmstick
AMD drivers were added to oibaf an hour ago so running an update/upgrade/dist-upgrade should pull in the new driver.
https://launchpad.net/~oibaf/+archive/g ... lter=saucy
marshallracer
Well, the driver is now downloaded and in I guess, but osu's still not working though .. atleast I'm done with the setup procedure .. am I?
Also, how do I check if the driver I got from oibaf are working? Just to be sure
mmstick
glxinfo | grep OpenGL will display the currently running graphics card. If it says llvmpipe then it is using software rendering. Although oibaf has the AMD driver on Saucy, it hasn't received the latest mesa/llvm and other assorted packages yet.
marshallracer
martin@martinPC:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD REDWOOD
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.1
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.2.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

I guess I simply need to wait until everything's ready
Espionage724

marshallracer wrote:

martin@martinPC:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD REDWOOD
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.1
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.2.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

I guess I simply need to wait until everything's ready
How did you install fglrx before? Did you just use the hardware tab thing from Ubuntu's Software and Sources window, or did you download it manually?

I can't imagine why osu! wouldn't just work properly, especially for a 5xxx card (my rebranded dual-graphics 6xxx laptop and 7xxx desktop ran osu! with both fglrx and radeon on saucy).

Only thing I can think of is an improper setup somewhere (I know when I unintalled fglrx on my 7xxx desktop, I had broken radeon drivers and ended up doing a OS reinstall).
marshallracer
well, the very first thing I did after installing Saucy was downloading the latest drivers from AMD and installing them manually without any problems
Why I had a black screen on osu! then is way beyond my understanding
Espionage724

marshallracer wrote:

well, the very first thing I did after installing Saucy was downloading the latest drivers from AMD and installing them manually without any problems
Why I had a black screen on osu! then is way beyond my understanding
Just to be clear, you installed the 13.11 BETA1 driver? Did you do it in-accordance to this guide?: http://wiki.cchtml.com/index.php/Ubuntu ... PERIMENTAL
marshallracer
well, for once I tried the latest stable one and the Beta, but seemingly I simply installed it automatically through the installer and I was done with it .. habits of using windows, just installing everything without thinking about what to do or what'd be neccessary

Maybe I'll give it a last try, let's see, but this time I don't want to screw up again
Espionage724

marshallracer wrote:

well, for once I tried the latest stable one and the Beta, but seemingly I simply installed it automatically through the installer and I was done with it .. habits of using windows, just installing everything without thinking about what to do or what'd be neccessary

Maybe I'll give it a last try, let's see, but this time I don't want to screw up again
Ah, yeah apparently running the installer as-is isn't ideal on a few Linux distros (Ubuntu especially; afaik, the installer can only be ran as-is on SUSE). That guide lets you use the installer to generate some saucy-specific installers, which, in-short, leads to a better experience.

Just make sure of that final step to do sudo amdconfig --initial -f before rebooting. Then after reboot, do fglrxinfo and then fgl_glxgears to verify it installed properly. Then try out osu!.
marshallracer
martin@martinPC:~$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5670
OpenGL version string: 4.3.12458 Compatibility Profile Context 13.20.16

martin@martinPC:~$ fgl_glxgears
Using GLX_SGIX_pbuffer
6114 frames in 5.0 seconds = 1222.800 FPS
5580 frames in 5.0 seconds = 1116.000 FPS
5210 frames in 5.0 seconds = 1042.000 FPS
6082 frames in 5.0 seconds = 1216.400 FPS
5838 frames in 5.0 seconds = 1167.600 FPS
5941 frames in 5.0 seconds = 1188.200 FPS
5894 frames in 5.0 seconds = 1178.800 FPS
[...]
fglrx installed and working (I assume) and no stragely pixelated frame anymore when scrolling through menus .. but osu now stops responding after switching through menus (following was after going back from map selection, applies to other actions aswell)


Saucy pls
Espionage724
Hmm, and this is with the latest version of Wine 1.7 (1.7.4 or 1.7.5; whatever Ubuntu has in it's repository atm), in a clean 32-bit wineprefix with only dotnet20 installed?
marshallracer

Espionage724 wrote:

Hmm, and this is with the latest version of Wine 1.7 (1.7.4 or 1.7.5; whatever Ubuntu has in it's repository atm), in a clean 32-bit wineprefix with only dotnet20 installed?
-Yes
-Yes
-Yes

holy shit this is like, the only thing that won't give me any rest and it isn't even important at all
But through this we'll atleast have a way to help people running osu on Saucy ..I hope
Shock_T
When I typed in "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" it said "mkdir: cannot create directory ‘.wine/drive_c/Program Files/osu!’: File exists"

It also said something about my OS being a 64 bit OS and the program being 32 bit when installing the dot net 20 thing or whatever...

I don't like Linux. I only use it because it's much faster than my old Windows Vista. Please help - I have no idea what I'm doing.
marshallracer
This is where PlayonLinux aids you with boats script but yeah, when you try to do it with wine itself there was some good suggestion a few pages ago

Espionage724 wrote:

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.
Edit : regarding my personal problem .. the solution was disturbingly easy ...


Why not using proprietary drivers provided by Ubuntu?
I decided to uninstall fglrx manually and choose fglrx-updates here, restarted Ubuntu to be sure and voila, osu!'s finally running (a bit slow due to StrictDrawordering I guess, but still)
mekadon_old
I managed to get osu! running on Arch, but if I run it this happens:

Sound is not working (guess I didn't make wine use alsa, I'm not sure about it yet)
Default skin is using the old skin, no idea why
Any beatmap can not be loaded
No beatmap backgrounds at all

Framerate is fine though, it's really smooth
EDIT: just need to install some libraries, resolved everything but this

Sliders look terribly ugly
Fonts look terrible (maybe I should change the font rendering in wineprefix, but I'm kinda sleepy so doing that later when I wake up)

Commands I did

$ su -c "pacman -S wine winetricks lib32-alsa-lib lib32-mpg123 lib32-giflib lib32-libjpeg lib32-libpng"
$ rm -rf ~/.wine
$ WINEARCH=win32 winecfg
$ winetricks dotnet20
$ cd /mnt/sda2/Program\ Files\ \(x86\)/osu\! (Basically my osu! folder, obviously)
$ wine osu!.exe

Using Wine 1.7.5, kernel version is 3.11.6-1 and it's Arch's stock kernel.

Extra stuff, just in case.

┌─[yucachaaaan @ kininarimars]-[1:57:05]
└─[~]-[$]> lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon 7550M/7570M/7650M] (rev ff)

Using xf86-video-ati and xf86-video-intel as drivers, disabled the ATI one using
# echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
since it tends to overheat. I don't think it'll affect anything if I turn it on, I did just to check *just in case* and it's still the same.

Screenshot

Espionage724

Shock_T wrote:

When I typed in "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" it said "mkdir: cannot create directory ‘.wine/drive_c/Program Files/osu!’: File exists"

It also said something about my OS being a 64 bit OS and the program being 32 bit when installing the dot net 20 thing or whatever...

I don't like Linux. I only use it because it's much faster than my old Windows Vista. Please help - I have no idea what I'm doing.
Go to your home folder, press CTRL + H to unhide all files/folders, and delete the .wine folder (as long as you don't have anything in it you want to keep); then do WINEARCH=win32 winecfg to make the 32-bit prefix. Then try the guide again, or try PlayOnLinux if you want.

marshallracer wrote:

Why not using proprietary drivers provided by Ubuntu?
I decided to uninstall fglrx manually and choose fglrx-updates here, restarted Ubuntu to be sure and voila, osu!'s finally running (a bit slow due to StrictDrawordering I guess, but still)
Hmm, hasn't crossed my mind to try that lol, but great that it works :) Last time I tried that though, it ended up breaking Unity strangely...

mekadon wrote:

Sliders look terribly ugly
Fonts look terrible (maybe I should change the font rendering in wineprefix, but I'm kinda sleepy so doing that later when I wake up)
Not entirely sure what's up with the sliders (maybe try the Force slider setting from osu!'s Options), but as for Fonts, maybe try installing gdiplus with winetricks?
mekadon_old

Espionage724 wrote:

mekadon wrote:

Sliders look terribly ugly
Fonts look terrible (maybe I should change the font rendering in wineprefix, but I'm kinda sleepy so doing that later when I wake up)
Not entirely sure what's up with the sliders (maybe try the Force slider setting from osu!'s Options), but as for Fonts, maybe try installing gdiplus with winetricks?
Tried forcing slider rendering, doesn't work. Gdiplus helps with my fonts though.

Another interesting thing I find, the window moves by itself when on Taiko mode.



I'm not sure if it's due to my window manager (dwm), but I made an openbox session (just a tiny edit on ~/.xinitrc), and it works...
m42a
Yeah, that happens on xmonad as well. If I sink the window and force it to tile it stops moving. I think the window border is messing it up.
Espionage724

m42a wrote:

Yeah, that happens on xmonad as well. If I sink the window and force it to tile it stops moving. I think the window border is messing it up.
Hmm from winecfg, try toggling the settings that reference to controlling Windows and Borders.
m42a
Both the "Allow the window manager to decorate the windows" and "Allow the window manager to control the windows" work when unchecked, but they cause ugly and out-of-place Windows-style titlebars to be drawn on top of the window and cause the osu! cursor to be offset from the actual mouse position. Emulating a virtual desktop and running osu! in fulscreen also works, but then I can't see the window title. Sinking the window is, IMO, the least bad option.
mekadon_old

m42a wrote:

Emulating a virtual desktop and running osu! in fulscreen also works, but then I can't see the window title. Sinking the window is, IMO, the least bad option.
What does sinking a window mean? I know it's a term used in xmonad, but I'm not sure how do they call it in DWM.
Maybe I'll try get osu! running on qemu, but I don't really want to install things I don't use often lol. Maybe I should just load an openbox session instead of DWM in ~/.xinitrc, but it's really a pain editing every time I want to play osu! (btw other games I tried that run on wine works fine)
m42a
I'm not sure how much this applies to dwm, but in xmonad, there are 2 types of windows: floating windows, and sunk windows. Floating windows can be moved around and resized using the mouse. Sunk windows are arranged by the window manager rather than the user. So if you sink osu!, when it tries to move the window manager says "No, you go over there" and the window stays in the same spot.

And when I say "virtual desktop" I don't mean something like qemu or virtualbox. In winecfg, there's an option under the Graphics tab to create a windows desktop to run the wine program on rather than letting it use your Linux desktop. This desktop acts like a window in your Linux desktop with Windows windows inside it. If you run osu! in fullscreen there's only 1 window, so it looks normal.
Katsuo_old_1
when i try to wine osume.exe i get this:

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

can someone help me? I added repository, i also setup 32-bit prefix for wine, i have installed net framework 2.0... any ideas?
ukeluppi
can someone upload a video on how to install that I can not really
ukeluppi
can someone upload a video on how to install that I can not really
boat
If doing it manually seems too complicated (even though it really isn't), install playonlinux http://www.playonlinux.com/en/download.html and use this script to install osu! http://www.playonlinux.com/en/app-1856-osu.html

It's pretty much literally the same procedure, just that the script does it for you.
Espionage724

Katsuo wrote:

when i try to wine osume.exe i get this:

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

can someone help me? I added repository, i also setup 32-bit prefix for wine, i have installed net framework 2.0... any ideas?
Hmm, that error particularly I believe occurs when dotnet20 wasn't installed properly. I might recommend trying it again.
ukeluppi
the specified location is not supported???? no found!!!! help meee please
ukeluppi

boat wrote:

If doing it manually seems too complicated (even though it really isn't), install playonlinux http://www.playonlinux.com/en/download.html and use this script to install osu! http://www.playonlinux.com/en/app-1856-osu.html

It's pretty much literally the same procedure, just that the script does it for you.

^the specified location is not supported^ no found! help me
Espionage724

ukeluppi wrote:

boat wrote:

If doing it manually seems too complicated (even though it really isn't), install playonlinux http://www.playonlinux.com/en/download.html and use this script to install osu! http://www.playonlinux.com/en/app-1856-osu.html

It's pretty much literally the same procedure, just that the script does it for you.

^the specified location is not supported^ no found! help me
Can you get the screenshot or quote of the exact problem?
ukeluppi
Espionage724
Hmm, I'm unsure about how to troubleshoot POL issues, but last time I checked, I believe the process was pretty smooth. Only thing I could suggest is to maybe start over from the beginning and remove the old osu! install.
bahamete
Okay, here are my general points of advice for running osu! in Arch Linux (I recently bought a new hard drive and had to do it all again)
1. Create a NEW, FRESH 32-bit wineprefix. ($ WINEARCH=win32 WINEPREFIX='~/.wine'; rm -rf ~/.wine; wine 'wineboot') or so
2. Install .NET 2.0 ($ winetricks dotnet20)
3. Install image libraries. (# pacman -S lib32-libpng lib32-giflib lib32-libjpeg-turbo)
4. Install graphics libraries. (# pacman -S lib32-mesa) but choose your graphics card of course ($ lspci | grep VGA)
4. Set proper audio output in Wine. ($ winecfg)

DO NOT run osu! with Mono though that seems counter-intuitive; it will immediately throw an InvalidProgram exception.
If you get pink sliders and backgrounds do not load, etc, you need the 32-bit image libraries mentioned above.
If you aren't using open-source driver for your graphics card, you probably should be, but it's your system so you know best.

These steps work for me. It is very finicky but once you get it, it should run absolutely fine. Good luck
ukeluppi

bahamete wrote:

Okay, here are my general points of advice for running osu! in Arch Linux (I recently bought a new hard drive and had to do it all again)
1. Create a NEW, FRESH 32-bit wineprefix. ($ WINEARCH=win32 WINEPREFIX='~/.wine'; rm -rf ~/.wine; wine 'wineboot') or so
2. Install .NET 2.0 ($ winetricks dotnet20)
3. Install image libraries. (# pacman -S lib32-libpng lib32-giflib lib32-libjpeg-turbo)
4. Install graphics libraries. (# pacman -S lib32-mesa) but choose your graphics card of course ($ lspci | grep VGA)
4. Set proper audio output in Wine. ($ winecfg)

DO NOT run osu! with Mono though that seems counter-intuitive; it will immediately throw an InvalidProgram exception.
If you get pink sliders and backgrounds do not load, etc, you need the 32-bit image libraries mentioned above.
If you aren't using open-source driver for your graphics card, you probably should be, but it's your system so you know best.

These steps work for me. It is very finicky but once you get it, it should run absolutely fine. Good luck
I really do not understand anything, you could upload a video tutorial
bahamete

ukeluppi wrote:

I really do not understand anything, you could upload a video tutorial
Maybe, if you don't understand what I said or don't want to research the stuff, Linux isn't really for you. :)
I would do a video tutorial but I think my explanation is good enough... I am getting a new laptop soon and I will try and install osu! on there, too. I will make note of everything I do from a fresh Arch install.

The 5 stuff in my post I wrote in brackets, you must type them in a terminal, but please research all the commands I posted so you don't do anything silly - in particular, 'rm -rf ~/.wine' will remove your entire Wine prefix.

For those Arch users, I realised there is an "osu!" package on the AUR (https://aur.archlinux.org/packages/osu/). I haven't tried it, yet.
mekadon_old

bahamete wrote:

For those Arch users, I realised there is an "osu!" package on the AUR (https://aur.archlinux.org/packages/osu/). I haven't tried it, yet.
judging at the pkgbuild it should be pretty much the same anyway. Also for convenience I just write a bash script that launches the game and dumped it into /usr/bin so that I can run it with dmenu
Frizz
Decided to give myself a try on Xubuntu 12.04. Would have used Arch but due to its bleeding-edge nature it tend to give me packages which were not "just works" and actually made me go nuts. Also pacman managed to screw up my system half a year ago too.

Loads up fine although it takes a while. Framerate can never get past 60fps no matter what I do (245fps max on Win7 though) and I get both input and audio delay which are really noticeable in standard mode but it's rather less noticeable in osu!mania. Framerate would drop down to <35fps in some cases especially on beatmap select. The only biggest problem in here is that the slider shows up pitch black (and virtually invisible with 100% background dim).

Sakisan

Katsuo wrote:

when i try to wine osume.exe i get this:

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

can someone help me? I added repository, i also setup 32-bit prefix for wine, i have installed net framework 2.0... any ideas?
I had the same error.

And I found earlier in this thread that boat had this error too.

boat wrote:

Well I got it running without reinstalling, I just messed up the prefix step..
I had to make sure to do
export WINEPREFIX=/path/to/wine32
before
wine osume.exe

I also had some trouble running the game.
in winecfg I checked the emulated esktop (in the graphics tab)
and in the osu!<username>.cfg file I changed the resolution to match the resolution of the emulated desktop,
Only thing left to make it playable is the framerate I guess
Rori Vidi Veni
mumumumumumumumumum
boat
I don't got linux available as of now so I can't really test things out but I've posted on the POL forums for some help, I'll get back to you once I've gotten a reply.

In the meantime you could try launching it through the terminal using LANG=ja_JP.UTF-8 wine osu.exe

From what I've gathered though I can not promise anything, at least not through POL alone as it can't set the LANG variable on it's own.
ukeluppi
Please Video!!!! tutorial please
boat
Apparently it can set the LANG variable, so if anybody wants to test this out, I would highly appreciate it.
Save this http://www.boaty.org/POL/osu%21installer and run it through "Tools > Run a local script"
Here's a map with Japanese characters to test it out with https://osu.ppy.sh/s/106
edit: tested it myself and the Japanese didn't work, unfortunately.

ukeluppi wrote:

You're using osu!install.exe. Either you altered my script, you're using a different one or you're trying to install it without one at all, which doesn't work and generates this error message.

If you can't install it manually you can find my script here here, in the link above (osu!installer) or through the POL client.
ukeluppi
url failed playonlinux help meee
mekadon_old
https://imgur-archive.ppy.sh/uARrAKj.png

Got this. It works fine few weeks ago though (I'm guessing it's because of updates, since arch)
EDIT: Reconfigured wine again and worked again. Huh.

boat wrote:

In the meantime you could try launching it through the terminal using LANG=ja_JP.UTF-8 wine osu.exe
Didn't work for me either, installed takao/tahoma just in case and still didn't work.
boat
I imagine for it to work you first have to install and configure a Japanese locale, which will take some time for me to sort out a script for, if that would even be possible to do through POL.

I'll look into it but I don't have much time to spare so don't expect it any time soon, not from me at least.

ukeluppi wrote:

url failed playonlinux help meee
?

If you can't get a visual installer from the official POL script repository to work then perhaps you should reconsider your choice of OS.

There is nothing wrong with the script itself, all you have to do is run it, not the osu!installer.exe.



Step 1. Download and install PlayOnLinux for your respective distribution.

Step 2. Install Wine through your respective Software Manager (i.e Ubuntu's Software Center) or download and install it from WineHQ.

Step 3. To install osu! with the script from the official POL repository;

Navigate to File > Install
Tick the "Testing" checkbox
In the search bar, type in "osu". You should now see the script listed, select it and press the Install button.

Step 4. Follow the installation instructions. It's not rocket science.

Alternative installation instructions;
Download and extract the osu!installer package from here. In the PlayOnLinux client, navigate to Tools > Run a local script and load the osu!installer script, then follow the installation instructions.

jeez
mekadon_old
I actually found the solution. What I did was copy all my fonts from Windows into ~/.wine/drive_c/windows/Fonts (I think just copying msgothic.ttf msmincho.ttf is enough, my entire font folder in Windows is almost 1GB ._.) and Japanese fonts finally works

so what do you want to do for yout POL script is probably wget these fonts into the font folder in wine

I uploaded them, for those who need it,
http://nadeko.tsundere.my/dump/msgothic.ttc
http://nadeko.tsundere.my/dump/msmincho.ttc

Those who got the same issue, just copy the two fonts into ~/.wine/drive_c/windows/Fonts, you don't need to $ export LANG="ja_JP.UTF-8" I think.
mmnah
Hi.

Too lazy to read the entire thread, so i'll just ask here.
I'm planning on using ArchLinux as my main OS at the desktop PC. And the only thing i'm aware of is osu! performance under wine.
Can someone report their pc configuration and fps you got under linux? Also, if you can, tell me the fps you got on the same machine under windows.
mekadon_old

ohyou wrote:

Hi.

Too lazy to read the entire thread, so i'll just ask here.
I'm planning on using ArchLinux as my main OS at the desktop PC. And the only thing i'm aware of is osu! performance under wine.
Can someone report their pc configuration and fps you got under linux? Also, if you can, tell me the fps you got on the same machine under windows.
~120fps with a laptop with Core i7-3517U @ 3GHz, 1GB AMD Radeon 7570M, 8GB RAM and the game at 800*600 resolution.
~400fps on Windows on 1366*668 resolution, 800*600 is around ~800-1000fps
ukeluppi
I do not understand, my English is bad, playonlinux not found There is an easier method :( :( :( :( :( :( :( :( :( :( :( :( :( :(
Sakisan
I have 60-80 fps in linux
and 1500-3000 fps in windows ^^'

I found instructions on how to improve fps in wine, but it involves recompiling the kernel. Seems very risky as I haven't ever done that before. :p
boat
Updated installer with the fonts. Korean requires the title to be romanized and Chinese should work as well.

http://www.boaty.org/POL/osu%21installer
http://www.boaty.org/POL/osu%21installer.tar.gz

these are invalid, I'll edit this when I've fixed them, in the meantime use the script from the pol repository

Or just download the fonts yourself and as mekadon already pointed out put them into the /windows/fonts/ folder.
http://www.boaty.org/POL/msgothic.ttc
http://www.boaty.org/POL/msmincho.ttc
Score_Under
I'm running Arch Linux with a Radeon HD 7770, and I have quite a few issues running Osu. After the first couple of songs (it varies) the game will start consistently crashing before any song can be played, and on some startups the sound just doesn't work at all. I've tried both with boat's POL installer and with the AUR installer. There are several places it likes to crash:
  1. Exiting the options screen
  2. Entering the song list screen
  3. Picking a song (but not yet picking the difficulty), after a couple of seconds
  4. Picking the difficulty, before the song loads -- by far the most common and so far I haven't managed to get past this after my first couple of times
Nothing is printed in the terminal around the time of the crash. Is there anything I can use to debug this, or has someone solved a similar problem?
kouzuki_karen
I got osu! to run on Linux Mint, however I have a problem with text strings in the game, which seem to get cut off near the end of the text. Also, when I make a link for the osu!.exe and run it, osu just crashes on startup. What can I do to fix these issues?

(I followed this to set it up)
Espionage724

Frizz wrote:

...Framerate can never get past 60fps no matter what I do (245fps max on Win7 though) and I get both input and audio delay which are really noticeable in standard mode but it's rather less noticeable in osu!mania. Framerate would drop down to <35fps in some cases especially on beatmap select.]
Try using the enviroment variable vblank_mode=0 if you haven't already.
mmnah

mekadon wrote:

ohyou wrote:

Hi.

Too lazy to read the entire thread, so i'll just ask here.
I'm planning on using ArchLinux as my main OS at the desktop PC. And the only thing i'm aware of is osu! performance under wine.
Can someone report their pc configuration and fps you got under linux? Also, if you can, tell me the fps you got on the same machine under windows.
~120fps with a laptop with Core i7-3517U @ 3GHz, 1GB AMD Radeon 7570M, 8GB RAM and the game at 800*600 resolution.
~400fps on Windows on 1366*668 resolution, 800*600 is around ~800-1000fps

Sakisan wrote:

I have 60-80 fps in linux
and 1500-3000 fps in windows ^^'

I found instructions on how to improve fps in wine, but it involves recompiling the kernel. Seems very risky as I haven't ever done that before. :p
Thank you kindly.
Aposke
Hi, I have a quick question regarding importing beatmaps. I went through the tutorial at the beginning of the thread and everything works like a charm, except directly loading beatmaps via the "open with osu!" option in the browser download window doesn't work – that's not a big issue in itself, but I didn't notice that until I had tried importing several beatmaps that way. Now I just copy/paste them into the "Songs" folder, but those few beatmaps I tried importing directly are now "permanently" broken for my installation, even if I delete and re-download them. That's why I'd like to know if there's any way of clearing the "Failed Imports" cache of the program without reinstalling it (I'm kinda afraid of re-installing since this is the first time I got osu! to run this smoothly under Linux and I don't want to risk breaking my install).

Thanks in advance for your answers!
boat
What makes you think reinstalling will break anything though?
Gaelephant
Espionage724's guide on first post still working for 'buntu 13.10 i386.
Thank you so much, I wa unable to make osu! work in debian, even in sid. virtualbox+ubuntu working fine !
bahamete
If you only seem to get 60fps, use

vblank_mode=0 wine osu\!.exe

(Or however you normally invoke osu!), It makes your graphics card ignore your monitor's refresh rate (which is probably 60fps).
However, why people want to play with over 60fps is beyond me. It causes tearing and unnecessarily wastes battery life.
Aposke
Wow, the snow update somehow broke my osu! installation on Ubuntu 12.10. and now I can't start up the program at all, not even if I try re-installing it.
For some VERY strange reason this update also seems to have had some weird effect on my wine installation, as I keep getting the "winemenubuilder.exe has encountered a serious error" problem , no matter what I try to start with wine.

Also, @boat: Something always breaks when I try to tinker around with it under Linux. No exceptions. This time, even pressing the "update" button was enough. :/

edit: Suddenly started getting a more precise error message from osu!.exe: "Application has generated an exception that could not be handled. Process ID=0x24 (36), Thread ID=0x25 (37)."
zed-kun_old

Aposke wrote:

Wow, the snow update somehow broke my osu! installation on Ubuntu 12.10. and now I can't start up the program at all, not even if I try re-installing it.
For some VERY strange reason this update also seems to have had some weird effect on my wine installation, as I keep getting the "winemenubuilder.exe has encountered a serious error" problem , no matter what I try to start with wine.

Also, @boat: Something always breaks when I try to tinker around with it under Linux. No exceptions. This time, even pressing the "update" button was enough. :/

edit: Suddenly started getting a more precise error message from osu!.exe: "Application has generated an exception that could not be handled. Process ID=0x24 (36), Thread ID=0x25 (37)."
I'm getting the exact same error - winemenubuilder.exe breaks as of the 15th's snow update.
If you want to set WINEDEBUG=warn+all you'll be able to see all sorts of ridiculous messages you probably don't care about - https://gist.github.com/plausibility/7982450 has a wine debug stack trace and all that jazz.

Peppy, what have you done to us poor Linux users? :(
m42a
I can also confirm this problem.
zed-kun_old
Sort of a fix in the mean time - I pulled an older version of osu (from a few days ago) from my laptop and dropped that into my wine folder and ran that directly.
You can get it here if you want to try yourself: http://gibsonsec.org/~zed/files/osu!.exe (md5sum: d47ef68157ed98a4973a7b0d53eddc78)
Hopefully peppy won't mind me distributing this as a fix in the mean time.
Aposke

zed-kun wrote:

Sort of a fix in the mean time - I pulled an older version of osu (from a few days ago) from my laptop and dropped that into my wine folder and ran that directly.
You can get it here if you want to try yourself: http://gibsonsec.org/~zed/files/osu!.exe (md5sum: d47ef68157ed98a4973a7b0d53eddc78)
Hopefully peppy won't mind me distributing this as a fix in the mean time.
Thanks a lot, sir! This version works flawlessly. Now to remember not to update it until the end of winter! :P
lemonadejuice_old
Confirmed here too...

but then... is there anyway to disable autoupdate, it keep updating to the latest update
zed-kun_old

lemonadejuice wrote:

Confirmed here too...

but then... is there anyway to disable autoupdate, it keep updating to the latest update
I've just been keeping a copy of the functional version handy, then when it eventually updates itself into a not working state, I just copy the old version over the new version and start it.
That seems to trick it into thinking it's up to date(-ish) for one or two starts.
ErunamoJAZZ
Same error.
will be because of the snow at the start? i hate the xmas(?) #OkNo

EDIT: instaling xna31 with winetricks, works. Thx Itachi ;)
zikxxx
hello guys i have solution for this problem :) i made a video tutorial http://youtu.be/SPWR8PDrytQ
i hope it will be helpful
tested on linux mint 16
boat
If anybody wants to take over maintaining the POL osu! installer, PM me. I don't got the time or interest to keep at it myself.
Itachi17
You don't need to do anything special with this issue nor download older version of osu!. Open up terminal and enter:
winetricks dotnet35
if it fails don't care about that and install also
winetricks xna31
It should start now!
On my second computer dotnet35 fails so I installed xna31 and then again dotnet35 but it fails again. But who cares? It works.
jacob-mischka

Itachi17 wrote:

You don't need to do anything special with this issue nor download older version of osu!. Open up terminal and enter:
winetricks dotnet35
if it fails don't care about that and install also
winetricks xna31
It should start now!
On my second computer dotnet35 fails so I installed xna31 and then again dotnet35 but it fails again. But who cares? It works.
Damn, you're not kidding. Installing xna31 and dotnet35 via winetricks also worked for me (even though like you said the dotnet30sp2 installer failed which looks like because of a parsing error in the winetricks script, so only dotnet30sp1 is the highest version actually installed).

The winemenubuilder.exe crash still happens when launching anything from that wineprefix, however. You can safely disable "winemenubuilder.exe" via winecfg though. This obviously stops it from crashing, and is perfectly fine since all it does is change filetype associations, add menu items, or create desktop links, according to winehq.
Fenek Alfa
Dunno what that last update did, but I can't even get 20fps now. We really need that Mono build if things are gonna break left and right like they do now.
jacob-mischka

Fenek Alfa wrote:

Dunno what that last update did, but I can't even get 20fps now. We really need that Mono build if things are gonna break left and right like they do now.
Hm, that's weird. My fps is the same at about 120.
Itachi17

Fenek Alfa wrote:

Dunno what that last update did, but I can't even get 20fps now. We really need that Mono build if things are gonna break left and right like they do now.
Did you try run osu! with vblank_mode=0?
vblank_mode=0 wine osu\!.exe

as bahamete wrote?

Are you using open source drivers for your graphic card or proprietary drivers? Didn't you accidently uninstall some 32-bit libs?
I did it when I was removing wine and trying patched version and after that both versions were broken. When I ran some game, I was getting really low fps. When I started osu! I got a black screen. Then I opened Steam for Linux and he ask me to install some 32-bit libraries and then both versions of wine started working properly. So try to run Steam for Linux if he ask, let him install it.

PS: Without this repo https://launchpad.net/~oibaf/+archive/graphics-drivers/ opensource drivers for graphic cards are worse. So if you add it you can get better performance.

PS2: If you are using the opensource drivers you can't get higher than 60 fps without vblank_mode=0.
Fenek Alfa
I'm using NVidia's proprietary drivers, and Steam still works. And vblank has nothing to do with it, since I was running it earlier at around 180 fps
Espionage724

Itachi17 wrote:

You don't need to do anything special with this issue nor download older version of osu!. Open up terminal and enter:
winetricks dotnet35
if it fails don't care about that and install also
winetricks xna31
It should start now!
On my second computer dotnet35 fails so I installed xna31 and then again dotnet35 but it fails again. But who cares? It works.
I haven't tried osu! yet recently (just got done installing some Xubuntu though), but last I checked, only dotnet20 was still required.

"If" I understand right, dotnet35 installed dotnet20 as well as 3, leading to more bulk that you don't necessarily need, along with increasing the risk of conflict if you use the same wineprefix for other stuff.

But in any case, both of those statements are just what I assume; haven't really tried it myself for a while, but I'll be sure to soon.

666th post :p
Inamar

zikxxx wrote:

hello guys i have solution for this problem :) i made a video tutorial http://youtu.be/SPWR8PDrytQ
i hope it will be helpful
tested on linux mint 16
Thanks, it worked fine in Ubuntu 12.04.
thinkpad_old
I have been unsuccessful in using osu! on Fedora 20, with wine 1.7.5. My current problem is that while the game opens and music plays, the display remains black - I can't see any visual elements at all.

I had to install both dotnet20 and xna31 to get this far. I'm currently using nvidia proprietary graphics though I might also try with nouveau as this smells like a driver related problem. My nvidia driver version is 331.20.

EDIT: I'm stupid. Forgot to install 32 bit nvidia libs (xorg-x11-drv-nvidia.i686). Had them with nouveau. I'm surprised it got as far as it did without complaining.
show more
Please sign in to reply.

New reply