Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 660362

Summary: x11-libs/libxcb-1.13 bug prevents running Civilization 5
Product: Gentoo Linux Reporter: Michał Dec <moog621>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal CC: floppym, jstein, leio
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info x11-libs/libxcb
gdb ./Civ5XP
running bt inside of gdb that started Civ5XP

Description Michał Dec 2018-07-04 16:27:09 UTC
Created attachment 538310 [details]
emerge --info x11-libs/libxcb

The native Linux port can't start when it's using the system's libxcb. Copying libxcb.so.1 and libxcb-dri3.so.0 from Steam i386 runtime into the directory where Civ5XP binary is located relieves the issue.
Comment 1 Michał Dec 2018-07-04 16:28:02 UTC
Created attachment 538312 [details]
gdb ./Civ5XP
Comment 2 Mike Gilbert gentoo-dev 2018-07-04 16:35:42 UTC
Just running it in gdb is not very helpful. Run the "bt" command in gdb to obtain a backtrace.
Comment 3 Michał Dec 2018-07-04 17:46:52 UTC
Created attachment 538316 [details]
running bt inside of gdb that started Civ5XP
Comment 4 Mart Raudsepp gentoo-dev 2018-07-05 05:25:50 UTC
Civ5BE seems to have this issue as well as Civ5XP. Civ6 seems to work. I didn't pinpoint this to a xcb upgrade, but it does indeed have xcb in the stacktraces.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-07-05 22:18:34 UTC
Is that related to bug 616402? Especially bug 616402 comment 11?
Comment 6 Michał Dec 2018-07-07 17:54:59 UTC
Chí-Thanh Christopher Nguyễn: recompiling x11-libs/libxcb with -mstackrealign helped :) No CFLAGS needed to be gutted, just add the stack realign to default CFLAGS.
Comment 7 Matt Turner gentoo-dev 2018-07-07 18:27:51 UTC

*** This bug has been marked as a duplicate of bug 616402 ***