Skip to content

Segfault in modesetting_drv.so on startup with hybrid Intel+AMD (Linux 6.19, XLibre 1.25.0) #2106

@S488U

Description

@S488U

Select the version

25.0.0.X

Describe your issue

I am not an expert in X/graphics internals, but I tried my best to debug this before reporting.

On Linux 6.19, XLibre crashes during startup with SIGSEGV when my Intel iGPU + AMD dGPU are both active.

The crash is in modesetting_drv.so during InitOutput (null pointer address 0x0).

From log:

  • modeset(0): using drv /dev/dri/card1 (Intel)
  • modeset(G0): using drv /dev/dri/card0 (AMD)
  • Applying OutputClass "AMDgpu" options to /dev/dri/card0
  • then Caught signal 11 (Segmentation fault). Server aborting

Steps to reproduce

  1. Boot Arch Linux with kernel 6.19.6-arch1-1.
  2. Use kernel cmdline with AMD enabled (includes amdgpu.si_support=1 and amdgpu.cik_support=1, without modprobe.blacklist=amdgpu).
  3. Start XLibre.
  4. X crashes with SIGSEGV in modesetting_drv.so.

What did you expect?

XLibre should start normally on hybrid Intel+AMD hardware without crashing.

Additional Information

Environment:

  • Distro: Arch Linux
  • XLibre: 1.25.0
  • Kernel: 6.19.6-arch1-1 (issue reproduced here)
  • GPUs:
    • Intel HD 520 (8086:1916)
    • AMD dGPU (1002:6660, Sea Islands)

What I tried (did not fix):

  • cleaned duplicate Device sections in /etc/X11/xorg.conf.d
  • removed extra options (DRI, PrimaryGPU)
  • added AutoAddGPU off

Workaround:

  • Boot with modprobe.blacklist=amdgpu (Intel-only path) and X starts normally.

I can attach:
Tried many times and these are the logs at each time

  • xserver-1.log
  • xserver-2.log
  • xserver-3.log
  • journalctl -b excerpts

xserver-1.log
xserver-2.log
xserver-3.log
xlibre-journal-excerpt-crash-window.txt

Extra fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageThis needs to be reviewed and categorized.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions