mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.5K
active users

Natalie Vock

@nh Oof, yeah. Debugging under Wine/Proton can definitely be a real pain. I have to resort to attaching after-the-fact as well, but in order to make gdb aware of how the .so files are loaded, it's actually sufficient to simply invoke "gdb -p $pid /path/to/protons/wine". The wine path is something like "<installation directory of proton>/files/bin/wine64".

In the meantime DXR was also finally enabled by default in vkd3d-proton (github.com/HansKristian-Work/v) 🥳

GitHubEnable DXR by default by HansKristian-Work · Pull Request #1766 · HansKristian-Work/vkd3d-protonBy HansKristian-Work

@pixelcluster Nice, that's good to know. Do you know why/how adding the wine path in that way helps?

@nh I'm not 100% sure, but I think what might be happening is that gdb tries to look for address space layout info in the Windows PE file (which isn’t ELF, so it fails, so gdb has no way of knowing where code/data/etc are and gives up). The wine64 binary is ELF, so instructing gdb to use that file instead fixes the issue.

@pixelcluster @nh Heh. Good story.
Printf (partly) to the rescue!