Comment 20 for bug 1832138

Revision history for this message
Eric Desrochers (slashd) wrote : Re: Login screen never appears on vmwgfx but setting WaylandEnable=false fixes it

I reported the exact same problem and was able to reproduce.

Only using v4.15, if I use the hwe kernel 4.18 on Bionic it passes.

I have strong belief this kernel fix to be a potential good candidate, but need to run a bisection to confirm my assumption :

commit 140bcaa23a1c37b694910424075a15e009120dbe
Author: Thomas Hellstrom <email address hidden>
Date: Thu Mar 8 10:07:37 2018 +0100

    drm/vmwgfx: Fix black screen and device errors when running without fbdev

    When we are running without fbdev, transitioning from the login screen to
    X or gnome-shell/wayland will cause a vt switch and the driver will disable
    svga mode, losing all modesetting resources. However, the kms atomic state
    does not reflect that and may think that a crtc is still turned on, which
    will cause device errors when we try to bind an fb to the crtc, and the
    screen will remain black.

    Fix this by turning off all kms resources before disabling svga mode.

    Cc: <email address hidden>
    Signed-off-by: Thomas Hellstrom <email address hidden>
    Reviewed-by: Sinclair Yeh <email address hidden>