Driver for GeForce GTX 1050 Mobile

Please help.
After installing NVidia drivers, ubuntu boots with black screen or login screen that freezes.

I tried installing different driver versions. 390, 418, 440, 450, 460. I tried installing via the software & updates additional drivers GUI and with cmd via ppa.nvidia-bug-report.log.gz (165.6 KB)

Please delete /etc/X11/xorg.conf or any file whose name begins with it.

Thank you, but after reloading, the size of the screen isn’t right, with drivers > 400 I can’t even see the login prompt. 390 seems to be working right but it doesn’t detect the external display.

Any suggestions?

Please create a new nvidia-bug-report.log.

@generix Sure, nvidia-bug-report.log.gz (222.8 KB)

@generix, any suggestions?

Not having the external monitor with the 390 driver is a known bug with the old driver, workaround
https://devtalk.nvidia.com/default/topic/1066683/linux/ubuntu-18-04-3-blank-screen-at-startup-with-430-drivers-and-gtx-960/post/5402308/#5402308
Why you’re getting the odd display with the 460 driver is new to me, the logs look fine for it. I’ll have to take a closer look at it tomorrow.

@generix https://devtalk.nvidia.com/default/topic/1066683/linux/ubuntu-18-04-3-blank-screen-at-startup-with-430-drivers-and-gtx-960/post/5402308/#5402308 sorry, but this case doesn’t work for me. Switched to 460 I see only background-color.

Can you switch to VT (ctrl+alt+f4) while seeing only the backgroud with the 460 driver and create a new nvidia-bug-report.log?

@generix nvidia-bug-report.log.gz (342.7 KB)

@generix any suggestions?

Please help, it’s really important for me.

@generix ?

I don’t really know what’s going on with the 460 driver, the Xserver is coming up correctly but gnome-shell doesn’t seem to start.
Please run
sudo journalctl -b0 |grep gnome-shell >journal.txt
while bootng with the 460 driver and attach journal.txt.
Also, please post the output of

ls -l /usr/lib/x86_64-linux-gnu/libGL*
lrwxrwxrwx 1 root root      18 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLdispatch.so -> libGLdispatch.so.0
lrwxrwxrwx 1 root root      22 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rw-r--r-- 1 root root  715200 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root      32 кві  9 16:59 /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.460.73.01
-rw-r--r-- 1 root root   67880 кві  2 00:32 /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.460.73.01
lrwxrwxrwx 1 root root      17 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so -> libGLESv1_CM.so.1
lrwxrwxrwx 1 root root      21 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0
-rw-r--r-- 1 root root   43336 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1.2.0
lrwxrwxrwx 1 root root      29 кві  9 16:59 /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.460.73.01
-rw-r--r-- 1 root root  117032 кві  2 00:32 /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.460.73.01
lrwxrwxrwx 1 root root      14 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root      18 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rw-r--r-- 1 root root   72008 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root      10 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root      14 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> libGL.so.1.7.0
-rw-r--r-- 1 root root  547152 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0
lrwxrwxrwx 1 root root      15 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGLU.so.1 -> libGLU.so.1.3.1
-rw-r--r-- 1 root root  461624 бер 21  2020 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1
lrwxrwxrwx 1 root root      16 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0 -> libGLX_mesa.so.0
lrwxrwxrwx 1 root root      20 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rw-r--r-- 1 root root  508984 гру 18 10:35 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root      26 кві  9 16:59 /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0 -> libGLX_nvidia.so.460.73.01
-rw-r--r-- 1 root root 1211504 кві  2 00:31 /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.460.73.01
lrwxrwxrwx 1 root root      11 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLX.so -> libGLX.so.0
lrwxrwxrwx 1 root root      15 кві 19 00:30 /usr/lib/x86_64-linux-gnu/libGLX.so.0 -> libGLX.so.0.0.0
-rw-r--r-- 1 root root  141912 лис 24 12:55 /usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0

journal.txt (3.4 KB)

Mysterious, gnome-shell seems to start just fine but I don’t know where, the nvidia gpu is only running the Xserver. Please try creating two files optimus.desktop in /etc/xdg/autostart/ and /usr/share/gdm3/greeter/autostart/ containing

[Desktop Entry]
Type=Application
Name=Optimus
Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer

I did but the situation is the same.;(

  1. Added this file into 2 directories;
  2. Switched to nvidia;
  3. Rebooted.

No idea. You could try switching to lightdm instead of gdm.