Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
debug crashing games with gdb /strace
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
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Thu Jan 06, 2022 6:31 am    Post subject: debug crashing games with gdb /strace Reply with quote

how do I debug steam games with gdb /strace? I've tried launching steam with the GAME_DEBUGGER=gdb command line parameter but it crashes steam.
_________________
https://www.github.com/shoober420
https://bandcamp.com/shoober420
https://steamcommunity.com/id/shoober420
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Fri Jan 07, 2022 8:35 am    Post subject: Reply with quote

Not sure about steam but I know that Blizzard's games, probably with Warden, does not want you to be running breakpoints into their software and will promptly crash if one tries... :(
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Fri Jan 07, 2022 4:43 pm    Post subject: Reply with quote

If possible, I suggest finding an equivalent crashing open source game and debugging that. Open source games will typically not be designed to resist debugging, and will be easier to work with because they can be built with debug symbols. Hopefully, the underlying problem is not in any particular game, so identifying its cause in an open source game will give you a change that you can use to fix all the games.
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Fri Jan 07, 2022 8:43 pm    Post subject: Reply with quote

I unfortunately don't have any open source games that don't run. all the source ports for games I have installed work fine. Half my steam games work, half don't. I definitely notice that Unity games are having issues launching. Also Proton isn't working either.

I can't say vulkan is broken, since vkQuake and CSGO launch using vulkan. I'm not sure why certain games don't launch. I feel it's a command line parameter I need. I know cave story needs LD_PRELOAD="" to launch.
_________________
https://www.github.com/shoober420
https://bandcamp.com/shoober420
https://steamcommunity.com/id/shoober420
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