• 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.

jaoschmidt

Private
54 Badges
Jul 5, 2018
21
16
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • King Arthur II
  • Magicka
  • Semper Fi
  • Cities: Skylines Deluxe Edition
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Green Cities
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Sign Up
  • Cities: Skylines - Campus
  • Stellaris: Leviathans Story Pack
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition

Integrity​

I have verified my game files (on Steam)​

Yes

I have disabled all mods​

Yes

Required​

Summary​

Segmentation fault when launching on linux

Description​

This is my first time trying to run the game, I've tested with versions 1.8.6,1.7.7,1.6.2.

I also tested with nvidia-driver-535 and nvidia-driver-550.

I'm running using my shared library

I have tested using this command:
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json ./victoria3

Mentioned here:

This give the following:
[S_API] SteamAPI_Init(): Loaded '/home/jaoschmidt/.steam/debian-installation/linux64/steamclient.so' OK.
[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: 1 log categories not defined
performance

[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
Segmentation fault (core dumped)

Also GLIBC is on version 2.35 as required

Steps to reproduce​

enable family share on steam and get a game from a shared library
run: ./victoria3 or play directly on steam

Game Version​

1.8.6,1.7.7,1.6.2

OS​

Linux Ubuntu

Additional​

Bug Type​

Crash to Desktop

Save Game​

View attachment system.logView attachment game.logView attachment exception.txtView attachment debug.logView attachment 3f6887e2-0b90-4e5c-85bda683-eb342cdf.dmp

Attachments​

View attachment system.logView attachment game.logView attachment exception.txtView attachment debug.logView attachment 3f6887e2-0b90-4e5c-85bda683-eb342cdf.dmp

Player Pain​

10
 
Last edited:
Your symptoms are different to that thread you linked, is that right? They were hanging on launch whereas you are crashing?


I know of two possible causes of startup problems on Linux.

One is if you've used the Snap or Flatpack installs of Steam, which do not work well with our games. You need to use the native Linux client from Valve:
http://store.steampowered.com/about/
"Install Steam Now"

The other is an issue with Steam when you have Proton installed; Steam sometimes thinks you have the game on WIndows not Linux so installs the wrong version. If you see victoria3.exe (ie the Windows executable) in your Steam folder for this game, that is the problem!
You can get past that as described here:
https://forum.paradoxplaza.com/foru...ork-linux-compatibility.1623688/post-29408827

All the best!
 
Hello, thank you for helping me.

The issue is indeed a bit different than the description of my OP. The screen that crashes is actually the start screen:


1736473145773.png



That also proves that it isn't running any .exe. I also can guarantee that I'm using steam through .deb installation.

On an update, I also tested and got segfault inside my notebook, which uses arch. I attached the output in this post.

I couldn't generate a debug file, but running using gdb gave me the backtrace, which I then put it on a file

I suspect that the issue is because I'm using the family share feature on steam, I will eventually buy the game to test that hypothesis.
 

Attachments

  • backtrace.txt
    444 bytes · Views: 0
  • output.txt
    674 bytes · Views: 0
Last edited:
That output.txt is saying that Steam is not running. You are hitting PLAY in your Steam library, then on our launcher, is that right?

OTOH that segfault is pointing to Nvidia ...
 
My bad, I forgot to explain my notebook specs:
OS: Arch Linux x86_64
Host: 550XDA P17CFB
Kernel: 6.12.4-arch1-1
CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz
GPU: NVIDIA GeForce MX450
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
Memory: 7663MiB

That output.txt is saying that Steam is not running. You are hitting PLAY in your Steam library, then on our launcher, is that right?
No, If I run directly through steam it gives me an empty output file, even after going through this post on reddit. Because of that, I decided to run the ./victoria3 binary inside the steam folder which gave me the info I provided on the OP

TLDR: Using the launcher still crashes and gives me no info


OTOH that segfault is pointing to Nvidia ...

You can't be sure. For the notebook only, this output is a pattern if it has two gpus (dedicated and integrated) and if you are using nvidia's prime

For instance, the following code:
C++:
#include <cassert>

int main(){
    assert(0);
    return 0;
}

gives me two different outputs
Code:
# executing inside integrated gpu
a.out: nvidia.cpp:5: int main(): Assertion `0' failed.
Aborted (core dumped)

# executing with prime-run (dedicated gpu)
a.out: nvidia.cpp:5: int main(): Assertion `0' failed.
/usr/bin/prime-run: line 2: 609247 Aborted                 (core dumped) __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"
 
Last edited:
NVIDIA GeForce MX450
This seems to be slightly below the minimum requirement for this game, the Nvidia® GeForce™ GTX 660. But I wouldn't have thought that would make it crash at startup. Ironically the Intel Xe alternative on this machine is actually higher than the minimum Intel supported, the Intel® HD Graphics 630.

Can you tell which video system the game is attempting to use? On Windows the Nvidia utilities would make that decision, but I don't know how that works with Linux, not to mention with Prime being involved also ... !


Please attach here your Documents/Paradox Interactive/Victoria3/pdx_settings.json .
From your Documents/Paradox Interactive/Victoria3/logs/ folder, attach here system.log , error.log
From your Documents/Paradox Interactive/Victoria3/crashes/ folder, attach here the latest (only!) exceptions.txt
 
Thanks for helping me, I end up being able to play the game with some weird hacks

I will answer some of your question0s, then I will explain the solution:


This seems to be slightly below the minimum requirement for this game, the Nvidia® GeForce™ GTX 660. But I wouldn't have thought that would make it crash at startup. Ironically the Intel Xe alternative on this machine is actually higher than the minimum Intel supported, the Intel® HD Graphics 630.

I mean, when I bought it I read online that it has equivalent to the gtx 1660 but with lower memory (2gb instead of 4gb), however I'm pretty sure it is above gtx 660 in terms of clock and memory speed. Tho, I'm satisfied because mostly play strategy/management games and they all run for me (except for vic3 haha)

Can you tell which video system the game is attempting to use? On Windows the Nvidia utilities would make that decision, but I don't know how that works with Linux, not to mention with Prime being involved also ... !

I'm not sure what you mean by "video system", perhaps you mean to ask if I use X11? both my desktop and my notebook are using X11

Please attach here your Documents/Paradox Interactive/Victoria3/pdx_settings.json .
From your Documents/Paradox Interactive/Victoria3/logs/ folder, attach here system.log , error.log
From your Documents/Paradox Interactive/Victoria3/crashes/ folder, attach here the latest (only!) exceptions.txt

Actually, of all my attempts of generating a debug file I've only being able to generate once, when the paradox crash reporter appeared on my desktop. Not sure what I did to trigger, but I'm unable to trigger again for my notebook.


I will now explain the hack I use to play the game:

1. First, I ran the game through proton inside my notebook, directly on steam
2. Click on play on the launcher
3. Then I waited until it compile a few shaders
4. On my desktop I execute the game using ./binaries/victoria3

That's it, I can now play the game within a shared library, here is the console output:
Code:
[S_API] SteamAPI_Init(): Loaded '/home/jaoschmidt/.steam/debian-installation/linux64/steamclient.so' OK.
[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: 1 log categories not defined
performance

[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
*   Trying 18.233.134.26:443...
* Connected to victoria3.online.paradox-interactive.com (18.233.134.26) port 443 (#0)
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=*.online.paradox-interactive.com
*  start date: Jan  2 00:00:00 2025 GMT
*  expire date: Jan 30 23:59:59 2026 GMT
*  subjectAltName: host "victoria3.online.paradox-interactive.com" matched cert's "*.online.paradox-interactive.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M03
*  SSL certificate verify ok.
* using HTTP/1.1
> POST /v2/account/authenticate/custom?create=true&username=& HTTP/1.1
Host: victoria3.online.paradox-interactive.com
Accept: application/json
Authorization: Basic NDJyM3JxYWZhdzo=
Content-Type: application/json
Content-Length: 133

< HTTP/1.1 200 OK
< Date: Sat, 11 Jan 2025 06:50:25 GMT
< Content-Type: application/json
< Content-Length: 786
< Connection: keep-alive
< Cache-Control: no-store, no-cache, must-revalidate
< Grpc-Metadata-Content-Type: application/grpc
< Vary: Accept-Encoding
<
* Connection #0 to host victoria3.online.paradox-interactive.com left intact
*   Trying 3.210.34.19:443...
* Connected to victoria3.online.paradox-interactive.com (3.210.34.19) port 443 (#0)
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=*.online.paradox-interactive.com
*  start date: Jan  2 00:00:00 2025 GMT
*  expire date: Jan 30 23:59:59 2026 GMT
*  subjectAltName: host "victoria3.online.paradox-interactive.com" matched cert's "*.online.paradox-interactive.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M03
*  SSL certificate verify ok.
* using HTTP/1.1
* Connection #0 to host victoria3.online.paradox-interactive.com left intact

Hopefully this gives a clue on how to fix the bug. That said, it is rather inconvenient for me to use two machines to open the game, but it points that the problem is probably related some interference with steam share and paradox certificate verification. Probably will be resolved once I actually buy the game
 
Last edited:
I'm not sure what you mean by "video system",
I mean the Intel Xe and Nvidia video hardware, something chooses which one any given executable runs on.

Actually, of all my attempts of generating a debug file I've only being able to generate once, when the paradox crash reporter appeared on my desktop. Not sure what I did to trigger, but I'm unable to trigger again for my notebook.
You don't trigger those, the game makes then ones I listed automatically.

I will now explain the hack I use to play the game:

1. First, I ran the game through proton inside my notebook, directly on steam
2. Click on play on the launcher
3. Then I waited until it compile a few shaders
4. On my desktop I execute the game using ./binaries/victoria3

That's it, I can now play the game within a shared library,
I guess I don't follow why this worked - how can running things on one machine help run the game on another machine with a different OS? What do you mean by "within a shared library"?
 
I mean the Intel Xe and Nvidia video hardware, something chooses which one any given executable runs on.
Sorry, I'm still not sure what you are talking about. My guess is that you want to know how I use my dedicated video card, correct? If so, I use by the already mentioned prime.

For example, for Vic3 I can run using prime-run ./victoria
Suppose that I'm interested in running inside steam, then type this at the launch options:

1736655409591.png

The game will now run on nvidia MX450

You don't trigger those, the game makes then ones I listed automatically.
Yes, you are correct. The issue is that the game doesn't make it automatically for my specific problem, it only did once. Instead, the game generates the folder inside Paradox Interactive/Victoria 3/crashes/ but only with an empty meta.yml file:

1736655827235.png


victoria3_20250108_224916 files are the ones attached in the OP. No idea what is going on here.


I guess I don't follow why this worked - how can running things on one machine help run the game on another machine with a different OS? What do you mean by "within a shared library"?
I will start by your last question because its simpler:
Sorry, I mean that I'm using the "Family Library Sharing", that's the correct name.
What I mean is that I don't own the game but I'm playing anyway because another account inside my Steam Family has it.

For you first question:
Well, my only theory is that there is a small check in the steam or paradox API every time I click "PLAY". Wine/Proton version may execute something API related which allow the Linux version to connect.
 
the game generates the folder inside Paradox Interactive/Victoria 3/crashes/
From there go UP one level. pdx_settings.json will be there.

Then go DOWN into /logs/ , system.log and error.log will be there. In fact also I see them, plus exceptions.log , in one of those crash folders you just displayed.

Sorry, I'm still not sure what you are talking about. My guess is that you want to know how I use my dedicated video card, correct? If so, I use by the already mentioned prime.
This computer has two video hardware systems, integrated Intel Xe and dedicated Nvidia GPU. I don't know how Prime works (my Linux experience is pretty old and rusty now), I'm simply trying to ascertain which of those two the game is attempting to run on. The above system.log will make that clear I think.
 
logs/error.log is empty and logs/exception.log is missing. I have attached the system.log

Just in case, I also provided the entire ./local/share/Paradox Interactive/Victoria 3/ folder in a zip file (with the exception of shadercache because of size). If Paradox has rules against opening .zip files, then you may continue to ask me and I will send them individually.
 

Attachments

  • local_share_vic3_folder.zip
    74,6 KB · Views: 0
  • system.log
    993 bytes · Views: 0
As you can see the Nvidia is listed in system.log, so that answers that question! If Nvidia provide a way of forcing the game to run on the Intel Xe video 9as they do in Windows, with the Nvidia Control Panel there) then I think that would be the next test. If the game starts there, I guess the issue is the Nvidia card not meeting the required minimum.
 
As you can see the Nvidia is listed in system.log, so that answers that question! If Nvidia provide a way of forcing the game to run on the Intel Xe video 9as they do in Windows, with the Nvidia Control Panel there) then I think that would be the next test. If the game starts there, I guess the issue is the Nvidia card not meeting the required minimum.
Pretty sure it isn't the minimum requirement. The game starts fine if I make the hacky solution in reverse: by starting on proton in my desktop and open the linux version in my notebook.
 
I see. Well I'm not left with much else I can suggest or look at!

@PDX_Sosanna sorry to ping you again, but is there any clue in this attached minidump?
 

Attachments

  • minidump.dmp
    19,6 MB · Views: 0
For issues with prime-run seg fault on Arch, I strongly recommend asking on https://bbs.archlinux.org - from what I see there are some older threads on there where users experienced similar issues and you might try solutions listed on their forums.
As for the MX450 notebook, the game is not likely to boot on this card at all.

@AndrewT
That doesn't look like a Linux dump, is it from https://forum.paradoxplaza.com/forum/threads/crash-after-start-new-game.1725862/#post-30119014 ?
If so, better to ping in the relevant thread to avoid confusion. I raised it internally but have not received a reply about it yet and the backtrace numbers are low for that particular CTD.
 
@AndrewT
That doesn't look like a Linux dump, is it from https://forum.paradoxplaza.com/forum/threads/crash-after-start-new-game.1725862/#post-30119014 ?
If so, better to ping in the relevant thread to avoid confusion. I raised it internally but have not received a reply about it yet and the backtrace numbers are low for that particular CTD.
My apologies, I thought it from this thread but I clearly got it mixed up.

@jaoschmidt there is a .dmp file shown in your post #10 here, can you attach that here please?
 
I suspect that the issue is because I'm using the family share feature on steam, I will eventually buy the game to test that hypothesis.
Hello, just to follow up with this. I've bought the game today and can confirm that there is no issue now. The game runs out of the box

Meaning it was indeed an issue with vic3 under steam families
 
  • 1Like
Reactions: