radeonsi: Electron applications appear garbled citing Skia shader compilation errors in the console.
System information
System:
Host: MacroSynchro Kernel: 6.5.2-cb1.0.fc38.x86_64 arch: x86_64 bits: 64
compiler: gcc v: 2.39-9.fc38 Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10
wm: kwin_x11 dm: SDDM Distro: Fedora release 38 (Thirty Eight)
CPU:
Info: 8-core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3+
rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB
Speed (MHz): avg: 4041 high: 4675 min/max: 2200/4850 boost: enabled cores:
1: 3937 2: 3742 3: 4123 4: 4672 5: 3739 6: 4673 7: 3742 8: 3777 9: 3746
10: 3774 11: 4168 12: 4674 13: 3731 14: 4675 15: 3742 16: 3747
bogomips: 121597
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Sapphire NITRO+
driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
active: DP-1 empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 0d:00.0
chip-ID: 1002:744c
Device-2: Logitech StreamCam
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 bus-ID: 5-2:2 chip-ID: 046d:0893
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9
compositor: kwin_x11 driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 5120x1440 s-dpi: 96
Monitor-1: DP-1 mapped: DisplayPort-0 model: Samsung LS49AG95
res: 5120x1440 dpi: 109 diag: 1239mm (48.8")
API: OpenGL v: 4.6 Mesa 23.3.0-devel renderer: AMD Radeon Graphics
(gfx1100 LLVM 16.0.6 DRM 3.54 6.5.2-cb1.0.fc38.x86_64) direct-render: Yes
Describe the issue
Hello, I've been running mesa-git for a while and within the last couple days I have started seeing garbled graphics in Electron applications that are using hardware acceleration.
The visual issues disappear when --disable-gpu
is passed to the application, which at least works around the issue.
I am currently running mesa-git SHA 39fca243, and the last good commit that I was running where issues were not seen is ed48d1cb. However things may have worked correctly past this commit, I don't pull updates on a daily basis.
Regression
Shader compilation errors and application does not render correctly.
Issue is not present with Mesa 23.1.6
Log files as attachment
Screenshots/video files (if applicable)
Any extra information would be greatly appreciated
Let me know if I can provide anything else.
Edited by Jack Greiner