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

Module breaks AppImages xwayland? #251

Open
christianholman opened this issue Aug 9, 2024 · 4 comments
Open

Module breaks AppImages xwayland? #251

christianholman opened this issue Aug 9, 2024 · 4 comments

Comments

@christianholman
Copy link

christianholman commented Aug 9, 2024

Have been beating my head against a wall for a few days trying to triage why none of my 3d printing software works anymore under wayland (prusa-slicer, bambustudio, cura, superslicer, orca-slicer etc.), and narrowed it down to something in nixos-cosmic messing up dependencies?

The apps start for a moment and then revert segfault with

(prusa-slicer:3822): Gtk-CRITICAL **: 23:33:47.714: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:3822): Gtk-CRITICAL **: 23:33:47.714: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:3822): Gtk-CRITICAL **: 23:33:47.714: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:3822): Gtk-CRITICAL **: 23:33:47.714: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:3822): Gtk-CRITICAL **: 23:33:47.714: gtk_widget_set_size_request: assertion 'width >= -1' failed
11:33:47 PM: Debug: window wxTreeCtrl@0x571b160 ("treeCtrl") lost focus even though it didn't have it
11:33:47 PM: Debug: window wxTreeCtrl@0x571b160 ("treeCtrl") lost focus even though it didn't have it

(prusa-slicer:3822): Gdk-WARNING **: 23:33:49.869: GdkWindow 0xc00006 unexpectedly destroyed
Segmentation fault (core dumped)

These are all installed from AppImages, NixOS packaged - and I'm wondering if it has to do with either xwayland, mesa, or libwebkitgtk.

Installed by copying from the README 1:1, on nixos unstable, using nvidia_drm.fbdev=1.

nvidia 560/555 tested, RTX 4090 GPU

Is there anything obvious you would suggest overriding? Thank you for making this flake available! I keep seeing your name pop up in all my hobby projects hahah. nice zmk work as well:)

@christianholman
Copy link
Author

If there's any more info I can provide I am happy to do so

@christianholman
Copy link
Author

Superslicer's error:

11:44:52 PM: Debug: window wxTreeCtrl(0x347b9890) lost focus even though it didn't have it
11:44:52 PM: Debug: window wxTreeCtrl(0x347b9890) lost focus even though it didn't have it
11:44:52 PM: Debug: window wxTreeCtrl(0x347b9890) lost focus even though it didn't have it
11:44:52 PM: Debug: window wxTreeCtrl(0x347b9890) lost focus even though it didn't have it
11:44:52 PM: Debug: window wxTreeCtrl(0x346daab0) lost focus even though it didn't have it
11:44:52 PM: Debug: window wxTreeCtrl(0x346daab0) lost focus even though it didn't have it

(superslicer:7766): Gdk-ERROR **: 23:44:55.941: The program 'superslicer' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 13091 error_code 3 request_code 4 (core protocol) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

@christianholman
Copy link
Author

pop-os/cosmic-epoch#466
May be cosmic itself

@lilyinstarlight
Copy link
Owner

Are you still experiencing this? I'm currently failing to replicate an issue with the listed applications or with other AppImages from nixpkgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants