Created Linux Setup Guide (draft) (markdown)

Ac_K 2021-03-30 02:25:44 +02:00
parent 0d2300e47b
commit 2bdff56013

@ -0,0 +1,77 @@
## I want a good distro with max performance too, which one should I go with?
`Arch Linux` definitely. If you are experienced install it via the wiki/terminal way, if not, dont worry you can use a Live CD with an installer like https://sourceforge.net/projects/blue-arch-installer/
## Which desktop environment should I choose?
For casual or Nvidia users `KDE` is the best choice for performance but looks and configurability too. If you are on `AMD` or `Intel` and you are experienced `Sway` is an awesome tiling, wlroots based, window manager to try.
## I got `Arch` working, how do I install latest mesa drivers (AMD/Intel users)?
One easy way is to add a repo on `/etc/pacman.conf` Edit the file, for example via nano `sudo nano /etc/pacman.conf` and append on the bottom:
```
[mesa-git]
SigLevel = Never
Server = http://pkgbuild.com/~lcarlier/$repo/$arch
```
Make sure to remove any hashtags from multilib if they exist.
Then do (for `AMD` drivers):
```
sudo pacman -Syu mesa-git xf86-video-amdgpu-git lib32-libdrm-git lib32-llvm-git lib32-llvm-libs-git lib32-mesa-git lib32-vulkan-mesa-layers-git libclc-git libdrm-git lldb-git llvm-libs-git llvm-ocaml-git opencl-mesa-git python-sphinx-automodapi vulkan-swrast-git
```
- If you get any conflicts, you can do: `sudo pacman -Rs kdevelop umbrelo`, then repeat the previous command.
- If you are more advanced and you want to compile, I recommend [mesa-git](https://github.com/Frogging-Family/mesa-git) with `llvm-git`.
## How do I install Ryujinx?
One easy way is to use my script, Pinejinx, which creates a desktop shortcut with optimizations for you.
```
bash -c "$(curl -s https://raw.githubusercontent.com/edisionnano/Pine-jinx/main/pinejinx.sh)"
```
Tips for the script:
- If you are on arch you better not use gamemode since `TkG` kernel is a better option.
- If you chose yes on the game and the script told you its not installed you have to install it yourself.
- If you want a terminal shortcut too add `alias ryujinx="~/.local/share/Ryujinx/Ryujinx"` at the bottom of your `rc` file (`.bashrc` for bash, `.zshrc` for zsh, etc.), to be able to call Ryujinx using the command `ryujinx` without any opts, you can add those too ofc.
- Want a bit more performance on AMD or Intel? Edit the `Ryujinx.desktop` file found on `~/.local/share/applications/Ryujinx.desktop` and append `MESA_NO_ERROR=1` after `env`.
## I'm on nvidia, what should I do for performance?
First of all, install latest drivers, the vulkan beta ones usually arent latest.
Secondly on `nvidia-settings` (if you dont have it then install it) change `Image` settings to `High Performance` and disable `Sync` to `VBlank` on `OpenGL Settings`. On `PowerMizer` set `Preferred` mode to `Prefer Maximum Performance`, settings there don't persist log outs. To allow for overclocking and fan control you can run the command `nvidia-xconfig --cool-bits=31` and reboot or log out and in again.
- If you have enabled triple buffering for any reason, disable it. If you don't know what this is then ignore this step.
- If you have a laptop with dual graphics, switch to Nvidia only since Ryujinx won't work with prime offloading.
## I'm on AMD, what should I do for performance?
Download `CoreCTRL` and either set performance mode to `Fixed>High` or if you are experienced with hardware choose `Manual Mode`.
## How do I get even more performance?
First of all make sure you disable the compositor when gaming, the toggle shortcut on `KDE` is `Shift+Alt+F12`, the windows should not have shadows after this. Secondly make sure you enable `XMP/DOCP` from your `BIOS Settings`. Thirdly, you can get a custom kernel, I recommend [Linux TkG](https://github.com/Frogging-Family/linux-tkg).
One example of a `customization.cfg` file for a Ryzen 3600 with AMD GPU can be [found here](https://cdn.discordapp.com/attachments/790357964749406249/823687653030363186/customization-2.cfg). You can ask on our discord in #support to get one if needed!
## Ryujinx doesn't recognize my controller, what can I do?
Make sure you plug and connect your controller BEFORE opening Ryujinx, while in controller settings move the sticks a bit then hit refresh. You dont have to map it, just load the default profile.
## I get a "Failed to make context current" error, what shall I do?
That's a known problem which a user have tackled with a hack, you can apply the temporary solution {here](https://github.com/Ryujinx/Ryujinx/pull/1998/files) and compile.
## How do I install packages from the Arch User Repository (AUR) with ease?
The best thing you can do is get an `AUR` helper like `Yay` or `Paru`, simply do:
```
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
```
Then just do `yay` following the name of the package.
If you have any questions don't hesitate to ask on our Discord.