From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97055] Black screens on A10-8780P (Carrizo) + R7 M260/M265 (Topaz) Combo Date: Sat, 23 Jul 2016 02:32:31 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1376028150==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F7776EC73 for ; Sat, 23 Jul 2016 02:32:31 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1376028150== Content-Type: multipart/alternative; boundary="14692411510.0AccC.27159"; charset="UTF-8" --14692411510.0AccC.27159 Date: Sat, 23 Jul 2016 02:32:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97055 Bug ID: 97055 Summary: Black screens on A10-8780P (Carrizo) + R7 M260/M265 (Topaz) Combo Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: critical Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: darktjm@gmail.com Created attachment 125267 --> https://bugs.freedesktop.org/attachment.cgi?id=3D125267&action=3Dedit dmesg from my latest boot (with some wifi messages at end deleted for priva= cy) I have an HP Pavilion 17-g133cl with A10 Carrizo+Topaz. I struggled for hours/days to get this to actually display anything at all using the amdgpu driver. In the mean time, efifb works perfectly every time (except of cour= se no 3d, no X resolution switching, no brightness control, and slow enough th= at video playing is also impossible). Since it seemed like there were just is= sues powering up the display controller correctly, I decided at first to add my notes to https://bugzilla.kernel.org/show_bug.cgi?id=3D117591 but my sympto= ms (and cures) are, indeed, different. After much blind playing with my syste= m (I have no way to ssh in, and the keyboard is flaky as well, so that was a lot= of fun), I made the following observations: - kernel power management options appeared to have no effect - sometimes (very rarely), it just starts working, regardless - once it starts working for more than 1 minute, it stays working - often, it starts partially working, by giving me a flickering display - often, it starts working with a stable display, only to start flickering again after a few seconds (very rarely even going completely black gain) - my first way of fixing it is fairly reliable, but almost always require= s at least one blind reboot before it starts giving my a display: xrandr --outp= ut eDP --crtc 1 (added to my .xinitrc) - if, when it finally comes up, it is flickering, it can be cured by toggling the crtc between 0 and 1 often enough until it remains stable for = at least a minute. - if crtc 1 is enabled when X is killed, the machine goes blank and hangs hard; switching consoles while X is up works, though (although the consoles remain black). - changing the crtc to 1 in X does nothing for the console; only X displ= ays anything. I have not tried to write a libdrm program to make the console switch to crtc 1, nor have I managed to trace where the crtc list comes fro= m, or how to force it in the amdgpu driver itself. - if, instead of playing with the crtc, I play with power management aga= in, I seem to be able to get it working by booting once with power management enabled, then rebooting with it disabled, and then it works (video in conso= le as well as X, and no crtc switching necessary). However, that may just have been how it decides to work today, and tomorrow it will no longer work. I get identical behavior with kernels 4.6.2, 4.6.3, 4.6.4, 4.7-rc4 (which I decided to try given the supposed major amdgpu overhaul), 4.4.15 (which I decided to try given that the poster of the kernel.org bug was using Ubuntu= 's 4.4 kernel) (all on Gentoo; with the exception of 4.7-rc4, this is with Gentoo's fbdecor patches, but I obviously have that disabled while working through this problem). Overall, this is very weird and frustrating. I've had power management iss= ues with previous Radeon laptops (all of them), but the gpu pm issue usually manifested as hard locks while playing games with power management enabled,= not this crap. I have a feeling that anything that gets it to work only gets i= t to work due to random chance, and it's just that I'm beating at it often enough that I finally hit the jackpot at some point, and it keeps working correctly until I power cycle for an extended period again. I also get the feeling t= hat I must be a major masochist to keep using ATI/AMD hardware, given that in 1= 5+ years of using it I've never had an experience better than "meh, mostly wor= ks". If I weren't dead broke, I'd have chucked this machine over a freeway over= pass and bought something else. --=20 You are receiving this mail because: You are the assignee for the bug.= --14692411510.0AccC.27159 Date: Sat, 23 Jul 2016 02:32:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 97055
Summary Black screens on A10-8780P (Carrizo) + R7 M260/M265 (Topaz) C= ombo
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity critical
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter darktjm@gmail.com

Created attachment 125267 [details]
dmesg from my latest boot (with some wifi messages at end deleted for priva=
cy)

I have an HP Pavilion 17-g133cl with A10 Carrizo+Topaz.  I struggled for
hours/days to get this to actually display anything at all using the amdgpu
driver.  In the mean time, efifb works perfectly every time (except of cour=
se
no 3d, no X resolution switching, no brightness control, and slow enough th=
at
video playing is also impossible).  Since it seemed like there were just is=
sues
powering up the display controller correctly, I decided at first to add my
notes to h=
ttps://bugzilla.kernel.org/show_bug.cgi?id=3D117591 but my symptoms
(and cures) are, indeed, different.  After much blind playing with my syste=
m (I
have no way to ssh in, and the keyboard is flaky as well, so that was a lot=
 of
fun), I made the following observations:

  - kernel power management options appeared to have no effect
  - sometimes (very rarely), it just starts working, regardless
  - once it starts working for more than 1 minute, it stays working
  - often, it starts partially working, by giving me a flickering display
  - often, it starts working with a stable display, only to start flickering
again after a few seconds (very rarely even going completely black gain)
  - my first way of fixing it is fairly reliable, but almost always require=
s at
least one blind reboot before it starts giving my a display:  xrandr --outp=
ut
eDP --crtc 1 (added to my .xinitrc)
   - if, when it finally comes up, it is flickering, it can be cured by
toggling the crtc between 0 and 1 often enough until it remains stable for =
at
least a minute.
   - if crtc 1 is enabled when X is killed, the machine goes blank and hangs
hard; switching consoles while X is up works, though (although the consoles
remain black).
   - changing the crtc to 1 in X does nothing for the console; only X displ=
ays
anything.  I have not tried to write a libdrm program to make the console
switch to crtc 1, nor have I managed to trace where the crtc list comes fro=
m,
or how to force it in the amdgpu driver itself.
   - if, instead of playing with the crtc, I play with power management aga=
in,
I seem to be able to get it working by booting once with power management
enabled, then rebooting with it disabled, and then it works (video in conso=
le
as well as X, and no crtc switching necessary).  However, that may just have
been how it decides to work today, and tomorrow it will no longer work.

I get identical behavior with kernels 4.6.2, 4.6.3, 4.6.4, 4.7-rc4 (which I
decided to try given the supposed major amdgpu overhaul), 4.4.15 (which I
decided to try given that the poster of the kernel.org bug was using Ubuntu=
's
4.4 kernel) (all on Gentoo; with the exception of 4.7-rc4, this is with
Gentoo's fbdecor patches, but I obviously have that disabled while working
through this problem).

Overall, this is very weird and frustrating.  I've had power management iss=
ues
with previous Radeon laptops (all of them), but the gpu pm issue usually
manifested as hard locks while playing games with power management enabled,=
 not
this crap.  I have a feeling that anything that gets it to work only gets i=
t to
work due to random chance, and it's just that I'm beating at it often enough
that I finally hit the jackpot at some point, and it keeps working correctly
until I power cycle for an extended period again.  I also get the feeling t=
hat
I must be a major masochist to keep using ATI/AMD hardware, given that in 1=
5+
years of using it I've never had an experience better than "meh, mostl=
y works".
 If I weren't dead broke, I'd have chucked this machine over a freeway over=
pass
and bought something else.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14692411510.0AccC.27159-- --===============1376028150== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1376028150==--