help, when i execute the script the install window starts oppening and closing in an infinite bucle, i'm trying to install it in manjaro
console error : https://imgur.com/KicAhkQ.png
console error : https://imgur.com/KicAhkQ.png
THANK YOUMarshNello wrote:
final result:
https://youtu.be/Ve4qr3jmDbM
A little introduction:
osu! working fine on Linux has been a thing for many years now, especially thanks to ThePoon's patches and Franc[e]sco's guide (https://osu.ppy.sh/community/forums/topics/367783), which are probably the best methods even now. However, in my case both ended up in a broken installation, so I kept searching for ways to install osu! until I actually managed to run it perfectly thanks to some workarounds. It's a pretty easy guide, written especially for beginners (just like me xd), so if you want to install osu! on your Linux distro, just keep reading e.e
PREREQUISITES:
install the following: git, build-essential, dialog, curl.
- sudo apt install git
- sudo apt install build-essential
- sudo apt install dialog
- sudo apt install curl
install wine (the script will do it itself but it's better to have it):
https://wiki.winehq.org/Download
also make sure you installed proprietary drivers for your gpu if you need to
guide for it: https://itsfoss.com/install-additional-drivers-ubuntu/
GUIDE:
to set up our osu!, we'll use osu-install script from yurisuki (credits to him):
https://gitlab.com/yurisuki/osu-install
just follow the instructions here and install it: https://gitlab.com/yurisuki/osu-install#how-do-i-execute-this-script
once you start the script, just follow its instructions.
the script was supposed to do everything automatically, from installing osu! to the patch, but it actually crashes after installing osu! and running it. That's fine, because we'll only use it for the installation indeed.
the steps to make it work are:
- step 1: run it the first time, follow the script's instructions which will install everything but, in the part supposed to run osu!, it shouldn't start (if it starts, skip to step 3); so run the script again.
- step 2: follow the script's instructions again until it starts osu! (if you get "osu! crashed", just click on restart osu! and it should be working now.)
- step 3: the game is now working fine: close it, press whatever key you want on the terminal and the script should crash. that's fine, move on to step 4.
- step 4: run the script again for the last time and follow whatever it says, until it runs osu! again. When it starts, close the game and close the terminal by pressing any key.
our osu! is now completely set up and working fine, but we gotta apply thepoon's patch for latency and create a script to launch (or eventually, kill) the game.
LATENCY PATCH:
let's begin with the patch:
- open the terminal as root using sudo su
sudo su
- type:
mkdir -p /etc/pulse/daemon.conf.d/
echo "high-priority = yes
nice-level = -15
realtime-scheduling = yes
realtime-priority = 50
resample-method = speex-float-0
default-fragments = 2 # Minimum is 2
default-fragment-size-msec = 2 # You can set this to 1, but that will break OBS audio capture." | sudo tee -a /etc/pulse/daemon.conf.d/10-better-latency.conf
(WARNING: if after applying this the system's audio is garbage, increase default-fragment-size-msec by 2, save and reboot)
- then type:
nano /etc/security/limits.conf
- scroll to the bottom of the file and add:
echo "USERNAME - nice -20
USERNAME - rtprio 99" >> /etc/security/limits.conf
- replace USERNAME with your username, save the file with ctrl+o and exit with ctrl+x.
- now open /etc/pulse/default.pa with
nano -c /etc/pulse/default.pa
- here somewhere near lines 40/50 you should find this line:
load-module module-udev-detect
- once you find it, add tsched=0 to the end of it, so like this:
load-module module-udev-detect tsched=0
save the file again with ctrl+o and exit with ctrl+x.
the patch is now applied. reboot your pc to apply the changes and go on with the guide e.e
OSU LAUNCHER:
we're almost done! the last thing to do is create a script to start the game.
to do that:
- open the terminal and cd to your osu! folder (replace username with yours):
cd /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/
(if z: isn't your drive here, just search for the right one)
- type this to create the osu script:
cat > osu << "EOF"
- now paste in the terminal the following (always replacing username with yours):
#!/bin/sh
export STAGING_AUDIO_DURATION=5000
export vblank_mode=0
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine_osu
wine /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/osu\!.exe "$@"
EOF
- in the end launch these two commands.
sudo mv osu /usr/bin/
sudo chmod +x /usr/bin/osu
you can now launch your osu! by typing "osu" in the terminal!
to create a script to kill osu!, just in case it won't launch for any reason, let's do this:
- open the terminal and cd to your osu! folder (replace username with yours):
cd /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/
- type this to create the osukill script:
cat > osukill << "EOF"
- now paste in the terminal the following:
#!/bin/sh
export vblank_mode=0
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine_osu
wineserver -k
EOF
- in the end launch again these two commands.
sudo mv osukill /usr/bin/
sudo chmod +x /usr/bin/osukill
you can now kill osu by typing osukill in the terminal when you need to
END
And that's it! Your osu! should now work perfectly fine!
Last but not least: you can also create a desktop shortcut for it, by left clicking on your desktop and selecting "create a launcher". It should look like this:
Well, that's the end of the guide! Thanks for reading, and have fun playing osu! on your linux <33
This is the maximum performance I got even using that configuration, Spec (2gb ram, 1.35ghz cpu, no graphic card)(Lubuntu 20.04 lts)MarshNello wrote:
final result:
https://youtu.be/Ve4qr3jmDbM
A little introduction:
osu! working fine on Linux has been a thing for many years now, especially thanks to ThePoon's patches and Franc[e]sco's guide (https://osu.ppy.sh/community/forums/topics/367783), which are probably the best methods even now. However, in my case both ended up in a broken installation, so I kept searching for ways to install osu! until I actually managed to run it perfectly thanks to some workarounds. It's a pretty easy guide, written especially for beginners (just like me xd), so if you want to install osu! on your Linux distro, just keep reading e.e
PREREQUISITES:
install the following: git, build-essential, dialog, curl.
- sudo apt install git
- sudo apt install build-essential
- sudo apt install dialog
- sudo apt install curl
install wine (the script will do it itself but it's better to have it):
https://wiki.winehq.org/Download
also make sure you installed proprietary drivers for your gpu if you need to
guide for it: https://itsfoss.com/install-additional-drivers-ubuntu/
GUIDE:
to set up our osu!, we'll use osu-install script from yurisuki (credits to him):
https://gitlab.com/yurisuki/osu-install
just follow the instructions here and install it: https://gitlab.com/yurisuki/osu-install#how-do-i-execute-this-script
once you start the script, just follow its instructions.
the script was supposed to do everything automatically, from installing osu! to the patch, but it actually crashes after installing osu! and running it. That's fine, because we'll only use it for the installation indeed.
the steps to make it work are:
- step 1: run it the first time, follow the script's instructions which will install everything but, in the part supposed to run osu!, it shouldn't start (if it starts, skip to step 3); so run the script again.
- step 2: follow the script's instructions again until it starts osu! (if you get "osu! crashed", just click on restart osu! and it should be working now.)
- step 3: the game is now working fine: close it, press whatever key you want on the terminal and the script should crash. that's fine, move on to step 4.
- step 4: run the script again for the last time and follow whatever it says, until it runs osu! again. When it starts, close the game and close the terminal by pressing any key.
our osu! is now completely set up and working fine, but we gotta apply thepoon's patch for latency and create a script to launch (or eventually, kill) the game.
LATENCY PATCH:
let's begin with the patch:
- open the terminal as root using sudo su
sudo su
- type:
mkdir -p /etc/pulse/daemon.conf.d/
echo "high-priority = yes
nice-level = -15
realtime-scheduling = yes
realtime-priority = 50
resample-method = speex-float-0
default-fragments = 2 # Minimum is 2
default-fragment-size-msec = 2 # You can set this to 1, but that will break OBS audio capture." | sudo tee -a /etc/pulse/daemon.conf.d/10-better-latency.conf
(WARNING: if after applying this the system's audio is garbage, increase default-fragment-size-msec by 2, save and reboot)
- then type:
nano /etc/security/limits.conf
- scroll to the bottom of the file and add:
echo "USERNAME - nice -20
USERNAME - rtprio 99" >> /etc/security/limits.conf
- replace USERNAME with your username, save the file with ctrl+o and exit with ctrl+x.
- now open /etc/pulse/default.pa with
nano -c /etc/pulse/default.pa
- here somewhere near lines 40/50 you should find this line:
load-module module-udev-detect
- once you find it, add tsched=0 to the end of it, so like this:
load-module module-udev-detect tsched=0
save the file again with ctrl+o and exit with ctrl+x.
the patch is now applied. reboot your pc to apply the changes and go on with the guide e.e
OSU LAUNCHER:
we're almost done! the last thing to do is create a script to start the game.
to do that:
- open the terminal and cd to your osu! folder (replace username with yours):
cd /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/
(if z: isn't your drive here, just search for the right one)
- type this to create the osu script:
cat > osu << "EOF"
- now paste in the terminal the following (always replacing username with yours):
#!/bin/sh
export STAGING_AUDIO_DURATION=5000
export vblank_mode=0
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine_osu
wine /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/osu\!.exe "$@"
EOF
- in the end launch these two commands.
sudo mv osu /usr/bin/
sudo chmod +x /usr/bin/osu
you can now launch your osu! by typing "osu" in the terminal!
to create a script to kill osu!, just in case it won't launch for any reason, let's do this:
- open the terminal and cd to your osu! folder (replace username with yours):
cd /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/
- type this to create the osukill script:
cat > osukill << "EOF"
- now paste in the terminal the following:
#!/bin/sh
export vblank_mode=0
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine_osu
wineserver -k
EOF
- in the end launch again these two commands.
sudo mv osukill /usr/bin/
sudo chmod +x /usr/bin/osukill
you can now kill osu by typing osukill in the terminal when you need to
END
And that's it! Your osu! should now work perfectly fine!
Last but not least: you can also create a desktop shortcut for it, by left clicking on your desktop and selecting "create a launcher". It should look like this:
Well, that's the end of the guide! Thanks for reading, and have fun playing osu! on your linux <33
Yeah I noticed it doesn't work on Arch-based distros (idk why tho)Destac wrote:
I have followed the steps and in the end wine gives an error and does not execute it...
I'm with Manjaro.
https://imgur.com/a/rTDopbn
i think aur package is somehow broken, try installing without aur package.DuckWeeb79 wrote:
help i got a error message after install. osu script something has fucked up.
Log: Oh no, osu! didn't install.
Possibilities are:
You've changed the installation direction.
osu! installer
didn't run.
Some dependencies didn't install.
Try:
Run the script again
Leave the installation direction as it should be (default selected by osu! installer)
If that didn't help try reporting it on GitHub. Thank you. <3.
what do i do i even did the script again its from the aur it still did not work.
yay osuassuming your AUR helper is yay and you already have wine installed, is all it takes. Latency shouldn't be an issue thanks to PipeWire.
This is for osu!lazer; this guide pertains to stable, which is why it's a bit more involved since it's native to Windows and Wine is required to get it working.Project Railgun wrote:
osu! is much easier to install on Arch Linux. You don't have to run any commands like this, just use the AUR package.yay osuassuming your AUR helper is yay and you already have wine installed, is all it takes. Latency shouldn't be an issue thanks to PipeWire.
if you mess up with installation it fucks up the audio latency (learnt it hard way) if you dont then its almost perfectly synced with music. linux is much more lighter than windows so its more unlikely to affect the equipment performance.Assert wrote:
Hi, I was wondering if anyone has info on the difference in latency between Windows and Linux? Does it increase/stay the same/decrease? I currently get around 2ms. I want to switch to Linux but I'm worried that the latency might go up.
Well, Windows WASAPI shared mode (compatibility mode audio off) is about 50-60msm DirectSound (compatibility mode audio on) is about 100ms. We on Linux have pushed our setups to 2ms audio latency on osu. Also the ms you see on right bottom corner is your video framebuffer latency, not audio latency.Assert wrote:
Hi, I was wondering if anyone has info on the difference in latency between Windows and Linux? Does it increase/stay the same/decrease? I currently get around 2ms. I want to switch to Linux but I'm worried that the latency might go up.
Pipewire? If so. https://wiki.archlinux.org/title/User:Katoumegumi#No_sound_when_opening_the_gameWhistle_Python wrote:
i can't hear anything from osu
here's my console
https://content.biomooping.tk/Mb3sOCAoV9.txt
Try installing these libraries- W i n t e r - wrote:
i get
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 403
Current serial number in output stream: 404
im on arch and idk how to fix it
sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba dosbox
Not really as of right now, it shouldn't bother performance at allOceana wrote:
Is compatibility mode mandatory? I heard it has an impact on frames
cviauPeoy wrote:
This is the maximum performance I got even using that configuration, Spec (2gb ram, 1.35ghz cpu, no graphic card)(Lubuntu 20.04 lts)MarshNello wrote:
final result:
https://youtu.be/Ve4qr3jmDbM
A little introduction:
osu! working fine on Linux has been a thing for many years now, especially thanks to ThePoon's patches and Franc[e]sco's guide (https://osu.ppy.sh/community/forums/topics/367783), which are probably the best methods even now. However, in my case both ended up in a broken installation, so I kept searching for ways to install osu! until I actually managed to run it perfectly thanks to some workarounds. It's a pretty easy guide, written especially for beginners (just like me xd), so if you want to install osu! on your Linux distro, just keep reading e.e
PREREQUISITES:
install the following: git, build-essential, dialog, curl.
- sudo apt install git
- sudo apt install build-essential
- sudo apt install dialog
- sudo apt install curl
install wine (the script will do it itself but it's better to have it):
https://wiki.winehq.org/Download
also make sure you installed proprietary drivers for your gpu if you need to
guide for it: https://itsfoss.com/install-additional-drivers-ubuntu/
GUIDE:
to set up our osu!, we'll use osu-install script from yurisuki (credits to him):
https://gitlab.com/yurisuki/osu-install
just follow the instructions here and install it: https://gitlab.com/yurisuki/osu-install#how-do-i-execute-this-script
once you start the script, just follow its instructions.
the script was supposed to do everything automatically, from installing osu! to the patch, but it actually crashes after installing osu! and running it. That's fine, because we'll only use it for the installation indeed.
the steps to make it work are:
- step 1: run it the first time, follow the script's instructions which will install everything but, in the part supposed to run osu!, it shouldn't start (if it starts, skip to step 3); so run the script again.
- step 2: follow the script's instructions again until it starts osu! (if you get "osu! crashed", just click on restart osu! and it should be working now.)
- step 3: the game is now working fine: close it, press whatever key you want on the terminal and the script should crash. that's fine, move on to step 4.
- step 4: run the script again for the last time and follow whatever it says, until it runs osu! again. When it starts, close the game and close the terminal by pressing any key.
our osu! is now completely set up and working fine, but we gotta apply thepoon's patch for latency and create a script to launch (or eventually, kill) the game.
LATENCY PATCH:
let's begin with the patch:
- open the terminal as root using sudo su
sudo su
- type:
mkdir -p /etc/pulse/daemon.conf.d/
echo "high-priority = yes
nice-level = -15
realtime-scheduling = yes
realtime-priority = 50
resample-method = speex-float-0
default-fragments = 2 # Minimum is 2
default-fragment-size-msec = 2 # You can set this to 1, but that will break OBS audio capture." | sudo tee -a /etc/pulse/daemon.conf.d/10-better-latency.conf
(WARNING: if after applying this the system's audio is garbage, increase default-fragment-size-msec by 2, save and reboot)
- then type:
nano /etc/security/limits.conf
- scroll to the bottom of the file and add:
echo "USERNAME - nice -20
USERNAME - rtprio 99" >> /etc/security/limits.conf
- replace USERNAME with your username, save the file with ctrl+o and exit with ctrl+x.
- now open /etc/pulse/default.pa with
nano -c /etc/pulse/default.pa
- here somewhere near lines 40/50 you should find this line:
load-module module-udev-detect
- once you find it, add tsched=0 to the end of it, so like this:
load-module module-udev-detect tsched=0
save the file again with ctrl+o and exit with ctrl+x.
the patch is now applied. reboot your pc to apply the changes and go on with the guide e.e
OSU LAUNCHER:
we're almost done! the last thing to do is create a script to start the game.
to do that:
- open the terminal and cd to your osu! folder (replace username with yours):
cd /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/
(if z: isn't your drive here, just search for the right one)
- type this to create the osu script:
cat > osu << "EOF"
- now paste in the terminal the following (always replacing username with yours):
#!/bin/sh
export STAGING_AUDIO_DURATION=5000
export vblank_mode=0
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine_osu
wine /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/osu\!.exe "$@"
EOF
- in the end launch these two commands.
sudo mv osu /usr/bin/
sudo chmod +x /usr/bin/osu
you can now launch your osu! by typing "osu" in the terminal!
to create a script to kill osu!, just in case it won't launch for any reason, let's do this:
- open the terminal and cd to your osu! folder (replace username with yours):
cd /home/username/.wine_osu/dosdevices/z:/home/username/Downloads/
- type this to create the osukill script:
cat > osukill << "EOF"
- now paste in the terminal the following:
#!/bin/sh
export vblank_mode=0
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine_osu
wineserver -k
EOF
- in the end launch again these two commands.
sudo mv osukill /usr/bin/
sudo chmod +x /usr/bin/osukill
you can now kill osu by typing osukill in the terminal when you need to
END
And that's it! Your osu! should now work perfectly fine!
Last but not least: you can also create a desktop shortcut for it, by left clicking on your desktop and selecting "create a launcher". It should look like this:
Well, that's the end of the guide! Thanks for reading, and have fun playing osu! on your linux <33
Was a solution found? I am having a very similar problem:leny wrote:
I'm having trouble running osu! after installing the wine-osu 6.14 package (it launched successfully before)
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/leny/.local/share/lutris/runners/wine/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
linux newbie here, any help?
Assuming you're using Ubuntu (or anything Debian-based) you might fix installing these:vat_3046 wrote:
Was a solution found? I am having a very similar problem:leny wrote:
I'm having trouble running osu! after installing the wine-osu 6.14 package (it launched successfully before)
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/leny/.local/share/lutris/runners/wine/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
linux newbie here, any help?
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
osu! ran once for me as well.
Another Linux newbie here.
sudo apt-get updateIf it still doesn't work, you might just have to upgrade your system:
sudo apt-get install libc6 build-essential
sudo apt-get upgrade
Sadly did not do the trick (for me) but thanks for helpMarshNello wrote:
Assuming you're using Ubuntu (or anything Debian-based) you might fix installing these:vat_3046 wrote:
Was a solution found? I am having a very similar problem:leny wrote:
I'm having trouble running osu! after installing the wine-osu 6.14 package (it launched successfully before)
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/leny/.local/share/lutris/runners/wine/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
linux newbie here, any help?
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
osu! ran once for me as well.
Another Linux newbie here.sudo apt-get updateIf it still doesn't work, you might just have to upgrade your system:
sudo apt-get install libc6 build-essentialsudo apt-get upgrade
Update: check the troubleshooting box e.eleny wrote:
Sadly did not do the trick (for me) but thanks for helpMarshNello wrote:
Assuming you're using Ubuntu (or anything Debian-based) you might fix installing these:vat_3046 wrote:
Was a solution found? I am having a very similar problem:leny wrote:
I'm having trouble running osu! after installing the wine-osu 6.14 package (it launched successfully before)
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/leny/.local/share/lutris/runners/wine/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
linux newbie here, any help?
wine: could not load ntdll.so: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/wine-osu/bin/../lib32/wine/i386-unix/ntdll.so)
osu! ran once for me as well.
Another Linux newbie here.sudo apt-get updateIf it still doesn't work, you might just have to upgrade your system:
sudo apt-get install libc6 build-essentialsudo apt-get upgrade
Sooo first of all: I assume you have a 240hz monitor, but Wine should detect the same refresh rate of the system, so the issue might be your drivers or some dependency (?) I've never really used Wayland myself so xd- sylvie - wrote:
Heya. I have stuff working pretty alright but there are still slight frame drops, and most notably, the framerate is capped at 144hz. How do I remedy this stuff. I am on Fedora 35 (wayland and pipewire lol)