t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Linux AppImage UI rendering glitches on Wayland GPU

Open jinrehacek opened this issue 4 months ago • 4 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

My system:

Kernel: Linux 7.0.12-101.fc43.x86_64

  Session type: Wayland
  Current desktop: GNOME
  Wayland display: wayland-0
  Desktop session: gnome

  GPU: AMD/ATI HawkPoint1 [1002:1900]
  GPU driver: amdgpu
  GPU kernel module: amdgpu

  GNOME Shell: 49.7-1.fc43
  Mutter: 49.6-1.fc43
  Mesa: 25.3.6-3.fc43
  libdrm: 2.4.134-1.fc43
  Vulkan loader: 1.4.341.0-1.fc43
  Mesa Vulkan drivers: 25.3.6-3.fc43

When just using the T3Code app as AppImage the graphic glitches in sidebar and search panel (the one you open by pressing Ctrl+K). All text dissapears (sometimes part is hidden by a "blob" of nothingness) and then reappears. It seems like it dissapears when you hover cursor above the area as well. See attached screenshots showing the corrupted UI.

This happens on Wayland with the default launch options. The useful part is that I found a few launch flags that narrow it down:

  • --disable-gpu-compositing fixes the issue
  • --disable-gpu also fixes the issue
  • --ozone-platform=x11 also fixes the issue
  • --disable-features=Vulkan does not fix it

So this looks related to Chromium/Electron GPU compositing on Wayland rather than Vulkan specifically.

PS: please bear with me, this is the first GitHub issue I’ve written. I’m happy to provide more logs or test more things on my machine if that helps.

Expected behavior

UI being shown fullly without glitches.

Actual behavior

It glitches out all text and icons

Impact

Blocks work completely

Version or commit

both nightly 0.29 and stable 0.28

Environment

Fedora 43, GNOME 49 (see above)

Logs or stack traces

Useful parts of logs found by me (and Codex)

WARNING:ui/ozone/platform/wayland/common/wayland_object.cc:119 Binding to wl_shm version 1 but version 2 is available.
WARNING:ui/ozone/platform/wayland/common/wayland_object.cc:119 Binding to zwp_linux_dmabuf_v1 version 4 but version 5 is available.
WARNING:sandbox/policy/linux/sandbox_linux.cc:405 InitializeSandbox() called with multiple threads in process gpu-process.
VERBOSE1:components/viz/service/main/viz_main_impl.cc:86 VizNullHypothesis is disabled (not a warning)


And right before the window appears:

WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:170 Server doesn't support zcr_alpha_compositing_v1.
WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:185 Server doesn't support overlay_prioritizer.
WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:200 Server doesn't support wp_content_type_v1
INFO: main window created

Screenshots, recordings, or supporting files

Screenshot From 2026-07-07 17-57-30.png Screenshot From 2026-07-07 17-57-39.png Screenshot From 2026-07-07 18-33-48.png Screenshot From 2026-07-07 18-33-17.png Screenshot From 2026-07-07 18-33-27.png

Workaround

T3-Code.AppImage --no-sandbox --disable-gpu-compositing
T3-Code.AppImage --no-sandbox --disable-gpu
T3-Code.AppImage --no-sandbox --ozone-platform=x11

This does not fix it:

T3-Code.AppImage --no-sandbox --disable-features=Vulkan

jinrehacek avatar Jul 07 '26 16:07 jinrehacek

Okay, so I just (not really with the goal of fixing T3 code) upgraded my system to Fedora 44 and... it works like charm now (in Sway atleast.) I really don't know what to take from this. Sorry for interrupting you.

jinrehacek avatar Jul 07 '26 19:07 jinrehacek

Just want to add, this looks like a wayland with either ozone or Vulkan issue. I'm seeing this when I launch from the terminal: [23979:0708/093843.921919:ERROR:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc:251] '--ozone-platform=wayland' is not compatible with Vulkan. Consider switching to '--ozone-platform=x11' or disabling Vulkan

pwhitehurst avatar Jul 08 '26 14:07 pwhitehurst

You later reported Fedora 44 with Sway works correctly. Please confirm the issue can be considered resolved on the current build; if not, provide the current compositor/session type and launch flags that still fail.\n\n

juliusmarminge avatar Jul 20 '26 15:07 juliusmarminge

Yes the issue can be considered resolved, it works (tested on current nightly build) without any flags and UI is being rendered correctly.

jinrehacek avatar Jul 24 '26 13:07 jinrehacek