-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commit @de0a8da broke the wayland backend #1286
Comments
@KyunLFA Not sure if this is a full solution tho, since maybe it's possible that before de0a8da, |
I applied this patch on my machine but I'm still having issues. Not sure if related, though, here's the full strace if you could maybe have a look: |
Hmmm weird also, try rebuilding gamescope with these meson flags: Then when you run gamescope, add in these environment variables: |
Yes, it does, in fact it segfaults even if I only run gamescope itself. I'm using Gentoo, compiled and ran with the flags you asked, and here's the full strace output, let me know if there's anything else I can run that may help debugging :) Not sure if that's a problem with my setup or something else. |
Oh that's just a weird quirk with the sanitizer Also, when you run gamescope after compiling it with the sanitizer, don't run it with strace, because it might either conflict with address sanitizer or cause gamescope to exit earlier than usual |
Ok, was able to build it now, here's the output of gamescope -- glxgears: https://pastebin.com/raw/w1NXDJZD Just reminding that this is a build built with fix_wayland_backend_bug patch applied |
HUH, it's segfaulting in also, @repomansez I think your gentoo build thingy is stripping debug info from gamescope |
Well, I manually set it to restrict stripping, but that apparently did not help as it's outputting basically the same thing: |
HUH weird... |
/usr/bin/gamescope: executable, regular file, no read permission |
ummm I guess gentoo uses a drastically different try running |
objdump --syms $(which gamescope) | grep debug0000000003edf4e0 l O .bss 0000000000000001 ZL11debugEvents |
Hello @sharkautarch, @repomansez, I'd appreciate if you two stopped creating reply chains of consecutive comments. It adds literal pages of redundant text for no benefit. |
@sharkautarch That workaround fixed it for me, thanks! Will apply to my fork. |
Oh wow, that way of checking for xwayland vs wayland was also the fix for the bad variant access when using the wine native wayland driver on embedded!! Still various other bugs, but understanding the steamcompmgr code better like that will help me a ton (in hopes of) getting the Wine wayland.drv plumbed into (my fork of) Gamescope for embedded mode, as nested is already working fine. Tysm @sharkautarch !! Maybe submit a PR for your fix? |
Sure thing! |
Running into the above backtrace down from However a different
|
Self explanatory.
Backtrace:
bad_variant_access strikes again!
(edit: wow, github does not want to pretty parse the commit in the title. It's this de0a8da .
The text was updated successfully, but these errors were encountered: