-
Notifications
You must be signed in to change notification settings - Fork 13
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
Blender Launcher crashes during init on Gnome under Wayland #47
Comments
I guess pynput requires an X server (or xwayland) to be running. I'll see if that can possibly be made optional |
Apparently pyinput should work under wayland. But the build_linux.sh and build_linux_debug.sh files point to hidden-imports of _xorg files: --hidden-import "pynput.keyboard._xorg" Is it possible that the linux version is explicitly using the xorg versions of those dependencies instead of a platform agnostic version? |
The packager needs to use these hidden imports because they aren't static, so pyinstaller cannot track them. see here: moses-palmer/pynput#312 and during importing, pynput uses this function, where in the highlighted text, specifies which modules to use: And I think a fully platform agnostic version is impossible because it needs different methods of collecting keystrokes for different oses. The XLib import seems to have been added actually for Fedora... not sure why though |
After doing some digging I built it myself at home and I got a functioning version of the launcher. I suppose it may be related to the build environment. |
strange, i thought i fixed that last thing. Could you be more specific? |
Oh! you fixed it on commit c2ed648. |
ok, now I'm curious, does the global hotkeys actually work for you on Wayland with the custom build? it has never worked for me on Wayland. I always assumed it was because of the security stuff regarding Wayland |
Describe the bug
Blender launcher is not lauching on Fedora systems under gnoe wayland. Running it through the terminal yields the following messages:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For Blender Laucher to run.
System (please complete the following information):
Additional context
This problem had been reported on Dotbow's repo previously. This is sure to happen on Fedora versions newer than 36 unsing gnome and wayland, but other people have had this same problem under other OSs. This seemed to be related to how Gnome versions 43 where using GTK4 toolkit under wayland or something like this, so I think that anything running Gnome 43 and over under wayland might display the issue.
The text was updated successfully, but these errors were encountered: