Skip to content
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

Linux release doesn't start on Wayland #39

Open
lukateras opened this issue Oct 27, 2021 · 6 comments
Open

Linux release doesn't start on Wayland #39

lukateras opened this issue Oct 27, 2021 · 6 comments
Labels
bug Something isn't working needs info Further information is requested

Comments

@lukateras
Copy link

Describe the bug
Beeref v0.2.0 onefile release doesn't start on Wayland due to dependence on a missing key in one of gsettings schemas. Passing GDK_BACKEND=x11 works around the issue (QT_QPA_PLATFORM=xcb, OTOH, doesn't do anything).

Operating system: Fedora Linux 35.20211013.n.0 (Silverblue)
Window system: Wayland

To Reproduce
Steps to reproduce the behavior:

  1. Launch BeeRef-0.2.0-linux in a Wayland session.
  2. Beeref crashes with SIGTRAP unless GDK_BACKEND=x11 env var is set.

Expected behavior
BeeRef-0.2.0-linux works on Wayland.

Screenshots
Not applicable.

Debug log:

$ ./BeeRef-0.2.0-linux -l TRACE
INFO __main__: Starting BeeRef version 0.2.0
DEBUG __main__: System: Linux durian-dryad 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64
DEBUG __main__: Python: 3.7.3
INFO __main__: Using settings: /var/home/yana/.config/BeeRef/BeeRef.ini
INFO __main__: Logging to: /var/home/yana/.config/BeeRef/BeeRef.log
GLib-GIO-Message: 20:50:16.775: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

(BeeRef-0.2.0-linux:67465): GLib-GIO-ERROR **: 20:50:16.775: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Trace/breakpoint trap (core dumped)
@lukateras lukateras added the bug Something isn't working label Oct 27, 2021
@lukateras
Copy link
Author

Output with QT_DEBUG_PLUGINS=1 is no different.

@lukateras
Copy link
Author

lukateras commented Oct 27, 2021

Beeref.log is essentially empty and is equivalent to the first 5 lines of stdout:

2021-10-27 21:15:14,046 __main__ 68873 139764142349184 Starting BeeRef version 0.2.0
2021-10-27 21:15:14,049 __main__ 68873 139764142349184 System: Linux durian-dryad 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64
2021-10-27 21:15:14,049 __main__ 68873 139764142349184 Python: 3.7.3
2021-10-27 21:15:14,049 __main__ 68873 139764142349184 Using settings: /var/home/yana/.config/BeeRef/BeeRef.ini
2021-10-27 21:15:14,049 __main__ 68873 139764142349184 Logging to: /var/home/yana/.config/BeeRef/BeeRef.log

@yeahitsjan
Copy link
Contributor

yeahitsjan commented Oct 29, 2021

Hey @alpakido,

does starting with --platform wayland or setting QT_QPA_PLATFORM to wayland work out for you?

@lukateras
Copy link
Author

Hi! :)

QT_QPA_PLATFORM=wayland ./BeeRef-0.2.0-linux results in the exact same crash as above, and the same output.

It seems that the CLI doesn't accept the --platform flag, so the second approach doesn't work either:

$ ./BeeRef-0.2.0-linux --platform wayland
INFO __main__: Starting BeeRef version 0.2.0
INFO __main__: Using settings: /var/home/yana/.config/BeeRef/BeeRef.ini
INFO __main__: Logging to: /var/home/yana/.config/BeeRef/BeeRef.log
usage: BeeRef-0.2.0-linux [-h] [--settings-dir SETTINGS_DIR]
                          [-l {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET,TRACE}]
                          [--debug-boundingrects] [--debug-shapes]
                          [--debug-handles]
                          [filename]
BeeRef-0.2.0-linux: error: unrecognized arguments: --platform

@lukateras
Copy link
Author

I'm guessing this issue is relevant: https://gitlab.gnome.org/GNOME/gtk/-/issues/3680

@rbreu
Copy link
Owner

rbreu commented Apr 28, 2024

I this still an issue? The linked but report has been closed.

@rbreu rbreu added the needs info Further information is requested label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants