Radeon R7 not work in ubuntu xenial

Bug #1603989 reported by m3asmi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-amdgpu (Ubuntu)
Expired
Low
Unassigned

Bug Description

the screen get a black flash or some deformation
then the system get frozen

I get log
[ 866.763340] [drm] RC6 on
[ 896.751558] [drm] RC6 on
[ 910.775616] [drm] RC6 on
[ 927.763796] [drm] RC6 on
[ 956.751827] [drm] RC6 on
[ 975.764282] [drm] RC6 on
[ 1016.752731] [drm] RC6 on
[ 1030.739433] [drm] RC6 on
[ 1047.761923] [drm] RC6 on
[ 1556.388062] audit_printk_skb: 33 callbacks suppressed
[ 1556.388065] audit: type=1400 audit(1468793461.220:23): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/mission-control-5" pid=6478 comm="apparmor_parser"
[ 1556.388411] audit: type=1400 audit(1468793461.220:24): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*" pid=6478 comm="apparmor_parser"
[ 1556.388666] audit: type=1400 audit(1468793461.220:25): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*//pxgsettings" pid=6478 comm="apparmor_parser"
[ 1556.388842] audit: type=1400 audit(1468793461.220:26): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*//sanitized_helper" pid=6478 comm="apparmor_parser"
[ 1556.389041] audit: type=1400 audit(1468793461.220:27): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-ofono" pid=6478 comm="apparmor_parser"
[ 1560.381247] [drm] PCIE GART of 4096M enabled (table at 0x0000000000040000).
[ 1560.627183] [drm:gfx_v8_0_hw_init [amdgpu]] *ERROR* amdgpu: cp failed to lock ring (-2).
[ 1560.627192] [drm] ring test on 0 succeeded in 2 usecs
[ 1560.627371] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 1 (-2).
[ 1560.627382] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 2 (-2).
[ 1560.627391] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 3 (-2).
[ 1560.627400] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 4 (-2).
[ 1560.627409] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 5 (-2).
[ 1560.627418] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 6 (-2).
[ 1560.627426] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 7 (-2).
[ 1560.627435] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 8 (-2).
[ 1560.627463] [drm] ring test on 9 succeeded in 7 usecs
[ 1560.627478] [drm:sdma_v2_4_ring_test_ring [amdgpu]] *ERROR* amdgpu: dma failed to lock ring 10 (-2).
[ 1560.627484] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 5 failed -2
[ 1560.627491] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).
[ 1579.303762] [drm] PCIE GART of 4096M enabled (table at 0x0000000000040000).
[ 1579.545498] [drm:gfx_v8_0_hw_init [amdgpu]] *ERROR* amdgpu: cp failed to lock ring (-2).
[ 1579.545512] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 0 (-2).
[ 1579.545519] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 4 failed -2
[ 1579.545526] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).
[ 1592.083876] [drm] PCIE GART of 4096M enabled (table at 0x0000000000040000).
[ 1592.338484] [drm:gfx_v8_0_hw_init [amdgpu]] *ERROR* amdgpu: cp failed to lock ring (-2).
[ 1592.338498] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 0 (-2).
[ 1592.338505] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 4 failed -2
[ 1592.338512] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).
[ 1592.379381] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.379436] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.379487] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.386175] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.386201] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.386221] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437156] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437198] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437231] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437236] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437265] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437291] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437294] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437319] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437344] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437347] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437371] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437387] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437389] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437405] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437420] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437422] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437437] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437452] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.437474] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.437506] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.437529] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.444630] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.444660] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.444683] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.444687] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.444706] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.444725] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.444728] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.444745] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.444757] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.444763] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.444785] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.444804] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.445702] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.445730] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.445750] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.446390] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.446415] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.446435] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.529676] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.529702] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.529721] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1592.529795] amdgpu 0000:01:00.0: couldn't schedule ib
[ 1592.529813] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
[ 1592.529829] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
[ 1604.243338] [drm] PCIE GART of 4096M enabled (table at 0x0000000000040000).
[ 1604.484870] [drm:gfx_v8_0_hw_init [amdgpu]] *ERROR* amdgpu: cp failed to lock ring (-2).
[ 1604.484884] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 0 (-2).
[ 1604.484891] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 4 failed -2
[ 1604.484897] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).
[ 1611.247464] [drm] PCIE GART of 4096M enabled (table at 0x0000000000040000).
[ 1611.492925] [drm:gfx_v8_0_hw_init [amdgpu]] *ERROR* amdgpu: cp failed to lock ring (-2).
[ 1611.492938] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 0 (-2).
[ 1611.492945] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 4 failed -2
[ 1611.492952] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-2).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: GNOME-Flashback:Unity
Date: Mon Jul 18 14:04:48 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation HD Graphics 520 [8086:1916] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Skylake Integrated Graphics [17aa:3804]
InstallationDate: Installed on 2016-06-24 (23 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Lsusb:
 Bus 002 Device 002: ID 8086:0a66 Intel Corp.
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:0a2a Intel Corp.
 Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 80NT
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=UUID=009e3c20-6d0e-4f82-a892-f0750d5de684 ro quiet splash radeon.runpm=0 crashkernel=384M-:128M vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/10/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: CFCN21WW(V1.03)
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: Lenovo ideapad 5
dmi.board.vendor: LENOVO
dmi.board.version: No DPK
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 500-15ISK
dmi.modalias: dmi:bvnLENOVO:bvrCFCN21WW(V1.03):bd08/10/2015:svnLENOVO:pn80NT:pvrLenovoideapad500-15ISK:rvnLENOVO:rnLenovoideapad5:rvrNoDPK:cvnLENOVO:ct10:cvrLenovoideapad500-15ISK:
dmi.product.name: 80NT
dmi.product.version: Lenovo ideapad 500-15ISK
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.12.2+16.04.20160526-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Mon Jul 18 08:54:26 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 14829
 vendor AUO
xserver.version: 2:1.18.3-1ubuntu2.2

Revision history for this message
m3asmi (m3asmi-gmail) wrote :
Timo Aaltonen (tjaalton)
affects: xorg (Ubuntu) → xserver-xorg-video-amdgpu (Ubuntu)
Revision history for this message
Yuri Ribeiro Sucupira (yuri-sucupira) wrote :

Please download these files (kernel version 4.7):

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201608021801_all.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201608021801_amd64.deb

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201608021801_amd64.deb

Then install the three files and reboot your system so it loads the 4.7 kernel.

How to install these packages:

1) Execute this command in order to install Gdebi:
sudo apt-get install gdebi -y

2) Right-click onto any .DEB file then go to "Properties" and define "Gdebi" as the default app to open .DEB packages.

3) Double-click the linux-image-4.7.0-040700-generic_4.7.0-040700.201608021801_amd64.deb file so Gdebi will open it. Click the "Install Package" button and provide your password.

4) Repeat the installation step (item 3, above) with files linux-headers-4.7.0-040700_4.7.0-040700.201608021801_all.deb and linux-headers-4.7.0-040700-generic_4.7.0-040700.201608021801_amd64.deb

An alternative way of installing these packages is to open a shell terminal window, then cd (change directory) into the directory where those three .DEB files were downloaded into (make sure those 3 .DEB files are the ONLY .DEB files present in the folder), and then execute this installation command:

sudo dpkg -i *.deb

Once you install kernel 4.7, reboot your system. GRUB will select 4.7-generic by default. See if this solves the problem.

penalvch (penalvch)
tags: added: bios-outdated-cfcn24ww
Changed in xserver-xorg-video-amdgpu (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-amdgpu (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-amdgpu (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.