main/postmarketos-base-ui: avoid flatpak workaround conflict with adreno quirks

!6417 (merged) added a workaround for a GTK4 issue in flatpak by setting GSK_RENDERER=ngl for all Qualcomm devices. This is now causing crashes on many of the older Qualcomm devices that specifically avoid usage of the ngl renderer. These devices already set a custom GSK_RENDERER in /etc/profile.d (e.g. on MSM8916 devices: gl in v24.12, cairo in edge).

Several device packages install those settings into /etc/profile.d/adreno* so let's avoid the conflict for now by reducing the priority of the flatpak workaround and installing it to /etc/profile.d/99-flatpak*. That way the setting from the device packages takes priority.

Please also backport this to v24.12, since GTK4 is completely broken there on MSM8916 right now.

Cc: @ollieparanoid @craftyguy

Fixes #3673 (closed)

Edited by Minecrell

Merge request reports

Loading