Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Black screen after login

  1. #1

    Default Black screen after login

    I've just moved from Leap 42.3 to Tumbleweed (fresh install) now that it has an nVidia repo. At first it was okay, but as I put everything back in place then I've found I can't log in to Gnome successfully. Unfortunately, I didn't get Snapper working until *after* login broke.

    What happens:
    * Boot normally, Gnome login manager comes up, pick user, type password, screen goes black (not even a cursor), can't Ctrl+Alt+F#, have to use SysReq to reboot. Ditto for IceWM (so it isn't just a Gnome thing)
    * Edit boot to add "init 3", log in at command-prompt, run "sudo systemctl start display-manager", everything is fine and I can log in normally
    * Remove nVidia binary drivers, reboot, screen flickers quickly between TTY login and the "[ OK ] …" lines from the boot process, typing doesn't work reliably because of the flicker so I can't log in
    * Do "zypper dup", nVidia drivers come back automatically, add "nouveau.modeset=0" based on suggestions online (in case Grub is doing something that the GDM can cope with but the desktops can't), still get black screen after login

    The main things that I can see in the log are a warning about "NVRM" and how the NVIDIA drivers don't support text-mode VGA and "NVIDIA(GPU-0): Failed to acquire modesetting permission" closely followed by "Screen(s) found, but none have a usable configuration."

    Any suggestions on what I can do to debug/fix?

    Thanks

    (I've got one nVidia 1050Ti running HDMI to my monitor, latest kernel and proprietary drivers, full "zypper dup" about 20 minutes ago, Gnome desktop)

  2. #2

    Default Re: Black screen after login

    Additional data points:
    * Booting to "init 3" and then running "init 5" results in the same "black screen after login" behaviour
    * When the black screen occurs, the keyboard is unresponsive (CapsLock/NumLock lights won't light up)
    * Adding "nouveau.modeset=0 nomodeset" to the linuxefi line and changing gfxpayload to "vga=normal" didn't help (another random suggestion I found online)

  3. #3
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: Black screen after login

    Code:
    sudo hwinfo --gfxcard
    You've tried the console to start yast ncurses with the tab keys and send you moving to> package manager> lookup> Nvidia> get update to all installed packages> ok
    loyalty returns to those who practice it

  4. #4

    Default Re: Black screen after login

    From init 3:
    Code:
    $ sudo hwinfo --gfxcard
    [sudo] password for root: 
    23: PCI 100.0: 0300 VGA compatible controller (VGA)             
      [Created at pci.378]
      Unique ID: …
      Parent ID: …
      SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "nVidia GP107 [GeForce GTX 1050 Ti]"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x1c82 "GP107 [GeForce GTX 1050 Ti]"
      SubVendor: pci 0x1458 "Gigabyte Technology Co., Ltd"
      SubDevice: pci 0x372a 
      Revision: 0xa1
      Driver: "nvidia"
      Driver Modules: "nvidia"
      Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable)
      Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
      Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable)
      I/O Ports: 0xe000-0xefff (rw)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 30 (9193 events)
      Module Alias: "pci:v00001…"
      Driver Info #0:
        Driver Status: nouveau is not active
        Driver Activation Cmd: "modprobe nouveau"
      Driver Info #1:
        Driver Status: nvidia_drm is active
        Driver Activation Cmd: "modprobe nvidia_drm"
      Driver Info #2:
        Driver Status: nvidia is active
        Driver Activation Cmd: "modprobe nvidia"
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #21 (PCI bridge)
    
    Primary display adapter: #23
    I can't test init 5, where login breaks, because it loses all TTYs in that mode.

    I've already installed and uninstalled and reinstalled nVidia at least once and have the latest versions from the nVidia Tumbleweed repo:
    Code:
    $ rpm -qa *nvidia*
    nvidia-glG04-384.90-26.2.x86_64
    x11-video-nvidiaG04-384.90-26.2.x86_64
    nvidia-gfxG04-kmp-default-384.90_k4.13.4_1-26.2.x86_64
    nvidia-computeG04-384.90-26.2.x86_64
    Also, if I go in on init 3 and start the display manager manually then I have a full desktop and don't need ncurses Yast.

    Thanks.

  5. #5
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: Black screen after login

    loyalty returns to those who practice it

  6. #6

    Default Re: Black screen after login

    Hi,

    I saw that thread, but it appears to be a different problem. I get the GDM but no login session (and no mouse after I log in), I've always been using GDM rather than lightdm, I seem to get it with systems that don't use Wayland, and none of the logs appear to be similar.

    Thanks.

  7. #7

    Default Re: Black screen after login

    I've got another (perhaps unsurprising) data point.

    If I leave the system to boot normally and then use Ctrl+Alt+Backspace twice to restart X while at the GDM then I can log in normally.

    I've been updating pretty much every day until today and it still won't log in normally. Something must be wrong with my boot process and modesetting, but I don't know what.

  8. #8

    Default Re: Black screen after login

    Quote Originally Posted by IBBoard View Post
    If I leave the system to boot normally and then use Ctrl+Alt+Backspace twice to restart X while at the GDM then I can log in normally.
    Try this, maybe it helps:
    Code:
    sudo rm /usr/lib/systemd/user/sockets.target.wants/dbus.socket
    From https://lists.opensuse.org/opensuse-.../msg00726.html

  9. #9

    Default Re: Black screen after login

    I'll give it a try the next time I reboot, but most of their reported symptoms are closer to the other thread than mine. I *don't* get a mouse when I log in, everything still breaks when I do "init 5" (but not when I restart X or init 3 and then "systemctl start display-manager"), and I can't drop to a TTY (which I assume is what they meant by "hotkey to a console window").

    Thanks.

  10. #10

    Default Re: Black screen after login

    Quote Originally Posted by wolfi323 View Post
    Try this, maybe it helps:
    Code:
    sudo rm /usr/lib/systemd/user/sockets.target.wants/dbus.socket
    From https://lists.opensuse.org/opensuse-.../msg00726.html
    Nope, that didn't fix it. Removing "splash=silent" from the linuxefi line did, though. I'm not sure how that alters its behaviour, but it does. Also, the problem seems to be consistently detectable by Ctrl+Alt+F# not working - I don't need to try and log in and have it free so that I can only do an emergency SysReq reboot, I can just see whether I can switch TTY and if I can't then it's a broken boot.

    I don't suppose that triggers any ideas for anyone, does it?

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •