[Bug 296289] graphics/qt6-base or x11/plasma6-kwin: Qt6 openglwindow has high CPU and visual corruption on Plasma Wayland with NVIDIA

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Jun 2026 12:17:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296289

            Bug ID: 296289
           Summary: graphics/qt6-base or x11/plasma6-kwin: Qt6
                    openglwindow has high CPU and visual corruption on
                    Plasma Wayland with NVIDIA
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: delleceste@gmail.com
 Attachment #272147 text/plain
         mime type:

Created attachment 272147
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272147&action=edit
Qt openglwindow under wayland

On FreeBSD 15.0-RELEASE-p4 with KDE Plasma Wayland, Qt 6.11.1, NVIDIA driver
595.80, and an NVIDIA RTX A400, the official Qt6 openglwindow example
  shows severe Wayland-specific issues:

  - Native Wayland run, not Xwayland.
  - Window is transparent/flickering.
  - Mouse cursor leaves trails and appears repeatedly redrawn/multiplied over
the window.
  - App CPU is steady around 23.5-24.7%.

  The same example under Xorg behaves normally:

  - X11 client at 640x480.
  - No equivalent visual corruption observed.
  - App CPU is only about 0.2-0.6%.
  - NVIDIA reports app GPU memory as 1 MiB under Xorg versus 34 MiB under
Wayland.

  Reproducer:

  cd /home/giacomo/devel/openglwindow
  ./build/openglwindow

  The source is the stock Qt6 example from:

  /usr/local/share/examples/qt6/opengl/openglwindow

  Environment:

  FreeBSD dal 15.0-RELEASE-p4 amd64
  KDE Plasma 6
  Qt 6.11.1
  NVIDIA driver 595.80
  GPU: NVIDIA RTX A400

  Attached measurements compare Wayland and Xorg runs using top, ps,
nvidia-smi, nvidia-smi pmon, procstat, and xwininfo.

-- 
You are receiving this mail because:
You are the assignee for the bug.