Black Myth: Wukong

Black Myth: Wukong

Not enough ratings
[Linux] Frame Generation / Генерация кадров
By mrBars1k
Инструкция по включению генерации кадров на GNU/Linux.
Instructions for enabling frame generation on GNU/Linux.

! ВАЖНО | IMPORTANT

FG доступно только для видеокарт 40хх и 50хх серии или выше.
FG is only available for GPUs of the 40xx and 50xx series and higher.

Все тесты проводились на Arch Linux с Wayland и менеджере окон Hyprland - RTX 5060 TI
All tests were performed on Arch Linux on Wayland with window manager Hyprland - RTX 5060 TI.

ENGLISH VERSION OF THE GUIDE BELOW
   
Award
Favorite
Favorited
Unfavorite
Preparation / Подготовка
Для начала, вам нужно включить совместимость через Proton v10 в настройках игры в стиме.

Проверьте, что игра запускается в этом режиме.
Если не получается, то попробуйте другую версию протона или перезапустите пк.
По какой-то причине, у меня это заработало не сразу.

Под настройками DLSS будет несколько опции на китайском языке (на текущий момент это так), они не кликабильные и серые.



First of all, you need to select compatibility via Proton v10 in the game properties in steam.

Check that the game starts in this mode.
If it doesn't work, try another version of Proton or restart your PC.
For some reason, it didn't work for me right away.

Under the DLSS settings there will be a setting in Chinese (at the moment this is the case), it is responsible for frame generation. It will be gray and not clickable.
Guide in Russian


Далее, вам нужно найти где установлен Steam с игрой и также где установлен Proton нужной версии.

1. Проверьте, есть ли у вас директория:
/steamapps/compatdata/2358720/pfx \

Для примера, мой путь выглядел так:
/home/mrbars1k/mnt/vendetta/SteamLibrary/steamapps/compatdata/2358720/pfx \
2358720 - это app_id игры.

2. Затем, найдите где установлен Proton. У меня он на другом диске, но у вас может быть рядом.
/steamapps/common/Proton\ 10.0/files/bin-wow64/wine

Мой путь выглядел так:
/home/mrbars1k/.steam/steam/steamapps/common/Proton\ 10.0/files/bin-wow64/wine



3. Если всё в порядке, то выполните команду в терминале, чтобы открыть редактор реестра windows внутри proton:
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/2358720/pfx \
$HOME/.steam/steam/steamapps/common/Proton\ Hotfix/files/bin-wow64/wine regedit
! Это одна длинная строчка!

4. Найдите путь:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers

Скорее всего, GraphicsDrivers там не будет там и надо его создать.

ПКМ по папке Control -> new -> Key -> Назовите GraphicsDrivers.

Перейдите в эту папку и справа ПКМ по пустой области -> new -> DWORD Value -> Назоватие HwSchMode.

Редактируйте его и укажите значение 2 (получится 0x00000002).

Можно закрывать.



В свойствах игры в Steam, добавьте параметр запуска:
DXVK_NVAPI_ENABLE=1

Наслаждайтесь игрой с генерацией кадров.
Guide in English


Next, you need to find where Steam with the game is installed and also where the Proton of the required version is installed.

1. Check if you have the directory:
/steamapps/compatdata/2358720/pfx \

For example, my path looked like this:
/home/mrbars1k/mnt/vendetta/SteamLibrary/steamapps/compatdata/2358720/pfx \
2358720 - this is the app_id of the game.

2. Then, find where Proton is installed. I have it on another drive, but yours may be nearby.
/steamapps/common/Proton\ 10.0/files/bin-wow64/wine

My path looked like this:
/home/mrbars1k/.steam/steam/steamapps/common/Proton\ 10.0/files/bin-wow64/wine

3. If everything is OK, then run the command in the terminal to open the windows registry editor inside proton:
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/2358720/pfx \
$HOME/.steam/steam/steamapps/common/Proton\ Hotfix/files/bin-wow64/wine regedit
! This is one big line!

4. Find the path:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers

Most likely, GraphicsDrivers will not be there and you need to create it.

Right-click on the Control folder -> new -> Key -> Name it GraphicsDrivers.

Go to this folder and right-click on the empty area on the right -> new -> DWORD Value -> Name HwSchMode.

Edit it and specify the value 2 (you will get 0x00000002).

You can close it.



In the game properties in Steam, add the launch parameter:
DXVK_NVAPI_ENABLE=1

Enjoy the game with frame generation.
Screenshots / Скриншоты
Чтобы было на что ориентироваться / To have something to focus on: