New potential Kernel/GPU issue after recent system update

After rebooting from the latest system update which included Linux (6.18.12-1 → 6.18.18-1), firmware updates, and Vulkan library updates, I am observing a new Kernel issue which recurrs 2 or more time per day. Here is the relevant system journal entry for the latest occurence

Mar 27 12:21:34 b85m-lxdt kernel: ------------[ cut here ]------------
Mar 27 12:21:34 b85m-lxdt kernel: atomic remove_fb failed with -22
Mar 27 12:21:34 b85m-lxdt kernel: WARNING: CPU: 1 PID: 384069 at drivers/gpu/drm/drm_framebuffer.c:1176 drm_framebuffer_remove+0x575/0x590
Mar 27 12:21:34 b85m-lxdt kernel: Modules linked in: cmac ccm nls_utf8 cifs nls_ucs2_utils rdma_cm iw_cm ib_cm ib_core libarc4 cifs_md4 dns_resolver netfs snd_seq_dummy snd_hrtimer snd_seq xfs vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_alc882 snd_hda_codec_atihdmi at24 mei_hdcp mei_pxp snd_hda_codec_realtek_lib ppdev snd_hda_codec_generic snd_hda_codec_hdmi kvm snd_hda_intel irqbypass snd_hda_codec snd_usb_audio polyval_clmulni snd_hda_core r8169 ghash_clmulni_intel snd_usbmidi_lib snd_intel_dspcfg aesni_intel i2c_i801 snd_ump realtek snd_intel_sdw_acpi rapl snd_rawmidi spi_nor intel_cstate mdio_devres snd_hwdep snd_seq_device i2c_smbus iTCO_wdt intel_uncore mei_me i2c_mux snd_pcm intel_pmc_bxt libphy mtd pcspkr snd_timer mei mc mdio_bus iTCO_vendor_support snd soundcore intel_oc_wdt parport_pc parport joydev mousedev mac_hid cfg80211 rfkill ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_limit xt_addrtype xt_tcpudp xt_conntrack
Mar 27 12:21:34 b85m-lxdt kernel:  nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6table_filter ip6_tables iptable_filter ip_tables x_tables dm_mod crypto_user nfnetlink hid_jabra amdgpu spi_intel_platform spi_intel amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec drm_panel_backlight_quirks gpu_sched drm_suballoc_helper sr_mod drm_buddy cdrom drm_display_helper video cec wmi lpc_ich
Mar 27 12:21:34 b85m-lxdt kernel: CPU: 1 UID: 0 PID: 384069 Comm: kworker/1:5 Tainted: G        W           6.18.18-1-MANJARO #1 PREEMPT(full)  f3f3509c1a7837237e85ac9a93e17af2cc71ec8f
Mar 27 12:21:34 b85m-lxdt kernel: Tainted: [W]=WARN
Mar 27 12:21:34 b85m-lxdt kernel: Hardware name: Gigabyte Technology Co., Ltd. B85M-DS3H-A/B85M-DS3H-A, BIOS F3 06/23/2017
Mar 27 12:21:34 b85m-lxdt kernel: Workqueue: events drm_mode_rmfb_work_fn
Mar 27 12:21:34 b85m-lxdt kernel: RIP: 0010:drm_framebuffer_remove+0x575/0x590
Mar 27 12:21:34 b85m-lxdt kernel: Code: 27 eb d6 48 8d 7c 24 18 e8 48 e7 00 00 48 8d 7c 24 18 e8 fe e4 00 00 b9 f4 ff ff ff 89 ce 48 c7 c7 f8 91 3f a6 e8 cb 41 4c ff <0f> 0b e9 fd fc ff ff 31 ff eb 9b e8 bb 97 52 00 66 66 2e 0f 1f 84
Mar 27 12:21:34 b85m-lxdt kernel: RSP: 0018:ffffcda488bcbda0 EFLAGS: 00010246
Mar 27 12:21:34 b85m-lxdt kernel: RAX: 0000000000000000 RBX: ffff8c4bfe193d00 RCX: 0000000000000027
Mar 27 12:21:34 b85m-lxdt kernel: RDX: ffff8c4e8ec9d008 RSI: 0000000000000001 RDI: ffff8c4e8ec9d000
Mar 27 12:21:34 b85m-lxdt kernel: RBP: ffff8c4b07636300 R08: 0000000000000000 R09: 00000000ffffefff
Mar 27 12:21:34 b85m-lxdt kernel: R10: ffffffffa6c61440 R11: ffffcda488bcbc38 R12: ffff8c4b8bf00010
Mar 27 12:21:34 b85m-lxdt kernel: R13: ffff8c4b8bf002c0 R14: 00000000ffffffea R15: 0000000000000000
Mar 27 12:21:34 b85m-lxdt kernel: FS:  0000000000000000(0000) GS:ffff8c4ee736d000(0000) knlGS:0000000000000000
Mar 27 12:21:34 b85m-lxdt kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 27 12:21:34 b85m-lxdt kernel: CR2: 00007f6e18c5ee88 CR3: 000000040a726002 CR4: 00000000001726f0
Mar 27 12:21:34 b85m-lxdt kernel: Call Trace:
Mar 27 12:21:34 b85m-lxdt kernel:  <TASK>
Mar 27 12:21:34 b85m-lxdt kernel:  drm_mode_rmfb_work_fn+0x7e/0xa0
Mar 27 12:21:34 b85m-lxdt kernel:  process_one_work+0x193/0x350
Mar 27 12:21:34 b85m-lxdt kernel:  worker_thread+0x1a1/0x310
Mar 27 12:21:34 b85m-lxdt kernel:  ? __pfx_worker_thread+0x10/0x10
Mar 27 12:21:34 b85m-lxdt kernel:  kthread+0xfc/0x240
Mar 27 12:21:34 b85m-lxdt kernel:  ? __pfx_kthread+0x10/0x10
Mar 27 12:21:34 b85m-lxdt kernel:  ? __pfx_kthread+0x10/0x10
Mar 27 12:21:34 b85m-lxdt kernel:  ret_from_fork+0x22d/0x260
Mar 27 12:21:34 b85m-lxdt kernel:  ? __pfx_kthread+0x10/0x10
Mar 27 12:21:34 b85m-lxdt kernel:  ret_from_fork_asm+0x1a/0x30
Mar 27 12:21:34 b85m-lxdt kernel:  </TASK>
Mar 27 12:21:34 b85m-lxdt kernel: ---[ end trace 0000000000000000 ]---

System info (from inxi)

System:
  Kernel: 6.18.18-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.18-x86_64
    root=UUID=bdda48f9-bcbb-4fe0-869c-30ab3eabe248 rw udev.log_level=3
  Desktop: Xfce v: 4.20.1 tk: Gtk v: 3.24.51 wm: xfwm4 v: 4.20.0
    with: xfce4-panel tools: avail: light-locker vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B85M-DS3H-A serial: <superuser required>
    uuid: <superuser required> Firmware: UEFI vendor: American Megatrends v: F3
    date: 06/23/2017
Memory:
  System RAM: total: 16 GiB available: 15.58 GiB used: 3.05 GiB (19.6%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 4 modules: 2 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelA-DIMM0 type: no module installed
  Device-2: ChannelA-DIMM1 type: DDR3 detail: synchronous size: 8 GiB
    speed: 1333 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Chips and Technologies part-no: F3-1600C9-8GXM serial: N/A
  Device-3: ChannelB-DIMM0 type: no module installed
  Device-4: ChannelB-DIMM1 type: DDR3 detail: synchronous size: 8 GiB
    speed: 1333 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Chips and Technologies part-no: F3-1600C9-8GXM serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-4590S bits: 64 type: MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 smt: <unsupported> cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 874 min/max: 800/3700 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 874 2: 874 3: 874 4: 874 bogomips: 23944
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid lahf_lm lm mca mce md_clear mmx
    monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
    rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
    * Info can be provided if needed *
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon
    540/540X/550/550X / RX 540X/550/550X] vendor: Micro-Star MSI
    driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands process: GF 14nm
    built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 8 ports: active: DVI-D-1
    empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:699f class-ID: 0300
    temp: 28.0 C
  Display: x11 server: X.Org v: 21.1.21 compositor: xfwm4 v: 4.20.0 driver:
    X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26")
    s-diag: 584mm (22.99")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 model: Dell E2314H serial: <filter>
    built: 2013 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 96 gamma: 1.2
    chroma: red: x: 0.639 y: 0.333 green: x: 0.310 y: 0.627 blue: x: 0.153
    y: 0.071 white: x: 0.314 y: 0.329 size: 509x286mm (20.04x11.26")
    diag: 584mm (23") ratio: 16:9 modes: 1920x1080, 1600x900, 1280x1024,
    1152x864, 1024x768, 800x600, 640x480, 720x400
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
  Info: Tools: de: xfce4-display-settings x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Baffin HDMI/DP Audio [Radeon
    RX 550 640SP / 560/560X] vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 1002:aae0 class-ID: 0403
  Device-3: GN Netcom DELL PRO STEREO HEADSET UC350
    driver: jabra,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-3:2 chip-ID: 0b0e:a509 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.18.18-1-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.6.2 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic scope: global
  IP v6: <filter> virtual: proto kernel_ll scope: link
  Info: services: systemd-networkd,systemd-timesyncd
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 698.65 GiB used: 55 GiB (7.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT250MX500SSD1
    size: 232.89 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 023 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD5000LPLX-00ZNTT0 size: 465.76 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
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SH-S223Q rev: SB02
    dev-links: cdrom
  Features: speed: 48 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  * Info can be provided if necessary *
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 18 GiB used: 560 KiB (0.0%)
    priority: -2 dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: 31d73f43-acab-459c-821b-3d58bbcf04eb
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: GN Netcom DELL PRO STEREO HEADSET UC350
    type: audio,HID driver: jabra,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0b0e:a509 class-ID: 0300 serial: <filter>
  Device-2: 1-4:3 info: American Power Conversion Uninterruptible Supply
    type: HID driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 2mA
    chip-ID: 051d:0002 class-ID: 0300 serial: <filter>
  Device-3: 1-11:4 info: HP HP 480 Comfort Wired Keyboard
    type: keyboard,mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 03f0:944a class-ID: 0301
  Device-4: 1-12:5 info: Sunplus Innovation Gaming mouse [Philips SPK9304]
    type: mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 98mA
    chip-ID: 1bcf:08a0 class-ID: 0301
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 28.0 C mobo: N/A gpu: amdgpu temp: 29.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 1278
Repos:
  Packages: pm: pacman pkgs: 1352 libs: 412 tools: pamac,yay
Info:
  Processes: 303 Power: uptime: 1d 21h 5m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 2 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 6.14 GiB
    services: upowerd,xfce4-power-manager Init: systemd v: 259
    default: graphical tool: systemctl
  Compilers: clang: 22.1.1 gcc: 15.2.1 Shell: Bash v: 5.3.9
    running-in: xfce4-terminal inxi: 3.3.40

Updated graphics info from inxi after installing mesa-utils:

Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon
    540/540X/550/550X / RX 540X/550/550X] vendor: Micro-Star MSI
    driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands process: GF 14nm
    built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 8 ports: active: DVI-D-1
    empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:699f class-ID: 0300
    temp: 30.0 C
  Display: x11 server: X.Org v: 21.1.21 compositor: xfwm4 v: 4.20.0 driver:
    X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26")
    s-diag: 584mm (22.99")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 model: Dell E2314H serial: <filter>
    built: 2013 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 96 gamma: 1.2
    chroma: red: x: 0.639 y: 0.333 green: x: 0.310 y: 0.627 blue: x: 0.153
    y: 0.071 white: x: 0.314 y: 0.329 size: 509x286mm (20.04x11.26")
    diag: 584mm (23") ratio: 16:9 modes: 1920x1080, 1600x900, 1280x1024,
    1152x864, 1024x768, 800x600, 640x480, 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 26.0.2-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 550 / 550 Series
    (radeonsi polaris12 ACO DRM 3.64 6.18.18-1-MANJARO) device-ID: 1002:699f
    memory: 3.91 GiB unified: no
  Info: Tools: api: eglinfo,glxinfo de: xfce4-display-settings
    x11: xdpyinfo, xprop, xrandr

This is not my forte, but isn’t this an improperly configured GPU driver? (Missing all hardware acceleration for stuff like UI/video).

Did you use mhwd to install your amdgpu driver?

Sometimes, after a firmware update, a complete power off (i.e. switch it off at the power point) for a minute or two will fix firmware-related issues.

Apparently, a cold boot from complete power off re-initializes all the hardware, and clears memory. This should load the updated firmware into the hardware.

4 Likes

Certainly worth the try. I am not a video expert, but in that log i see an error about the motherboard firmware.

1 Like

Thanks for the suggestions. I will try the power-off/cold boot later today and then look into glxinfo and GPU driver configuration. Whatever progress is made, I will share.

2 Likes

@scotty65
Unfortunately a cold boot from complete power off did not resolve the issue. I had actually done a shutdown/poweroff after the system upgrade and before reporting the issue, but this time I also switched off the power supply for a few minutes after the shutdown/poweroff.

@Molski
Apparently the “Unable to show GL data” message was due to lacking /usr/bin/glxinfo which is provided by the mesa-utils package. After installing that package, I updated the original post with the full Graphics output from inxi. Based on this, there does not appear to be any configuration issue with the GPU. Any suggestions on next steps?

Mod edit: Consecutive posts merged. :wink:

Do you have disable Fast Boot in your Bios?

The BIOS setting for Fast Boot is Disabled.

1 Like