Bug 2220717 - [radeon HD3470 rv620 1002:95c0][regression] GPU lockup; ring 0 stalled; kernel rejected CS using modesetting DIX instead of radeon DDX
Summary: [radeon HD3470 rv620 1002:95c0][regression] GPU lockup; ring 0 stalled; kerne...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-06 05:10 UTC by Felix Miata
Modified: 2023-07-31 00:44 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
.zip of journals, dmesgs, .xsession-errors, Xorg.0.log, installed firmware (276.44 KB, application/octet-stream)
2023-07-06 05:10 UTC, Felix Miata
no flags Details

Description Felix Miata 2023-07-06 05:10:38 UTC
Created attachment 1974258 [details]
.zip of journals, dmesgs, .xsession-errors, Xorg.0.log, installed firmware

Original Summary:
[radeon HD3470 rv620 1002:95c0][regression] GPU lockup; ring 0 stalled; kernel rejected CS using modesetting DIX instead of radeon DDX

Description of problem:
1-numerous logged failure messages: GPU lockup, ring 0 stalled, kernel rejected CS
2-KDM and Plasma X11 screens unusable black or hopelessly corrupted

Version-Release number of selected component (if applicable):
kernels: 6.1.12, 6.2.15, 6.3.8, 6.3.10, 6.3.11
xorg-x11-server-Xorg-1.20.14-23.fc38.x86_64 (provides modesetting_drv.so)

How reproducible:
100%

Steps to Reproduce:
1-Uninstall xorg-x11-drv-ati, and/or configure use of modesetting_drv.so via /etc/X11/xorg.con*. 
2-Try to run Xorg

Actual results:
1-black or otherwise unusable X
2-many .xsession-errors, journal and dmesg nasties

Expected results:
1-working KDM and Plasma, same as if using radeon DDX instead of modesetting DIX, or if using F37

Additional info:
1-Reproducible on https://bugs.mageia.org/show_bug.cgi?id=32066 (server 21.1.8), but not openSUSE Tumbleweed (server 21.1.8).
2-I've been using the modesetting DIX on most hardware it supports for several years. This is a rare failure in my experience.
3-Being forced to use radeon instead of modesetting is considerable inconvenience, as I depend on various xrandr scripts for various purposes, and output names recognized by xrandr differ using radeon instead of modesetting, whose output names match regardless whether AMD, Intel or NVidia GPU.
4-I cannot determine when this began, as PC is mere testbox that until 3 July hadn't been used for F38 since 15 April, when all was good with kernel 6.2.10 and server 1.20.14.
5-# inxi -SGaz
System:
  Kernel: 6.3.11-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 parameters: ro root=LABEL=p096f38 ipv6.disable=1
    net.ifnames=0 selinux=0 noresume consoleblank=0 preempt=full
    mitigations=off vga=791 drm.debug=0x06 log_buf_len=1M 3
  Desktop: IceWM v: 3.4.0 vt: 7 dm: 1: KDM 2: XDM Distro: Fedora release 38
    (Thirty Eight)
Graphics:
  Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon
    v: kernel alternate: amdgpu arch: TeraScale code: R6xx/RV6xx/RV7xx
    process: TSMC 55-65nm built: 2005-13 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 ports: active: DP-1,DP-2 empty: none bus-ID: 01:00.0
    chip-ID: 1002:95c0 class-ID: 0300 temp: 81.0 C
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9 driver: X:
    loaded: radeon unloaded: fbdev,modesetting,vesa dri: swrast gpu: radeon
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4240x1440 s-dpi: 120 s-size: 897x304mm (35.31x11.97")
    s-diag: 947mm (37.29")
  Monitor-1: DP-1 mapped: DisplayPort-0 pos: primary,left
    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-2: DP-2 mapped: DisplayPort-1 pos: 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
  API: OpenGL v: 4.5 Mesa 23.1.3 renderer: llvmpipe (LLVM 16.0.5 128 bits)
    direct-render: Yes

Comment 1 Felix Miata 2023-07-31 00:44:27 UTC
All good since mesa updates:
# inxi -S
System:
  Host: big31 Kernel: 6.3.12-200.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.6 Distro: Fedora release 38 (Thirty Eight)
# dmesg | grep -E 'lockup|reject|stalled'
# rpm -qa | grep mesa | sort
mesa-dri-drivers-23.1.4-1.fc38.x86_64
mesa-filesystem-23.1.4-1.fc38.x86_64
mesa-libEGL-23.1.4-1.fc38.x86_64
mesa-libgbm-23.1.4-1.fc38.x86_64
mesa-libGL-23.1.4-1.fc38.x86_64
mesa-libglapi-23.1.4-1.fc38.x86_64
mesa-libGLU-9.0.3-1.fc38.x86_64
mesa-vulkan-drivers-23.1.4-1.fc38.x86_64
#


Note You need to log in before you can comment on or make changes to this bug.