What Wine libraries should you install to make the audio work?
I'm getting this too. Either the logo isn't transparent (or wine doesn't support the logo format's transparency), or wine doesn't apply the logo transparency.Espionage724 wrote:
I don't suppose anyone here happens to know how to fix the transparency around the osu! logo (the black square) when you start the game? It seems to happen on any DE (Plasma 5, Xfce, Unity, GNOME) with or without compositing (on Xfce and Plasma 5).
Guild Wars 2's launcher uses transparency as well (all the area around the main rectangle) and looks to be fine, but to be fair, I'm sure both are using totally different methods. I'm wondering how osu! is handling the transparency and if it could be improved somehow.apt-get wrote:
I'm getting this too. Either the logo isn't transparent (or wine doesn't support the logo format's transparency), or wine doesn't apply the logo transparency.
Wine is supposed to support windows transparency since 1.6, too. (https://www.winehq.org/announce/1.6)
wget 'https://gitlab.com/Espionage724/Linux/raw/master/Scripts/osu.sh' -O ~/'osu.sh' && chmod +x ~/'osu.sh' && ~/'osu.sh'
sudo gedit /proc/sys/kernel/yama/ptrace_scope
Why do you install all those dotnet packages? I've checked a few times in the past, and as of maybe a month ago, only dotnet40 was needed to get osu! up and running (the dotnet40 package only installs that one package and nothing before it).tux wrote:
...
Please note that you may be prompted to change a value in a file called ptrace_scope.
Even if not prompted I recommend you change the value in the file from 1 to 0 as playonlinux complains if it is set to 1 (note that this change is temporary so if you need to restart your computer at any point during the install remember to reset this)
To edit this file just type:sudo gedit /proc/sys/kernel/yama/ptrace_scope(If not running GNOME then substitute gedit with your prefered text editor)
...
Hop over to the install components tab and install these libraries in this order:
Dotnet30
Dotnet30sp1
Dotnet35
Dotnet35sp1
Dotnet40
Dotnet45
gdiplus
Espionage724 wrote:
tux wrote:
...
Please note that you may be prompted to change a value in a file called ptrace_scope.
Even if not prompted I recommend you change the value in the file from 1 to 0 as playonlinux complains if it is set to 1 (note that this change is temporary so if you need to restart your computer at any point during the install remember to reset this)
To edit this file just type:sudo gedit /proc/sys/kernel/yama/ptrace_scope
(If not running GNOME then substitute gedit with your prefered text editor)
...
Hop over to the install components tab and install these libraries in this order:
Dotnet30
Dotnet30sp1
Dotnet35
Dotnet35sp1
Dotnet40
Dotnet45
gdiplus
Why do you install all those dotnet packages? I've checked a few times in the past, and as of maybe a month ago, only dotnet40 was needed to get osu! up and running (the dotnet40 package only installs that one package and nothing before it).
As for ptrace_scope, you ideally don't want that to remain at 0 after closing osu! for security purposes (it basically lets apps talk to each other; you don't want some malicious script to run from Firefox and then just casually log other apps). That may only apply to PlayOnLinux though, as I don't recall having to do that for years with regular Wine.
Running gedit with sudo is also a slight no-no. It can cause some weird permission issues when you try to go back to using gedit as the normal user. pkexec is a better option, but I'm not entirely certain if it works out-the-box with gedit or not (I know it didn't back on Ubuntu 15.10, but not sure about Ubuntu GNOME).
err:ole:CoGetContextToken apartment not initialisedAnd from here and onwards it keeps repeating "fixme:thread:NtQueryInformationThread info class 16 not supported yet", PLEASE help me!!
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:nls:GetUserPreferredUILanguages stub: 0 0x33cf38 (nil) 0x33cf34
fixme:nls:GetThreadPreferredUILanguages 00000000, 0x33cf38, (nil) 0x33cf34
fixme:nls:get_dummy_preferred_ui_language (0x0 0x33cf38 (nil) 0x33cf34) returning a dummy value (current locale)
fixme:nls:GetUserPreferredUILanguages stub: 0 0x33cf38 0x150250 0x33cf34
fixme:nls:GetThreadPreferredUILanguages 00000000, 0x33cf38, 0x150250 0x33cf34
fixme:nls:get_dummy_preferred_ui_language (0x0 0x33cf38 0x150250 0x33cf34) returning a dummy value (current locale)
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Remoting"
fixme:ntdll:EtwRegisterTraceGuidsW (0xda0792, (nil), {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x33e07c, (null), (null), 0x110d06c): stub
fixme:ntdll:EtwRegisterTraceGuidsW register trace class {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Remoting.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Remoting.resources"
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.Core"
fixme:shell:URL_ParseUrl failed to parse L"System.Web"
fixme:shell:URL_ParseUrl failed to parse L"osu!.resources"
fixme:shell:URL_ParseUrl failed to parse L"osu!.resources"
fixme:shell:URL_ParseUrl failed to parse L"zx_f74ba05ddf784a57a2801daa7c127ffb"
fixme:process:SetProcessPriorityBoost (0x2ec,0): stub
fixme:shell:URL_ParseUrl failed to parse L"OpenTK"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"Accessibility"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:crypt:SystemFunction041 (0x190e34, 10, 0): stub [RtlDecryptMemory]
fixme:shell:URL_ParseUrl failed to parse L"System.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.resources"
fixme:ole:CoGetApartmentType (0xf39e108, 0xf39e104): semi-stub
fixme:ole:CoGetApartmentType (0xf49e088, 0xf49e084): semi-stub
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
Just something to note FWIW I have seen this on standard Windows XP as well so it's not just a wine issue but probably with the runtime used. While I've never run osu! in wine and I don't know your configuration, I take it to get osu! to run you are using wine as Windows XP mode with the XP version of .net which is the default (at least it was last I used wine which has been well over a year now lol), which is probably the limitation. While it's probably not recommended and even more likely to not work whatsoever, has anyone tried running Wine in Windows 7 mode to see if it fixes this?apt-get wrote:
I'm getting this too. Either the logo isn't transparent (or wine doesn't support the logo format's transparency), or wine doesn't apply the logo transparency.Espionage724 wrote:
I don't suppose anyone here happens to know how to fix the transparency around the osu! logo (the black square) when you start the game? It seems to happen on any DE (Plasma 5, Xfce, Unity, GNOME) with or without compositing (on Xfce and Plasma 5).
Wine is supposed to support windows transparency since 1.6, too. (https://www.winehq.org/announce/1.6)
Have you attempted to install other stuff into this prefix?HitCoder wrote:
I cannot run Osu!, friends are wondering where I am. When I first installed it it would run fine, then it stopped. I fixed it but the next day it broke again and now the install won't work. I posted the wine error log, here's the link to the pastebin again http://pastebin.com/HHFn4Ji1
I actually recreated the prefix multiple times and with multiple installs of WINE but to no avail. I've installed Linux Mint now though and it works fine.jsebean wrote:
Have you attempted to install other stuff into this prefix?
It's because there is an exclamation mark in osu!. You need to put the word in double quotation marks (e.g. drive_c/Program Files/"osu!") ^^Sh0wer wrote:
rika@rika-X201EV:~$ 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
bash: mkdir.wine/drive_c/Program Files/osu!: No such file or directory
rika@rika-X201EV:~$ 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
bash: mkdir.wine/drive_c/Program Files/osu!: No such file or directory
why?
rika@rika-X201EV:~$ 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.exeWell you've forgotten a space between mkdir and '.wine...'
bash: mkdir.wine/drive_c/Program Files/osu!: No such file or directory
rika@rika-X201EV:~$ 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
bash: mkdir.wine/drive_c/Program Files/osu!: No such file or directory
why?
Oh yeah, that too..141592653 wrote:
rika@rika-X201EV:~$ 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.exeWell you've forgotten a space between mkdir and '.wine...'
bash: mkdir.wine/drive_c/Program Files/osu!: No such file or directory
rika@rika-X201EV:~$ 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
bash: mkdir.wine/drive_c/Program Files/osu!: No such file or directory
why?
It seems like the development team doesn't care about the Linux users, because osu! is available on everything but Linux, which just sounds a bit odd. Everytime someone suggested a native port for Linux, Peppy just told them "to use a real operating system".mmstick wrote:
Interesting how there is still no effort to produce a native solution for Linux. At this point, we may as well create a Snap or Flatpak-wrapped wine-wrapped copy of the game so that no one has to be bothered with ensuring that they have the right system libraries and associated wine configurations.
Well WINE works nicely. The game works very well if you use the playonlinux script:)NoYzE wrote:
You either write with cross platform in mind, or you don't.
The main problem i see here (maybe i'm wrong) is .NET, since the game depends on libraries of .NET and .NET is a framework of Microsoft so they make sure you are caught on the platform once you start write code for it, you can't change it to cross platform easily.
There is some effort in porting .NET to cross-platform called Mono, but it is somewhat behind and probably will never port some important libraries like Windows Presentation Foundation (WPF).
Also some of the devs were bought (xamarin) to develop .NET Core, a Open Source .NET rebuild from Microsoft with fewer element tailored to the needs of the cloud.
All in all it's pretty complicated with all the framework stuff and corporate interests.
If you want cross platform, you better stay away from closed source proprietary frameworks owned by a company thats very interested in keeping you locked in the ecosystem.
However i really wonder why there is a MacOs X port of the game, if it isn't heavily wrapped in wine, the assumption above may be wrong and peppy just don't want to support linux for whatever reason.
That's awesome! I'll definitely try it sometime on Ubuntu 16.04 when I've got time.Espionage724 wrote:
I have some new notes on getting osu! to run here: https://wiki.realmofespionage.xyz/games:wine:osu
I've only tested it on Solus, but I see no reason why it wouldn't work fine on any other mainstream distro. This provides a plain install of osu! with no additional tweaking (in my experience, I've had no latency issues on the computers I've used). CJK fonts are untested (if they're broken, winetricks cjkfonts should fix that)
dotnet40 is still the only dotnet package needed (I'm still a bit curious why dotnet45 is being used by some people; does it actually solve anything?)
Not entirely sure if it's harmful, but I'm pretty sure it has the potential for more problems if anything. I'm not aware of anything that dotnet45 and its massive dependency set would solve that isn't provided solely with dotnet40.Chaosemerald wrote:
That's awesome! I'll definitely try it sometime on Ubuntu 16.04 when I've got time.
dotnet45 is a total pain in the arse to install (and I think it's harmful too..?) and osu! works fine with dotnet40. I don't understand why people would install dotnet45, when dotnet40 is much more easier to install
What GPU do you have and what drivers are you using?vroomsegway wrote:
Ubuntu 16 04 1
Mouse is not responsive at all ;-;
Putting the settings on Raw / absolute raw makes the mouse only move on the half of my monitor
Putting it without raw, it delays and completely randomize the speed of the cursor.
Tried both on fullscreen and windows-mode ( also with and without letterbox )
Im using a steelseries kana v2.
Is there any way to fix this?
I tried installing the driver (steelseries engine 2) through wine but didnt worked. Gave me lots of errors.
The amount of work is pretty minimal nowadays (with the guide in my sig, you can copy/paste the lines and end up with a working set-up). osu! nowadays only has an OpenGL renderer.Ludd wrote:
I honestly gave up after a while of trying to run osu! on any version of Ubuntu I have on any device, it was always slow and jittery. Plus it took way too much work to get it to even function at subpar 50 fps. That's when I gave up and went back to playing on Windows 10 with everything smooth. I do recommend though if you are going to be running osu! on Linux that you try using OpenGL and changing the capped framerates off of VSync (if it even is in the first place) as I find that VSync is broken in a lot of games on Linux.
I had the same problems as you, and the problem was wine 1.7, it's not the last version, try installing wine staging, run winecfg and in the tab "staging" check "Enable_CSMT for better graphic performance" it will allow wine to multithread. it actually gave me a 300 fps boost, hope you will have the same :bLudd wrote:
I honestly gave up after a while of trying to run osu! on any version of Ubuntu I have on any device, it was always slow and jittery. Plus it took way too much work to get it to even function at subpar 50 fps. That's when I gave up and went back to playing on Windows 10 with everything smooth. I do recommend though if you are going to be running osu! on Linux that you try using OpenGL and changing the capped framerates off of VSync (if it even is in the first place) as I find that VSync is broken in a lot of games on Linux.
Can you confirm this happening still? osu! nowadays should only use OpenGL (not sure if there's a fallback to D3D) and CSMT (as-documented) only affects Direct3D.dodorama wrote:
...try installing wine staging, run winecfg and in the tab "staging" check "Enable_CSMT for better graphic performance" it will allow wine to multithread. it actually gave me a 300 fps boost, hope you will have the same :b
Nope, the prefix will be preserved if you remove and/or update Wine. If you change Wine versions, then upon osu!'s next start, you'll get a quick message about the prefix updating and then it should start.Chaosemerald wrote:
Not really related to osu!, but I just realized that the version of Wine in the Ubuntu repositories is really old (1.6.2) and I want to install latest version of Wine Staging using the official Wine PPA for Ubuntu. Will the prefixes disappear, if I uninstall Wine?
Also, osu! is apparently installed in a folder in my downloads folder. Will that go away too?
Sorry, i didn't see your post because i don't check osu often. and yes, CSMT still works with osu!.Espionage724 wrote:
Can you confirm this happening still? osu! nowadays should only use OpenGL (not sure if there's a fallback to D3D) and CSMT (as-documented) only affects Direct3D.dodorama wrote:
...try installing wine staging, run winecfg and in the tab "staging" check "Enable_CSMT for better graphic performance" it will allow wine to multithread. it actually gave me a 300 fps boost, hope you will have the same :b
Oh, I see. Thanks for the reply ^^Espionage724 wrote:
Nope, the prefix will be preserved if you remove and/or update Wine. If you change Wine versions, then upon osu!'s next start, you'll get a quick message about the prefix updating and then it should start.Chaosemerald wrote:
Not really related to osu!, but I just realized that the version of Wine in the Ubuntu repositories is really old (1.6.2) and I want to install latest version of Wine Staging using the official Wine PPA for Ubuntu. Will the prefixes disappear, if I uninstall Wine?
Also, osu! is apparently installed in a folder in my downloads folder. Will that go away too?