Also I'd like to add that right now Stable (Latest) runs smoother than cuttingedge for me (which usually isn't the case). And since it has switched to the OpenGL only engine as well, you can just use it no problem on linux.
Pulseaudio seems to have a bit of input lag but its very very very small, but if I boot back into windows, its gone.Franc[e]sco wrote:
sorry for the late reply, but have you tried the precompiled ones I provided? either way tweaking the .drv files will not boost latency all that much so I'd say it's not critical.ShadowSageMike wrote:
I just CAN NOT get the wine dlls [winealsa.drv] to compile! It always says nothing to do here. I even tried compiling wine itself and it never built the dang dll files... anyone else have any issues, and if you figured out how to get it working, could you please share? Running debian jessie, tried compiling in ubuntu 15.10. same issue.
by the way, I just updated the guide to fix japanese, korean and chinese characters (thanks to Astar who messed around with it until he figured it out). you basically install gdiplus and cjkfonts and then set gdiplus to builtin then native in winecfg -> libraries and it works out of the box. if it doesn't, try switching between builtin and native for gdiplus in winecgf -> libraries.
Also I am still thinking about putting together a gentoo version of this guide (since I actually play osu on gentoo as my daily driver) but there's just so many tweaks that I've done that I can't remember them all.
sudo schedtool -F -p 15 -n -4 -a 0x5 $(pidof osu\!.exe)
sudo schedtool -F -p 20 -n 19 $(pidof /usr/bin/wineserver)
It could depend on the hardware, but on both of my computers; a standard osu! install with default conditions (standard kernel, no messing with alsa or pulse, etc) works fine.TheReduxPL wrote:
That's a very comprehensive guide, thank you! On a side note, that just shows why Linux is far from being ready for gaming in general. Swapping kernels and video drivers, generally diving deep into the terminal just to get this game run as well as on Windows, where it's pretty much "install and play"...
Even though I'd like to try that. But I have a couple of questions before I get started:EDIT: I almost forgot. My PC is running Kubuntu 15.10 x64. My CPU is Intel Core i5-3350P and GPU is Radeon R9 280X,
- I actually forgot what kind of driver I have installed on my Kubuntu. "fglrxinfo" says "OpenGL version string: 4.5.13416 Compatibility Profile Context 15.302" so I guess it's fglrx (the fact that this command actually exists also seems to give that away...). At this point, what's the proper method of installing the driver from padoka's PPA?
- Once I do switch to padoka's mesa driver, is it safe to follow the "Simple installation" method for XanMod kernel?
sudo add-apt-repository 'ppa:paulo-miguel-dias/mesa' -y && sudo apt-get update && sudo apt-get dist-upgrade && sync
Thank you so much! I was also thinking if I need to mess with the kernel but after doing all the steps in this guide, I still don't feel like it's latency-free. Although the sound is very well synced now and mouse seems to work more reliably, there's still something wrong - in one of the songs I get ~97% accuracy when playing on Windows but on Linux something's still off and I could barely reach ~80%. I'd like to try messing with my drivers and a kernel in hope of getting this sorted out.Espionage724 wrote:
...
One thing to try may be to disable compositing (I think Alt + F12 on KDE disables it on toggle), and another is to disable any kind of vsync with osu! (starting it with vblank_mode=0 accomplishes this).TheReduxPL wrote:
Thank you so much! I was also thinking if I need to mess with the kernel but after doing all the steps in this guide, I still don't feel like it's latency-free. Although the sound is very well synced now and mouse seems to work more reliably, there's still something wrong - in one of the songs I get ~97% accuracy when playing on Windows but on Linux something's still off and I could barely reach ~80%. I'd like to try messing with my drivers and a kernel in hope of getting this sorted out.Espionage724 wrote:
...
Also your glxinfo command shows "OpenGL renderer string: AMD Radeon R9 200 Series".
I didn't apply all your tweaks yet but just by adding "VBLANK_MODE=0" and "R600_DEBUG=..." I can definitely feel the difference and my scores are way better now. Actually, it kinda felt like the music was a little bit offsync with notes but I easily corrected that by configuring a delay in game settings. Disabling the KDE compositor didn't do much of a difference but I implemented it in the .sh file I use to start the game with.Espionage724 wrote:
...
well most of this stuff is optional. it will run almost as well by just installing wine and osu into your wine prefix without any additional tweaks. the directsound regedit is probably what helps the sound latency the most.TheReduxPL wrote:
That's a very comprehensive guide, thank you! On a side note, that just shows why Linux is far from being ready for gaming in general. Swapping kernels and video drivers, generally diving deep into the terminal just to get this game run as well as on Windows, where it's pretty much "install and play"...
Even though I'd like to try that. But I have a couple of questions before I get started:EDIT: I almost forgot. My PC is running Kubuntu 15.10 x64. My CPU is Intel Core i5-3350P and GPU is Radeon R9 280X,
- I actually forgot what kind of driver I have installed on my Kubuntu. "fglrxinfo" says "OpenGL version string: 4.5.13416 Compatibility Profile Context 15.302" so I guess it's fglrx (the fact that this command actually exists also seems to give that away...). At this point, what's the proper method of installing the driver from padoka's PPA?
- Once I do switch to padoka's mesa driver, is it safe to follow the "Simple installation" method for XanMod kernel?
I'm aware it's optional but without doing any of the steps from this guide, osu was working very poorly for me, to a degree when I just didn't enjoy the game. Linux terminal isn't too bad for tech-savvy people but there are people out there (including some players) who struggle with installing a simple program on Windows. How would they react if you told them that most of the programs are installed by writing "sudo space apt dash get space install space package name" into the terminal?Franc[e]sco wrote:
well most of this stuff is optional. it will run almost as well by just installing wine and osu into your wine prefix without any additional tweaks. the directsound regedit is probably what helps the sound latency the most.TheReduxPL wrote:
That's a very comprehensive guide, thank you! On a side note, that just shows why Linux is far from being ready for gaming in general. Swapping kernels and video drivers, generally diving deep into the terminal just to get this game run as well as on Windows, where it's pretty much "install and play"...
Even though I'd like to try that. But I have a couple of questions before I get started:EDIT: I almost forgot. My PC is running Kubuntu 15.10 x64. My CPU is Intel Core i5-3350P and GPU is Radeon R9 280X,
- I actually forgot what kind of driver I have installed on my Kubuntu. "fglrxinfo" says "OpenGL version string: 4.5.13416 Compatibility Profile Context 15.302" so I guess it's fglrx (the fact that this command actually exists also seems to give that away...). At this point, what's the proper method of installing the driver from padoka's PPA?
- Once I do switch to padoka's mesa driver, is it safe to follow the "Simple installation" method for XanMod kernel?
as for diving deep into the terminal... well that's just how linux works. once you get used to it, it's faster and simpler than doing things with a fancy gui it definitely isn't as user friendly as windows but that's what makes it so powerful and modular.
well, I'm glad you managed to get everything working I also see you switched to the open-source drivers which is good, as from my experience fglrx sucked.
Not sure if this is the specific issue, but there was some kind of library issue with Steam games and the open-source graphics driver. Not sure what the appropriate fix for it is nowadays, but in the past, deleting a few library files out of the Steam folder causes Steam to use the system-installed libraries instead, and fixed the issue. I recall playing TF2 and Dota 2 (after that fix) pretty well a while back.TheReduxPL wrote:
Also fglrx was good in one thing: at least it runs some Source games like Team Fortress 2, while the open-source driver couldn't even start them. Actually, that was the case with the open-source driver integrated into Ubuntu, not sure how would the modified one from padoka's PPA work - I might try it later.
yep, to get source games working on opensource drivers just go in the game's directory and delete bin/libstdc+++.so.6 or rename itEspionage724 wrote:
Not sure if this is the specific issue, but there was some kind of library issue with Steam games and the open-source graphics driver. Not sure what the appropriate fix for it is nowadays, but in the past, deleting a few library files out of the Steam folder causes Steam to use the system-installed libraries instead, and fixed the issue. I recall playing TF2 and Dota 2 (after that fix) pretty well a while back.TheReduxPL wrote:
Also fglrx was good in one thing: at least it runs some Source games like Team Fortress 2, while the open-source driver couldn't even start them. Actually, that was the case with the open-source driver integrated into Ubuntu, not sure how would the modified one from padoka's PPA work - I might try it later.
Glad to hear those variables worked
Is this a typo? Shouldn't it be:Franc[e]sco wrote:
Let's say I wanted an area half the size of the full area in the top left corner.
BottomX = 8340 / 2 = 4170
BottomY = 4170 / 1.78205128205 = 2340
The new area is 0 4170 0 2340.
wine issue. just downgrade for now, when I have time I will find the code responsible for this and send a bug report to the wine guysAuxillium wrote:
Thanks to your guide I managed to be able to run it on Ubuntu 15.10. I do notice the latency issue on latest Wine Staging. Is there a way for me to properly adjust this in osu! or is it a Wine issue overall?
Thanks for the quick reply! Any guide on how to downgrade? I managed to install Wine 1.8.2 from source before but I couldn't get past the step where i change the sound driver to alsa since it wasn't using any sound driver in the first place :/Franc[e]sco wrote:
wine issue. just downgrade for now, when I have time I will find the code responsible for this and send a bug report to the wine guys
I just installed from source on gentoo, but most package managers should allow forcing a certain version of a package. try sudo apt-get install winehq-staging=1.8.2Auxillium wrote:
Thanks for the quick reply! Any guide on how to downgrade? I managed to install Wine 1.8.2 from source before but I couldn't get past the step where i change the sound driver to alsa since it wasn't using any sound driver in the first place :/Franc[e]sco wrote:
wine issue. just downgrade for now, when I have time I will find the code responsible for this and send a bug report to the wine guys
Oh okay then. That command didn't work for me, sadly. I'll just try building it again from source. Hopefully I can get the sound to work though.Franc[e]sco wrote:
I just installed from source on gentoo, but most package managers should allow forcing a certain version of a package. try sudo apt-get install winehq-staging=1.8.2
are you sure you are playing on stable (latest), beta or cuttingedge and NOT stable falback? also, while radeon might have better opensource drivers than proprietary ones, for Nvidia it's recommended to use the proprietary drivers for better performance.Auxillium wrote:
Oh okay then. That command didn't work for me, sadly. I'll just try building it again from source. Hopefully I can get the sound to work though.Franc[e]sco wrote:
I just installed from source on gentoo, but most package managers should allow forcing a certain version of a package. try sudo apt-get install winehq-staging=1.8.2
Also, I'd like to say using Bumblebee for Nvidia Optimus didn't work well, since I barely go above 100fps in both Full Screen/Windowed with or without Compatibility Mode ticked on, even with the vblank_mode=0 argument. :/
I did. I used nvidia-340 as drivers and ran it on Stable(latest), though I didn't do an installation and instead I linked it to my existing osu! folder from my other partition.Franc[e]sco wrote:
are you sure you are playing on stable (latest), beta or cuttingedge and NOT stable falback? also, while radeon might have better opensource drivers than proprietary ones, for Nvidia it's recommended to use the proprietary drivers for better performance.
40716 osu! - slightly low-pitched sound when using the ALSA sound driver
41007 Regression in minimum sound latency / HelBuflen valueThanks to your bug report they might have gotten a fix. Maybe. I'm gonna try it out but I'm not that great when it comes to distinguishing sound latency issues. :/
Bug 41007 is mine but it only fixes sound glitching and not the latency, which I have not yet debugged.Auxillium wrote:
https://www.winehq.org/announce/1.9.18
There's a new update to winehq-staging and I see some familiar stuff there:40716 osu! - slightly low-pitched sound when using the ALSA sound driver41007 Regression in minimum sound latency / HelBuflen valueThanks to your bug report they might have gotten a fix. Maybe. I'm gonna try it out but I'm not that great when it comes to distinguishing sound latency issues. :/
EDIT : I finally managed to compile my own winealsa.drv from wine-1.8.2. Apart from the multilibs I also had to install libasound2-dev:i386 to avoid the "nothing to to" here error when building winealsa.drv
ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 winetricks -q dotnet45 corefonts gdiplus cjkfonts
ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 winecfg[*] Set gdiplus to builtin then native in libraries. This should fix Japanese, Chinese and Korean characters (thanks Astar)
wget 'https://m1.ppy.sh/r/osu!install.exe' --no-check-certificate[*] Run it
ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 wine 'osu!install.exe'
error: dotnet45 conflicts with dotnet20, which is already installed.
ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 winetricks -q dotnet45 corefonts gdiplus cjkfonts
ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 winecfg[*] Set gdiplus to builtin then native in libraries. This should fix Japanese, Chinese and Korean characters (thanks Astar)
wget 'https://m1.ppy.sh/r/osu!install.exe' --no-check-certificate[*] Run it
ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 wine 'osu!install.exe'
error: dotnet45 conflicts with dotnet20, which is already installed.
try starting from a fresh wine prefix and install only dotnet45 before anything else (so just winetricks -q dotnet45)Xerephiral wrote:
[*] Install dotnet45ALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 winetricks -q dotnet45 corefonts gdiplus cjkfontsALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 winecfg[*] Set gdiplus to builtin then native in libraries. This should fix Japanese, Chinese and Korean characters (thanks Astar)
[*] Download the osu!installerwget 'https://m1.ppy.sh/r/osu!install.exe' --no-check-certificate[*] Run itALSA_DEFAULT_PCM="plug:dmixer" WINEPREFIX=~/.wine WINEARCH=win32 wine 'osu!install.exe'
Within these few steps, an error occurs and I'm given the message:error: dotnet45 conflicts with dotnet20, which is already installed.
Your reply is greatly appreciated.
winetricks install dotnet45 corefonts
great to hear you got it working!marshallracer wrote:
So I recently installed Ubuntu Mate 16.04.01 and wanted to see how much things have improved since the last time I tried to get osu running on Linux (which has been quite over a year ago, before this guide has even existed) and I'm honestly quite impressed by how well it runs on CE
I followed the guide closely except for the low-latency audio part which to be honest a) did not work as it, at some point, always threw missing file errors at me and b) I could set the global offset to -20 and have the timing always be on point (guess I have to mention that I use a Creative Soundblaster X-Fi Extreme Audio soundcard)
Aside from that, everything works great, with the nouveau drivers shipped with the distro (note : running a 650Ti) which give me constant full framerates that only dip down to 58 while recording with OBS (using a shitty preset tbh) aswell as the proprietary nvoodia drivers shipped with the distro aswell (361.42, didn't bother to install the newest one yet) which lets run osu at full speed at all times.
Also, the guide to setup the osu tablet works perfectly to setup my old trusty Trust Stylus Design Tablet to make it use almost the exact same area as in windows (with quite a lot of guessing work of course)
The only issues I have seen so far are the main menu screen music controls not being present at all and the editor menu being completely black, although not unusable
I consider recording some footage and posting it here to show how well it runs but I haven't played properly in ages
Edit: well, here it is
I kinda realised during the play that my area still wasn't the way I wanted it (but HELL YEAH the cursor feels WAY more responsive than in Windows)
Also, A/V seem kinda async but apart from that (and the still not so great OBS settings) there is a video of a perfectly running osu! client on Ubuntu Mate 16.04.01
marshallracer wrote:
Yeah I tried the newest stable proprietary drivers and they do their work as good as the 361 drivers
But yeah, the (surprisingly low) performance advantage is there
Fun thing I just tried (and that actually worked) : I have my original osu Folder from Windows on another HDD in the PC (which is completely seperated, yet still accessible from Ubuntu) while Ubuntu is running on the SSD on a rather small 30GB partition
Now, I don't want (and frankly, I can't) copy my 50GB library of maps onto the Ubuntu partition, so I went to the Windows folder on the HDD, made a link to the song folder, copied it to the osu folder running on Ubuntu and renamed the link to "Songs"
Now all it took was to start osu, go to song select and press F5, wait a while and have access to all songs (I wonder if it would work the same way on Windows ..)