Graphics glitches, flashing White screen, have to reboot to fix

A couple months ago I changed from intel to amd(Ryzen 5 7640U), no GPU only integrated, and I have been experiencing an issue where, randomly, my screen flickers white, sometimes dark spots on the screen become pixilated, and the flickering gets faster until my whole screen is white, sometimes if I start a wayland session in a new tty (I use x11), the wayland session is also completly white, but sometimes it’s unaffected. I have to reboot to fix, starting a new x11 session after closing the first one doesn’t help. it’s been happening for awhile but until recently it doesn’t happen often. I don’t know why it has been happening more often. because of the switch from intel to amd, I am guessing I need to fix my graphics drivers. I am on 6.6.16-2-MANJARO.

Here’s my inxi -Fazy output

System:
  Kernel: 6.6.16-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=f6898bf0-f23e-4f8c-8f59-2b16eaa17936 rw
    resume=UUID=f6898bf0-f23e-4f8c-8f59-2b16eaa17936 resume_offset=11597824
    quiet splash usbcore.autosuspend=-1 apparmor=1 security=apparmor
    udev.log_priority=3 ibt=off nvme.noacpi=1
  Desktop: i3 v: 4.23 with: polybar tools: avail: i3lock vt: 2 dm: SDDM
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Framework product: Laptop 13 (AMD Ryzen 7040Series)
    v: A5 serial: <superuser required>
  Mobo: Framework model: FRANMDCP05 v: A5 serial: <superuser required>
    part-nu: FRANMDCP05 uuid: <superuser required> UEFI: INSYDE v: 03.03
    date: 10/17/2023
Battery:
  ID-1: BAT1 charge: 42.9 Wh (94.5%) condition: 45.4/55.0 Wh (82.6%)
    volts: 16.5 min: 15.4 model:  type: Unknown serial: <filter>
    status: discharging cycles: 18
CPU:
  Info: model: AMD Ryzen 5 7640U w/ Radeon 760M Graphics bits: 64 type: MT MCP
    arch: Zen 4 gen: 5 level: v4 note: check built: 2022+ process: TSMC n5 (5nm)
    family: 0x19 (25) model-id: 0x74 (116) stepping: 1 microcode: 0xA704103
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 6 MiB desc: 6x1024 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 623 high: 2110 min/max: 400/4971:5121:5275:5425:5579
    scaling: driver: amd-pstate-epp governor: powersave cores: 1: 1368 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 2110 8: 400 9: 400 10: 400 11: 400 12: 400
    bogomips: 83886
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Phoenix1 vendor: Framework driver: amdgpu v: kernel
    arch: RDNA-3 code: Phoenix process: TSMC n4 (4nm) built: 2023+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    DP-4, DP-5, DP-6, DP-7, DP-8 bus-ID: c1:00.0 chip-ID: 1002:15bf
    class-ID: 0300 temp: 42.0 C
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: Picom v: git-fc1d1 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting alternate: vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2256x1504 s-dpi: 96 s-size: 596x397mm (23.46x15.63")
    s-diag: 716mm (28.19")
  Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x095f built: 2019
    res: 2256x1504 hz: 60 dpi: 201 gamma: 1.2 size: 285x190mm (11.22x7.48")
    diag: 343mm (13.5") ratio: 3:2 modes: max: 2256x1504 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.5-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    gfx1103_r1 LLVM 16.0.6 DRM 3.54 6.6.16-2-MANJARO) device-ID: 1002:15bf
    memory: 500 MiB unified: no
  API: Vulkan v: 1.3.276 layers: 6 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV GFX1103_R1) driver: mesa radv v: 23.3.5-manjaro1.1
    device-ID: 1002:15bf surfaces: xcb,xlib
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Framework
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: c1:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Framework
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: c1:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Framework
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: c1:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.6.16-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.3 status: off with: pipewire-media-session
    status: off tools: pw-cli
  Server-4: PulseAudio v: 17.0 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 01:00.0
    chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 0e8d:e616
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 1.82 TiB used: 782.41 GiB (42.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT2000P5PSSD8
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: P7CR402 temp: 36.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 782.41 GiB (42.7%)
    fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 292 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 20 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 43.8 C mobo: N/A gpu: amdgpu temp: 42.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 14.82 GiB used: 3.9 GiB (26.3%)
  Processes: 297 Power: uptime: 10m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 5.92 GiB services: upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: 2772 pm: pacman pkgs: 2754 libs: 591 tools: octopi, pacseek,
    pamac, trizen, yay pm: flatpak pkgs: 9 pm: snap pkgs: 9 Compilers:
    clang: 16.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9 running-in: kitty inxi: 3.3.33

Please let me know what more information I should give, I am not sure what is needed.

What do you mean with Wayland? i3 is x11 only.

I don’t think you need the ibt=off kernel parameter anymore. Did you ever? It was required a while ago for Nvidia systems.

I start a session with kde or hyprland

I don’t remember ever turning it off, I don’t know why it would have been.
I just turned it back on.

If I quit i3 and start awsome, the issue does not follow.
If I then quit awsome and start i3, the issue comes back after about a minute.

I have turned off picom, and haven’t seen the issue pop up, but now I have some noticeable screen tearing.
running xrandr --output eDP --set TearFree on makes the whole screen go white.

Edit:
after some more reboots, and making a xorg conf file for amdgpu, turning on tearfree doesn’t white out the screen anymore, and I haven’t seen the issue pop up in a while, I am going to mark as resolved and hope for the best.

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