Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Borderlands 2 steam (fixed)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 770
Location: Arrakis

PostPosted: Tue Jan 02, 2018 2:11 am    Post subject: Borderlands 2 steam (fixed) Reply with quote

getting this error in /var/log/messages

Code:
Jan  1 20:55:42 Iris kernel: traps: Borderlands2[14657] general protection ip:f782cfc0 sp:ffe177b8 error:0 in libc-2.26.so[f77f8000+1d9000]


on ~amd64 with AMD cpu, AMD gpu with mesa drivers.

[Moderator edit: added [code] tags to preserve output layout. -Hu]

EDIT and fix: so the problem was with gcc-7.3 and bugs it had, things like the mstackrealign on glibc and others was a workaround, but upgrading and rebuilding with gcc-8 fixed all the bugs for me and everything works great, videos and all.
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat


Last edited by djdunn on Sat Jun 23, 2018 12:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5434
Location: Removed by Neddy

PostPosted: Fri Jan 05, 2018 1:30 pm    Post subject: Reply with quote

probably downto libstd++ mismatch

have this set in your environment variables: STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 will force steam to prefer your system libs over the older steam libs
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 770
Location: Arrakis

PostPosted: Sun Jan 07, 2018 11:47 pm    Post subject: Reply with quote

CIPCServer::Thr[14561]: segfault at 1 ip 0000000000000001 sp 00000000e75feddc error 14 in steam[56588000+3f4000]

tried that and got this.
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5434
Location: Removed by Neddy

PostPosted: Sun Jan 07, 2018 11:53 pm    Post subject: Reply with quote

ok, change the launch options (in steam) and add: SSL_CERT_DIR="/etc/ssl/certs" LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command%
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 770
Location: Arrakis

PostPosted: Mon Jan 08, 2018 1:15 am    Post subject: Reply with quote

Code:
Jan  7 20:14:24 Iris kernel: [10397.448894] traps: Borderlands2[14377] general protection ip:f7b85172 sp:ffc80b98 error:0 in libpthread-2.26.so[f7b78000+1c000]


now this one.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 770
Location: Arrakis

PostPosted: Mon Jan 08, 2018 1:17 am    Post subject: Reply with quote

Code:
Jan  7 20:17:04 Iris kernel: [10556.789767] traps: Borderlands2[18405] general protection ip:f7303299 sp:ffcb2668 error:0 in libxcb.so.1.1.0[f72f8000+2a000]


[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
PuckPoltergeist
Apprentice
Apprentice


Joined: 28 Jul 2004
Posts: 189

PostPosted: Tue Mar 13, 2018 7:30 pm    Post subject: Reply with quote

I've had the same problem on my amdfam10 machine and after some search I found this: https://bugs.archlinux.org/task/54136

Stack alignment is the problem here too. I've identified the following packages need to be build with -mstackrealign:
Code:

sys-libs/glibc
x11-libs/libxcb
media-libs/openal
media-sound/pulseaudio


Unfortunately for glibc this means hacking the eclass. But after recompiling the packages Borderlands2 works again for me.
_________________
printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
linux-2.6.6/mm/vmalloc.c
Back to top
View user's profile Send private message
ziemia
n00b
n00b


Joined: 21 Sep 2005
Posts: 58

PostPosted: Wed Mar 14, 2018 1:42 pm    Post subject: Reply with quote

I've had the same problem - amdfam10. For me it was enough to recompile
Code:
sys-libs/glibc
with
Code:
-march=opteron-sse3
Back to top
View user's profile Send private message
mcraeaa
n00b
n00b


Joined: 29 Aug 2007
Posts: 4

PostPosted: Thu Mar 22, 2018 1:59 am    Post subject: Reply with quote

Re-compiling the packages PuckPoltergeist mentioned also worked on my Ryzen machine. Thanks!
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 770
Location: Arrakis

PostPosted: Sat Mar 31, 2018 4:57 am    Post subject: Reply with quote

i got it to work compiling only glibc with -mstackrealign
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1575
Location: Here and Away Again

PostPosted: Sat Mar 31, 2018 1:22 pm    Post subject: Reply with quote

At least Portal 2 seems to be affected by something similar, as I mentioned here: After profile switch 13.0-17.0 Wine apps stop working

Portal 2 would work just fine until certain audio clips are played (a character start speaking somewhere in the game level).

That's on an Athlon 7750 (amdfam10) stable amd64 testing machine.

On the other hand, I do /not/ see the issue on my main, Ryzen 1700 (znver1) unstable ~amd64 machine.
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 770
Location: Arrakis

PostPosted: Sat Jun 23, 2018 12:10 am    Post subject: Reply with quote

had to upgrade and rebuild things with gcc-8 to get the bugs ironed out.

likely the bugs with like gcc-7.3 that got fixed in gcc-8

no mstackrealign on glibc or anything else either.
_________________
A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.

-The First Law of Mentat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum