Issues rendering gtk4 window decorations on v3d on Fedora-40/mesa-24.0
In Fedora 40 (kernel 6.8, mesa 24.0) on the Raspberry Pi 4 we're seeing issues rendering some windows decorations with GNOME 46.
System information
Please post inxi -GSC -xx
output (fenced with triple backticks) OR fill information below manually
- OS: Fedora 40
- GPU: (
lspci -nn | grep VGA
orlshw -C display -numeric
) - Kernel version: 6.8.0
- Mesa version: 24.0
- Xserver version (if applicable): Wayland
- Desktop manager and compositor: GNOME
System:
Host: rpi4-8gb Kernel: 6.8.0-63.fc40.1.aarch64 arch: aarch64 bits: 64
compiler: gcc v: 2.41-34.fc40
Console: pty pts/1 DM: GDM Distro: Fedora Linux 40 (Workstation Edition Prerelease)
CPU:
Info: quad core model: N/A variant: cortex-a72 bits: 64 type: MCP arch: ARMv8 rev: 3 cache:
L1: 320 KiB L2: 1024 KiB
Speed (MHz): avg: 1000 min/max: 600/1800 cores: 1: 1000 2: 1000 3: 1000 4: 1000 bogomips: 432
Features: Use -f option to see features
Graphics:
Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: brcm:fef00700
Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: brcm:fef05700
Device-3: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:gpu
Display: server: X.org v: 1.20.14 with: Xwayland v: 23.2.4 compositor: gnome-shell driver: X:
loaded: fbdev,modesetting gpu: vc4_hdmi,vc4_hdmi,vc4_drm tty: 190x45
API: OpenGL Message: GL data unavailable in console for root.
API: Vulkan v: 1.3.275 surfaces: N/A device: 0 type: integrated-gpu driver: N/A
device-ID: 14e4:be485fd3 device: 1 type: cpu driver: N/A device-ID: 10005:0000
API: EGL Message: EGL data unavailable in console, eglinfo missing.
Describe the issue
On Fedora-Workstation-40_Beta-1.8.aarch64, some GUI assets (e.g. UI icons in nautilus, overly controls in loupe) won't load. System booted with nomodeset doesn't have the issue. This happens both on Raspberry Pi 4 and Pi 400. It seems that this bug is present only in GTK 4 applications, firefox or gnome-terminal works as expected.
Journal is full of kernel v3d errors such as (see the attachment for complete log): Mar 19 12:07:38 fedora kernel: v3d fec00000.v3d: MMU error from client L2T (0) at 0x179f7e00, pte invalid These errors appear exactly the moment GTK 4 application is launched.
Nautilus works as expected (all GUI assets are loaded) if launched using the old gl renderer instead of the new ngl renderer: $ GSK_RENDERER=gl nautilus
Regression
Yes, but not sure exact timing due to numerous changes in GNOME/gtk et el, but
Screenshots/video files (if applicable)
Missing decoration in gnome-software:
Missing decorations in title bar and sidebar of nautilus:
More missing decorations in gnome-software:
Any extra information would be greatly appreciated
Downstream Fedora RHBZ Latest Fedora Beta image here for testing on RPi4