Bug 119181 - Hang in amdgpu_vm_bo_update_mapping with powerplay enabled
Summary: Hang in amdgpu_vm_bo_update_mapping with powerplay enabled
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-29 17:58 UTC by Hristo Venev
Modified: 2016-05-29 19:18 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.5.4
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Stack trace (sysrq-w) (3.42 KB, text/plain)
2016-05-29 17:58 UTC, Hristo Venev
Details

Description Hristo Venev 2016-05-29 17:58:10 UTC
Created attachment 218111 [details]
Stack trace (sysrq-w)

This happens after a few minutes in a 3D-intensive workload (e.g. Kerbal Space Program). The game hangs, but the mouse is moving. A few seconds later the mouse stops moving.

1. The game is waiting on an ioctl (libdrm: amdgpu_fence_wait/amdgpu_cs_query_fence_status)
2. Xorg is in D state (see attached stack trace).
3. CPU load at ~0%.
4. Nothing interesting in kernel log.

The kernel has voluntary preemption enabled, the GPU is 1002:6938 (AMD Radeon 380X). It is at 56°C, quickly drops down to 51 when forced to low performance state, goes up to 56 when at auto.
Comment 1 Hristo Venev 2016-05-29 19:18:02 UTC
The hang does not occur when the power state is set to low. There are also no rendering glitches (otherwise some frames seem to have random triangles on them).

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