All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards
@ 2018-04-29 18:56 bugzilla-daemon
  2018-04-29 20:06 ` [Bug 199567] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-04-29 18:56 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199567

            Bug ID: 199567
           Summary: [amdgpu] just a black screen irrespective of
                    amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and
                    onwards
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.17-rc2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: untaintableangel@hotmail.co.uk
        Regression: No

Hardware: AMD RX480 (XFX black edition
Currently using amdgpu and testing how awesome dc code is coming along on a
custom kernel.

Shortly after the patches went through the other week that stopped the recent
flickering, everything was (and still is) fine on kernel 4.17-rc1.

Patches prior to rc2 (and onwards, including latest build and rc3 when tagged
which are still broken for me) cause an unresponsive black screen on loading
the kernel. Have to manually restart into another kernel.

As far as I can tell, there were 3 patches to this area before rc2 was tagged
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=221bda4b5f1abfd74159d7bf3703affa62468030

but I tried reverting the one intended to fix 'black screens' without success.

However, just after rc1 was tagged, there's a big chunk of patches
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8089f9f5a32938ddefb1767b8ee14bb7996e5e2f

so it might have been something in that? If so, the problem still exists in
what will become rc3 at the time of writing.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 199567] [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards
  2018-04-29 18:56 [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards bugzilla-daemon
@ 2018-04-29 20:06 ` bugzilla-daemon
  2018-04-30  9:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-04-29 20:06 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199567

--- Comment #1 from untaintableangel@hotmail.co.uk ---
Extra info:
Ubuntu 18.04 64bit
Displayport connection to XG2402 (1920x1080, 144Hz)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 199567] [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards
  2018-04-29 18:56 [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards bugzilla-daemon
  2018-04-29 20:06 ` [Bug 199567] " bugzilla-daemon
@ 2018-04-30  9:03 ` bugzilla-daemon
  2018-05-17  1:26 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-04-30  9:03 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199567

--- Comment #2 from Michel Dänzer (michel@daenzer.net) ---
Can you bisect?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 199567] [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards
  2018-04-29 18:56 [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards bugzilla-daemon
  2018-04-29 20:06 ` [Bug 199567] " bugzilla-daemon
  2018-04-30  9:03 ` bugzilla-daemon
@ 2018-05-17  1:26 ` bugzilla-daemon
  2018-05-20 23:36 ` bugzilla-daemon
  2018-05-20 23:37 ` [Bug 199567] black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards caused by low entropy bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-05-17  1:26 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199567

--- Comment #3 from Ant (untaintableangel@hotmail.co.uk) ---
Sorry for the delay. OK, so lots of news:

I did see a patch in amd-staging-drm-next 
354ee4815f52219fcd97d91269917261aac0518a ("drm/amd/display: Fix bug that causes
black screen") that sounded ideal but I couldn't apply it cleanly since it's
too out of sync.

After a git bisect, I was pleasantly surprised that the 3 main patches between
rc-1-rc2 for amd/display stuff were all fine. Looks like it's something else
entirely.

I tested out an ubuntu mainline kernel and it worked fine, so the problem is
something different in my custom .config, I guess. Something that has been fine
for 4.17-rc1 and kernels before that but suddenly needs to change for rc2
onwards.

(Bug still present on 4.17-rc5 btw)


last good: 5e747dd9be54be190dd6ebeebf4a4a01ba765625
first bad: 43838a23a05fbd13e47d750d3dfd77001536dd33

commit 43838a23a05fbd13e47d750d3dfd77001536dd33
Author: Theodore Ts'o <tytso@mit.edu>
Date:   Wed Apr 11 13:27:52 2018 -0400

    random: fix crng_ready() test

    The crng_init variable has three states:

    0: The CRNG is not initialized at all
    1: The CRNG has a small amount of entropy, hopefully good enough for
       early-boot, non-cryptographical use cases
    2: The CRNG is fully initialized and we are sure it is safe for
       cryptographic use cases.

    The crng_ready() function should only return true once we are in the
    last state.  This addresses CVE-2018-1108.

    Reported-by: Jann Horn <jannh@google.com>
    Fixes: e192be9d9a30 ("random: replace non-blocking pool...")
    Cc: stable@kernel.org # 4.8+
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Reviewed-by: Jann Horn <jannh@google.com>


I'm looking into my config options for RNG/random stuff, but this bug can
probably be bounced somewhere more appropriate now :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 199567] [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards
  2018-04-29 18:56 [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-17  1:26 ` bugzilla-daemon
@ 2018-05-20 23:36 ` bugzilla-daemon
  2018-05-20 23:37 ` [Bug 199567] black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards caused by low entropy bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-05-20 23:36 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199567

Ant (untaintableangel@hotmail.co.uk) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DOCUMENTED

--- Comment #4 from Ant (untaintableangel@hotmail.co.uk) ---
All sorted after finding the problem is known

https://unix.stackexchange.com/questions/442698/when-i-log-in-it-hangs-until-crng-init-done/442956#442956

specifically:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572#82

As the patch addresses an important vulnerability (CVE-2018-1108), it shouldn't
be reverted. Instead, it is advised to install things like rng-tools and
increase entropy generation.

As the work to solve this is documented and well underway, I'm happy to close
this bug. Cheers.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 199567] black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards caused by low entropy
  2018-04-29 18:56 [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-05-20 23:36 ` bugzilla-daemon
@ 2018-05-20 23:37 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2018-05-20 23:37 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199567

Ant (untaintableangel@hotmail.co.uk) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[amdgpu] just a black       |black screen irrespective
                   |screen irrespective of      |of amdgpu.dc=1 or 0 at boot
                   |amdgpu.dc=1 or 0 at boot on |on kernels 4.17-rc2 and
                   |kernels 4.17-rc2 and        |onwards caused by low
                   |onwards                     |entropy

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-20 23:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-29 18:56 [Bug 199567] New: [amdgpu] just a black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards bugzilla-daemon
2018-04-29 20:06 ` [Bug 199567] " bugzilla-daemon
2018-04-30  9:03 ` bugzilla-daemon
2018-05-17  1:26 ` bugzilla-daemon
2018-05-20 23:36 ` bugzilla-daemon
2018-05-20 23:37 ` [Bug 199567] black screen irrespective of amdgpu.dc=1 or 0 at boot on kernels 4.17-rc2 and onwards caused by low entropy bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.