Closing apps unexpectedly

Hello,

I’ve encountered an unusual problem, and I’m not sure if it’s related to Hyprland or EndeavourOS. My setup includes an NVIDIA RTX 4090 and I’m running Hyprland on EndeavourOS. I can open applications and they work normally, but specific actions cause issues. For example, in Opera, when I attempt to open a file selection dialog or use drag-and-drop features, the application unexpectedly closes. This issue isn’t limited to Opera; it also affects other applications like Google Chrome and Java apps, but not my terminal windows or Firefox. Additionally, when I try to open virtual machines in VirtualBox, it triggers a stack trace. Here are the details of the stack trace:

feb 18 17:09:54 pois0n systemd-coredump[257054]: [🡕] Process 1962 (xdg-desktop-por) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 1962:
                                                 #0  0x000075d60582df9e n/a (libsdbus-c++.so.1 + 0x19f9e)
                                                 #1  0x000075d60583887e n/a (libsdbus-c++.so.1 + 0x2487e)
                                                 #2  0x000075d605838d8a n/a (libsdbus-c++.so.1 + 0x24d8a)
                                                 #3  0x00005e7e2f7e6840 n/a (xdg-desktop-portal-hyprland + 0x1f840)
                                                 #4  0x00005e7e2f7e6a35 n/a (xdg-desktop-portal-hyprland + 0x1fa35)
                                                 #5  0x000075d605170b36 n/a (libc.so.6 + 0x3eb36)
                                                 #6  0x000075d605170c80 exit (libc.so.6 + 0x3ec80)
                                                 #7  0x000075d605157cd7 n/a (libc.so.6 + 0x25cd7)
                                                 #8  0x000075d605157d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                 #9  0x00005e7e2f7d8f25 n/a (xdg-desktop-portal-hyprland + 0x11f25)
                                                 ELF object binary architecture: AMD x86-64
feb 18 17:09:54 pois0n systemd[1]: systemd-coredump@3-257023-0.service: Deactivated successfully.
feb 18 17:09:54 pois0n systemd-coredump[257059]: [🡕] Process 250952 (electron) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 250952:
                                                 #0  0x00007701532ab002 n/a (libc.so.6 + 0x8d002)
                                                 #1  0x000059920d4b517f uv_thread_join (electron + 0x214517f)
                                                 #2  0x000059920d65d4c8 n/a (electron + 0x22ed4c8)
                                                 #3  0x000059920d6995bf n/a (electron + 0x23295bf)
                                                 #4  0x000059920d5ad1c9 n/a (electron + 0x223d1c9)
                                                 #5  0x000059920d5ad2ae n/a (electron + 0x223d2ae)
                                                 #6  0x000059920fb8c6ee n/a (electron + 0x481c6ee)
                                                 #7  0x000059920fb8c86e n/a (electron + 0x481c86e)
                                                 #8  0x000059920fb90c35 n/a (electron + 0x4820c35)
                                                 #9  0x000059920fb90778 n/a (electron + 0x4820778)
                                                 #10 0x000059920fb8c2ba n/a (electron + 0x481c2ba)
                                                 #11 0x000059920d7f439a n/a (electron + 0x248439a)
                                                 #12 0x000059920d7f5ab0 n/a (electron + 0x2485ab0)
                                                 #13 0x000059920d7f5901 n/a (electron + 0x2485901)
                                                 #14 0x000059920d7f3080 n/a (electron + 0x2483080)
                                                 #15 0x000059920d7f35ac n/a (electron + 0x24835ac)
                                                 #16 0x000059920d4bb7a6 n/a (electron + 0x214b7a6)
                                                 #17 0x0000770153243cd0 n/a (libc.so.6 + 0x25cd0)
                                                 #18 0x0000770153243d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                 #19 0x000059920d1e2025 _start (electron + 0x1e72025)
                                                 
                                                 Stack trace of thread 251021:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d4e00e n/a (electron + 0x59de00e)
                                                 #6  0x0000599210d4eced n/a (electron + 0x59deced)
                                                 #7  0x0000599210d4e92a n/a (electron + 0x59de92a)
                                                 #8  0x0000599210d4e782 n/a (electron + 0x59de782)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251017:
                                                 #0  0x000077015330fec7 wait4 (libc.so.6 + 0xf1ec7)
                                                 #1  0x0000599210d81d5b n/a (electron + 0x5a11d5b)
                                                 #2  0x0000599210d82814 n/a (electron + 0x5a12814)
                                                 #3  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #4  0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #5  0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251018:
                                                 #0  0x0000770153326e66 epoll_wait (libc.so.6 + 0x108e66)
                                                 #1  0x0000599210eb8d5c n/a (electron + 0x5b48d5c)
                                                 #2  0x0000599210eb652c n/a (electron + 0x5b4652c)
                                                 #3  0x0000599210d8756c n/a (electron + 0x5a1756c)
                                                 #4  0x0000599210d38647 n/a (electron + 0x59c8647)
                                                 #5  0x0000599210d04385 n/a (electron + 0x5994385)
                                                 #6  0x0000599210d54547 n/a (electron + 0x59e4547)
                                                 #7  0x0000599210d430cb n/a (electron + 0x59d30cb)
                                                 #8  0x0000599210d5473c n/a (electron + 0x59e473c)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251011:
                                                 #0  0x00007701533190bf __poll (libc.so.6 + 0xfb0bf)
                                                 #1  0x00005992102f2912 n/a (electron + 0x4f82912)
                                                 #2  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #3  0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #4  0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251028:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532b1470 n/a (libc.so.6 + 0x93470)
                                                 #2  0x000059920d4b5656 uv_sem_wait (electron + 0x2145656)
                                                 #3  0x000059921501e0ac n/a (electron + 0x9cae0ac)
                                                 #4  0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #5  0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251019:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d4e00e n/a (electron + 0x59de00e)
                                                 #6  0x0000599210d4eced n/a (electron + 0x59deced)
                                                 #7  0x0000599210d4e8da n/a (electron + 0x59de8da)
                                                 #8  0x0000599210d4e756 n/a (electron + 0x59de756)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251023:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d1df93 n/a (electron + 0x59adf93)
                                                 #6  0x0000599210ce470d n/a (electron + 0x597470d)
                                                 #7  0x0000599210d38647 n/a (electron + 0x59c8647)
                                                 #8  0x0000599210d04385 n/a (electron + 0x5994385)
                                                 #9  0x0000599210d54547 n/a (electron + 0x59e4547)
                                                 #10 0x0000599210d5473c n/a (electron + 0x59e473c)
                                                 #11 0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #12 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #13 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251020:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d4e00e n/a (electron + 0x59de00e)
                                                 #6  0x0000599210d4ea86 n/a (electron + 0x59dea86)
                                                 #7  0x0000599210d4e8da n/a (electron + 0x59de8da)
                                                 #8  0x0000599210d4e756 n/a (electron + 0x59de756)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 ELF object binary architecture: AMD x86-64
feb 18 17:09:54 pois0n systemd[1]: systemd-coredump@6-257038-0.service: Deactivated successfully.
feb 18 17:09:55 pois0n systemd-coredump[257058]: [🡕] Process 254300 (code) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 254300:
                                                 #0  0x000077546428c32c n/a (libc.so.6 + 0x8d32c)
                                                 #1  0x000077546423b6c8 raise (libc.so.6 + 0x3c6c8)
                                                 #2  0x00007754642234b8 abort (libc.so.6 + 0x244b8)
                                                 #3  0x0000775464224395 n/a (libc.so.6 + 0x25395)
                                                 #4  0x000077546427fc7b __libc_fatal (libc.so.6 + 0x80c7b)
                                                 #5  0x0000775464291d5d sem_post (libc.so.6 + 0x92d5d)
                                                 #6  0x00005ffe207aa4a7 uv_sem_post (code + 0x201c4a7)
                                                 #7  0x00005ffe209138e7 n/a (code + 0x21858e7)
                                                 #8  0x00005ffe20949f9e n/a (code + 0x21bbf9e)
                                                 #9  0x00005ffe20882c1d n/a (code + 0x20f4c1d)
                                                 #10 0x00005ffe20882cde n/a (code + 0x20f4cde)
                                                 #11 0x00005ffe22903fcb n/a (code + 0x4175fcb)
                                                 #12 0x00005ffe2290410e n/a (code + 0x417610e)
                                                 #13 0x00005ffe22908359 n/a (code + 0x417a359)
                                                 #14 0x00005ffe22907eb8 n/a (code + 0x4179eb8)
                                                 #15 0x00005ffe22903c0e n/a (code + 0x4175c0e)
                                                 #16 0x00005ffe20a6d244 n/a (code + 0x22df244)
                                                 #17 0x00005ffe20a6e990 n/a (code + 0x22e0990)
                                                 #18 0x00005ffe20a6e79c n/a (code + 0x22e079c)

Can you help me, please?

RTX3070, no problems here, if I trigger the file open dialogue, it works.


My environmental variables:

env = LIBVA_DRIVER_NAME,nvidia
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1

#env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt5ct
env = GDK_BACKEND=wayland,x11

env = XDG_CURRENT_DESKTOP=Hyprland
env = XDG_SESSION_TYPE=wayland
env = XDG_SESSION_DESKTOP=Hyprland


#env = GDK_BACKEND,x11

# See https://wiki.hyprland.org/Configuring/Keywords/ for more

Which xdg-desktop-portals do you have installed?

Also (which you must have) nvidia-drm.modeset=1 in my command line. That is all I have. HTH.

Edit - the file open dialogue only opens once, if I cancel, cannot reopen, needs a browser restart.

XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_BACKEND=wayland
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=Hyprland
XDG_SESSION_TYPE=wayland
XDG_CURRENT_DESKTOP=Hyprland
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_VTNR=1
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000

LIBVA_DRIVER_NAME=nvidia

__GLX_VENDOR_LIBRARY_NAME=nvidia

WLR_NO_HARDWARE_CURSORS=1

QT_QPA_PLATFORMTHEME=qt5ct

I don’t have “GBM_BACKEND,nvidia-drm” and " “GDK_BACKEND” neither.

And the nomodeset:

sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

The xdg-desktop-portals that I have installed:

 pacman -Q | grep xdg-desktop-portal

xdg-desktop-portal 1.18.2-1
xdg-desktop-portal-hyprland 1.3.1-3
xdg-desktop-portal-kde 5.27.10-1

Might need gtk portal, I did. You could try the environmental variables to see if they make any difference, pretty certain I got them from the Hyprland wiki.

1 Like

You mean xdg-desktop-portal-gtk , right?

1 Like
1 Like

Yes, I would also remove the KDE portal, I read that somewhere, which is a pain as I use both.
I also made this change to /usr/share/xdg-desktop-portal/hyprland-portals.conf

[preferred]
default=hyprland;gtk

As hyprland did not seem to have a file picker and I use localsend a lot.

I have the same option in the hyprland-portals.conf. I have installed the xdg-desktop-portal-gtk and still the same problem :frowning: