Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135935

kmail and other Qt6 apps crash on launch with Qt 6.9.0 Manjaro on X11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.9.0
    • WebEngine
    • None
    • Manjaro latest KDE6 Plasma Desktop with X11
    • Linux/X11

    Description

      Manjaro Linux stable recently updated to Qt 6.9.0 from Qt 6.8.2 and under X11 all of my Qt6 webengine apps are failing after launch and briefly showing on the screen with the following error message ( using kmail as an example: )

      
      [2018:2066:0412/124000.991759:ERROR:gpu_memory_buffer_support_x11.cc(134)] Can't create buffer -- unsupported config: usage=SCANOUT, format=BGRA_8888
      
      Failed to create GBM buffer for GLX.
      *** KMail got signal 6 (Exiting)
      *** Dead letters dumped.
      KCrash: Application 'kmail' crashing... crashRecursionCounter = 2
      zsh: IOT instruction (core dumped)  kmail
      
      

      Even the Qt6 official simplebrowser example fails with the same error message:

      
      [3068:3107:0412/125246.903050:ERROR:gpu_memory_buffer_support_x11.cc(134)] Can't create buffer -- unsupported config: usage=SCANOUT, format=BGRA_8888
      Failed to create GBM buffer for GLX.
      zsh: IOT instruction (core dumped)  ./simplebrowser
      
      

      Given the error seems to be in gpu_memory_buffer_support_x11.cc(134), I then rebooted my system in Wayland and then it all works.

      I am using an AMDGPU system, I will add my qtdiag6 output in case it might provide a clue.

      None of these errors happened under Qt 6.8.2-3, which was the previous version used in Manjaro stable.

      Attachments

        1. radeon_kernel_module_support.patch
          0.7 kB
        2. lsgpu_output_with_radeon_module.txt
          5 kB
        3. radeon_XCB_EGL.txt
          3 kB
        4. gbm_radeon_module.txt
          11 kB
        5. force_no_gbm_radeon_module.txt
          4 kB
        6. qtdiag6.log
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            kevinhendricks Kevin B. Hendricks
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes