https://bugs.kde.org/show_bug.cgi?id=517716

--- Comment #5 from [email protected] ---
(In reply to Zamundaaa from comment #1)
> > User is in video + render groups.
> I don't think your user is supposed to be in the video group? logind handles
> access to kms nodes.
I removed video group from my user but problem persist. 

> This sounds as though Xwayland attempts (and fails) to open the primary
> node, instead of the render node.
> Please try a nested session and check if it works there:
> > dbus-run-session kwin_wayland --xwayland -- konsole
> > git bisect bad v6.6.0 
> > git bisect good v6.5.6
> 6.5.6 is based on a different branch than 6.6.0. I think you could bisect
> between 6.4.90 and 6.6.0 though.
I build from v6.4.90, it actually also crashed whenever I try to launch `env
QT_PLUGIN_PATH="$(pwd)":"$QT_PLUGIN_PATH" dbus-run-session ./kwin_wayland
--xwayland vkcube --wsi xlib`, however `env
QT_PLUGIN_PATH="$(pwd)":"$QT_PLUGIN_PATH" dbus-run-session ./kwin_wayland
--xwayland -- konsole` is fine.
I also try to launch `vkcude` inside the `konsole` and it got crash as well. I
am attaching the host output, konsole output and the strace to see if it is
helpful. The strace log is get with `strace -f -o vkcube.strace vkcube --wsi
xlib`

I also run a gdb to see if it is helpful

(gdb) run
Starting program: /usr/bin/vkcube --wsi xlib
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe99ff6c0 (LWP 12671)]
[New Thread 0x7fffe8dff6c0 (LWP 12672)]
MESA: info: vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config

Thread 1 "vkcube" received signal SIGSEGV, Segmentation fault.
0x00007ffff7c2288e in loader_unwrap_physical_device (physicalDevice=0x21) at
/usr/src/debug/vulkan-icd-loader/Vulkan-Loader/loader/loader.h:40
40          if (PHYS_TRAMP_MAGIC_NUMBER != phys_dev->magic) {
(gdb) backtrace
#0  0x00007ffff7c2288e in loader_unwrap_physical_device (physicalDevice=0x21)
at /usr/src/debug/vulkan-icd-loader/Vulkan-Loader/loader/loader.h:40
#1  vkGetPhysicalDeviceProperties (physicalDevice=0x21,
pProperties=0x7fffffffb570) at
/usr/src/debug/vulkan-icd-loader/Vulkan-Loader/loader/trampoline.c:950
#2  0x000055555555b497 in demo_select_physical_device
(demo=demo@entry=0x7fffffffc7d0) at
/usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:4328
#3  0x0000555555555642 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:5148
(gdb) quit

vkcube --wsi wayland is fine but vkcube --wsi xlib will crashed

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to