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

wayland: Protocol error when using OpenGL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 6.7.2, 6.8.0 RC
    • QPA: Wayland
    • None
    • Linux/Wayland

      I have dual GPU laptop and any time I try to use OpenGL in Qt applications, they abort with this message:

      The Wayland connection experienced a fatal error: Protocol error
      

      This probably has something to do with the GPU being used. OpenGL always picks Nvidia GPU to use.

      If I use Vulkan, it seems to pick Intel driver by default which works (except window decorations, but that is probably different issue). If I make it to select Nvidia driver for Vulkan instead, it crashes.

      When using Xwayland, OpenGL and Vulkan work fine out of the box. And both use Intel GPU then.

      I believe Gnome itself is running with Nvidia GPU since it only shows the Nvidia GPU in the about box, so there is probably some issue in Qt rather than the driver.

        1. waylanddebug.txt
          17 kB
          Joni Poikelin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes