D3 immediately crashes on Linux

So, I bought the game on Steam and installed ia32-lib to get the required 32bit libraries. The game then proceeded to yell at me to put a steam_appid.txt in its folder or run it from Steam (even though I ran it from Steam, or from bash at SteamApps/common/Democracy 3/, respectively). Anyway, I gave in.
It’s still crashing. Running it from the terminal to get some basic idea of what’s happening yields:

pineconez@silverstar ~/.local/share/Steam/SteamApps/common/Democracy 3 $ ./Democracy3.bin.x86 Setting breakpad minidump AppID = 245470 Steam_SetMinidumpSteamID: Caching Steam ID: 76561197994400249 [API loaded no] Segmentation fault

Debug files aren’t particularly helpful either. Here’s the debug.txt:

[17:21:48.691]- ----DEBUG FILE---- [17:21:48.691]- linux [17:21:48.691]- Desktop resolution is 1680 x 1050 [17:21:48.772]- Attempting to initialise steam [17:21:48.790]- Steam initialisation success [17:21:48.790]- Requesting steam stats... [17:21:48.790]- ...Steam stats requested [17:21:48.791]- Initialising 3D Engine [17:21:48.816]- OpenGL Vendor : NVIDIA Corporation [17:21:48.817]- OpenGL Renderer: GeForce GT 330M/PCIe/SSE2 [17:21:48.817]- OpenGL Version : 3.3.0 NVIDIA 310.14 [17:21:48.823]- Initialising global vertex buffer [17:21:48.834]- Case correcting: data/shaders/circleblend_vs.glsl [17:21:48.834]- Case correcting (DONE): data/shaders/circleblend_vs.glsl [17:21:48.834]- Case correcting: data/shaders/dissolve_vs.glsl [17:21:48.834]- Case correcting (DONE): data/shaders/dissolve_vs.glsl [17:21:48.834]- Case correcting: data/shaders/locked_achievement_vs.glsl [17:21:48.834]- Case correcting (DONE): data/shaders/locked_achievement_vs.glsl [17:21:48.834]- Case correcting: data/shaders/ministercacher_vs.glsl [17:21:48.834]- Case correcting (DONE): data/shaders/ministercacher_vs.glsl [17:21:48.835]- Case correcting: data/bitmaps/window_background.dds [17:21:48.835]- Case correcting (DONE): data/bitmaps/window_background.dds [17:21:48.835]- Case correcting: /home/pineconez/.local/share/democracy3/window_background.dds [17:21:48.835]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/window_background.dds [17:21:48.835]- Case correcting: data/bitmaps/19px_highlight.dds [17:21:48.835]- Case correcting (DONE): data/bitmaps/19px_highlight.dds [17:21:48.835]- Case correcting: /home/pineconez/.local/share/democracy3/19px_highlight.dds [17:21:48.835]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/19px_highlight.dds [17:21:48.835]- Case correcting: data/bitmaps/19px_grey.dds [17:21:48.835]- Case correcting (DONE): data/bitmaps/19px_grey.dds [17:21:48.835]- Case correcting: /home/pineconez/.local/share/democracy3/19px_grey.dds [17:21:48.835]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/19px_grey.dds [17:21:48.835]- Case correcting: data/bitmaps/ui_general_textbutton.dds [17:21:48.835]- Case correcting (DONE): data/bitmaps/ui_general_textbutton.dds [17:21:48.835]- Case correcting: /home/pineconez/.local/share/democracy3/ui_general_textbutton.dds [17:21:48.835]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/ui_general_textbutton.dds [17:21:48.835]- Case correcting: /home/pineconez/.local/share/democracy3/stats.ini [17:21:48.835]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/stats.ini [17:21:48.835]- GBufferedFile failed to open file [/home/pineconez/.local/share/democracy3/stats.ini] [17:21:48.835]- Case correcting: /home/pineconez/.local/share/democracy3/stats.ini [17:21:48.835]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/stats.ini [17:21:48.835]- GBufferedFile failed to open file [/home/pineconez/.local/share/democracy3/stats.ini] [17:21:48.837]- Case correcting: data/bitmaps/Open Sans Semibold_24.dds [17:21:48.837]- Case correcting (DONE): data/bitmaps/Open Sans Semibold_24.dds [17:21:48.837]- Case correcting: /home/pineconez/.local/share/democracy3/Open Sans Semibold_24.dds [17:21:48.837]- Case correcting (DONE): /home/pineconez/.local/share/democracy3/Open Sans Semibold_24.dds

And here’s the drawdebug.txt:

Initialising Render target of 512 X 256 rt_minister_compositor rt_minister_compositor Creating shader from file:[data/shaders/circleblend.fx] Creating shader from file:[data/shaders/dissolve.fx] Creating shader from file:[data/shaders/locked_achievement.fx] Creating shader from file:[data/shaders/ministercacher.fx] Failed to create texture: window_background.dds Failed to create texture: 19px_highlight.dds Failed to create texture: 19px_grey.dds Failed to create texture: ui_general_textbutton.dds Initialising Render target of 2048 X 2048 rt_transition rt_transition Failed to create texture: Open Sans Semibold_24.dds

errors.txt is completely empty.

Bump. This is still happening. I’ve reinstalled multiple times and updated drivers. What’s going on?

Also, curiously enough, when I install the game and (immediately after it finishes) tell Steam to verify the game files, it tells me 970 files failed to validate and proceeds to re-download the entire 38.4 MB.

Still happening, despite fiddling around with prefs.ini

Stack trace from crash.log:

[code]Crash Log: Democracy3 for Linux

=====================
==== STACK TRACE ====

./Democracy3.bin.x86[0x81dd911]
[0xf77b0410]
./Democracy3.bin.x86(_ZN7LibFont10InitialiseEPKcS1_iiii+0x2a4)[0x81ecce4]
./Democracy3.bin.x86(_ZN13LibTextEngine7AddFontEPKcS1_iiii+0x56)[0x81ed7e6]
./Democracy3.bin.x86(_ZN8APP_Game8InitTextEv+0x69)[0x80c8149]
./Democracy3.bin.x86(_ZN8APP_Game7InitAppEv+0x284)[0x80c8ad4]
./Democracy3.bin.x86(main+0x162)[0x81ddf42]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xf725d4d3]
./Democracy3.bin.x86[0x80c5961][/code]

After reading through crash.log, debug.txt and drawdebug.txt I’m convinced this is a problem with Fonts. Any way to fix that/any idea why this is happening?

When I remove all font files from SteamApps/common/Democracy 3/data/fonts, the game at least starts up. It’s progress. The problem then, obviously, is that I don’t see any text in game.

Could you at least recognize the problem and maybe give an idea or two why this occurs? I’m beginning to regret giving you my money.

Just wanted to bump this, as i am in the same situation. Really a bummer. If i knew that it does not work under Linux before i had not spent the money.

Which distribution are you using? I’m on Archlinux current x86_64. As the Software requirements does not list a specific distribution i thought it did not matter. This is the first game i encountered that won’t work with Arch.

Can you get an strace of the execution of the game? Also there is a linux/mac build for 1.10 in the “beta” branch up on steam… could you test with that build.

What filesystem are you all running? I have another occurance of this issues I’m diagnosing on a steam forum thread ( steamcommunity.com/app/245470/di … 0915449292 ). And it seems that users glibc/kernel is having difficulties traversing the directories. Basically the game-code scans the directories beneath data/bitmaps to find what directories are available to look for textures… and the syscalls are failing. This leads me to believe there is a bug in your filesystem driver / kernel version, or possibly glibc version.

This is now finally fixed… it had to do with LFS issues (large filesystem support) and due to certain filesystems NOT returning the file type when using readdir… ( JFS I’m looking at you!)

It’s actually XFS, anyway…

The game is loading now, but the fonts are not. There is no text anywhere to be found.

Can you send me the files in the ~/.local/share/democracy3/debug folder?

debug.txt:

[code][15:58:29.936]- ----DEBUG FILE----
[15:58:29.936]- linux
[15:58:29.943]- Desktop resolution is 1680 x 1050
[15:58:30.082]- Attempting to initialise steam
[15:58:30.337]- Steam initialisation success
[15:58:30.338]- Requesting steam stats…
[15:58:30.338]- …Steam stats requested
[15:58:30.339]- Initialising 3D Engine
[15:58:30.436]- OpenGL Vendor : NVIDIA Corporation
[15:58:30.436]- OpenGL Renderer: GeForce GT 330M/PCIe/SSE2
[15:58:30.436]- OpenGL Version : 2.1.2 NVIDIA 310.14
[15:58:38.395]- Initialising global vertex buffer
[15:58:38.752]- Failed to open file: /home/pineconez/.local/share/democracy3/stats.ini : 2
[15:58:38.752]- GBufferedFile failed to open file [/home/pineconez/.local/share/democracy3/stats.ini]
[15:58:38.752]- Failed to open file: /home/pineconez/.local/share/democracy3/stats.ini : 2
[15:58:38.752]- GBufferedFile failed to open file [/home/pineconez/.local/share/democracy3/stats.ini]
[15:58:39.253]- Initialising Sound Engine
[15:58:39.367]- OpenAL Version: 1.1
[15:58:39.367]- OpenAL Device: PulseAudio Software
[15:58:39.367]- OpenAL Vendor: OpenAL Community
[15:58:39.367]- Finished Initialising Sound Engine
[15:58:39.667]- Received stats and achievements from Steam

[15:58:39.701]- Failed to open file: /home/pineconez/.local/share/democracy3/achievements.ini : 2
[15:58:39.701]- GBufferedFile failed to open file [/home/pineconez/.local/share/democracy3/achievements.ini]
[15:58:44.994]- Failed to open file: data/dlc.txt : 2
[15:58:44.994]- GBufferedFile failed to open file [data/dlc.txt]
[15:58:45.005]- Failed to open file: /home/pineconez/.local/share/democracy3/mod_dates.ini : 2
[15:58:45.005]- GBufferedFile failed to open file [/home/pineconez/.local/share/democracy3/mod_dates.ini]
[15:58:45.319]- STEAMWORKS: 0 files enumerated for workshop
[15:58:50.861]- Failed to open file: data/dlc.txt : 2
[15:58:50.861]- GBufferedFile failed to open file [data/dlc.txt]
[15:58:51.031]- releasing GEngine
[15:58:51.071]- GEngine Released[/code]

drawdebug.txt:

Initialising Render target of 512 X 256 rt_minister_compositor rt_minister_compositor Creating shader from file:[data/shaders/circleblend.fx] Creating shader from file:[data/shaders/dissolve.fx] Creating shader from file:[data/shaders/ministercacher.fx] Creating shader from file:[data/shaders/locked_achievement.fx] Initialising Render target of 2048 X 2048 rt_transition rt_transition

errors.txt is empty.

OK… so no errors at all… meaning you should be seeing text! Would you happen to be able to get apitrace setup and running? I need to see what is going on at the GL level to figure out WHY this is breaking.

Ive yet to be able to launch D3 adter purchaseing it and it’s dlc. Crashes immediatly. why bother saying linux is a supported platform as it obviously isnt.
Stock ubuntu 13.10 with nvidia 770.

What graphics drivers do you have installed? can you send the output of glxinfo ? Also send me a PM so I can send you access to the beta channel where I am testing the 1.13 update.