Comment # 63 on bug 1222156 from Felix Miata
(In reply to Togan Muftuoglu from comment #61)
> does kernel 6.7.8 with  Mesa 24.0.3 work?

6.7.9 does, as long as appropriate kernel cmdline options are applied:
# inxi -GSaz
System:
  Kernel: 6.7.9-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz
    root=LABEL=zd8p19sslo noresume ipv6.disable=1 net.ifnames=0
    modprobe.blacklist=radeon amdgpu.cik_support=1
  Console: pty pts/1 (vt 7) vt: 7 DM: XDM Distro: openSUSE
    Tumbleweed-Slowroll 20240405
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: amdgpu
    v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: DP-1, DVI-D-1,
    HDMI-A-1, VGA-1 empty: none bus-ID: 00:01.0 chip-ID: 1002:130f
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3600x2640 s-dpi: 120 s-size: 762x558mm (30.00x21.97")
    s-diag: 944mm (37.18")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: top-right model: Dell P2213
    serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: DP-1 mapped: DisplayPort-0 pos: primary,bottom-l
    model: Acer K272HUL serial: <filter> built: 2018 res: 2560x1440 hz: 60
    dpi: 109 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-3: HDMI-A-1 mapped: HDMI-A-0 pos: top-left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  Monitor-4: VGA-1 mapped: VGA-0 pos: middle-r model: Lenovo L2251x Wide
    serial: <filter> built: 2011 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 474x296mm (18.66x11.65") diag: 559mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  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: 24.0.3 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri LLVM
    18.1.2 DRM 3.57 6.7.9-1-default) device-ID: 1002:130f memory: 1000 MiB
    unified: no
  API: Vulkan v: 1.3.280 layers: 1 device: 0 type: integrated-gpu name: AMD
    Radeon R7 Graphics (RADV KAVERI) driver: N/A device-ID: 1002:130f
    surfaces: xcb,xlib
# lsmod | egrep 'vid|amdg|deon' | sort
amdgpu              13303808  2
amdxcp                 12288  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_display_helper    237568  1 amdgpu
drm_exec               16384  1 amdgpu
drm_suballoc_helper    12288  1 amdgpu
drm_ttm_helper         12288  1 amdgpu
gpu_sched              65536  1 amdgpu
i2c_algo_bit           20480  1 amdgpu
ttm                   102400  2 amdgpu,drm_ttm_helper
video                  77824  1 amdgpu
wmi                    45056  1 video
#

It looks to me like the primary problem, if there is more than one problem
here, is the radeon kernel module is incompatible with radeonsi_dri:
/var/log/xdm.log excerpt from 1st try using radeon.cik_support=1
modprobe.blacklist=amdgpu:
xdm info (pid 838): Starting X server on :0

X.Org X Server 1.21.1.12
X Protocol Version 11, Revision 0
Current Operating System: Linux ara88 6.7.9-1-default #1 SMP PREEMPT_DYNAMIC
Thu Mar  7 06:07:11 UTC 2024 (6049de6) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=LABEL=zd8p19sslo noresume
ipv6.disable=1 net.ifnames=0 radeon.cik_support=1 modprobe.blacklist=amdgpu

Current version of pixman: 0.43.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 21 18:58:15 2024
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xdm info (pid 974): sourcing /usr/etc/X11/xdm/Xsetup
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x7e) [0x55a280575b6e]
(EE) 1: /usr/bin/Xorg.bin (0x55a28039f000+0x1df5d9) [0x55a28057e5d9]
(EE) 2: /lib64/libc.so.6 (0x7fe3be200000+0x41240) [0x7fe3be241240]
(EE) 3: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x72b98d)
[0x7fe3bbd2b98d]
(EE) 4: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x72bb49)
[0x7fe3bbd2bb49]
(EE) 5: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0xb90686)
[0x7fe3bc190686]
(EE) 6: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0xb90819)
[0x7fe3bc190819]
(EE) 7: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x73957b)
[0x7fe3bbd3957b]
(EE) 8: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x8818bf)
[0x7fe3bbe818bf]
(EE) 9: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x840f4a)
[0x7fe3bbe40f4a]
(EE) 10: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x842391)
[0x7fe3bbe42391]
(EE) 11: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x83ee28)
[0x7fe3bbe3ee28]
(EE) 12: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0xb8b4f3)
[0x7fe3bc18b4f3]
(EE) 13: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x178889)
[0x7fe3bb778889]
(EE) 14: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x140ead)
[0x7fe3bb740ead]
(EE) 15: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x149b8d)
[0x7fe3bb749b8d]
(EE) 16: /usr/lib64/dri/radeonsi_dri.so (0x7fe3bb600000+0x149c78)
[0x7fe3bb749c78]
(EE) 17: /usr/lib64/xorg/modules/libglamoregl.so (0x7fe3bdb8c000+0x282e2)
[0x7fe3bdbb42e2]
(EE) 18: /usr/lib64/xorg/modules/libglamoregl.so (0x7fe3bdb8c000+0xf7e6)
[0x7fe3bdb9b7e6]
(EE) 19: /usr/bin/Xorg.bin (0x55a28039f000+0x149904) [0x55a2804e8904]
(EE) 20: /usr/bin/Xorg.bin (0x55a28039f000+0x13af03) [0x55a2804d9f03]
(EE) 21: /usr/bin/Xorg.bin (0x55a28039f000+0x4d707) [0x55a2803ec707]
(EE) 22: /lib64/libc.so.6 (0x7fe3be200000+0x2a1f0) [0x7fe3be22a1f0]
(EE) 23: /lib64/libc.so.6 (__libc_start_main+0x8b) [0x7fe3be22a2b9]
(EE) 24: /usr/bin/Xorg.bin (_start+0x27) [0x55a2803eca35]
(EE)
(EE) Segmentation fault at address 0x40
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
X connection to :0 broken (explicit kill or server shutdown).
xdm error (pid 974): fatal IO error 104 (Connection reset by peer)
xdm info (pid 838): Starting X server on :0
#

2nd try using radeon.cik_support=1 modprobe.blacklist=amdgpu produced 1024x768:
# inxi -GSaz
System:
  Kernel: 6.7.9-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz
    root=LABEL=zd8p19sslo noresume ipv6.disable=1 net.ifnames=0
    radeon.cik_support=0 modprobe.blacklist=amdgpu
  Desktop: IceWM v: 3.4.5 vt: 7 dm: XDM Distro: openSUSE
    Tumbleweed-Slowroll 20240405
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: N/A
    alternate: radeon, amdgpu arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 bus-ID: 00:01.0 chip-ID: 1002:130f
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 driver: X: loaded: modesetting,vesa
    unloaded: fbdev dri: swrast gpu: N/A display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 270x203mm (10.63x7.99")
    s-diag: 338mm (13.3")
  Monitor-1: Unknown-1 mapped: None-1 res: 1024x768 hz: 60 size: N/A
    modes: 1024x768
  API: EGL v: 1.5 platforms: device: 0 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: swrast inactive: wayland
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.3 glx-v: 1.4 direct-render: yes
    renderer: llvmpipe (LLVM 18.1.2 256 bits) device-ID: ffffffff:ffffffff
    memory: 6.55 GiB unified: yes
# rpmqa mwar
alsa-firmware-1.2.4-4.6.noarch
kernel-firmware-amdgpu-20240322-2.1.noarch
kernel-firmware-radeon-20240322-2.1.noarch
sof-firmware-2023.12.1-1.1.noarch
# journalctl | grep radeonsi
# grep deonsi /var/log/Xorg.0.log
# lsmod | egrep 'vid|amdg|deon' | sort
drm_display_helper    237568  1 radeon
drm_suballoc_helper    12288  1 radeon
drm_ttm_helper         12288  1 radeon
i2c_algo_bit           20480  1 radeon
radeon               2068480  0
ttm                   102400  2 radeon,drm_ttm_helper
video                  77824  1 radeon
wmi                    45056  1 video
#

3rd & 4th tries using radeon.cik_support=1 modprobe.blacklist=amdgpu produced
1024x768 again.

radeon.cik_support=1 amdgpu.cik_support=0 instead of radeon.cik_support=1
modprobe.blacklist=amdgpu immediatly locks up this GCN #2 ara88 host with black
screens, same as including neither *radeon* nor *amdgpu*.

At this point I installed kernel-default-6.8.7. No outright X11/XDM failures
result booting with:
1-radeon.cik_support=0 amdgpu.cik_support=1, or
2-modprobe.blacklist=radeon amdgpu.cik_support=1. 

X11/XDM failures result from:
1-including neither *radeon* nor *amdgpu*
2-radeon.cik_support=1 amdgpu.cik_support=0
3-radeon.cik_support=1 modprobe.blacklist=amdgpu
4-radeon.cik_support=1
5-modprobe.blacklist=amdgpu
6-modprobe.blacklist=radeon
7-amdgpu.cik_support=1

I see no apparent impact of choice of kernel from 6.5.9 through 6.8.7. All
behave the same WRT kernel cmdline requirements for successful X11/XDM
behavior.


You are receiving this mail because: