Screen flickering with 7900XT, can't install mesa-git successfully

Hey friends. I recently upgraded from an NVIDIA 1060 GPU to an AMD 7900XT (XTX), and am encountering screen flickering and cursor flickering. (System stability is fine, no issues with reboots or crashes anything).

All my regular video games play/render just fine on my primary monitor, however my secondary monitory flickers pretty bad and is really distracting/gives me a headache.

I am on the latest mesa/llvm releases in the default repos, and have tried installing mesa-git/llvm-git, and while I was only successful in doing so once, it seemed to resolve my issues (used this guide for that).
However, while I was successful in installing mesa-git/llvm-git (and my flickering went away), I was no longer able to install other packages or do system updates, so I had to revert using Snapper.

I got this error:

llvm-libs-git and llvm-libs are in conflict

If I try and let llvm-libs-git replace llvm-libs, I can no longer open new windows/applications, and on a reboot, I get an error about falling back to software rendering, and it seems my GPU can no longer be utilized.

Here is the output of garuda-inxi:

garuda-inxi
System:
  Kernel: 6.2.0-1-mainline arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-mainline
    root=UUID=003fb8db-da6b-406d-9254-15e6d9a8fccf rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 5.27.1 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: MAXIMUS VIII HERO ALPHA v: Rev 1.xx
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: 3801
    date: 03/14/2018
CPU:
  Info: model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 3981 high: 4274 min/max: 800/4200:4300 scaling:
    driver: intel_pstate governor: performance cores: 1: 4101 2: 4100 3: 4274
    4: 4256 5: 2911 6: 4100 7: 4000 8: 4110 bogomips: 64026
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: XFX
    driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm)
    built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: DP-1,DP-2 empty: DP-3,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:744c
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1200 s-dpi: 96 s-size: 1016x317mm (40.00x12.48")
    s-diag: 1064mm (41.9")
  Monitor-1: DP-1 mapped: DisplayPort-0 pos: primary,left model: Dell U2415
    serial: <filter> built: 2017 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 518x324mm (20.39x12.76") diag: 611mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 720x400
  Monitor-2: DP-2 mapped: DisplayPort-1 pos: right model: Dell U2415
    serial: <filter> built: 2017 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 518x324mm (20.39x12.76") diag: 611mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 7900 XT (gfx1100
    LLVM 15.0.7 DRM 3.49 6.2.0-1-mainline) direct-render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK
    driver: snd_hda_intel bus-ID: 1-7.4.2:8 v: kernel alternate: snd_soc_avs
    chip-ID: 0951:16ea bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:a170
    serial: <filter> class-ID: 0403
  Device-2: AMD driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
  Device-3: Kingston HyperX Cloud Flight S type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.2.0-1-mainline running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: ASUSTeK driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 0b:00.0 chip-ID: 168c:003e class-ID: 0280
  IF: wlp11s0 state: down mac: <filter>
  Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: TP-LINK TG-3468 driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: c000 bus-ID: 0d:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp13s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-4: Microsoft Xbox Wireless Adapter for Windows type: USB
    driver: usbfs bus-ID: 2-2.4.2:4 chip-ID: 045e:02fe class-ID: 0000
    serial: <filter>
Bluetooth:
  Device-1: ASUSTek Qualcomm Bluetooth 4.1 type: USB driver: btusb v: 0.8
    bus-ID: 1-9:6 chip-ID: 0b05:1825 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 1.58 TiB used: 1.23 TiB (77.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: SV300S37A240G
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: BBF0 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 860 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 3B6Q scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 850 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: MBR
Partition:
  ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 291.05 GiB (62.5%) fs: btrfs dev: /dev/sdd1 maj-min: 8:49
  ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 291.05 GiB (62.5%) fs: btrfs dev: /dev/sdd1 maj-min: 8:49
  ID-3: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 291.05 GiB (62.5%) fs: btrfs dev: /dev/sdd1 maj-min: 8:49
  ID-4: /var/tmp raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 291.05 GiB (62.5%) fs: btrfs dev: /dev/sdd1 maj-min: 8:49
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.29 GiB used: 498.3 MiB (1.6%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.0 C mobo: N/A gpu: amdgpu temp: 38.0 C
    mem: 49.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
  Processes: 332 Uptime: 15h 50m wakeups: 3 Memory: 31.29 GiB
  used: 8.67 GiB (27.7%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 2301 libs: 585 tools: octopi,paru Shell: fish v: 3.6.0 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2022-01-24
  Last full system update: 2023-02-26 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       <superuser required>
  Failed units:            

Output from glxinfo -B:

glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 7900 XT (gfx1100, LLVM 15.0.7, DRM 3.49, 6.2.0-1-mainline) (0x744c)
    Version: 22.3.6
    Accelerated: yes
    Video memory: 20480MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 19637 MB, largest block: 19637 MB
    VBO free aux. memory - total: 15157 MB, largest block: 15157 MB
    Texture free memory - total: 19637 MB, largest block: 19637 MB
    Texture free aux. memory - total: 15157 MB, largest block: 15157 MB
    Renderbuffer free memory - total: 19637 MB, largest block: 19637 MB
    Renderbuffer free aux. memory - total: 15157 MB, largest block: 15157 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 20480 MB
    Total available memory: 36499 MB
    Currently available dedicated video memory: 19637 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7900 XT (gfx1100, LLVM 15.0.7, DRM 3.49, 6.2.0-1-mainline)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

This is my first post, and I am not very familiar with troubleshooting on Arch, so any help or guidance would be appreciated!

Thanks!

This was resolved once Mesa 23 showed up as an update and I applied it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.