<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Regression, bisected] New BONAIRE UVD firmware causes DPM problems and extremely slow performance"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98988">98988</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Regression, bisected] New BONAIRE UVD firmware causes DPM problems and extremely slow performance
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Radeon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>falaca@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=128327" name="attach_128327" title="Kernel bisect log">attachment 128327</a> <a href="attachment.cgi?id=128327&action=edit" title="Kernel bisect log">[details]</a></span>
Kernel bisect log
I have a 2GB Radeon R7 260X (BONAIRE).
With kernel 4.7 and above, I was experiencing extremely slow performance. Even
desktop animations on Ubuntu 16.04 w/ Unity desktop are extremely choppy,
probably about 10fps.
dmesg produces several instances of the following error message:
[drm:ci_dpm_set_power_state [radeon]] *ERROR* ci_upload_dpm_level_enable_mask
failed
I did a kernel bisect, and narrowed the problem to the following commit:
<a href="http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=7050c6ef5f0e9bc5e6bf9eb035320b70f731b919">http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=7050c6ef5f0e9bc5e6bf9eb035320b70f731b919</a>
The bisect log is attached.
It seems that the commit adds support for a new firmware file,
"bonaire_uvd.bin". If the driver fails in loading the new firmware file, it
falls back to the legacy file, "BONAIRE_uvd.bin".
To confirm that the issue is caused by the new firmware, I deleted
bonaire_uvd.bin, and performance is restored to normal with the latest stable
kernel (4.9.0-rc7).
For what it's worth, here are the contents of
/sys/kernel/debug/dri/64/radeon_pm_info while idling on the Ubuntu desktop with
the new firmware:
uvd disabled
vce disabled
power level avg sclk: 115774 mclk: 15000
And the old firmware:
uvd disabled
vce disabled
power level avg sclk: 30248 mclk: 165000</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>