forum

Ultimate guide to low-latency osu! on Linux (rev.12)

posted
Total Posts
277
show more
Topic Starter
Franc[e]sco

Exploshun wrote:

I'm currently having issues with osu! When scrolling through songs, osu! may suddenly just freeze. It ocassionally even freezes the whole system, locking up my computer completely. Running Wine 1.8.3 with playonlinux (Exact setup described in guide), but have replicated in Wine 1.9.22 (Staging). Running Arch Linux with 4.8.6-2-ck kernel. Anyone else having this issue?

Edit:
Running nvidia 375.10 drivers.
Just tested and full system freeze can also happen during gameplay.
Also tested with vanilla 4.8.6-1-ARCH kernel. So far I could reproduce the song list freeze, but not the complete system lockup (may just be luck though)
I have never had freezes like that.
I think running full screen might make freezes worse, as it's glitchy and freezes or acts weird if you tab out, so try running in borderless window.
also, you could try switching to a non-lowlatency kernel. from my experience, low latency kernels didn't actually help with osu, so I stopped using them.
also strip down any complex DE from your xorg setup (try JWM or i3 with xorg and nothing else, I've used both with osu and currently using i3).
If you overclock, you might wanna check your stability again or turn it off.
oh and since you are on nvidia you could try messing with the threaded optimization toggle
Exploshun
Managed to reproduce the "freeze on song select" bug on windowed mode, both in my DE (XFCE), Cinnamon, KDE, JWM, and i3. So I don't think it's a DE bug.

I don't overclock, I'm using a laptop with the 660M chip (which I should have specified in my original post ).
Also, the "freeze whole system" is very rare, and has no apparent cause (It has happened to me on main screen, song select, and ingame).

Freezing the whole system is very rare, but I'm sure it's freezing the whole system. When it happens I can't even switch to a VT, and I timeout from discord. This doesn't happen on the normal "freeze on song select".

I'll try messing with nvidia options to see if something fixes it.
Chaosemerald

Exploshun wrote:

I'm currently having issues with osu! When scrolling through songs, osu! may suddenly just freeze. It ocassionally even freezes the whole system, locking up my computer completely. Running Wine 1.8.3 with playonlinux (Exact setup described in guide), but have replicated in Wine 1.9.22 (Staging). Running Arch Linux with 4.8.6-2-ck kernel. Anyone else having this issue?

Edit:
Running nvidia 375.10 drivers.
Just tested and full system freeze can also happen during gameplay.
Also tested with vanilla 4.8.6-1-ARCH kernel. So far I could reproduce the song list freeze, but not the complete system lockup (may just be luck though)
Not completely sure, but I think it's an issue with Wine, because I have the same problems when I'm scrolling and clicking way too fast (but I haven't experienced that it takes the system down with it and freezes during gameplay). I use Ubuntu 16.04 with the open source AMD drivers and Wine 1.6.2. It also happened in Ubuntu and Xubuntu 14.04 with both the open source driver and the fglrx driver, and I think I was using Wine Staging 1.9.3.
I'm running osu!beta btw, but I had the same issue with osu!cuttingedge too
Exploshun
I can't seem to reproduce the "freeze on song select" anymore.

After so many reinstalls, I seem to have forgotten to install gdiplus. So reinstalling and settings it to "builtin then native", it seems to work. However, I'm pretty sure I could trigger the bug before even with gdiplus set up, so idk if this was the fix. It COULD also be that after installing gdiplus there was an update to osu!. So, either seting up gdiplus fixed it, or the update fixed it. :roll:
marshallracer
If I'm not mistaken, if you installed cjkfonts before it didn't matter if you installed gdiplus (or I'm just confusing it with something else, though I hope not)
Based on observations in this thread though my guess was on the culprit being osu itself.
If you followed the guide I probably don't need to ask but to be sure : did you set the game to Cutting Edge? (Or to the others : have happened enough updates to the game that it doesn't matter anymore? I honestly don't know as I don't use anything besides CE on either Windows or Linux)
Topic Starter
Franc[e]sco

Exploshun wrote:

I can't seem to reproduce the "freeze on song select" anymore.

After so many reinstalls, I seem to have forgotten to install gdiplus. So reinstalling and settings it to "builtin then native", it seems to work. However, I'm pretty sure I could trigger the bug before even with gdiplus set up, so idk if this was the fix. It COULD also be that after installing gdiplus there was an update to osu!. So, either seting up gdiplus fixed it, or the update fixed it. :roll:
cjkfonts replaces gdiplus, normal gdiplus doesnt work with cjk characters. maybe you were using non-cjk gdiplus, who knows
Exploshun
Okay, so I finally found out what the "freeze whole system" bug is. It's apparently a linux-ck + wine osu! bug (As seen here and here). If you have this issue, just use the normal arch kernel.

Also, fun glitches:

If you sleep the computer while osu is open on the song select, sometime sliders will not appear, only their head will appear (but they'll still work normally).
I managed to get it once to show glitchy rainbow sliders, by sleeping during a pause in gameplay. I can't seem to reproduce it, but the background will get corrupted if you sleep ingame.
NYAWINTHENIGHT
Let's finally install osu (from the PlayOnLinux shell):

mkdir -v osu
cd osu
wget http://m1.ppy.sh/r/osu\!install.exe
POL_Wine osu\!install.exe
Ignore the crash message and click next.

For some weird reason, POL makes osu install in the directory from which you run the installer, that's why we create that directory. This way osu! should install to C:\osu.
after I get a crash message osu doesn't install
I tried to remove wine, POL and start from 0, but nothing has changed.
Please help
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c > mkdir -v osu
mkdir: created directory 'osu'
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c > cd osu
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c/osu > wget http://m1.ppy.sh/r/osu\!install.exe
--2016-11-26 03:34:12-- http://m1.ppy.sh/r/osu!install.exe
Resolving m1.ppy.sh (m1.ppy.sh)... 162.243.70.14
Connecting to m1.ppy.sh (m1.ppy.sh)|162.243.70.14|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4471488 (4,3M) [application/octet-stream]
Saving to: ‘osu!install.exe’

osu!install.exe 100%[===================>] 4,26M 619KB/s in 6,9s

2016-11-26 03:34:20 (634 KB/s) - ‘osu!install.exe’ saved [4471488/4471488]

PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c/osu > POL_Wine osu\!install.exe
[POL_System_CheckFS] Message: Checking filesystem for osu!install.exe
[POL_Wine] Message: Running wine-1.8.3 osu!install.exe (Working directory : /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c/osu)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
wine: Install Mono for Windows to run .NET applications.
[POL_Wine] Error: Wine seems to have crashed

If your program is running, just ignore this message
[POL_SetupWindow_Init] Message: Creating new window for pid 4180
[POL_SetupWindow_Close] Message: Closing window for pid 4180
[POL_Wine] Message: Wine return: 255
NYAWINTHENIGHT
I tried to do it again, i did it exactly follow the guide
i think something wrong in playonlinux shell.
Nothing is happening after POL_wine osu\!install.exe only crash message
There all log from playonlinux shell
PlayOnLinux Console
-------------------

You are in 's virtual drive environment
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c > POL_Wine_AutoSetVersionEnv
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c > winetricks -q dotnet45 cjkfonts
Using winetricks 20161107 - sha1sum: ee6251b73e02901cf09738419cd3ae973749770f with wine-1.8.3
Executing cd /tmp/winetricks.X0gmdhes
Downloading https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST to /tmp/winetricks.X0gmdhes
--2016-11-27 20:51:31-- https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.84.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.84.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9 [text/plain]
Saving to: ‘LATEST’

LATEST 100%[===================>] 9 --.-KB/s in 0s

2016-11-27 20:51:31 (1,95 MB/s) - ‘LATEST’ saved [9/9]

Executing cd /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c
Executing w_do_call dotnet45
Executing load_dotnet45
Executing w_do_call remove_mono
Executing load_remove_mono
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
Error: The system was unable to find the specified registry key or value
Executing rm -f /home/invisibleirl/.PlayOnLinux//wineprefix/osu/dosdevices/c:/windows/system32/mscoree.dll
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet30
Executing load_dotnet30
Executing cd /home/invisibleirl/.cache/winetricks/dotnet30
Downloading http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe to /home/invisibleirl/.cache/winetricks/dotnet30
--2016-11-27 20:51:36-- http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe
Resolving download.microsoft.com (download.microsoft.com)... 23.54.1.243
Connecting to download.microsoft.com (download.microsoft.com)|23.54.1.243|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-27 20:51:38 ERROR 404: Not Found.

Executing cd /home/invisibleirl/.cache/winetricks/dotnet30
Downloading https://web.archive.org/web/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe to /home/invisibleirl/.cache/winetricks/dotnet30
--2016-11-27 20:51:38-- https://web.archive.org/web/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe
Resolving web.archive.org (web.archive.org)... failed: Name or service not known.
wget: unable to resolve host address ‘web.archive.org’
------------------------------------------------------
Downloading https://web.archive.org/web/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe failed
------------------------------------------------------
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c > mkdir -v osu
mkdir: created directory 'osu'
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c > cd osu
PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c/osu > wget http://m1.ppy.sh/r/osu\!install.exe
--2016-11-27 20:53:00-- http://m1.ppy.sh/r/osu!install.exe
Resolving m1.ppy.sh (m1.ppy.sh)... 162.243.70.14
Connecting to m1.ppy.sh (m1.ppy.sh)|162.243.70.14|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4471488 (4,3M) [application/octet-stream]
Saving to: ‘osu!install.exe’

osu!install.exe 100%[===================>] 4,26M 755KB/s in 5,9s

2016-11-27 20:53:06 (736 KB/s) - ‘osu!install.exe’ saved [4471488/4471488]

PlayOnLinux: /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c/osu > POL_Wine osu\!install.exe
[POL_System_CheckFS] Message: Checking filesystem for osu!install.exe
[POL_Wine] Message: Running wine-1.8.3 osu!install.exe (Working directory : /home/invisibleirl/.PlayOnLinux/wineprefix/osu/drive_c/osu)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
wine: Install Mono for Windows to run .NET applications.
[POL_Wine] Error: Wine seems to have crashed

If your program is running, just ignore this message
[POL_SetupWindow_Init] Message: Creating new window for pid 4814
[POL_SetupWindow_Close] Message: Closing window for pid 4814
[POL_Wine] Message: Wine return: 255
Topic Starter
Franc[e]sco

Invisibleirl wrote:

I tried to do it again, i did it exactly follow the guide
i think something wrong in playonlinux shell.
Nothing is happening after POL_wine osu\!install.exe only crash message
There all log from playonlinux shell
...

according to that output, winetricks is failing to download dotnet and never installing it, which is why wine can't run osu. I think your winetricks might be outdated, are you sure you installed winetricks with the method in the guide? try reinstalling it.
Uwabakki
Thank you for the fantastic guide!

While it may work for Ubuntu or Mint distributions, I find the latest revision of this guide inapplicable to Arch Linux. I followed all the steps carefully, made sure dotnet45 is properly installed but I'm still unable to run osu.

On the contrary, the previous rev was perfect. Osu ran flawlessly, no crashes, very low latency. I'd say better than on windows. Any possibility of making the old guide available again? The one with the recompiled alsa driver and dmixer trick, I mean. Worked best, as far as Arch goes.
Doomsday is Hot
Great guide! :)
coldloops

kadawer wrote:

While it may work for Ubuntu or Mint distributions, I find the latest revision of this guide inapplicable to Arch Linux. I followed all the steps carefully, made sure dotnet45 is properly installed but I'm still unable to run osu.
I am running on Arch without problems, I just remade my wineprefix, but it went a bit different from the guide here is what I did:

pacman -S wine-staging
# start from a fresh prefix
WINEARCH=win32 WINEPREFIX=~/wineprefixes/osu2 winecfg
WINEARCH=win32 WINEPREFIX=~/wineprefixes/osu2 winetricks dotnet45
WINEARCH=win32 WINEPREFIX=~/wineprefixes/osu2 winetricks cjkfonts

at this pont osu runs but I noticed a few icons were missing, like the play/pause buttons on the top right player, installing gdiplus solved the problem.

WINEARCH=win32 WINEPREFIX=~/wineprefixes/osu2 winetricks gdiplus

another thing I do differently is that I don't install osu inside the prefix, I have the osu files separated like ~/games/osu/cuttingedge/ and a script that starts osu from there using this prefix.
thnkg
When I run the installer I get a dotnet error:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_FrameDimensionsList()
at System.Drawing.ImageAnimator.CanAnimate(Image image)
at System.Drawing.ImageAnimator.ImageInfo..ctor(Image image)
at System.Drawing.ImageAnimator.Animate(Image image, EventHandler onFrameChangedHandler)
at System.Windows.Forms.PictureBox.Animate(Boolean animate)
at System.Windows.Forms.PictureBox.Animate()
at System.Windows.Forms.PictureBox.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at #=q8qJNniH1DO2i3VBR$vLP7f28McoXzDbYPZs$4M8Jknk=.WndProc(Message& #=qrtP2e_BeFzUU2KAFtnWKEQ==)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
osu!
Assembly Version: 0.0.0.0
Win32 Version: 1.3.3.7
CodeBase: file:///C:/osu/osu!.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
zx_dd45afb6b543412e86e1ead22baa87cb
Assembly Version: 0.0.0.0
Win32 Version: 1.3.3.7
CodeBase: file:///C:/osu/osu!.exe
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Espionage724

iamshapeless wrote:

When I run the installer I get a dotnet error:
Are you installing to a clean 32-bit prefix? Are you installing dotnet45? If so, try dotnet40

On a different note, I'm still a bit curious as to whether or not dotnet45 even solves anything; I've seen no difference with it over dotnet40 or even dotnet20 (back when it was supported) for about 2 years now.
marshallracer

Espionage724 wrote:

I'm still a bit curious as to whether or not dotnet45 even solves anything;
My wild guess is still that it doesn't really do anything as osu does not rely on much/anything(?) dotnet45 provides that dotnet40 already has

I mean, look at this

Download Page wrote:

osu! requires .NET framework 4+.

osu simply shouldn't benefit from any meaningful improvements (or at least there none I know of), though as from personal experience dotnet45 doesn't do any harm to it either
Johnny Gotti
Okay, switched back to linux after a while of Windows, couldn't take it, not necessary.

When I run the shell command to get/install osu, I get an error message that's not playonlinux, and when I try to continue off of that, I get a bunch of red x's and boxes for an installation. When it finishes, I osu crashes.
arihosu

GG3K wrote:

Okay, switched back to linux after a while of Windows, couldn't take it, not necessary.

When I run the shell command to get/install osu, I get an error message that's not playonlinux, and when I try to continue off of that, I get a bunch of red x's and boxes for an installation. When it finishes, I osu crashes.
Yeah I've been having the same issue for a few weeks now. Different wine versions (and .net combinations) yield different results, sometimes the launcher graphics are glitched (red X's), sometimes they show fine, but in all cases it always crashes before launching the game. Furthest I got was wine 2.2 with only dotnet4 installed, which would launch the game and you'd hear the sound effect from hovering menu icons, but crashes 1 second later anyway.

Maybe a recent osu update broke wine compatibility?
ppy pls, osu!next when
Topic Starter
Franc[e]sco
I'm still running on wine 1.8.3 just fine on gentoo.

Also, I've discovered that my specific GPU (r9 270x pitcairn) was being throttled by the kernel because of stability bug reports with DPM. I commented away that quirk from the kernel code and recompiled and now I'm up to nearly 4000fps and stable!



anyways, I'll boot into my throwaway ubuntu install to check on the PlayOnLinux problems in the next few days o/

see this post for the kernel tweaks, but it's only for my specific GPU and maybe a couple others https://www.phoronix.com/forums/forum/l ... and-radeon
Topic Starter
Franc[e]sco
Just tested the guide on a clean install of Ubuntu 16.04 LTS, works perfectly. I also managed to rebuild the ubuntu kernel with the amd tweaks I mentioned above, although it was much more difficult than on gentoo.

Since I'm not 100% happy with telling people to use PlayOnLinux, I'm gonna attempt to compile wine on ubuntu and update the guide if I have any success.
Topic Starter
Franc[e]sco
UPDATED! I have now added full instructions to build and tweak the wine 1.8.3 source code on ubuntu (and other ubuntu-based distros), which is in my opinion the best method, as well as simplifying some steps and cleaning up instructions.
I also re-added an image that explains how to convert wacom area from windows to xsetwacom.
Santeri
Still a bit of a noob to linux, so not sure what to do now.

Following the PlayOnLinux guide, when I get to the point where I should run osu!install.exe, this is what happens: http://imgur.com/a/TEBQj

I believe I installed the .net framework exactly as the guide tells me to...

Would like some help if possible. Thanks.

Also, using Manjaro KDE 17.0
Topic Starter
Franc[e]sco

SanteriP wrote:

Still a bit of a noob to linux, so not sure what to do now.

Following the PlayOnLinux guide, when I get to the point where I should run osu!install.exe, this is what happens: http://imgur.com/a/TEBQj

I believe I installed the .net framework exactly as the guide tells me to...

Would like some help if possible. Thanks.

Also, using Manjaro KDE 17.0
huh, this is the third report about those red Xes, which I've never seen in my testing. are you using a nvidia GPU? if so, try switching to proprietary drivers if you aren't already on them
Topic Starter
Franc[e]sco
another thing you could try is installing gdiplus with winetricks like you did with dotnet
Santeri
Yeah I'm using proprietary drivers. Tried installing gdiplus, didn't do anything in this case.

Here's what comes up in xterm when I launch osu!.exe (since osu!install.exe disappears and gets replaced with osu!.exe when you launch it): http://pastebin.com/49XGPRpV

Not sure how it could help, but in the possible case it could, I decided to pastebin it.
Topic Starter
Franc[e]sco

SanteriP wrote:

Yeah I'm using proprietary drivers. Tried installing gdiplus, didn't do anything in this case.

Here's what comes up in xterm when I launch osu!.exe (since osu!install.exe disappears and gets replaced with osu!.exe when you launch it): http://pastebin.com/49XGPRpV

Not sure how it could help, but in the possible case it could, I decided to pastebin it.
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng12.so.0

seems like your libpng is broken or missing, try installing / reinstalling it. either way, if you wait and let it blindly update it might still run even if it can't display anything on the updater

try
yaourt -Sy lib32-libpng libpng
Santeri
Reinstalling libpng did not fix the issue and it doesn't seem like the installer is actually installing or downloading anything. Instead the progress bar is just flashing and nothing is happening...
Topic Starter
Franc[e]sco

SanteriP wrote:

Reinstalling libpng did not fix the issue and it doesn't seem like the installer is actually installing or downloading anything. Instead the progress bar is just flashing and nothing is happening...
from some googling it seems that libpng is a common problem in arch... not sure why.
well, I took a look at the package info for libpng on arch and it installs libpng16, but wine wants libpng12

maybe we can trick it with a symlink:
sudo ln /usr/lib/libpng16.so /usr/lib/libpng12.so.0
sudo ln /usr/lib32/libpng16.so /usr/lib32/libpng12.so.0

make sure libpng16.so exists in /usr/lib before doing this, otherwise adjust libpng16.so to whatever version of libpng is there
Santeri
What i did instead was install lib32-libpng12 and libpng12 with yaourt, and now it seems to be showing. Now I also know why it's not downloading anything, at least partly. How do you think I'd fix this? lol



edit: I imagine this "RAS support" error and the libgnutls errors have something to do with it?

fixme:ras:RasEnumConnectionsW (0x1d8c90,0xf6cde30,0xf6cde34),stub!
fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733
fixme:ras:RasConnectionNotificationW (0xffffffff,0x388,0x00000003),stub!
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733
err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.

Looking at the xterm window again, it also seems like it's failing to parse a ton of URLs or something.
Santeri
Fixed it by installing lib32-gnutls and lib32-gnutls26 (not sure which one because I installed both at once, lol). Also installed libgnutls. The game is running! Wonderful.

Edit: Starting to feel like it just doesn't like Manjaro, lol. It pretty much crashes in under a minute after launching every single time, no idea why. It crashes even faster if I go into a song.

On some rare occasions it doesn't crash, but instead drops down to like 2fps and stutters to no end.
SlowLogicBoy
I want to chime in with this so here I go:

Relevant Specs
Ubuntu Mate 16.10
GTX 660
XP-Pen G430
2x Monitors 1920x1200 + 1680x1050

Tablet:
My tablet didn't work out of the box so I just used tips from Huion H420 / osu!tablet area and monitor mapping installed Digimend drivers, unplugged and plugged back in my tablet.. WORKS LIKE A CHARM

Tablet appeared as:
⎜ ↳ UGTABLET TABLET G3 4x3 Mouse id=8 [slave pointer (2)]
⎜ ↳ UGTABLET TABLET G3 4x3 Mouse id=9 [slave pointer (2)]
⎜ ↳ UGTABLET TABLET G3 4x3 Pen id=10 [slave pointer (2)]

I used "UGTABLET TABLET G3 4x3 Pen" to config everything:

First of I like to play with "Forced Proportions" and since my tablet isn't 16:10,I had to tweak it a bit:
xinput --list-props "UGTABLET TABLET G3 4x3 Pen"
gave me:
Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000

So to suit me I had to tweak this matrix to my needs...
First value gives me how my tablets x axis is mapped to my Screen (Screen = all monitors), so lets work on that.
if my both monitors would be same resolution, I could just type 0.5 and that would be it, but since they are not, I need to calc how much of my screen takes main monitor, so
Sceen:
1920+1680 = 3600
And proportion:
1920/3600 = 0,533333333333,
so now I have the X mapping value.

Second 1 in that matrix is for Y mapping, since my tablets active area is 120:77 it doesn't map to 16:10 so I need to tweak this number too.
16/10 = 1.6 (you can do that with resolution too 1920/1200)
To find out how much of Y I need on tablet
120/1.6 = 75
To make that 75 be my whole Y:
77/75 = 1.026666

So I got my X and Y mapping to apply them:
xinput set-prop 'UGTABLET TABLET G3 4x3 Pen' 'Coordinate Transformation Matrix' 0.533333, 0.000000, 0.000000, 0.000000, 1.026666, 0.000000, 0.000000, 0.000000, 1.000000

More on Coordinate Transformation Matrix you can read here

Performance: (I only speak for Nvidia)
This was done after tips from this thread,
These apply for Ubuntu Mate

Problem: When I switch to another program (or otherwise loose focus on osu!) Keyboard input is no longer registered in osu!
Solution: Play full screen + Add wine registry: 'HKEY_CURRENT_USER\Software\Wine\X11 Driver' String Value 'UseTakeFocus' with value 'N' (everything without ' (quote) of course)

Problem: Screen tearing
Solution: Mate Tweaks -> Windows -> Window manager change to Compiz
For some people Marco Compton works better, but for me Tearing still occurred.
arihosu

arihosu wrote:

Yeah I've been having the same issue for a few weeks now. Different wine versions (and .net combinations) yield different results, sometimes the launcher graphics are glitched (red X's), sometimes they show fine, but in all cases it always crashes before launching the game. Furthest I got was wine 2.2 with only dotnet4 installed, which would launch the game and you'd hear the sound effect from hovering menu icons, but crashes 1 second later anyway.

Maybe a recent osu update broke wine compatibility?
ppy pls, osu!next when
Nevermind, I'm retarded. Installing gdiplus solved my crashing problem and it works fine now.
Dozy Van
Hi I have been scracting my head over this issue for 2 days now.

I keep getting this problem:
------------------------------------------------------
Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit /S C:\windows\Temp\_dotnet20sp1\set-winver.reg

No matter how long I leave it, it won't go passed that point

Its when I do this:
WINEPREFIX=~/osu-wine WINEARCH=win32 winetricks -q dotnet45 cjkfonts


I get the same error when I try to install Osu! from the Arch AUR witch I think is just a packaged version of your guide.
Topic Starter
Franc[e]sco

Dozy Van wrote:

Hi I have been scracting my head over this issue for 2 days now.

I keep getting this problem:
------------------------------------------------------
Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit /S C:\windows\Temp\_dotnet20sp1\set-winver.reg

No matter how long I leave it, it won't go passed that point

Its when I do this:
WINEPREFIX=~/osu-wine WINEARCH=win32 winetricks -q dotnet45 cjkfonts


I get the same error when I try to install Osu! from the Arch AUR witch I think is just a packaged version of your guide.
I've had this issue on latest wine but not 1.8.3, hmmm make sure winetricks is up to date, try deleting and recreating the wine prefix, try messing with the windows version on winecfg. could also try installing without -q and clicking the installer stuff manually.
Topic Starter
Franc[e]sco
a little update: I've tested this on debian and deepin (requested by a friend) and there are some major tweaks to do to compile from source on pure debian based distros, as the LXC version in there is much older. will update when I have time
Topic Starter
Franc[e]sco
updated:
- added instructions for debian (tested on debian and deepin)
- tested ubuntu guide on mint and added a lot of missing libraries that some distros might not have preinstalled
- added libgnutls26 for distros where the client fails to connect to the internet because of missing/incompatible gnutls
Topic Starter
Franc[e]sco
just finished testing on arch, good news! wine can be built much more easily on arch than other distros, although it requires a few patches of the source

Here are all the steps I followed from a completely clean arch install to having osu set up.

http://hnng.moe/f/Q95.txt

of course you don't have to follow every step or the OS setup section at all, but this should give you a good guideline to set up osu on arch and adapt it to your setup.

I will eventually comment all this and add an arch section to the guide.
Miss Clo
This may be unrelated, but I've just went through the whole thing and I noticed quite a bit of latency with my Wacom CTL-490, I looked around but I can't seem to find where this comes from. Do you have an idea?
Also , thanks a lot for this guide!
One last thing, do you know why no images are showing in the UI? They are transparent, and for buttons I can't even click them
Topic Starter
Franc[e]sco

ichinose-san wrote:

This may be unrelated, but I've just went through the whole thing and I noticed quite a bit of latency with my Wacom CTL-490, I looked around but I can't seem to find where this comes from. Do you have an idea?
Also , thanks a lot for this guide!
One last thing, do you know why no images are showing in the UI? They are transparent, and for buttons I can't even click them
input lag is a common issue with the ctl-490, it's caused by the tablet. I heard taping the nib so it's always pressed fixes it.

as for the UI, for me only the top right play/pause/stop buttons are invisible in the main menu, which isn't a problem. if more stuff is invisible, you might wanna check the terminal output for missing libraries or other errors
Miss Clo
Input lag with the ctl490 on Windows is caused by the drivers when hovering
Linux drivers don't have this problem, lag occurs regardless of drag or hover, less so than on Windows, but since there's no workaround like holding the nib, it's quite annoying
:(
As for UI, profile picture, music controls and leftside icons in settings are not showing. I ran it from the terminal and there was no particular issue.. weird :/
show more
Please sign in to reply.

New reply