18,700
edits
m (moving link to Steam Deck article to hatnote) |
(solution for the sound problem, though it turns out to be due to my testing with a VM, so probably no one needs this advice but me) |
||
Line 1: | Line 1: | ||
{{UpdatedForOniX|1.0.0}} | {{UpdatedForOniX|1.0.0}} | ||
{{Hatnote|If you are looking for help running Oni on the Steam Deck, see [[Playing on the Steam Deck]] for much simpler instructions.}} | {{Hatnote|If you are looking for help running Oni on the Steam Deck, see [[Playing on the Steam Deck]] for much simpler instructions.}} | ||
There is no official support for Oni in the Linux OS family. Nevertheless, it is still possible to run the game on Linux. The [[Anniversary Edition]] Installer can be made to run as well | There is no official support for Oni in the Linux OS family. Nevertheless, it is still possible to run the game on Linux. The [[Anniversary Edition]] Installer can be made to run as well. | ||
==Installing the needed packages== | ==Installing the needed packages== | ||
Line 68: | Line 68: | ||
==Troubleshooting== | ==Troubleshooting== | ||
;Gunfire kills the frame rate | |||
Some users experience a large drop in frame rate when certain actions occur such as firing a gun. This is a sound-related bug which indicates that you didn't follow step 3 under "Preparing the Wine prefix" :-) Make sure to install msacm32 with winetricks. | Some users experience a large drop in frame rate when certain actions occur such as firing a gun. This is a sound-related bug which indicates that you didn't follow step 3 under "Preparing the Wine prefix" :-) Make sure to install msacm32 with winetricks. | ||
;Sound stutters so badly that it's mostly inaudible | |||
This is only known to happen if you are running Linux inside of a VM, particularly Fedora Linux. The audio server, pipewire, does not allow enough headroom for virtualization. This can be fixed by making a copy of the config file: | |||
:<code>mkdir -p ~/.config/wireplumber/main.lua.d</code> | |||
:<code>cp /usr/share/wireplumber/main.lua.d/50-alsa-config.lua ~/.config/wireplumber/main.lua.d</code> | |||
…and then editing ~/.config/wireplumber/main.lua.d/50-alsa-config.lua to change this portion of the file as follows: | |||
["vm.node.defaults"] = { | |||
["api.alsa.period-size"] = 2048, | |||
["api.alsa.headroom"] = 16384, | |||
}, | |||
You may be able to get by with the numbers 1024 and 8192, but if that doesn't work, try raising them to the above figures. Unfortunately, the higher the numbers, the more latency Oni's sound will have. | |||
[[Category:Oni Support]] | [[Category:Oni Support]] |