Radeon atombios stuck in loop

After installing Leap 15.5 on my Vaio VPCZ21C5E (with docking station) I get the following errors

[drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CEF8 (len 62, WS 0, PS 0) @ 0xCF14
[drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CEF8 (len 62, WS 0, PS 0) @ 0xCF14
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C516 (len 1136, WS 0, PS 0) @ 0xC5A8

The hardware is working fine on Leap 15.4 (and all previous Leap versions).

/sbin/lspci -nnk | egrep -A3 “VGA|Display|3D”

00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)
        Subsystem: Sony Corporation Device [104d:9084]
        Kernel driver in use: i915
        Kernel modules: i915
--
16:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] [1002:6740]
        Subsystem: Sony Corporation Radeon HD 6730M [104d:9084]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu

lshw -c video

  *-display                 
       description: VGA compatible controller
       product: 2nd Generation Core Processor Family Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: irq:46 memory:d0000000-d03fffff memory:a0000000-afffffff ioport:a000(size=64) memory:c0000-dffff
  *-display
       description: VGA compatible controller
       product: Whistler [Radeon HD 6730M/6770M/7690M XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:16:00.0
       logical name: /dev/fb1
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=radeon latency=0 resolution=1920,1200
       resources: irq:47 memory:b0000000-bfffffff memory:c0200000-c021ffff ioport:5000(size=256) memory:c0220000-c023ffff

/var/log/messages

2023-08-19T18:52:05.696661+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: XRandR::setConfig
2023-08-19T18:52:05.696823+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: Requested screen size is QSize(1920, 2160)
2023-08-19T18:52:05.696912+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: Needed CRTCs:  2
2023-08-19T18:52:05.696980+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: Actions to perform:#012 #011Priorities: false
2023-08-19T18:52:05.697027+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011Change Screen Size: true
2023-08-19T18:52:05.697090+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011#011Old: QSize(3968, 1152) #012 #011#011Intermediate: QSize(3968, 2160) #012 #011#011New: QSize(1920, 2160)
2023-08-19T18:52:05.697136+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011Disable outputs: false
2023-08-19T18:52:05.697178+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011Change outputs: true
2023-08-19T18:52:05.697220+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011#011 (64, 197)
2023-08-19T18:52:05.697260+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011Enable outputs: false
2023-08-19T18:52:05.697311+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetScreenSize #012 #011DPI: 95.9269 #012 #011Size: QSize(3968, 2160) #012 #011SizeMM: QSize(1050, 571)
2023-08-19T18:52:05.781268+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetCrtcConfig (change output) #012 #011Output: 64 ( "eDP-1" ) #012 #011CRTC: 62 #012 #011Pos: QPoint(0,1080) #012 #011Mode: KScreen::Mode(Id: "69" , Size: QSize(1920, 1080) @ 59.9405 ) Preferred: "69" #012 #011Rotation: KScreen::Output::None
2023-08-19T18:52:05.831253+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: XRandRCrtc  62  m_timestamp update  0  =>  98866
2023-08-19T18:52:05.831389+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011Result:  0  timestamp:  98866
2023-08-19T18:52:05.831473+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: XRandROutput 64 update #012 #011m_connected: 0 #012 #011m_crtc XRandRCrtc(0x555aa9092780) #012 #011CRTC: 62 #012 #011MODE: 69 #012 #011Connection: 0
2023-08-19T18:52:05.832895+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetCrtcConfig (change output) #012 #011Output: 197 ( "HDMI-1-2" ) #012 #011CRTC: 191 #012 #011Pos: QPoint(0,0) #012 #011Mode: KScreen::Mode(Id: "207" , Size: QSize(1920, 1080) @ 59.9685 ) Preferred: "200" #012 #011Rotation: KScreen::Output::None
2023-08-19T18:52:10.888030+02:00 carbon kernel: [  103.506773][ T1950] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
2023-08-19T18:52:10.888048+02:00 carbon kernel: [  103.506837][ T1950] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CEF8 (len 62, WS 0, PS 0) @ 0xCF14
2023-08-19T18:52:10.920704+02:00 carbon PackageKit: daemon quit    
2023-08-19T18:52:10.964772+02:00 carbon systemd[1]: packagekit.service: Deactivated successfully.
2023-08-19T18:52:15.896153+02:00 carbon kernel: [  108.514368][ T1950] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
2023-08-19T18:52:15.896203+02:00 carbon kernel: [  108.514413][ T1950] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CEF8 (len 62, WS 0, PS 0) @ 0xCF14
2023-08-19T18:52:15.896207+02:00 carbon kernel: [  108.514443][ T1950] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C516 (len 1136, WS 0, PS 0) @ 0xC5A8
2023-08-19T18:52:15.975483+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: XRandRCrtc  191  m_timestamp update  0  =>  98917
2023-08-19T18:52:15.975600+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: #011Result:  0  timestamp:  98917
2023-08-19T18:52:15.975668+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: XRandROutput 197 update #012 #011m_connected: 0 #012 #011m_crtc XRandRCrtc(0x555aa908ef20) #012 #011CRTC: 191 #012 #011MODE: 207 #012 #011Connection: 0
2023-08-19T18:52:16.003933+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetOutputPrimary #012 #011New priority: 1
2023-08-19T18:52:16.004053+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetOutputPrimary #012 #011New priority: 0
2023-08-19T18:52:16.004175+02:00 carbon kscreen_backend_launcher[2890]: message repeated 2 times: [ kscreen.xrandr: RRSetOutputPrimary #012 #011New priority: 0]
2023-08-19T18:52:16.004231+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetOutputPrimary #012 #011New priority: 2
2023-08-19T18:52:16.004289+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetOutputPrimary #012 #011New priority: 0
2023-08-19T18:52:16.004357+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: RRSetScreenSize #012 #011DPI: 95.9269 #012 #011Size: QSize(1920, 2160) #012 #011SizeMM: QSize(508, 571)
2023-08-19T18:52:16.004413+02:00 carbon kscreen_backend_launcher[2890]: kscreen.xrandr: XRandR::setConfig done!

Any ideas?

Thanks

Christian

What is the problem that lead you to discover these messages?

After running inxi -U as root or using sudo, please add complete input/output from running inxi -GSaz --vs --zl in Konsole if you can, otherwise anywhere else you can, like so:

# inxi -GSaz --vs --zl
inxi 3.3.29-00 (2023-08-15)
System:
  Host: gx151 Kernel: 5.14.21-150500.53-default arch: x86_64 bits: 64
    compiler: gcc v: 7.5.0 clocksource: tsc available: hpet,acpi_pm
    parameters: root=LABEL=<filter> ipv6.disable=1 net.ifnames=0 noresume
    consoleblank=0 mitigations=auto
  Desktop: KDE v: 3.5.10 tk: Qt v: 3.3.8c info: kicker wm: kwin vt: 7 dm:
    1: KDM 2: XDM Distro: openSUSE Leap 15.5
Graphics:
  Device-1: AMD RV370 [Radeon X600/X600 SE] driver: radeon v: kernel
    alternate: amdgpu arch: Rage-9 code: Radeon IGP process: TSMC 110nm
    built: 2003-08 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports:
    active: DVI-I-1,DVI-I-2 empty: none bus-ID: 01:00.0 chip-ID: 1002:5b62
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: r300 gpu: radeon display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-I-1 mapped: DVI-0 pos: primary,left 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: DVI-I-2 mapped: DVI-1 pos: right 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
  API: OpenGL v: 2.1 Mesa 22.3.5 renderer: ATI RV370 direct-render: Yes
#

The external monitor, connected to the Radeon card in the docking station, displayed some mirrored text during boot but went dark afterwards.

Similar error messages if I try to change the display settings for this monitor.

@boeingflieger So was this an upgrade or a fresh install of Leap 15.5, if a fresh install, can you remember if you were using the radeon or amdgpu driver for the card in the docking station?

@malcolmlewis

This was a fresh install of Leap 15.5. And it is for sure using the radeon driver.

@mrmazda

For the inxi output I will need some time. In order to work I reinstalled 15.4 and have to find a way (actually an empty hd) to run 15.5 without overwriting it.

I tried a 15.5 live image, but that is working unexpectedly. Here is a list of versions I tried:

Leap-15.4-DVD-x86_64-Build243.2         working
Leap-15.5-DVD-x86_64-Build491.1         error
Leap-15.5-KDE-Live-x86_64-Build10.117   working
Tumbleweed-DVD-x86_64-Snapshot20230818  error
# inxi -GSaz --vs --zl
inxi 3.3.29-00 (2023-08-15)
System:
  Kernel: 5.14.21-150500.53-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.21-150500.53-default
    root=UUID=5b74a918-a083-4bfc-bb38-d0a0968b8ad3 splash=silent
    resume=/dev/disk/by-uuid/fac5062b-c456-45de-bedc-cbf2e95ba4cf
    preempt=full mitigations=auto quiet security=apparmor
  Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: openSUSE Leap 15.5
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Sony driver: i915 v: kernel arch: Gen-6 code: Sandybridge
    process: Intel 32nm built: 2011 ports: active: eDP-1
    empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0126
    class-ID: 0300
  Device-2: AMD Whistler [Radeon HD 6730M/6770M/7690M XT] vendor: Sony
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 4
    link-max: lanes: 16 ports: active: HDMI-A-2 empty: VGA-2 bus-ID: 16:00.0
    chip-ID: 1002:6740 class-ID: 0300
  Device-3: Cheng Uei Precision Industry (Foxlink) Webcam driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.3:4
    chip-ID: 05c8:0318 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    alternate: intel dri: crocus,r600 gpu: i915,radeon display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x2160 s-dpi: 96 s-size: 508x571mm (20.00x22.48")
    s-diag: 764mm (30.09")
  Monitor-1: HDMI-A-2 mapped: HDMI-1-2 pos: top model: EIZO NANAO CG318
    serial: <filter> built: 2015 res: 1920x1080 hz: 60 dpi: 70 gamma: 1.2
    size: 698x368mm (27.48x14.49") diag: 788mm (31") modes: max: 1920x1200
    min: 720x400
  Monitor-2: eDP-1 pos: primary,bottom model: Sony LCD serial: <filter>
    built: 2011 res: 1920x1080 hz: 60 dpi: 168 gamma: 1.2
    size: 291x164mm (11.46x6.46") diag: 334mm (13.2") ratio: 16:9
    modes: 1920x1080
  API: OpenGL v: 3.3 Mesa 22.3.5 renderer: Mesa Intel HD Graphics 3000 (SNB
    GT2) direct-render: Yes

@boeingflieger could be a regression on kernel backports with the radeon driver…

There is a difference in the inxi output between 15.5

  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    alternate: intel dri: crocus,r600 gpu: i915,radeon display-ID: :0
    screens: 1

and 15.5-KDE-Live

  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_x11 driver: X: loaded: modesetting,radeon
    unloaded: fbdev,vesa alternate: intel dri: crocus,r600 gpu: i915,radeon
    display-ID: :0 screens: 1

But I think that is more a symptom than a reason.

@boeingflieger also check the kernel versions and cat /proc/cmdline It could be some missing firmware so scroll through the boot log in both with journalctl -b.

15.4 (working)

inxi 3.3.29-00 (2023-08-15)
System:
  Kernel: 5.14.21-150400.24.81-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.21-150400.24.81-default
    root=UUID=a6751d9b-b9bd-4386-8924-674a54b91573 splash=silent
    resume=/dev/disk/by-uuid/fac5062b-c456-45de-bedc-cbf2e95ba4cf
    preempt=full mitigations=auto quiet security=apparmor

15.5 (error)

System:
  Kernel: 5.14.21-150500.53-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.21-150500.53-default
    root=UUID=5b74a918-a083-4bfc-bb38-d0a0968b8ad3 splash=silent
    resume=/dev/disk/by-uuid/fac5062b-c456-45de-bedc-cbf2e95ba4cf
    preempt=full mitigations=auto quiet security=apparmor

15.5-KDE-Live (working)

System:
  Kernel: 5.14.21-150500.55.12-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=(hd0)/boot/x86_64/loader/linux splash=silent quiet
    systemd.show_status=yes root=live:CDLABEL=openSUSE_Leap_15.5_KDE_Live
    rd.live.image rd.live.overlay.persistent rd.live.overlay.cowfs=ext4

I cannot find any relevant warning or error message before the atombios stuck error in the logs.

Does the 15.5 installation have xf86-video-ati installed? If yes, is there a file in /etc/X11/xorg.conf.d/ specifying use of the modesetting display driver? The modesetting display driver could be having a problem being used for both AMD and Intel devices at the same time.

There is a newer 15.5 55.19 kernel available since 12 days ago, released only 9 days after the 55.12 that live 15.5 is running, almost 2 months newer than the 53. release kernel you are running on the installed 15.5.

Your configuration is like NVidia Optimus, just with Radeon instead. Dual graphics can be tricky. Maybe 15.5 needs suse-prime installed, but it isn’t. Does the live 15.5 have suse-prime?

@mrmazda The Radeon card is in the dock, so AFAIK it should not be using any of the those tools, if the user uses suse-prime and disconnects from the dock it will be more confused IMHO…

@boeingflieger can you also show the output from Leap 15.5 with;

xrandr --listmonitors
xrandr --listproviders

It looks like installing xf86-video-ati, which was installed on 15.4 but missing on 15.5, fixed the problem. I will verify that with my final installation and report.

Confirmed. Installing the missing xf86-video-ati fix the problem on Leap 15.5 .

@malcolmlewis
@mrmazda

Thanks a lot

Christian

1 Like