Black Screen when starting gdm after upgrade from 18.04. to 20.04. on nvidia drivers
 

Black Screen when starting gdm after upgrade from 18.04. to 20.04. on nvidia drivers

 
Problem Description:
Starting any display manager (tried gdm, lightdm, sddm) while using nvidia drivers (tried 390, 440, 450, 455) after upgrading Ubuntu from 18.04. to 20.04. results in a black screen.

Kernel:
$uname -r

Code:

5.6.0-1033-oem


I did not find any noticeable errors in /var/log/syslog /var/log/Xorg.0.log or ~/.xsession-errors. Also no noticeable errors in demesg or systemctl status display-manager
nvidia drivers seem to load fine. nvidia-smi displays my card Geforce GTX 950M and lsmod lists nvidia drivers.

$nvidia-smi

Code:

    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 440.100      Driver Version: 440.100      CUDA Version: 10.2    |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |  0  GeForce GTX 950M    Off  | 00000000:01:00.0 Off |                  N/A |
    | N/A  60C    P8    N/A /  N/A |    19MiB /  2004MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
    +-----------------------------------------------------------------------------+
    | Processes:                                                      GPU Memory |
    |  GPU      PID  Type  Process name                            Usage      |
    |=============================================================================|
    |    0      4007      G  /usr/lib/xorg/Xorg                            9MiB |
    |    0      4479      G  /usr/bin/nextcloud                            1MiB |
    +-----------------------------------------------------------------------------+


$lsmod | grep nvidia

Code:

    nvidia_uvm            962560  0
    nvidia_drm            45056  4
    nvidia_modeset      1114112  4 nvidia_drm
    nvidia              20680704  205 nvidia_uvm,nvidia_modeset
    drm_kms_helper        208896  1 nvidia_drm
    drm                  540672  7 drm_kms_helper,nvidia_drm
    ipmi_msghandler      110592  2 ipmi_devintf,nvidia


The graphics card is an Optimus card.
with prime-select nvidia is selected:

$sudo prime-select nvidia

Code:

Info: the nvidia profile is already set


I tried to follow advice on this forum (e.g. adding nomodeset to grub, blacklisting nouveau, etc.) to no avail.

purging all nvidia drivers results in the display manager starting under nouveau driver.
before the upgrade to 20.04. the setup was running fine with nvidia-440 drivers.

Any ideas what I could do?

 

Previous Xubuntu Focal losing stability since Multiseat addition
Next Barra en ubuntu 20.04
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

problem seems related to docker and dns

I seem to have a problem very similar to what is described here: https://medium.com/@faithfulanere/so…g-9ea4dfdcdcf2 When I run a make command that kicks of docker-compose build, some of the apt-get install

Ubuntu Dsicussions 0 Comments

What is the lightest way to snap windows on screen?

Hello, What is the lightest way to snap windows on screen in Lubuntu 20.10? If I look into this: https://manual.lubuntu.me/stable/F/k…shortcuts.html I see its not a built in feature, Thank you,

Ubuntu Dsicussions 0 Comments

What a Failing HDD looks like

Ran some SMART tests today: Code: $ sudo smartctl -t short /dev/sdc Then asked to see the test results: Code: $ sudo smartctl -a /dev/sdc smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.15.0-107-generic]

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply