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

Heretic121

Recruit
28 Badges
Oct 21, 2014
3
0
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Crusader Kings II
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Dharma
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Surviving Mars
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Art of War
Hey guys, just going to cut straight to the point.

Attempting to run EUIV on a Fedora 20 x64 system. I have all the 32 bit libraries and fixed up the .so's in the main EUIV folder using a mixture of ldd, yum and export.
However, the game is still refusing to start. It'll load a black screen then die. It is also, for some reason, killing Steam as soon as I load it.

I've done a strace and I'm struggling to find where it's all going wrong. Any help would be greatly appreciated.

strace dump:
Code:
poll([{fd=19, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=19, revents=POLLOUT}])
writev(19, [{"\4\4\2\0\v\0 \5", 8}, {NULL, 0}, {"", 0}], 3) = 8
recv(19, 0xb607c40, 4096, 0)            = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=19, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=19, revents=POLLIN|POLLOUT}])
recv(19, "\21\0\263\2\v\0 \5\v\0 \5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 0) = 704
writev(19, [{"\200\5\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=19, events=POLLIN}], 1, 4294967295) = 1 ([{fd=19, revents=POLLIN}])
recv(19, "\1c\264\2\4\0\0\0\2\0\0\0\0\0\0\0\300c\36\2\0\0\0\00000\17\1\0\0\0\0"..., 4096, 0) = 48
recv(19, 0xb607c40, 4096, 0)            = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=19, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=19, revents=POLLOUT}])
writev(19, [{"_\5\2\0\17\0 \5<\0\2\0\0\0 \5+\0\1\0", 20}, {NULL, 0}, {"", 0}], 3) = 20
poll([{fd=19, events=POLLIN}], 1, 4294967295) = 1 ([{fd=19, revents=POLLIN}])
recv(19, "\1\1\267\2\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0) = 32
recv(19, 0xb607c40, 4096, 0)            = -1 EAGAIN (Resource temporarily unavailable)
recv(19, 0xb607c40, 4096, 0)            = -1 EAGAIN (Resource temporarily unavailable)
shutdown(19, SHUT_RDWR)                 = 0
close(19)                               = 0
munmap(0x4ec52000, 12448)               = 0
munmap(0x4ec58000, 41180)               = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [SEGV], SA_RESTART}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0x9383788, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL, [], 0}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0x9383788, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL, [], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {0x9383788, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, NULL, 8) = 0
tgkill(8845, 8845, SIGSEGV)             = 0
sigreturn() (mask [])                   = 198071688
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_TKILL, si_pid=8845, si_uid=1000} ---
+++ killed by SIGSEGV +++

EDIT:

I got a friend, who's far better at debugging than myself, to take a look at the 8.5MB strace log. He also got me to do a gdb backtrace on the crash.

gdb backtrace returns:
Code:
(gdb) backtrace
#0  0x00000000 in ?? ()
#1  0x091be5f8 in GfxCreateShader ()
#2  0x091b9c43 in CreateEffectFromFile(GfxMasterContextGFX*, char const*, char const*, SVertexElementDescription const*, SGfxEffect*, CArray<CString>&) ()
#3  0x09119580 in CEffectHandler::AddGfxEffect(GfxMasterContextGFX*, char const*, char const*, char const*, SVertexElementDescription const*, CArray<CString> const&) ()
#4  0x09119012 in AddSimpleEffect(CGraphics*, int&, int&) ()
#5  0x08dfd423 in CEU3Graphics::LoadLoadingScreens(bool) ()
#6  0x08dfd1cf in CEU3Graphics::CEU3Graphics(SWindowHandle, CGraphicsSettings&) ()
#7  0x084be6c4 in CEU4Application::InitBase(bool) ()
#8  0x084bcb52 in CEU4Application::Init() ()
#9  0x0890aac9 in main ()

And the my friend's findings in the strace log:
<hawken> lstat64("/home/heretic121/.local/share/Steam/SteamApps/common/Europa Universalis IV/gfx/FX/defines.fxh", {st_mode=S_IFREG|0775, st_size=1959, ...}) = 0
<hawken> fstat64(25, {st_mode=S_IFREG|0775, st_size=1959, ...}) = 0
<hawken> read(25, "#ifdef PDX_OPENGL\n// Defines tha"..., 1959) = 1959
<hawken> lstat64("/home/heretic121/.local/share/Steam/SteamApps/common/Europa Universalis IV/gfx/FX/defines.fxh", {st_mode=S_IFREG|0775, st_size=1959, ...}) = 0
<hawken> fstat64(25, {st_mode=S_IFREG|0775, st_size=1959, ...}) = 0
<hawken> read(25, "#ifdef PDX_OPENGL\n// Defines tha"..., 1959) = 1959
<hawken> fcntl64(25, F_GETFL) = 0 (flags O_RDONLY)
<hawken> close(25) = 0
<hawken> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
<hawken> Heretic121: Basically when it read FX/defines.fxh and closed it went ahead and died
<hawken> I think that defines.fxh can maybe give some answers

Could anyone give me pointers on what/where to look next?
 
Last edited:

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.356
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
FYI the only supported distro is Ubuntu. But we'll see what can be done anyway.

#1 0x091be5f8 in GfxCreateShader
This looks like a video driver problem. Are you using the latest proprietary drive for your machine? The Open Source video drivers will not work.
 

Heretic121

Recruit
28 Badges
Oct 21, 2014
3
0
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Crusader Kings II
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Dharma
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Surviving Mars
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Art of War
FYI the only supported distro is Ubuntu. But we'll see what can be done anyway.

Yeah, I know. I figured it was worth a try though, thanks for your help :)

This looks like a video driver problem. Are you using the latest proprietary drive for your machine? The Open Source video drivers will not work.

I have the latest drivers for my graphics card. However it is the 64 bit one, would that make any difference?
 

Heretic121

Recruit
28 Badges
Oct 21, 2014
3
0
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Crusader Kings II
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Dharma
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Surviving Mars
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Art of War
Problem's been fixed.

The issue was with the video driver, or rather how I installed the driver. I forgot the vitally important step:

Code:
sudo aticonfig --initial

So to fix it I uninstalled the driver, rebooted, Installed the driver and ran the above command, rebooted, and finally tested the game again.
Here's to hoping my problem, and fix, helps someone else :)
 

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.356
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
Good to hear, and thanks for the update!