You are not logged in.

#1 2021-05-13 21:50:33

krey
Member
From: New York City
Registered: 2011-10-09
Posts: 22

Graphics corruption in flatpak and snap apps

Hello

I'm having some graphics corruption in Spotify (Flatpak) and Icedrive (Snap).

The corruption does not happen in "native" apps.

Some screenshots: https://imgur.com/a/hPSezFE

I am using PRIME as described here: https://wiki.archlinux.org/title/PRIME# … offloading, using amgpu.

If I launch the apps with DRI_PRIME=1, the corruption doesn't happen.

$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.12.2-arch1-1, LLVM 11.1.0)
$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Radeon 500 Series (POLARIS12, DRM 3.40.0, 5.12.2-arch1-1, LLVM 11.1.0)

Last edited by krey (2021-05-13 22:19:07)

Offline

#2 2021-05-15 07:54:21

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: Graphics corruption in flatpak and snap apps

So, export DRI_PRIME=1 for those borked apps then, you found the fix.
There's not much we can do for stuff from flatpak or snap, its not managed by arch maintainers at all.

Last edited by GaKu999 (2021-05-15 07:54:51)


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-05-15 09:58:30

icar
Member
Registered: 2020-07-31
Posts: 562

Re: Graphics corruption in flatpak and snap apps

I see the same on GTK4 programs in Flatpak. I'm still trying to track it down.

Offline

#4 2021-05-18 22:34:12

Vendicated
Member
Registered: 2021-05-14
Posts: 1

Re: Graphics corruption in flatpak and snap apps

this seems to be an issue with mesa. Downgrading mesa and lib32-mesa to 21.0.3 and then logging out and back in fixes it

Offline

#5 2021-05-24 06:40:42

icar
Member
Registered: 2020-07-31
Posts: 562

Re: Graphics corruption in flatpak and snap apps

New mesa version doesn't fix it, unfortunately.

Offline

Board footer

Powered by FluxBB