Bug 97605

Summary: AMDGPU Black Screen when Booting
Product: DRI Reporter: James Payne <jamoflaw>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: tjaalton
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Boot log none

Description James Payne 2016-09-05 22:20:14 UTC
My laptop (HP Pavilion 15-ab141na) is simply booting to a black screen on 16.04, the backlight is on but there is no display. Sound is working so I can hear the ubuntu logon noise and can SSH from another machine.

During boot the screen on the laptop looks as if it is flashing off and on before settling and remaining black with the backlight on.


Below is the debug info from the Ubuntu system, I think it lists the Carrizo chip but I believe there is a Topaz chip in there too not listed below. 


---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
DistUpgraded: Fresh install
DistroCodename: xenial
DistroRelease: Ubuntu 16.04
DistroVariant: ubuntu
DkmsStatus: bcmwl, 6.30.223.248+bdcom, 4.4.0-28-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Carrizo [1002:9874] (rev c4) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Carrizo [103c:80b5]
InstallationDate: Installed on 2016-06-28 (11 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: HP HP Pavilion Notebook
NonfreeKernelModules: wl
Package: xserver-xorg-video-amdgpu 1.1.0-1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic.efi.signed root=UUID=0a039e19-a176-41df-b477-a009498d708b ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Tags: third-party-packages xenial ubuntu
Uname: Linux 4.4.0-28-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 05/27/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F.19
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 80B5
dmi.board.vendor: HP
dmi.board.version: 81.29
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF.19:bd05/27/2016:svnHP:pnHPPavilionNotebook:pvr:rvnHP:rn80B5:rvr81.29:cvnHP:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion Notebook
dmi.sys.vendor: HP
version.compiz: compiz 1:0.9.12.2+16.04.20160526-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.68+git1607081632.8c8d5dd~x~padoka0
version.libgl1-mesa-dri: libgl1-mesa-dri 12.1~git1600708182300.64ac4ae~x~padoka0
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 12.1~git1600708182300.64ac4ae~x~padoka0
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+git1606291706.3be841d~x~padoka0
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git1607081624.26f8ab5~x~padoka0
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12+git1607031832.12f7734~x~padoka0
Comment 1 Michel Dänzer 2016-09-06 00:53:19 UTC
Please attach the output of dmesg after the problem occurred.
Comment 2 James Payne 2016-09-10 12:04:06 UTC
Created attachment 126453 [details]
Boot log

Output of journalctl --boot=-1
Comment 3 James Payne 2016-09-10 12:09:23 UTC
Thanks Michel

Output attached as requested. This log was generated after a full boot. As soon as you leave the GRUB menu the screen starts to look as if its mode switching, this lasts for about 5-10 seconds before it stops with a black screen with the backlight on.

Many thanks
James
Comment 4 Michel Dänzer 2016-09-16 08:35:22 UTC
Any chance you can try a newer kernel?
Comment 5 Timo Aaltonen 2016-09-16 10:28:19 UTC
a convenient way to try newer kernels on ubuntu is to wget the deb from

http://kernel.ubuntu.com/~kernel-ppa/mainline/

in your case "generic" for amd64

amdgpu.ko on 16.04 is backported from 4.5, so try something newer
Comment 6 James Payne 2016-09-18 13:40:18 UTC
Hi Michel/Timo

I have previously managed to get the system booting (albeit with the same screen issues) but for some reason the newer kernels (I've tried 4.7RC6 and DRM-Next as of today 18th Sept) and both are failing to boot entirely, don't even get to bring up the wired network which I have managed to open a SSH session between two laptops to at least interrogate the non functioning laptop now. Though messing with the kernels seems to have caused some huge corruption on the filesystem through all the system buttoning I'm having to do :) Another reinstall required I think.

Is there a specific kernel (maybe not bleeding edge) that I can try? - fyi I also have a Broadcom wireless which is attempting to compile a kernel module during each deb install, I noticed on those two kernels the module failed to compile correctly so might be where the issue is coming from.

For reference, I originally posted this on launchpad which has a few more details collected from apport:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1597079
Comment 7 James Payne 2016-09-18 13:43:01 UTC
Just noticed I did list the kernels I had previously tried in the Ubuntu bug report:

v4.7-rc5-yakkety/
v4.4.4-wily/
Comment 8 Timo Aaltonen 2016-11-10 13:15:41 UTC
James, you need to test bleeding edge kernels in order to check if the bug still exists or not.. so grab latest v4.9-rc from the mainline repo to see if it's better
Comment 9 Thomas J. Moore 2016-12-04 21:56:43 UTC
Symptoms and hardware appear to be identical to but 97055.  I'll let either the bug reporter or someone else with authority mark it as such, though.
Comment 10 Thomas J. Moore 2017-06-06 15:38:40 UTC

*** This bug has been marked as a duplicate of bug 97055 ***

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.