Obsah

Steam

Steam install

vyzaduje

$ sudo setsebool -P allow_execheap 1

je umisten v rpmfusion repozitarich. Ty je nutne pridat pred vlastni instalaci.

$ sudo yum install steam

STEAM REINSTALL / RESET / CLEAN

$ steam --reset

KOMPILACE SOURCE SDK MOD

To build the Source SDK 2013 on Linux you will need the Steam runtime. Install it using these instructions: Download it here

$ tar xvf steam-runtime-sdk_latest.tar.xz
$ cd steam-runtime-sdk_<version> # (replacing <version> with the version you just unpacked.)
$ ./setup.sh # (Pick your architecture and debug/release preferences and then answer Y to everything else.)
$ ./shell.sh --arch=i386
$ make -f game_<gamename>_linux32.mak

At this point you should have client.so and server.so files to load with the Source SDK Base 2013 of your choice. More instructions on using the Steam runtime can be found in README.txt in the installed runtime directory.

Protontricks

Pro instalaci nastroje protontricks

$ sudo dnf install protontricks

Lze pouzit pokud v dane hre nefunguji napriklad videa. Uprava je platna vzdy pouze pro konkretni hru / aplikaci. Bohuzel zatim nelze jednoduse cely proton setup obnovit, viz https://github.com/ValveSoftware/steam-for-linux/issues/5687

Jde vlastne pouze o wrapper nad starymi dobrymi winetricks takze lze pouzit vsechny stejne volby, kuprikladu i stary dobry –help. Jak tedy na to:

  1. vypneme danou hru / aplikaci
  2. zjistime Steam APPID dane hry / aplikace
    $ protontricks -s <jmeno>

    napr.:

    $ protontricks -s TheRoomThree
    Found the following games:
    The Room Three (456750)
     
    To run Protontricks for the chosen game, run:
    $ protontricks APPID COMMAND
     
    NOTE: A game must be launched at least once before Protontricks can find the game.
  3. ten pouzijeme pro zavolani ve spravnem WINEPREFIX [ ulozene v <cesta do steam knihovny>/steamapps/compatdata/<APPID>/pfx ]
    $ protontricks <APPID> <WINE command>

    napr.:

    $ protontricks 456750 --gui
    $ protontricks 456750 dlls mf
    Executing mkdir -p /mnt/steam/steamapps/compatdata/456750
    ...
    $ protontricks 2568380352 vcrun2019
    Executing mkdir -p /mnt/steam/steamapps/compatdata/2568380352
    ...
  4. a hru / aplikaci opet spustime

Pro debug lze pouzit prikaz „shell“ ktery otevre novy shell s nastavenymi Proton a Wine promennymi ($WINE, $WINEPREFIX, $PROTON_PATH, …).

$ protontricks <APP ID> shell
...
Executing cd /mnt/steam/steamapps/compatdata/374320/pfx/dosdevices/c:
$ "$WINE" Z\:\home\...
$ exit

Vlastni spousteci parametry

Nutne nastavit u kazde hry jako „Pokrocile parametry spusteni“.

gamemoderun VKD3D_CONFIG=no_upload_hvv,dxr,dxr11 PROTON_ENABLE_NVAPI=1 PROTON_ENABLE_NGX_UPDATER=1 MANGOHUD=1 %command%
parametrvolitelnypopis
VKD3D_CONFIG=no_upload_hvvxGame freezes periodically on nvidia 525 driver without the VKD3D_CONFIG=no_upload_hvv argument
VKD3D_CONFIG=dxr,dxr11-Enables DXR, DXR tier 1.1 support if supported by device
PROTON_ENABLE_NVAPI=1-Enable the latest NVAPI to report proper nVidia GPU driver versions and GPU capabilities to games.
PROTON_ENABLE_NGX_UPDATER=1-Enables NGX Core updater for wine / proton
PROTON_HIDE_NVIDIA_GPU=0xPROTON_HIDE_NVIDIA_GPU used to be required to fix a bug where proton would always report an AMD GPU. This bug has been fixed so the variable should no longer be needed but should be tried if you have issues enabling either DLSS or RTX.
PROTON_NO_ESYNC=1xDisables eventfd-based synchronization for proton

https://www.protondb.com/app/1151640

https://wiki.archlinux.org/title/Hardware_raytracing

https://github.com/HansKristian-Work/vkd3d-proton

https://download.nvidia.com/XFree86/Linux-x86_64/520.56.06/README/ngx.html

https://www.reddit.com/r/SteamPlay/comments/9kqisk/tip_for_those_using_proton_no_esync1/

https://github.com/zfigura/wine/blob/esync/README.esync

https://www.gamingonlinux.com/2021/10/proton-experimental-expands-nvidia-dlss-support-on-linux-to-directx-11-titles/page=3/

TROUBLESHOOTING

Zmizela knihovna / Nema exec opravneni

http://www.mameau.com/add-existing-steam-library-folders/

Lze vyresit pres GUI Steamu, ale slozka musi byt prazdna pro opetovne vytvoreni knihovny. Pro obejiti zbytecneho kopirovani muzeme ale knihovnu pridat primo do konfigurace.

~/.local/share/Steam/config/config.vdf
"InstallConfigStore"
{
	"Software"
	{
		"Valve"
		{
			"Steam"
			{
				"BaseInstallFolder_1"		"/opt/steam-nenimisto"
				"BaseInstallFolder_2"		"/mnt/steam"