Bug 109667 - r5 m330 hung if dpm enabled
Summary: r5 m330 hung if dpm enabled
Status: CLOSED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-18 20:03 UTC by Slava
Modified: 2019-11-19 10:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg (101.90 KB, text/plain)
2019-02-18 20:35 UTC, Slava
no flags Details
actualy after gpu reset dmesg get overflowed, so it is dmesg before reset (105.36 KB, text/plain)
2019-02-18 21:58 UTC, Slava
no flags Details
Xorg.log (35.62 KB, text/plain)
2019-02-18 22:10 UTC, Slava
no flags Details

Description Slava 2019-02-18 20:03:55 UTC
I have laptop with AMD A9-9420 cpu and discrete r5 m330.

01:00.0 0380: 1002:6660 (rev 83)
	Subsystem: 103c:8331
	Physical Slot: 0
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at f0400000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at 4000 [size=256]
	Expansion ROM at f0440000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu

Integrated gpu works flawlessly, but running something with DRI_PRIME=1 causes gpu hung after some time(from 30s to few minutes). this happens on BOTH radeon and amdgpu modules. Disabling dpm prevents hung for both drivers, but makes gpu useless because little default clocks.
Kernel parametres I'm using right now: radeon.dpm=0 amdgpu.dpm=1 amdgpu.dc=1 amdgpu.gpu_recovery=1
Also tried with amdgpu.si_support=1 radeon.si_support=0 but as I sain before problem happens with both modules.
this happens on all kernels i tried. 4.9 is oldest i can install, because wifi driver woks only on post 4.9 kernels
Comment 1 Slava 2019-02-18 20:35:55 UTC
Created attachment 143397 [details]
dmesg
Comment 2 Slava 2019-02-18 21:58:54 UTC
Created attachment 143398 [details]
actualy after gpu reset dmesg get overflowed, so it is dmesg before reset
Comment 3 Slava 2019-02-18 22:03:15 UTC
uh, lst dmesg get litle bit early, after few seconds there appeared such strings

[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=431052, emitted seq=431053
amdgpu 0000:01:00.0: GPU reset begin!
Comment 4 Slava 2019-02-18 22:10:05 UTC
Created attachment 143402 [details]
Xorg.log
Comment 5 Martin Peres 2019-11-19 09:13:44 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/701.


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.