Fedora 38 crashing while using external HDMI monitor

Hi everyone,

I am using Fedora 38, with all available updates installed. I am having issues with the system crashing, this is where the screen freezes and I can move the cursor but not click on anything or type anything, and the cursor then subsequently stops moving.

There has been no crash when I do not plug my external HDMI monitor into my laptop (Dell Latitude). However when I do plug my laptop into an external monitor, it crashes after a certain amount of time. The last time it crashed it wasn’t getting hot, I only had firefox, a terminal, and skype open. I have tried an alternative external monitor and HDMI cable with no success.

Let me know if you would like any further information in order to help solve this problem.

Thanks very much!!

If you unplug the external monitor does the system recover?

Have you tried replaceing the cable to the monitor?
Can you try on another monitor? Does it also fail?
Are you using a KVM or directoy connect to the monitor?

While it is frozen can you type Ctrl-Alt-F3 and get to a console?
If this works you can collect infomation to help debug this issue.

What type laptop is this?
Does it have the optimus arrangement with dual GPUs?

Please, if possible, post the output of inxi -Fzxx using the preformatted text tags with the </> button on the tool bar. That will provide a lot of the info we actually need to assist.

Hi Barry, thanks for the reply.

Most of the time if I unplug the monitor then do Ctrl Alt F3 then things recover.
Yes it still fails with another cable and another monitor.
I am directly connected to the monitor.

I had a look at the logs and the error I get is:

Oct 23 16:23:50 laptop kernel: i915 0000:00:02.0: [drm] ERROR [CRTC:131:pipe B] flip_done timed out
Oct 23 16:24:00 laptop kernel: i915 0000:00:02.0: [drm] ERROR flip_done timed out
Oct 23 16:24:00 laptop kernel: i915 0000:00:02.0: [drm] ERROR [CRTC:131:pipe B] commit wait timed out

Thanks

Please also answer @computersavvy request for info.

I see a bug report that maybe the same issue The display becomes frozen with error: [drm] *ERROR* [CRTC:131:pipe B] flip_done timed out on [Iris Xe Graphics] (#8685) · Issues · drm / intel · GitLab
Do you have kernel panics as well in the dmesg output?

Hi Jeff,

Here’s the output:

System:
  Kernel: 6.5.7-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11
    dm: SDDM Distro: Fedora release 38 (Thirty Eight)
Machine:
  Type: Laptop System: Dell product: Latitude 5440 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 05FHNF v: A00 serial: <superuser required> UEFI: Dell
    v: 1.8.1 date: 09/12/2023
Battery:
  ID-1: BAT0 charge: 36.6 Wh (70.1%) condition: 52.2/54.0 Wh (96.7%)
    volts: 12.7 min: 11.4 model: BYD DELL 803W633 serial: <filter>
    status: charging
CPU:
  Info: 10-core (2-mt/8-st) model: 13th Gen Intel Core i7-1365U bits: 64
    type: MST AMCP arch: Raptor Lake rev: 3 cache: L1: 928 KiB L2: 6.5 MiB
    L3: 12 MiB
  Speed (MHz): avg: 423 high: 573 min/max: 400/5200:3900 cores: 1: 573
    2: 400 3: 506 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400
    12: 400 bogomips: 64512
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-13 ports: active: HDMI-A-1,eDP-1 empty: DP-1,DP-2
    bus-ID: 0000:00:02.0 chip-ID: 8086:a7a1
  Device-2: Realtek Integrated_Webcam_FHD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-6:2 chip-ID: 0bda:5570
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: right model: HP E24 G4
    res: 1920x1080 dpi: 93 diag: 604mm (23.8")
  Monitor-2: eDP-1 pos: primary,left model: AU Optronics 0xfea0
    res: 1920x1080 dpi: 158 diag: 355mm (14")
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast
    surfaceless: drv: iris x11: drv: iris inactive: gbm,wayland
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.1.8 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Graphics (RPL-U)
    device-ID: 8086:a7a1
  API: Vulkan v: 1.3.243 surfaces: xcb,xlib device: 0 type: integrated-gpu
    driver: mesa intel device-ID: 8086:a7a1 device: 1 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
Audio:
  Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 0000:00:1f.3 chip-ID: 8086:51ca
  API: ALSA v: k6.5.7-200.fc38.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.82 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:51f1
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Intel vendor: Dell driver: e1000e v: kernel port: N/A
    bus-ID: 0000:00:1f.6 chip-ID: 8086:0dc5
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-10:4 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
    driver: vmd v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f
Drives:
  Local Storage: total: 476.94 GiB used: 23.93 GiB (5.0%)
  ID-1: /dev/nvme0n1 vendor: KIOXIA model: KBG50ZNS512G NVMe 512GB
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 51.9 C
Partition:
  ID-1: / size: 68.34 GiB used: 17.73 GiB (26.0%) fs: ext4 dev: /dev/dm-1
    mapped: fedora_--laptop-root
  ID-2: /boot size: 973.4 MiB used: 309.9 MiB (31.8%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 57.3 MiB (9.6%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 397.92 GiB used: 5.84 GiB (1.5%) fs: ext4 dev: /dev/dm-2
    mapped: fedora_--laptop-home
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 47.0 C mobo: 36.0 C sodimm: Mem C
  Fan Speeds (rpm): cpu: 2183
  Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
Info:
  Processes: 372 Uptime: 1d 22h 7m Memory: total: 16 GiB note: est.
  available: 15.27 GiB used: 5.02 GiB (32.9%) Init: systemd v: 253
  target: graphical (5) default: graphical Compilers: gcc: 13.2.1 Packages:
  pm: rpm pkgs: N/A note: see --rpm pm: snap pkgs: 11 Shell: Bash v: 5.2.15
  running-in: konsole inxi: 3.3.30

Thanks!

Please use the </> button to format the text. It will be easier for us to read.
For example:

type or paste code here
1 Like

I edited your post to add the preformatted text tags suggested by both Barry and I so the output is formatted as seen on screen and much more readable.

It appears you only have one GPU

  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-13 ports: active: HDMI-A-1,eDP-1 empty: DP-1,DP-2
    bus-ID: 0000:00:02.0 chip-ID: 8086:a7a1

Are using X11 as the DE,
and have 2 monitors attached.

  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: right model: HP E24 G4
    res: 1920x1080 dpi: 93 diag: 604mm (23.8")
  Monitor-2: eDP-1 pos: primary,left model: AU Optronics 0xfea0
    res: 1920x1080 dpi: 158 diag: 355mm (14")

There is nothing I see that is obvious in the inxi output that might cause this problem.
However, the newness of the hardware (13th gen intel processor) may be related. The GPU is integrated in the CPU.

How much video ram is allocated? It seems possible that graphics ram may be inadequate for running both monitors and if it fills up may be causing a deadlock. Potentially adjusting the graphics ram might solve this. The errors you posted indicate drm and timeouts with the i915 driver.

A quick search shows that you can find out info about video ram with the commands shown here
https://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/

There is no fixed video RAM with intel GPU.
With intel GPU it can use all of the system RAM if required.

There is a base allocation of ram for the iGPU and the info in the link I posted will allow the user to see what is allocated and used.

$ glxinfo | grep -iE 'memory|device'
    GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group, 
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6144 MB
    Total available memory: 6144 MB
    Currently available dedicated video memory: 5931 MB

This is on my laptop with 16GB ram.

Although strangely enough when I connect by ssh I get the above but when at the console I get

$ glxinfo | grep -iE 'memory|device'
    Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e9b)
    Video memory: 15827MB
    Unified memory: yes
    GL_AMD_performance_monitor, GL_AMD_pinned_memory, 

For some reason it seems the ssh session is reading the dGPU data and the desktop session reads the iGPU info.