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

wayland: Protocol error when using OpenGL

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes