Bug 104497 - radeon driver hangs : nothing else that static effect on display
Summary: radeon driver hangs : nothing else that static effect on display
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2018-01-04 20:23 UTC by magowiz
Modified: 2019-11-19 09:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Static (272.79 KB, image/jpeg)
2018-09-28 00:07 UTC, korbin.freedman
no flags Details

Description magowiz 2018-01-04 20:23:00 UTC
using latest mainline kernel I get static effect on display and no more (no login manager)

Mine distro is ubuntu 17.10 but I'm facing the same issue also with mainline kernel 4.15-rc6

from dmesg I can see, regarding drm:
$dmesg | grep drm
[    2.659838] [drm] radeon kernel modesetting enabled.
[    2.659890] fb: switching to radeondrmfb from VESA VGA
[    2.661023] [drm] initializing kernel modesetting (SUMO2 0x1002:0x9645 0x1043:0x84C8 0x00).
[    2.661163] [drm] Detected VRAM RAM=512M, BAR=256M
[    2.661164] [drm] RAM width 32bits DDR
[    2.661454] [drm] radeon: 512M of VRAM memory ready
[    2.661456] [drm] radeon: 1024M of GTT memory ready.
[    2.661464] [drm] Loading SUMO2 Microcode
[    2.661632] [drm] Internal thermal controller without fan control
[    2.661678] [drm] Found smc ucode version: 0x00011200
[    2.661834] [drm] radeon: dpm initialized
[    2.662006] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.675003] [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
[    2.675525] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.675525] [drm] Driver supports precise vblank timestamp query.
[    2.675603] [drm] radeon: irq initialized.
[    2.692149] [drm] ring test on 0 succeeded in 1 usecs
[    2.692156] [drm] ring test on 3 succeeded in 3 usecs
[    2.737845] [drm] ring test on 5 succeeded in 1 usecs
[    2.757699] [drm] UVD initialized successfully.
[    2.758193] [drm] ib test on ring 0 succeeded in 0 usecs
[    2.758242] [drm] ib test on ring 3 succeeded in 0 usecs
[    3.292477] [drm] ib test on ring 5 succeeded
[    3.313397] [drm] Radeon Display Connectors
[    3.313399] [drm] Connector 0:
[    3.313399] [drm]   VGA-1
[    3.313400] [drm]   HPD2
[    3.313401] [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[    3.313402] [drm]   Encoders:
[    3.313402] [drm]     CRT1: INTERNAL_UNIPHY2
[    3.313403] [drm]     CRT1: NUTMEG
[    3.313403] [drm] Connector 1:
[    3.313404] [drm]   DVI-D-1
[    3.313404] [drm]   HPD1
[    3.313406] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[    3.313406] [drm]   Encoders:
[    3.313406] [drm]     DFP1: INTERNAL_UNIPHY2
[    3.449737] [drm] fb mappable at 0xC0366000
[    3.449738] [drm] vram apper at 0xC0000000
[    3.449739] [drm] size 7299072
[    3.449740] [drm] fb depth is 24
[    3.449740] [drm]    pitch is 6912
[    3.449991] fbcon: radeondrmfb (fb0) is primary device
[    3.527792] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[    3.540468] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:01.0 on minor 0
[   80.040354] [drm] Found smc ucode version: 0x00011200
[   80.047133] [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
[   80.063677] [drm] ring test on 0 succeeded in 1 usecs
[   80.063683] [drm] ring test on 3 succeeded in 3 usecs
[   80.109426] [drm] ring test on 5 succeeded in 1 usecs
[   80.129306] [drm] UVD initialized successfully.
[   81.208320] [drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait timed out.
[   81.208392] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-110).

This bug existed since older versions, I tried also mainline 4.8 

Here you can see mine vga: 
lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Sumo [Radeon HD 6410D]

that actually is "AMD - A4-3300 Llano" an APU.  

I'm at your disposal in case you need further information.
Comment 1 korbin.freedman 2018-09-28 00:07:15 UTC
Created attachment 141769 [details]
Comment 2 korbin.freedman 2018-09-28 00:11:32 UTC
When attempting to resume my system after a fresh boot before logging in, I get screen static instead of the login page. A console basically displays over the static about 100 “Radeon 0000:01:00.0 ring 0 stalled for more than 31414 seconds” the lengths vary. 
The messages end with “drm:r600_ib_test [radeon] error fence wait timed out”
“drm:radeon_ib_ring_tests error radeon: failed testing IB on GFX ring (-110)”

When logged in, I also sometimes expierience this, but pressing space, then typing my password removes the static and opens the desktop back up.

Host: E6550-Thinkcentre Kernel: 4.18.9-1-MANJARO x86_64 bits: 64
compiler: gcc v: 8.2.1 Desktop: Gnome 3.28.3 wm: gnome-shell
dm: gdm 3.30.0 Distro: Manjaro Linux
Type: Desktop System: LENOVO product: 6072CTO v: ThinkCentre M57
serial: Chassis: type: 3 serial:
Mobo: LENOVO model: LENOVO serial: BIOS: LENOVO
v: 2RKT64BUS date: 01/08/2014
Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400
serial: 4024-ca-56-a0-58 charge: 10% (should be ignored) rechargeable: yes
status: Discharging
Topology: Dual Core model: Intel Core2 Duo E6550 bits: 64 type: MCP
arch: Merom rev: B L2 cache: 4096 KiB
flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 9313
Speed: 1997 MHz min/max: 2000/2333 MHz Core speeds (MHz): 1: 1997 2: 1995
Device-1: AMD RV610 [Radeon HD 2400 PRO/XT] vendor: Gigabyte
driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:94c1
Display: x11 server: N/A driver: radeon compositor: gnome-shell
OpenGL: renderer: llvmpipe (LLVM 6.0 128 bits) v: 3.3 Mesa 18.2.1
compat-v: 3.1 direct render: Yes
Device-1: Intel 82801I HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 00:1b.0 chip ID: 8086:293e
Sound Server: ALSA v: k4.18.9-1-MANJARO
Device-1: Intel 82566DM-2 Gigabit Network driver: e1000e v: 3.2.6-k
port: 1820 bus ID: 00:19 chip ID: 8086:10bd
IF: enp0s25 state: down mac: 00:21:86:17:4b:c0
Device-2: Broadcom BCM43143 802.11bgn (1x1) Wireless Adapter type: USB
driver: brcmfmac bus ID: 2-6:3 chip ID: 0a5c:bd1e serial: 000000000001
IF: wlan0 state: up mac: fc:b4:e6:af:c9:04
Local Storage: total: 149.05 GiB used: 13.86 GiB (9.3%)
ID-1: /dev/sda vendor: Western Digital model: WD1600JD-41HBC0
size: 149.05 GiB speed: 1.5 Gb/s serial: WD-WMAL93912421 rev: 2J21
scheme: GPT
ID-1: / size: 23.72 GiB used: 11.04 GiB (46.5%) fs: btrfs dev: /dev/sda2
ID-2: /home size: 72.90 GiB used: 2.82 GiB (3.9%) fs: ext4 dev: /dev/sda3
ID-3: swap-1 size: 2.91 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda8
System Temperatures: cpu: 47.0 C mobo: N/A gpu: radeon temp: 70 C
Fan Speeds (RPM): N/A
Processes: 268 Uptime: 7m Memory: 3.61 GiB used: 920.0 MiB (24.9%)
Init: systemd v: 239 Compilers: gcc: 8.2.1 clang: 6.0.1 Shell: bash
v: 4.4.23 running in: gnome-terminal inxi: 3.0.21
Comment 3 korbin.freedman 2018-09-28 00:12:55 UTC
This issue sometimes also locks up my computer on resume. At that point I have to force reboot
Comment 4 korbin.freedman 2018-09-28 00:14:30 UTC
Same here. 4.1
Comment 5 Martin Peres 2019-11-19 09:31:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/827.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.