Graphical issues relating to kwin after recent update

Hey guys-
After my most recent system update, I’ve been having issues with kwin when playing games. My entire display will freeze seemingly at random, making most games unplayable. Checking garuda assistant and I noticed these errors in the “other diagnostics” tab:

May 19 20:29:06 Lettuce-Desktop kwin_wayland[40580]: kwin_scene_opengl: Can't enable invalid framebuffer object!
May 19 20:29:06 Lettuce-Desktop kwin_wayland[40580]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
May 19 20:29:06 Lettuce-Desktop kwin_wayland[40580]: kwin_scene_opengl: Can't enable invalid framebuffer object!

Looking this error up brought up one problem that may be related: [SOLVED?] Kde-Plasma system tray broken. / Applications & Desktop Environments / Arch Linux Forums

The fix listed in the thread wasn’t applicable to my problem however. Has anyone else experienced this?
For now I’m just going to revert to a snapshot before I updated so I can keep playing games for the time being.
Thanks in advance for any responses.
-Lettuce

Please provide garuda-inxi and also , are you on wayland ?

2 Likes

Do you have the same issue on x11?

1 Like

garuda-inxi:

System:
  Kernel: 6.8.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=abecce04-e79f-405d-969b-540110b145d8 rw rootflags=subvol=@
    quiet resume=UUID=4cc721d1-5ee8-4a1c-938e-e121947517a5 loglevel=3 ibt=off
  Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7A34 v: 4.0
    serial: <superuser required>
  Mobo: Micro-Star model: B350 GAMING PLUS (MS-7A34) v: 4.0
    serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends v: M.HS date: 11/04/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming
    Mouse serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 1600X bits: 64 type: MT MCP arch: Zen level: v3
    note: check built: 2017-19 process: GF 14nm family: 0x17 (23) model-id: 1
    stepping: 1 microcode: 0x8001138
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 3685 high: 3700 min/max: 2200/3600 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3696 2: 3694
    3: 3697 4: 3694 5: 3636 6: 3700 7: 3696 8: 3695 9: 3700 10: 3682 11: 3636
    12: 3700 bogomips: 86390
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel DG2 [Arc A770] vendor: Acer Incorporated ALI driver: i915
    v: kernel alternate: xe arch: Gen-12.7 code: Alchemist
    process: TSMC n6 (7nm) built: 2022+ pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    ports: active: DP-1,DP-3 empty: DP-2, DP-4, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 28:00.0 chip-ID: 8086:56a0 class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 6-2:2
    chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: DP-1 model: Dell P2412H serial: <filter> built: 2012
    res: 1920x1080 dpi: 92 gamma: 1.2 size: 531x299mm (20.91x11.77")
    diag: 609mm (24") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: DP-3 model: Acer XF243Y P serial: <filter> built: 2023
    res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
    drv: iris inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.6-arch1.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Arc A770 Graphics (DG2)
    device-ID: 8086:56a0 memory: 15.53 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.3.279 layers: 10 device: 0 type: discrete-gpu name: Intel
    Arc A770 Graphics (DG2) driver: mesa intel v: 24.0.6-arch1.2
    device-ID: 8086:56a0 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.6-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: Creative Labs CA0106/CA0111 [SB Live!/Audigy/X-Fi Series]
    driver: snd_ca0106 v: kernel bus-ID: 22:00.0 chip-ID: 1102:0007
    class-ID: 0401
  Device-2: Intel DG2 Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 29:00.0 chip-ID: 8086:4f90 class-ID: 0403
  Device-3: AMD Family 17h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 2b:00.3 chip-ID: 1022:1457 class-ID: 0403
  Device-4: C-Media Antlion USB adapter
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 4-9:3 chip-ID: 0d8c:002c class-ID: 0300
    serial: <filter>
  Device-5: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 6-2:2
    chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  API: ALSA v: k6.8.9-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 23:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp35s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd
Drives:
  Local Storage: total: 3.64 TiB used: 1.2 TiB (32.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10EZEX-22MFCA0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A01 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WDS100T2B0B-00YS70 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 20WD
    scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST2000LM009-1R9174
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 5400
    serial: <filter> fw-rev: 0001 scheme: MBR
Partition:
  ID-1: / raw-size: 914.1 GiB size: 914.1 GiB (100.00%)
    used: 723.46 GiB (79.1%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
  ID-3: /home raw-size: 914.1 GiB size: 914.1 GiB (100.00%)
    used: 723.46 GiB (79.1%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-4: /var/log raw-size: 914.1 GiB size: 914.1 GiB (100.00%)
    used: 723.46 GiB (79.1%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-5: /var/tmp raw-size: 914.1 GiB size: 914.1 GiB (100.00%)
    used: 723.46 GiB (79.1%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.56 GiB used: 1.25 GiB (8.0%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 17.12 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb3 maj-min: 8:19
Sensors:
  System Temperatures: cpu: 50.5 C mobo: 36.0 C
  Fan Speeds (rpm): fan-1: 1515 fan-2: 1950 fan-3: 826 fan-4: 0 fan-5: 808
    fan-6: 978
  Power: 12v: N/A 5v: N/A 3.3v: 3.38 vbat: 3.33
Info:
  Memory: total: 16 GiB available: 15.56 GiB used: 8.33 GiB (53.5%)
  Processes: 392 Power: uptime: 1d 1h 55m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 1 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 6.21 GiB
    services: org_kde_powerdevil,upowerd Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: 1779 pm: pacman pkgs: 1749 libs: 523 tools: yay pm: flatpak
    pkgs: 30 Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi
    default: Bash v: 5.2.26 running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2023-12-05
  Last full system update: 2024-05-08
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units: 

Yes, I’m on wayland

X11 isn’t an option for me since I have 2 monitors of different refresh rates.

Please update your system and check if that helps.

First try out the lts kernel by running sudo pacman -S linux-lts and reboot. If that doesn’t help , at least try X11 to see if it even works

That’s the reason I’m making this post. This is the system that works currently. I’m not encountering the issue with the snapshot from May 8th, but when I update to the most recent versions of all the software on my system, I have the problem described.

Even if X11 works, I can’t use it on my system. Yes it would function but since I have 2 displays with different refresh rates (and I like to use VRR in games as well) it wouldn’t be viable.

Lts Kernel ? Did it work ?

May 21 15:34:02 Lettuce-Desktop kwin_wayland[5168]: kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"

May 21 15:34:02 Lettuce-Desktop kwin_wayland[5168]: kwin_scene_opengl: Can't enable invalid framebuffer object!

May 21 15:34:02 Lettuce-Desktop kwin_wayland[5168]: kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"

May 21 15:34:02 Lettuce-Desktop kwin_wayland[5168]: kwin_scene_opengl: Can't enable invalid framebuffer object!

Saw this a couple more times while playing DRG but it hasn’t come back, so tentatively this was the solution. May I ask why did you think of this as the culprit?
Thanks.
-Lettuce

Zen kernel sometimes behaves very weirdly as it did with me in the past ,freezing, graphical anomalies, what not. So I thought you might be having the same issues. LTS kernel is usually the best bet for stability and speed.

Thank you. Appreciate your help.

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