Created attachment 140881 [details] backtrace SUMMARY kwin_wayland crashes on start on Neon Unstable. Backtrace attached SOFTWARE/OS VERSIONS Kernel: Linux neon 5.11.0-27-generic #29~20.04.1-Ubuntu SMP KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.3 kwin-wayland version: 5.22.4+p20.04+tunstable+git20210820.1352-0 kwin-wayland-backend-drm version: 5.22.4+p20.04+tunstable+git20210820.1352-0 HARDWARE GPU: Mesa DRI Intel G41
Same thing happens with Kernel 5.8
Created attachment 141030 [details] startplasma-wayland log Output of startplasma-wayland. Same output is repeated a number of times before finally exiting.
> Choosing EGL config did not return a suitable config. There were 5 configs. This sounds like a driver bug if it worked with older versions of KWin. It probably returns the wrong bit count and doesn't support GBM_BO_FORMAT_XRGB8888 Can you try again with https://invent.kde.org/plasma/kwin/-/merge_requests/1314, or simply attach the output of eglinfo? The output of drm_info might be useful, too.
*** Bug 441578 has been marked as a duplicate of this bug. ***
Git commit ef48c247e673b9bd2a4e9cdcb50602c33a995e21 by Xaver Hugl. Committed on 26/08/2021 at 15:38. Pushed by zamundaaa into branch 'master'. platforms/drm: re-add some logging for egl configs But only print it when KWin can't find a fitting config M +12 -2 src/plugins/platforms/drm/egl_gbm_backend.cpp https://invent.kde.org/plasma/kwin/commit/ef48c247e673b9bd2a4e9cdcb50602c33a995e21
Created attachment 141070 [details] eglinfo output (In reply to Zamundaaa from comment #3) > > Choosing EGL config did not return a suitable config. There were 5 configs. > This sounds like a driver bug if it worked with older versions of KWin. It > probably returns the wrong bit count and doesn't support > GBM_BO_FORMAT_XRGB8888 > > Can you try again with > https://invent.kde.org/plasma/kwin/-/merge_requests/1314, or simply attach > the output of eglinfo? The output of drm_info might be useful, too. Attached output of eglinfo.
Git commit 092660613a56443c49c7e0bba06348e5318574c5 by Xaver Hugl. Committed on 27/08/2021 at 11:50. Pushed by zamundaaa into branch 'master'. platforms/drm: fix legacy mode M +12 -2 src/plugins/platforms/drm/drm_pipeline.cpp https://invent.kde.org/plasma/kwin/commit/092660613a56443c49c7e0bba06348e5318574c5
Git commit d6de38c1d66bfd96426b82003e01978f1e585823 by Xaver Hugl. Committed on 27/08/2021 at 11:56. Pushed by zamundaaa into branch 'master'. platforms/drm: use drm formats instead of gbm formats There's no need to guard the code, gbm and drm format definitions are the same. Using GBM_BO_FORMAT_* even caused bugs, as that is an enum and not a proper format identifier. M +4 -3 src/plugins/platforms/drm/drm_gpu.cpp M +1 -1 src/plugins/platforms/drm/drm_gpu.h M +3 -8 src/plugins/platforms/drm/drm_object_plane.cpp M +1 -1 src/plugins/platforms/drm/egl_gbm_backend.cpp M +1 -1 src/plugins/platforms/drm/gbm_dmabuf.cpp https://invent.kde.org/plasma/kwin/commit/d6de38c1d66bfd96426b82003e01978f1e585823