Radeon R7 not work in ubuntu xenial

Bug #1589776 reported by andy cao
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

lspci:
VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360] (rev ff)

kernel:4.4.12-040412-generic #201606011712
ubuntu xenial.

[drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 1 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 18.514980] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 2 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 18.719097] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 3 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 18.923323] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 4 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 19.127705] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 5 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 19.331781] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 6 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 19.535642] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 7 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 19.739668] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 8 test failed (scratch(0xC040)=0xCAFEDEAD)

 [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 0 (-2).
[ 26.229070] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).
[ 26.229823] amdgpu 0000:05:00.0: couldn't schedule ib
[ 26.230498] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 26.231173] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!

amdgpu 0000:05:00.0: couldn't schedule ib
[ 27.260411] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 27.260425] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 27.260428] amdgpu 0000:05:00.0: couldn't schedule ib
[ 27.260438] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 27.260447] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 27.260572] amdgpu 0000:05:00.0: couldn't schedule ib
[ 27.260583] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 27.260592] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.550867] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.550891] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.550908] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.550912] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.550926] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.550939] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.550942] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.550954] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.550967] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.550969] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.550980] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.550992] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.550995] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.551006] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.551018] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.551021] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.551032] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.551044] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.551046] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.551057] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.551069] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.551072] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.551083] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.551095] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.551122] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.551136] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.551148] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.713622] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.713646] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.713663] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.713667] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.713681] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.713695] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.713698] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.713710] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.713722] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.713725] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.713737] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.713749] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.713752] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.713763] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.713775] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.713827] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.713842] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.713854] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 28.732309] amdgpu 0000:05:00.0: couldn't schedule ib
[ 28.732328] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 28.732339] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 33.548629] amdgpu 0000:05:00.0: couldn't schedule ib
[ 33.548645] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 33.548655] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!

[ 516.037902] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[ 516.269733] [drm:gfx_v8_0_hw_init [amdgpu]] *ERROR* amdgpu: cp failed to lock ring (-2).
[ 516.270405] [drm] ring test on 0 succeeded in 1 usecs
[ 516.474811] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 1 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 516.679798] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 2 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 516.884668] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 3 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 517.089573] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 4 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 517.294495] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 5 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 517.498667] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 6 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 517.702914] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 7 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 517.907105] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 8 test failed (scratch(0xC040)=0xCAFEDEAD)
[ 517.907789] [drm] ring test on 9 succeeded in 6 usecs
[ 517.907803] [drm:sdma_v2_4_ring_test_ring [amdgpu]] *ERROR* amdgpu: dma failed to lock ring 10 (-2).
[ 517.908477] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2015-11-19 (201 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
Package: linux (not installed)
Tags: xenial
Uname: Linux 4.4.12-040412-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: Upgraded to xenial on 2016-04-28 (40 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Tags: xenial
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1589776

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
andy cao (c-ys268) wrote : JournalErrors.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
andy cao (c-ys268) wrote : ProcEnviron.txt

apport information

andy cao (c-ys268)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a kernel version where you were not having this particular problem? This will help determine if the problem you are seeing is the result of a regression, and when this regression was introduced. If this is a regression, we can perform a kernel bisect to identify the commit that introduced the problem.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
andy cao (c-ys268) wrote :

Before upgraded to xenial.
when upgraded to xenial,the radeon r7 graphic card can't work.so i update/upgraded on everday.
then the problem was appear.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

andy cao, could you please boot into a live environment of 15.10 via http://releases.ubuntu.com/wily/ and then perform https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589776/comments/1 ?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
andy cao (c-ys268) wrote :

how to rollback 15.10?reinstall?
sorry,i forget to said that i use amd offical proprietary driver before xenial.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

andy cao, doing it in Xenial is fine.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
m3asmi (m3asmi-gmail) wrote :

I have the same bug
in my lenovo ideapad 500 AMD radeon R7 M360

Revision history for this message
penalvch (penalvch) wrote :

m3asmi, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal:
ubuntu-bug xorg

Also, please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

tags: removed: apport-collected r7 radeon
Revision history for this message
manof (manof) wrote :

I have the same "ring 1-8 test failed" error messages on my new HP 17-y011nc notebook.
I am not sure about when it started appearing but the first time I have noticed it was after switching from Linux kernel 4.4.0 to 4.4.8.
I am using Ubuntu 16.04 LTS fresh installation (since Friday - 3 days old).
According to inxi, I have AMD/ATI Topaz XT [Radeon R7 M260/M265].

Revision history for this message
penalvch (penalvch) wrote :

manof, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.