Alpine as a gaming distro

I moved all my x86_64 sh*tboxes over to Alpine a while back and wondered if it would be possible to use this little lovely distro for gaming (I know). However, since it’s based on the Linux kernel, it’s not impossible and I have to admit I’m quite surprised by how easily it went.

You need to switch kernel to linux-stable (idk if LTS includes ntsync) and then modprobe ntsync.

The rest is straightforward: just install wine-staging and dxvk.

Finally, you need to prepare launcher script - something like this:

#!/bin/sh

# Wine prefix path

export WINEPREFIX="$HOME/.wine"

# Use ntsync instead of esync and fsync

export WINEESYNC=0

export WINEFSYNC=0

# Framelimiter (optional)

export DXVK_MAX_FRAMERATE=60

# Game path

GAME_PATH="$HOME/Games/GTASA/gta_sa.exe"

# Per game additional settings

export WINEDLLOVERRIDES="winemenubuilder.d=n;dinput8=n,b"

# Launch game (low res cuz I have uhd620)

wine "$GAME_PATH" -width=1280 -height=720 -fullscreen

Then just chmod +x game.sh, drop game.sh into the game directory, and boom – you've got an Alpine as a gaming distro XD

Edit: And create DXVK symlinks! ln -sf /usr/share/dxvk/x64/.dll "$HOME/.wine/drive_c/windows/system32/" && ln -sf /usr/share/dxvk/x32/.dll "$HOME/.wine/drive_c/windows/syswow64/"

reddit.com
u/drneocortex17 — 9 days ago

Can I visit xhamster site when im using wayland?

Like xhamster starts with X so idk if it would works on wayland. Should i look for alternative site or maybe something like xwayland would fix my issue?

u/drneocortex17 — 2 months ago