Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.6k
    • Issues 1.6k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 267
    • Merge requests 267
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Issues
  • #6091

[GTK4][Renderer][probably: NVIDIA/Intel/Optimus] GL renderer not drawing anything, Vulkan renderer with heavy artifacts

Reproduction steps

A. Start a GTK app (e.g. nautilus, gnome-control-center etc.) with no special environment setting or GSK_RENDERER=opengl

B. Alternatively, start a GTK app with GSK_RENDERER=vulkan (only with custom compiled GTK incl. Vulkan support)

C. Start the app with GSK_RENDERER=cairo

Current behavior

A. The app will open a window of the correct size, containing a slightly shifted copy of the previous screen contents of that area and never paint over it. This window has no decoration, but it can be dragged by clicking in the approximate location of a title bar (if there was one). It can also be resized, but on expansion, it will just keep the screen contents of the screen area it should now draw on [see screenshot 1]

B. The app will open a window normally, but produce all kinds of visual artifacts on moving the window or interacting with it. Flickering, vertical and horizonal lines, parts of the window not redrawn or becoming translucent (= background). (Trying to take a screenshot redraws the window, so the artifacts cannot be seen.)

C. Everything works as expected

Expected outcome

A./B. The GTK app runs normally

Version information

gtk-4-12 compiled from git incl. Vulkan support gtk4-4.10.5-1.fc38 (fedora repository) exhibits same behaviour for GL renderer (no Vulkan support)

System

Fedora 38 x86_64

Graphics

Optimus system with: Intel Corporation HD Graphics 5500 (rev 09) - Mesa 23.1.6 NVIDIA Corporation GM108M [GeForce 940M] (rev a2) - proprietary NVIDIA 535.104.05

Additional information

screenshot 1

Edited Sep 08, 2023 by John Obscurant
Assignee
Assign to
Time tracking