Bug 66551 - System hang on rs780 with latest Linus kernel
Summary: System hang on rs780 with latest Linus kernel
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 13:56 UTC by octoploid
Modified: 2013-07-10 13:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description octoploid 2013-07-03 13:56:36 UTC
I've tested the new DPM code (git://people.freedesktop.org/~agd5f/linux drm-next-3.11) on my rs780.
I can reproducible hang my system by just copy/pasting
a big document under LibreOffice. During the hang the keyboard is 
unusable and the mouse pointer only moves noncontinuous and jerky.
Hitting the reset button is the only remedy.

By disabling DPM the problem goes away.

Jul  3 15:31:22 x4 kernel: [drm] Initialized drm 1.1.0 20060810
Jul  3 15:31:22 x4 kernel: [drm] radeon kernel modesetting enabled.
Jul  3 15:31:22 x4 kernel: [drm] initializing kernel modesetting (RS780 0x1002:0x9614 0x1043:0x834D).
Jul  3 15:31:22 x4 kernel: [drm] register mmio base: 0xFBEE0000
Jul  3 15:31:22 x4 kernel: [drm] register mmio size: 65536
Jul  3 15:31:22 x4 kernel: ATOM BIOS: 113
Jul  3 15:31:22 x4 kernel: radeon 0000:01:05.0: VRAM: 128M 0x00000000C0000000 - 0x00000000C7FFFFFF (128M used)
Jul  3 15:31:22 x4 kernel: radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF
Jul  3 15:31:22 x4 kernel: [drm] Detected VRAM RAM=128M, BAR=128M
Jul  3 15:31:22 x4 kernel: [drm] RAM width 32bits DDR
Jul  3 15:31:22 x4 kernel: [TTM] Zone  kernel: Available graphics memory: 4082344 kiB
Jul  3 15:31:22 x4 kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
Jul  3 15:31:22 x4 kernel: [TTM] Initializing pool allocator
Jul  3 15:31:22 x4 kernel: [TTM] Initializing DMA pool allocator
Jul  3 15:31:22 x4 kernel: [drm] radeon: 128M of VRAM memory ready
Jul  3 15:31:22 x4 kernel: [drm] radeon: 512M of GTT memory ready.
Jul  3 15:31:22 x4 kernel: [drm] GART: num cpu pages 131072, num gpu pages 131072
Jul  3 15:31:22 x4 kernel: [drm] Loading RS780 Microcode
Jul  3 15:31:22 x4 kernel: [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
Jul  3 15:31:22 x4 kernel: radeon 0000:01:05.0: WB enabled
Jul  3 15:31:22 x4 kernel: radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x00000000a0000c00 and cpu addr 0xffff880215c05c00
Jul  3 15:31:22 x4 kernel: radeon 0000:01:05.0: fence driver on ring 3 use gpu addr 0x00000000a0000c0c and cpu addr 0xffff880215c05c0c
Jul  3 15:31:22 x4 kernel: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Jul  3 15:31:22 x4 kernel: [drm] Driver supports precise vblank timestamp query.
Jul  3 15:31:22 x4 kernel: [drm] radeon: irq initialized.
Jul  3 15:31:22 x4 kernel: radeon 0000:01:05.0: setting latency timer to 64
Jul  3 15:31:22 x4 kernel: [drm] ring test on 0 succeeded in 1 usecs
Jul  3 15:31:22 x4 kernel: [drm] ring test on 3 succeeded in 1 usecs
Jul  3 15:31:22 x4 kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Jul  3 15:31:22 x4 kernel: [drm] ib test on ring 3 succeeded in 0 usecs
Jul  3 15:31:22 x4 kernel: [drm] Radeon Display Connectors
Jul  3 15:31:22 x4 kernel: [drm] Connector 0:
Jul  3 15:31:22 x4 kernel: [drm]   VGA-1
Jul  3 15:31:22 x4 kernel: [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
Jul  3 15:31:22 x4 kernel: [drm]   Encoders:
Jul  3 15:31:22 x4 kernel: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
Jul  3 15:31:22 x4 kernel: [drm] Connector 1:
Jul  3 15:31:22 x4 kernel: [drm]   DVI-D-1
Jul  3 15:31:22 x4 kernel: [drm]   HPD3
Jul  3 15:31:22 x4 kernel: [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
Jul  3 15:31:22 x4 kernel: [drm]   Encoders:
Jul  3 15:31:22 x4 kernel: [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
Jul  3 15:31:22 x4 kernel: == power state 0 ==
Jul  3 15:31:22 x4 kernel:      ui class: none
Jul  3 15:31:22 x4 kernel:      internal class: boot 
Jul  3 15:31:22 x4 kernel:      caps: video 
Jul  3 15:31:22 x4 kernel:      uvd    vclk: 0 dclk: 0
Jul  3 15:31:22 x4 kernel:              power level 0    sclk: 50000 vddc_index: 2
Jul  3 15:31:22 x4 kernel:              power level 1    sclk: 50000 vddc_index: 2
Jul  3 15:31:22 x4 kernel:      status: c r b 
Jul  3 15:31:22 x4 kernel: == power state 1 ==
Jul  3 15:31:22 x4 kernel:      ui class: performance
Jul  3 15:31:22 x4 kernel:      internal class: none
Jul  3 15:31:22 x4 kernel:      caps: video 
Jul  3 15:31:22 x4 kernel:      uvd    vclk: 0 dclk: 0
Jul  3 15:31:22 x4 kernel:              power level 0    sclk: 50000 vddc_index: 1
Jul  3 15:31:22 x4 kernel:              power level 1    sclk: 70000 vddc_index: 2
Jul  3 15:31:22 x4 kernel:      status: 
Jul  3 15:31:22 x4 kernel: == power state 2 ==
Jul  3 15:31:22 x4 kernel:      ui class: none
Jul  3 15:31:22 x4 kernel:      internal class: uvd 
Jul  3 15:31:22 x4 kernel:      caps: video 
Jul  3 15:31:22 x4 kernel:      uvd    vclk: 53300 dclk: 40000
Jul  3 15:31:22 x4 kernel:              power level 0    sclk: 50000 vddc_index: 1
Jul  3 15:31:22 x4 kernel:              power level 1    sclk: 50000 vddc_index: 1
Jul  3 15:31:22 x4 kernel:      status: 
Jul  3 15:31:22 x4 kernel: switching from power state:
Jul  3 15:31:22 x4 kernel:      ui class: none
Jul  3 15:31:22 x4 kernel:      internal class: boot 
Jul  3 15:31:22 x4 kernel:      caps: video 
Jul  3 15:31:22 x4 kernel:      uvd    vclk: 0 dclk: 0
Jul  3 15:31:22 x4 kernel:              power level 0    sclk: 50000 vddc_index: 2
Jul  3 15:31:22 x4 kernel:              power level 1    sclk: 50000 vddc_index: 2
Jul  3 15:31:22 x4 kernel:      status: c b 
Jul  3 15:31:22 x4 kernel: switching to power state:
Jul  3 15:31:22 x4 kernel:      ui class: performance
Jul  3 15:31:22 x4 kernel:      internal class: none
Jul  3 15:31:22 x4 kernel:      caps: video 
Jul  3 15:31:22 x4 kernel:      uvd    vclk: 0 dclk: 0
Jul  3 15:31:22 x4 kernel:              power level 0    sclk: 50000 vddc_index: 1
Jul  3 15:31:22 x4 kernel:              power level 1    sclk: 70000 vddc_index: 2
Jul  3 15:31:22 x4 kernel:      status: r 
Jul  3 15:31:22 x4 kernel: [drm] radeon: dpm initialized
Comment 1 octoploid 2013-07-10 06:26:06 UTC
OK, I've just double checked and the issue doesn't depend on
DPM being enabled.
A vanilla Linus kernel (latest git) with DPM disabled will also hang.

I'm using:

x11-drivers/xf86-video-ati-7.1.0
media-libs/mesa-9.1.4
x11-libs/libdrm-2.4.46

Any idea on how to further debug this issue?
Comment 2 Alex Deucher 2013-07-10 12:57:32 UTC
Can you use git to bisect and identify what commit broke your system?
Comment 3 octoploid 2013-07-10 13:07:10 UTC
(In reply to comment #2)
> Can you use git to bisect and identify what commit broke your system?

Already did this see:
http://thread.gmane.org/gmane.comp.video.dri.devel/87584

Fixed by:

https://patchwork.kernel.org/patch/2825605/


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.