Bugzilla – Bug 1219225
VLC crashes in Wayland after DUP from 20240123-0 to 20240124-0; Nvidia driver in KDE Plasma
Last modified: 2024-01-28 08:45:46 UTC
I discovered after DUPing to the 20240124-0 snapshot that VLC crashes when I attempt to load any video. I enabled debug and error logs for VLC, and found: EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display I next tried installing the flatpak version of VLC, which also crashed, with this error message: libEGL warning: egl: failed to create dri2 screen VLC works properly if I log in with X11. The 20240124-0 snapshot brought in a passel of mesa updates. VLC worked properly under Wayland with the 20240123 snapshot. I'm using the nvidia 550.40.07 driver installed "the hard way" with KDE Plasma.
Today's DUP to the latest 20240126 snapshot has fixed this problem. I also installed libva-vdpau-driver in the interim, as per the segmentation fault troubleshooting steps at: https://wiki.archlinux.org/title/VLC_media_player .