Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: 18.04 LTS black screen after video card upgrade 4.15.0-50

  1. #1
    Join Date
    Dec 2007
    Beans
    32

    18.04 LTS black screen after video card upgrade 4.15.0-50

    Dell 8930 w Nvidia 1050ti with Linux kernel 4.15.0-50 was running fine. I had the Nvidia drivers loaded and my machine was useful. However I needed a better gpu for ML so I swapped out to a Nvidia 2070 super. Booting now takes me to black screen. I followed the most common recommmendation which was to edit grub by adding ‘nomodeset’. Now it hangs on boot with the Nvidia persistence daemon error



    https://imgur.com/gallery/SzcamVa

    What’s another way to fix this?

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    Quote Originally Posted by bwanaaa View Post
    Nvidia 1050ti with Linux kernel 4.15.0-50... I swapped out to a Nvidia 2070 super.
    New cards need new drivers. You need at least the 430 branch to have support for the Turing Supers, ideally newer than that. You being on such an old kernel doesn't suggest that you were using the newest drivers before you swapped cards.

    You can boot from a live USB and chroot to your install to do package management, since you can't boot normally. Getting on the Hardware Enablement Stack, adding the graphics drivers PPA, purging your current Nvidia driver, and installing the 440 branch would be my recommendation. And remove the nomodeset option.
    None but ourselves can free our minds

  3. #3
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    I tried
    Sudo apt-get update
    Sudo apt-get upgrade
    Rebooted to same black screen

    I tried the ‘nomodeset’ solution and now I get this



    https://imgur.com/gallery/byxf5OR

  4. #4
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    @catkiller
    Thank you for your reply
    But since I am pretty ignorant of Linux internals, I cannot decipher what you said.
    I can burn a new Linux to a usb and boot from it. But from there, can I do a ‘repair upgrade’?

    Can you tell I grew up in Microsoft land?

  5. #5
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    Can I simply do this:

    sudo apt install --reinstall linux-image-generic

  6. #6
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    Well I did and got back to the desktop. Software update wanted to redo the upgrade so I let it. It also wanted remove all the CUDA code because it said it was obsolete. I let it do that too. Now I am at kernel

    4.15.0.76

    Am I done ?

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    bwanaaa; Hello

    As your first responder is currently off-line allow me to interject.

    We want to remove that old driver and install the correct driver for the presently installed card.

    As you are unfamiliar with this operating system we do this in small steps, per your request.

    Please post back - between code tags - the outputs of terminal commands:
    Code:
    lsb_release -a
    sudo lshw -C display
    dpkg -l | grep -i nvidia
    dpkg -l | grep linux-
    code tag tutorial:
    http://ubuntuforums.org/showthread.p...8#post12776168

    So we know what we are working with - and an indication of where we are going with this.

    it's all in the process
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    thank you Bashing-om for helping me
    Code:
    lsb_release -a
    No LSB modules are available.
    Distributor ID:	Ubuntu
    Description:	Ubuntu 18.04.4 LTS
    Release:	18.04
    Codename:	bionic
    Code:
     sudo lshw -C display
      *-display                 
           description: VGA compatible controller
           product: NVIDIA Corporation
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:01:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
           configuration: driver=nvidia latency=0
           resources: irq:144 memory:eb000000-ebffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:e000(size=128) memory:c0000-dffff
      *-display
           description: Display controller
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 2
           bus info: pci@0000:00:02.0
           version: 00
           width: 64 bits
           clock: 33MHz
           capabilities: pciexpress msi pm bus_master cap_list
           configuration: driver=i915 latency=0
           resources: iomemory:2f0-2ef irq:136 memory:2ffe000000-2ffeffffff memory:90000000-9fffffff ioport:f000(size=64)
    Code:
     dpkg -l | grep -i nvidia
    ii  cuda-nsight-compute-10-1                        10.1.243-1                                      amd64        NVIDIA Nsight Compute
    ii  cuda-nsight-systems-10-1                        10.1.243-1                                      amd64        NVIDIA Nsight Systems
    ii  cuda-nvtx-10-1                                  10.1.243-1                                      amd64        NVIDIA Tools Extension
    ii  libnvidia-cfg1-435:amd64                        435.21-0ubuntu0.18.04.2                         amd64        NVIDIA binary OpenGL/GLX configuration library
    ii  libnvidia-common-418                            430.50-0ubuntu0.18.04.2                         all          Transitional package for libnvidia-common-430
    ii  libnvidia-common-430                            430.50-0ubuntu0.18.04.2                         all          Shared files used by the NVIDIA libraries
    ii  libnvidia-common-435                            435.21-0ubuntu0.18.04.2                         all          Shared files used by the NVIDIA libraries
    rc  libnvidia-compute-390:amd64                     390.116-0ubuntu0.18.04.1                        amd64        NVIDIA libcompute package
    rc  libnvidia-compute-390:i386                      390.116-0ubuntu0.18.04.1                        i386         NVIDIA libcompute package
    rc  libnvidia-compute-418:amd64                     430.50-0ubuntu0.18.04.2                         amd64        Transitional package for libnvidia-compute-430
    rc  libnvidia-compute-430:amd64                     430.50-0ubuntu0.18.04.2                         amd64        NVIDIA libcompute package
    ii  libnvidia-compute-435:amd64                     435.21-0ubuntu0.18.04.2                         amd64        NVIDIA libcompute package
    ii  libnvidia-compute-435:i386                      435.21-0ubuntu0.18.04.2                         i386         NVIDIA libcompute package
    ii  libnvidia-decode-435:amd64                      435.21-0ubuntu0.18.04.2                         amd64        NVIDIA Video Decoding runtime libraries
    ii  libnvidia-decode-435:i386                       435.21-0ubuntu0.18.04.2                         i386         NVIDIA Video Decoding runtime libraries
    ii  libnvidia-encode-435:amd64                      435.21-0ubuntu0.18.04.2                         amd64        NVENC Video Encoding runtime library
    ii  libnvidia-encode-435:i386                       435.21-0ubuntu0.18.04.2                         i386         NVENC Video Encoding runtime library
    ii  libnvidia-fbc1-435:amd64                        435.21-0ubuntu0.18.04.2                         amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  libnvidia-fbc1-435:i386                         435.21-0ubuntu0.18.04.2                         i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  libnvidia-gl-435:amd64                          435.21-0ubuntu0.18.04.2                         amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii  libnvidia-gl-435:i386                           435.21-0ubuntu0.18.04.2                         i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii  libnvidia-ifr1-435:amd64                        435.21-0ubuntu0.18.04.2                         amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
    ii  libnvidia-ifr1-435:i386                         435.21-0ubuntu0.18.04.2                         i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
    ii  nsight-compute-2019.5.0                         2019.5.0.14-1                                   amd64        NVIDIA Nsight Compute
    ii  nsight-systems-2019.5.2                         2019.5.2.16-b54ef97                             amd64        NVIDIA Nsight Systems is a statistical sampling profiler with tracing features.
    rc  nvidia-compute-utils-390                        390.116-0ubuntu0.18.04.1                        amd64        NVIDIA compute utilities
    rc  nvidia-compute-utils-430                        430.50-0ubuntu0.18.04.2                         amd64        NVIDIA compute utilities
    ii  nvidia-compute-utils-435                        435.21-0ubuntu0.18.04.2                         amd64        NVIDIA compute utilities
    rc  nvidia-container-runtime-hook                   1.4.0-1                                         amd64        NVIDIA container runtime hook
    rc  nvidia-container-toolkit                        1.0.3-1                                         amd64        NVIDIA container runtime hook
    rc  nvidia-dkms-390                                 390.116-0ubuntu0.18.04.1                        amd64        NVIDIA DKMS package
    rc  nvidia-dkms-430                                 430.50-0ubuntu0.18.04.2                         amd64        NVIDIA DKMS package
    ii  nvidia-dkms-435                                 435.21-0ubuntu0.18.04.2                         amd64        NVIDIA DKMS package
    rc  nvidia-docker2                                  2.2.1-1                                         all          nvidia-docker CLI wrapper
    ii  nvidia-driver-435                               435.21-0ubuntu0.18.04.2                         amd64        NVIDIA driver metapackage
    rc  nvidia-kernel-common-390                        390.116-0ubuntu0.18.04.1                        amd64        Shared files used with the kernel module
    rc  nvidia-kernel-common-430                        430.50-0ubuntu0.18.04.2                         amd64        Shared files used with the kernel module
    ii  nvidia-kernel-common-435                        435.21-0ubuntu0.18.04.2                         amd64        Shared files used with the kernel module
    ii  nvidia-kernel-source-435                        435.21-0ubuntu0.18.04.2                         amd64        NVIDIA kernel source package
    ii  nvidia-machine-learning-repo-ubuntu1804         1.0.0-1                                         amd64        nvidia-machine-learning repository configuration files
    ii  nvidia-modprobe                                 440.33.01-0ubuntu1                              amd64        Load the NVIDIA kernel driver and create device files
    ii  nvidia-prime                                    0.8.8.2                                         all          Tools to enable NVIDIA's Prime
    ii  nvidia-settings                                 440.33.01-0ubuntu1                              amd64        Tool for configuring the NVIDIA graphics driver
    ii  nvidia-utils-435                                435.21-0ubuntu0.18.04.2                         amd64        NVIDIA driver support binaries
    ii  xserver-xorg-video-nvidia-435                   435.21-0ubuntu0.18.04.2                         amd64        NVIDIA binary Xorg driver

    Code:
     dpkg -l | grep linux-
    ii  binutils-x86-64-linux-gnu                       2.30-21ubuntu1~18.04.2                          amd64        GNU binary utilities, for x86-64-linux-gnu target
    ii  ladspa-sdk                                      1.13-3ubuntu2                                   amd64        sample tools for linux-audio-dev plugin architecture
    ii  linux-base                                      4.5ubuntu1                                      all          Linux image base package
    ii  linux-firmware                                  1.173.14                                        all          Firmware for Linux kernel drivers
    ii  linux-generic                                   4.15.0.76.78                                    amd64        Complete Generic Linux kernel and headers
    ii  linux-headers-4.15.0-46                         4.15.0-46.49                                    all          Header files related to Linux kernel version 4.15.0
    ii  linux-headers-4.15.0-46-generic                 4.15.0-46.49                                    amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
    ii  linux-headers-4.15.0-50                         4.15.0-50.54                                    all          Header files related to Linux kernel version 4.15.0
    ii  linux-headers-4.15.0-50-generic                 4.15.0-50.54                                    amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
    ii  linux-headers-4.15.0-76                         4.15.0-76.86                                    all          Header files related to Linux kernel version 4.15.0
    ii  linux-headers-4.15.0-76-generic                 4.15.0-76.86                                    amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
    ii  linux-headers-generic                           4.15.0.76.78                                    amd64        Generic Linux kernel headers
    rc  linux-image-4.15.0-20-generic                   4.15.0-20.21                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-22-generic                   4.15.0-22.24                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-23-generic                   4.15.0-23.25                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-33-generic                   4.15.0-33.36                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-43-generic                   4.15.0-43.46                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-46-generic                   4.15.0-46.49                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-47-generic                   4.15.0-47.50                                    amd64        Signed kernel image generic
    rc  linux-image-4.15.0-48-generic                   4.15.0-48.51                                    amd64        Signed kernel image generic
    ii  linux-image-4.15.0-50-generic                   4.15.0-50.54                                    amd64        Signed kernel image generic
    ii  linux-image-4.15.0-76-generic                   4.15.0-76.86                                    amd64        Signed kernel image generic
    ii  linux-image-generic                             4.15.0.76.78                                    amd64        Generic Linux kernel image
    ii  linux-libc-dev:amd64                            4.15.0-76.86                                    amd64        Linux Kernel Headers for development
    ii  linux-libc-dev:i386                             4.15.0-76.86                                    i386         Linux Kernel Headers for development
    rc  linux-modules-4.15.0-20-generic                 4.15.0-20.21                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-22-generic                 4.15.0-22.24                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-23-generic                 4.15.0-23.25                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-33-generic                 4.15.0-33.36                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-43-generic                 4.15.0-43.46                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-46-generic                 4.15.0-46.49                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-47-generic                 4.15.0-47.50                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-4.15.0-48-generic                 4.15.0-48.51                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    ii  linux-modules-4.15.0-50-generic                 4.15.0-50.54                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    ii  linux-modules-4.15.0-76-generic                 4.15.0-76.86                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-20-generic           4.15.0-20.21                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-22-generic           4.15.0-22.24                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-23-generic           4.15.0-23.25                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-33-generic           4.15.0-33.36                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-43-generic           4.15.0-43.46                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-46-generic           4.15.0-46.49                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-47-generic           4.15.0-47.50                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    rc  linux-modules-extra-4.15.0-48-generic           4.15.0-48.51                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    ii  linux-modules-extra-4.15.0-50-generic           4.15.0-50.54                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    ii  linux-modules-extra-4.15.0-76-generic           4.15.0-76.86                                    amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
    ii  linux-signed-generic                            4.15.0.76.78                                    amd64        Complete Signed Generic Linux kernel and headers (dummy transitional package)
    ii  linux-sound-base                                1.0.25+dfsg-0ubuntu5                            all          base package for ALSA and OSS sound systems
    ii  syslinux-common                                 3:6.03+dfsg1-2                                  all          collection of bootloaders (common)
    ii  syslinux-legacy                                 2:3.63+dfsg-2ubuntu9                            amd64        Bootloader for Linux/i386 using MS-DOS floppies

  9. #9
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    the latest 440 branch driver is not available from the ppa. when i download it from nvidia and try to install it thusly (after doing sudo telinit 3 and opening a root terminal w ctrl-alt-f1)

    Code:
    $ sudo bash NVIDIA-Linux-x86_64-430.50.run
    gives me the following error

    Code:
    Unable to load: nvidia-installer ncurses v6 user interface

  10. #10
    Join Date
    Dec 2007
    Beans
    32

    Re: 18.04 LTS black screen after video card upgrade 4.15.0-50

    amazingly, even my CUDA works

    ./deviceQuery
    ./deviceQuery Starting...

    CUDA Device Query (Runtime API) version (CUDART static linking)

    Detected 1 CUDA Capable device(s)

    Device 0: "GeForce RTX 2070 SUPER"
    CUDA Driver Version / Runtime Version 10.1 / 10.1
    CUDA Capability Major/Minor version number: 7.5
    Total amount of global memory: 7980 MBytes (8367439872 bytes)
    (40) Multiprocessors, ( 64) CUDA Cores/MP: 2560 CUDA Cores
    GPU Max Clock rate: 1785 MHz (1.78 GHz)
    Memory Clock rate: 7001 Mhz
    Memory Bus Width: 256-bit
    L2 Cache Size: 4194304 bytes
    Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
    Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers
    Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers
    Total amount of constant memory: 65536 bytes
    Total amount of shared memory per block: 49152 bytes
    Total number of registers available per block: 65536
    Warp size: 32
    Maximum number of threads per multiprocessor: 1024
    Maximum number of threads per block: 1024
    Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
    Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
    Maximum memory pitch: 2147483647 bytes
    Texture alignment: 512 bytes
    Concurrent copy and kernel execution: Yes with 3 copy engine(s)
    Run time limit on kernels: Yes
    Integrated GPU sharing Host Memory: No
    Support host page-locked memory mapping: Yes
    Alignment requirement for Surfaces: Yes
    Device has ECC support: Disabled
    Device supports Unified Addressing (UVA): Yes
    Device supports Compute Preemption: Yes
    Supports Cooperative Kernel Launch: Yes
    Supports MultiDevice Co-op Kernel Launch: Yes
    Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0
    Compute Mode:
    < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

    deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.1, NumDevs = 1
    Result = PASS

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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