HGL
foreign-sapphire

Warriors of the Nile 2 & Others

On nearly every single game launch I get the following pop-up with message:
Failed to initialize graphics.
Make sure you have DirectX 11 installed, have up to date
drivers for your graphics card and have not disabled
3D acceleration in display settings.
InitializeEngineGraphics failed
Failed to initialize graphics.
Make sure you have DirectX 11 installed, have up to date
drivers for your graphics card and have not disabled
3D acceleration in display settings.
InitializeEngineGraphics failed
Using the flatpak version on Ubuntu. All drivers are up to date, following the instructions on the GitHub. Programs launch flawlessly on other clients such as Lutris.
11 Replies
foreign-sapphire
foreign-sapphireOP•2y ago
(19:59:45) INFO: [Backend]: Checking if wine version exists: Wine - lutris-GE-Proton8-24-x86_64

(19:59:45) DEBUG: [Backend]: Running Wine command: wineboot --init

(19:59:46) INFO: [DXVKInstaller]: installing dxvk on... /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2

(19:59:46) INFO: [DXVKInstaller]: dxvk already installed!

(19:59:46) INFO: [DXVKInstaller]: installing vkd3d on... /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2

(19:59:46) INFO: [DXVKInstaller]: vkd3d already installed!

(19:59:46) INFO: [Backend]: launching non-native sideloaded: /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2/drive_c/GOG Games/Warriors of the Nile 2/Warriors Of The Nile 2.exe}

(19:59:46) INFO: [Backend]: Checking if wine version exists: Wine - lutris-GE-Proton8-24-x86_64

(19:59:46) DEBUG: [Backend]: Running Wine command: /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2/drive_c/GOG Games/Warriors of the Nile 2/Warriors Of The Nile 2.exe

(19:59:46) DEBUG: [Backend]: Logging to file "/home/infernal/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/xuuiwzG6eQCyJipVr955uJ-lastPlay.log"
(19:59:45) INFO: [Backend]: Checking if wine version exists: Wine - lutris-GE-Proton8-24-x86_64

(19:59:45) DEBUG: [Backend]: Running Wine command: wineboot --init

(19:59:46) INFO: [DXVKInstaller]: installing dxvk on... /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2

(19:59:46) INFO: [DXVKInstaller]: dxvk already installed!

(19:59:46) INFO: [DXVKInstaller]: installing vkd3d on... /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2

(19:59:46) INFO: [DXVKInstaller]: vkd3d already installed!

(19:59:46) INFO: [Backend]: launching non-native sideloaded: /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2/drive_c/GOG Games/Warriors of the Nile 2/Warriors Of The Nile 2.exe}

(19:59:46) INFO: [Backend]: Checking if wine version exists: Wine - lutris-GE-Proton8-24-x86_64

(19:59:46) DEBUG: [Backend]: Running Wine command: /home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2/drive_c/GOG Games/Warriors of the Nile 2/Warriors Of The Nile 2.exe

(19:59:46) DEBUG: [Backend]: Logging to file "/home/infernal/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/xuuiwzG6eQCyJipVr955uJ-lastPlay.log"
Already followed the instructions of reinstalling and repairing the launcher in case of missing dependencies. Doesn't change anything Using lutris-ge, GE-proton, or proton makes no difference as a runner. Same issue.
CommandMC
CommandMC•2y ago
Send in the output of: - nvidia-smi - flatpak list --runtime
foreign-sapphire
foreign-sapphireOP•2y ago
infernal@infernal:~$ nvidia-smi
Fri Dec 1 21:19:47 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.199.02 Driver Version: 470.199.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 N/A | N/A |
| 10% 40C P5 N/A / N/A | 265MiB / 1991MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
infernal@infernal:~$ nvidia-smi
Fri Dec 1 21:19:47 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.199.02 Driver Version: 470.199.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 N/A | N/A |
| 10% 40C P5 N/A / N/A | 265MiB / 1991MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
CommandMC
CommandMC•2y ago
Right, that all looks fine Could you install Wine-GE-latest from the Wine Manager in Heroic & select that in the game settings? Your log seems... strange, the error you mentioned is usually accompanied by messages from DXVK/WineD3D, but there's just nothing in yours
foreign-sapphire
foreign-sapphireOP•2y ago
Already tried that.
CommandMC
CommandMC•2y ago
Hm, did you delete your Wineprefix (/home/infernal/ExtraDrives/hdd2tb/Games/warriors-of-the-nile-2) after changing versions?
foreign-sapphire
foreign-sapphireOP•2y ago
After changing Wine version? Nope The only game I have been consistently able to launch through HGL is Chrono Trigger.
CommandMC
CommandMC•2y ago
Right, try that then That checks out, it's an OpenGL game as far as I know (so DXVK/VKD3D weirdness doesn't apply here)
foreign-sapphire
foreign-sapphireOP•2y ago
Hmm... Did some more testing. By making a completely new prefix in the default HGL sub-directory and then install the program through HGL, the game will launch. However, if you then move it to a different disk or location on the same disk (updating relevant paths in settings), it won't start. Flatseal was used to manage permissions and HGL was given access to the relevant folders. 🤔 Something seems to be very weird when importing already installed games or when trying to point to a different directory.
CommandMC
CommandMC•2y ago
Huh, that's indeed very odd Could you send in game logs of before & after the move?
foreign-sapphire
foreign-sapphireOP•2y ago
Okay, so from what I'm noticing I can conclude the following behaviour: If you 'add game' for something that's already installed (installed via lutris or similar), it won't launch (except the Chrono Trigger case apparently). If you install the game through HGL it will on first launch go into an endless "launching" loop of the application, but completely closing HGL and restarting will on the next launch instance allow the program to launch and behave as it should 🤔

Did you find this page helpful?