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

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
kajzer
Guru
Guru


Joined: 27 Nov 2014
Posts: 545

PostPosted: Sun Jun 30, 2019 11:35 pm    Post subject: Reply with quote

You can compile only 32bit libraries with new flags, that way only games (and only 32bit games) are using those libs.

Code:

CFLAGS="${CFLAGS}"
CXXFLAGS="${CFLAGS}"

CFLAGS_x86="${CFLAGS_x86} -mstackrealign"
CXXFLAGS_x86="{CXXFLAGS_x86} -mstackrealign"
Back to top
View user's profile Send private message
Wadlax
n00b
n00b


Joined: 12 Jan 2008
Posts: 9

PostPosted: Thu Jul 18, 2019 3:23 pm    Post subject: Reply with quote

BL2 and BL_TPS run again for me:

So, if you get error in dmesg like "error 4 in BorderlandsPreSequel" - try to delete your willowengine.ini
(location can be found via https://wiki.gentoo.org/wiki/Steam/Games_troubleshooting#Borderlands_2_and_Borderlands:_The_Pre-Sequel)
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 119

PostPosted: Fri Jul 19, 2019 1:44 am    Post subject: Reply with quote

Wadlax wrote:
BL2 and BL_TPS run again for me:

So, if you get error in dmesg like "error 4 in BorderlandsPreSequel" - try to delete your willowengine.ini
(location can be found via https://wiki.gentoo.org/wiki/Steam/Games_troubleshooting#Borderlands_2_and_Borderlands:_The_Pre-Sequel)


Just a side note, for those of us like me who are particular or have otherwise customized their game. In my case, I re-enabled graphics features that are disabled by default, to give me the same graphic quality I have on Windows; sans the UHD Texture Pack ofc... I also swapped the console button icon prompts to use with my DualShock 3 when I'm feeling too lazy to kb+m instead of mentally translating Xbox -> Playstation. Stuff that took me hours to find, tweak, and test.

That stuff is usually in WillowGame.ini, but engine tweaks are in WillowEngine.ini. Instead of deleting, I suggest merely renaming the file so you can diff it against the one the game creates by default after the fact, and isolate what caused the breakage to begin with.
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 578

PostPosted: Wed Nov 27, 2019 11:28 am    Post subject: Reply with quote

PuckPoltergeist wrote:
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.


Ran into this
Code:
traps: portal2_linux[23942] general protection ip:f7cfa3c9 sp:ffcae5b8 error:0 in libc-2.29.so[f7c99000+166000]


rebuilding glibc with -mstackrealign fixed it.
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
Goto page Previous  1, 2
Page 2 of 2

 
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