Bug 481730 - Crash on launch
Summary: Crash on launch
Status: RESOLVED UPSTREAM
Alias: None
Product: XWaylandVideoBridge
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-23 18:23 UTC by malikth32
Modified: 2024-02-24 23:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description malikth32 2024-02-23 18:23:39 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
#0  __pthread_kill_implementation
    (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff5cab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>)
    at pthread_kill.c:78
#2  0x00007ffff5c5a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff5c424b8 in __GI_abort () at abort.c:79
#4  0x00007fffead17f68 in terminator_GetPhysicalDeviceCalibrateableTimeDomainsKHR
    (physicalDevice=<optimized out>, pTimeDomainCount=<optimized out>, pTimeDomains=<optimized out>)
    at /usr/src/debug/vulkan-icd-loader/Vulkan-Loader-1.3.276/loader/generated/vk_loader_extensions.c:4946
#5  0x00007fffd53ed8b1 in check_have_device_time ()
    at ../mesa-24.0.1/src/gallium/drivers/zink/zink_screen.c:1892
#6  zink_internal_create_screen () at ../mesa-24.0.1/src/gallium/drivers/zink/zink_screen.c:3331
#7  0x00007fffd4a3b11e in zink_create_screen ()
    at ../mesa-24.0.1/src/gallium/drivers/zink/zink_screen.c:3559
#8  sw_screen_create_zink () at ../mesa-24.0.1/src/gallium/auxiliary/target-helpers/sw_helper.h:104
#9  0x00007fffd501dee8 in pipe_loader_sw_create_screen ()
    at ../mesa-24.0.1/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:426
#10 0x00007fffd5039ad3 in pipe_loader_create_screen_vk ()
    at ../mesa-24.0.1/src/gallium/auxiliary/pipe-loader/pipe_loader.c:180
#11 pipe_loader_create_screen () at ../mesa-24.0.1/src/gallium/auxiliary/pipe-loader/pipe_loader.c:186
#12 0x00007fffd4a4aa6e in kopper_init_screen ()
    at ../mesa-24.0.1/src/gallium/frontends/dri/kopper.c:134
#13 0x00007fffd4a4adb5 in driCreateNewScreen2 ()
    at ../mesa-24.0.1/src/gallium/frontends/dri/dri_util.c:139
#14 0x00007fffeb2a2e56 in dri2_create_screen () at ../mesa-24.0.1/src/egl/drivers/dri2/egl_dri2.c:1025
#15 0x00007fffeb2a828f in dri2_initialize_x11_swrast ()
    at ../mesa-24.0.1/src/egl/drivers/dri2/platform_x11.c:1528
#16 dri2_initialize_x11 () at ../mesa-24.0.1/src/egl/drivers/dri2/platform_x11.c:1766
#17 dri2_initialize () at ../mesa-24.0.1/src/egl/drivers/dri2/egl_dri2.c:1162
#18 0x00007fffeb295ec5 in eglInitialize () at ../mesa-24.0.1/src/egl/main/eglapi.c:702
#19 0x00007ffff1928605 in QXcbEglIntegration::initialize
    (this=0x5555555b7050, connection=0x5555555c0c70)
    at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglintegration.cpp:81
#20 0x00007ffff14b1c41 in QXcbConnection::glIntegration (this=<optimized out>)
    at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1153
#21 QXcbConnection::glIntegration (this=<optimized out>)
    at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1131
#22 0x00007ffff14b22dd in QXcbIntegration::createPlatformOpenGLContext
    (this=<optimized out>, context=0x7fffffffddd0)
    at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbintegration.cpp:277
#23 0x00007ffff697b0b2 in QOpenGLContext::create (this=this@entry=0x7fffffffddd0)
    at kernel/qopenglcontext.cpp:612
#24 0x00007ffff12fdcc1 in checkBackend (checkContext=...)
    at /usr/src/debug/plasma-integration/plasma-integration-5.27.10/src/platformtheme/qtquickrenderersettings.cpp:43
#25 initializeRendererSessions ()
    at /usr/src/debug/plasma-integration/plasma-integration-5.27.10/src/platformtheme/qtquickrenderersettings.cpp:79
#26 initializeRendererSessions ()
    at /usr/src/debug/plasma-integration/plasma-integration-5.27.10/src/platformtheme/qtquickrenderersettings.cpp:52
#27 0x00007ffff6493807 in qt_call_pre_routines () at kernel/qcoreapplication.cpp:317
#28 QCoreApplicationPrivate::init (this=this@entry=0x55555558a960) at kernel/qcoreapplication.cpp:849
#29 0x00007ffff692fb26 in QGuiApplicationPrivate::init (this=this@entry=0x55555558a960)
    at kernel/qguiapplication.cpp:1530
#30 0x00007ffff7154b9e in QApplicationPrivate::init (this=0x55555558a960)
    at kernel/qapplication.cpp:513
#31 0x00007ffff7154cc4 in QApplication::QApplication
    (this=this@entry=0x7fffffffe090, argc=@0x7fffffffe04c: 1, argv=argv@entry=0x7fffffffe238, _internal=_internal@entry=331531, this=<optimized out>, argc=<optimized out>, argv=<optimized out>, _internal=<optimized out>) at kernel/qapplication.cpp:501
#32 0x000055555555b183 in main (argc=<optimized out>, argv=0x7fffffffe238)
    at /usr/src/debug/xwaylandvideobridge/xwaylandvideobridge-0.4.0/src/main.cpp:29

STEPS TO REPRODUCE
1. Install the Arch Linux xwaylandvideobridge package: https://archlinux.org/packages/extra/x86_64/xwaylandvideobridge/
2. Attempt to run it from the terminal

OBSERVED RESULT
It crashes with the following output:

libEGL warning: egl: failed to create dri2 screen
ERROR:             ICD associated with VkPhysicalDevice does not support GetPhysicalDeviceCalibrateableTimeDomainsKHR
Aborted (core dumped)

EXPECTED RESULT
It starts normally.

SOFTWARE/OS VERSIONS
Linux: 6.7.5-arch1-1
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
I ran XWayland Video Bridge from the terminal, as the desktop entry doesn't appear.
Comment 1 malikth32 2024-02-24 23:54:33 UTC
This is actually an issue with Mesa 24.0.1 as observed here: https://forums.developer.nvidia.com/t/mutter-x11-frames-is-unable-to-start-with-mesa-24-nvidia-550-rtx-4070tis/283055

After downgrading Mesa to 23.3.5, everything works as expected.