Hm... Yeah it seems like Wayland shouldn't be calling X11 functions. Maybe under Xwayland it's doing it. So maybe it's not an Nvidia driver issue but a Wayland bug that is passing a null pointer to destroywindow
Crash under Wayland on Fedora 40 [libnvidia-glcore.so.570.86.16+0xa58f7c]
UPDATE: I just tried running on Fedora 39 on my laptop with Wayland and there was no crash. Then I remembered that I have a passthrough GPU that is disabled on my desktop and it's in slot 0, so I bet the NVIDIA/Wayland driver are trying to use that one.
Long story short, this seems like a very personal bug. If someone comes across this thread in the future from googling the "nv_glcore" stuff, I will try to see what I can find to help them solve this.
Ah, interesting. Thanks for following up!
Can you please try setting __GL_THREADED_OPTIMIZATIONS=0
?
export __GL_THREADED_OPTIMIZATIONS=0
./Spine.sh
Nate Well that's progress at least! It starts without crashing, but now throws a different error about Wayland. I'll get more details soon
Looks like it all is working perfectly with that environment variable. Was glitchy a bit at first, but on relaunching it works great. Thanks!
Great! We can put it in Spine.sh
to reduce the pain.
I've also ran into this issue on my desktop machine:
# A fatal error has occurred:
#
# SIGBUS (0x7) at pc=0x000072f3c665949c, pid=132985, tid=133021
# Problematic frame:
# C [libnvidia-glcore.so.570.133.07+0xa5949c]
I can provide the log file if needed. I am using Sway (Wayland) on Arch Linux with a NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2, 4.6.0 NVIDIA 570.133.07
. I will also try the environment variable and report back.
Works fine with an Intel integrated graphics on my laptop.
Works fine with Intel integrated graphics on my laptop.
Did you also use Sway (Wayland) on Arch Linux on your laptop?
I will also try the environment variable and report back.
We personally experienced the exact same error you linked above and were able to resolve it by setting that environment variable. Hope it works for you as well!
Did you also use Sway (Wayland) on Arch Linux on your laptop?
Yes, an almost identical configuration (using Mesa drivers instead).
Setting the environment variable solved the issue! Happy to continue using Spine!
Thanks for reporting back
Glad it solved your problem!