• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

maat-re

Corporal
46 Badges
Dec 5, 2022
32
5
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
Short summary of your issue
Linux NVidia Vulkan Problem

Game Version
1.2.7

What OS are you playing on?
Linux

Do you have mods enabled?
No

Have you tried verifying your game files?
Yes

How much "pain" is this causing you?
5

Please explain the issue you experienced in the most condensed way possible
Game freezes right before the main menu would appear, there is a ding like it does happen, but the video gets stuck on loading.
In the logs i see errors mentioning ErrorDeviceLost.
The detailed logs can be found in the linked thread, or feel free to ask me for any debug info
Refer to the thread: https://forum.paradoxplaza.com/foru...tarting-properly-via-steam-on-ubuntu.1555900/

To my understanding this is a new issue related to either Nvidia driver or Vulkan itself. It may also be specific for hybrid GPU i have (and the other guy in the thread above, i believe)

The game does work under Proton ( GE -Proton7-24 ).
My GPU - Ryzen 7 4800H
nVidia driver - 525.60.11
Mesa - 22.3.0

PS i had to attach logs from the previous thread, which aren't mine. Can't start a thread without attach. Tell me which logs you need and where to find them.

Please explain how to reproduce the issue
Start the game having the same software and hardware i guess

Is there anything else you think could help us identify/replicate the issue?
All the relevant info should be here or in the thread i linked. Anything else - feel free to ask me

I have attached a save game
No

Upload Attachment
File(s) attached
 

Attachments

  • logs.zip
    15,9 KB · Views: 0
Last edited:
Hey maat-re!

Could you please update the title to the latest patch 1.2.7? We'd like to confirm this behavior is not caused due to an outdated version and that it works correctly with both GPU and title latest releases.

Thank you very much!
 
As we wait for the update on the status that you have reported, we'll move your post to Tech Support. Our team will be able to provide you with more specific help with the issue you have reported. Thanks!
 
Hey maat-re!

Could you please update the title to the latest patch 1.2.7? We'd like to confirm this behavior is not caused due to an outdated version and that it works correctly with both GPU and title latest releases.

Thank you very much!
It is NOT fixed on latest version. Matter of fact it's worse as the game won't even launch at all. Crashes after launcher -> play. I no longer remember where to find any meaningful logs about this crash
 
If you run the game from ./Victoria3 in a terminal command line, what output do you get there?
 
It freezes after this output:
➜ binaries ./victoria3
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
Warning: 7 log categories not defined in log_settings_live.json
cw_ecs
cw_graphics
cw_gui
cw
Game State Validity
Game AI
Game Tests

[S_API FAIL] Tried to access Steam interface SteamUser020 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamUtils009 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 before SteamAPI_Init succeeded.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 4
Serial number of failed request: 290
Current serial number in output stream: 298
 
No mention of Vulkan or any graphics issue there. Does that generate entries in any Linux logs that might shine more light on those codes?

I don't suppose the new nVidia driver out the other day helps matters?
 
So i tried this new driver and it's totally broken for me. Rolled back and tried some launch params with the game. I got the logs this time and from them i can tell that although i can influence the order in which the GPUs are detected, the game always chooses the integrated one, which is probably why it won't launch.

Older logs (postfixed with 1) are generated with params:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
the newer had these
DRI_PRIME=1 DXVK_FILTER_DEVICE_NAME=NVIDIA %command%

Both didn't work but gave different logs
 

Attachments

  • logs.zip
    12,2 KB · Views: 0
Yes, it is trying to use the AMD video driver/hardware there not the nVidia. In Windows it is the nVidia utilities that decide which video hardware to use for any app, whereas in MacOS it is the OS. I'm not sure with Linux though! My Linux knowledge is very rusty now!

Is that something you can investigate, perhaps with Ubuntu or nVidia tech support?
 
There is a setting prioritizing the dedicated GPU and of course is it on. But Victoria 3 specifically targets the wrong GPU no matter what i try. It is not an issue with Stellaris and such, which works out of the box on linux
 
I'm pretty sure it is not the game doing this, that that choice is made outside the game. Whatever makes that choice is doing it wrong for the Victoria3 executable.

If you believe it is a game bug though, please go ahead and report it as such in that forum.