Nvidia drivers cause no boot/no output

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
metmike07

Nvidia drivers cause no boot/no output

Post by metmike07 »

I've been trying to get the proprietary drivers working on both mint 18/19(currently 19). Every time I install the driver and reboot, I get "no signal" from my monitor. Nomodeset does not work for me. Any suggestions? I tried to follow the instructions in the sticky to install the driver, but couldn't shut down the mdm.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

Tried to blacklist the nouveau driver by editing /etc/default/grub, but same result with no output to monitor.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia drivers cause no boot/no output

Post by roblm »

With the nouveau driver enabled, open the Terminal, use these commands, and post the output: inxi -SMCGx and xrandr --prop

What is the brand and model number of the monitor and how is it connected, including any adapter.
Citizen229

Re: Nvidia drivers cause no boot/no output

Post by Citizen229 »

I just fresh installed mint 19 xfce today. Had the same issue after 390 drivers installed from driver manager for my 1060 6gb. After the 5th reboot i bumped my mouse, and the desktop appeared. I KID YOU NOT. Maybe I got lucky.

EDIT: After further reflection., My brain seems to remember this happening before. I seem to remember it taking 3 reboots when mint 18 came out and I installed my Nvidia card.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

roblm wrote: Thu Jul 12, 2018 8:14 pm With the nouveau driver enabled, open the Terminal, use these commands, and post the output: inxi -SMCGx and xrandr --prop

What is the brand and model number of the monitor and how is it connected, including any adapter.
Thanks for the response, output from inxi and xrandr is below.

The monitor is a Samsung 55inch TV UN55KS8000F, but I also have and older ACER x222w (unlugged) that I've tried with the same result. The TV is connected with an HDMI through a Denon receiver. TV (w/sound through HDMI) works with windows and with the open source driver.

Edit: I was on kernal 4.15.0-24 before this, someone suggested downgrading and trying to install, which didn't work. The downgrade did bring in the 396 driver as well as the 390 driver when updating from ppa, but both still present the same overall no-boot/signal problem.

Code: Select all

System:    Host: SparkyMint Kernel: 4.15.0-23-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: MSI product: MS-7A59 v: 1.0 serial: N/A
           Mobo: MSI model: Z270 SLI (MS-7A59) v: 1.0 serial: N/A
           UEFI: American Megatrends v: 1.70 date: 06/27/2017
CPU:       Quad core Intel Core i7-7700K (-MT-MCP-) 
           arch: Skylake rev.9 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 33600
           clock speeds: max: 4500 MHz 1: 1213 MHz 2: 3987 MHz 3: 4259 MHz
           4: 3611 MHz 5: 4153 MHz 6: 4169 MHz 7: 4135 MHz 8: 4032 MHz
Graphics:  Card: NVIDIA GP106 [GeForce GTX 1060 6GB] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nouveau (unloaded: modesetting,fbdev,vesa)
           Resolution: 3840x2160@30.00hz
           OpenGL: renderer: NV136 version: 4.3 Mesa 18.0.5 Direct Render: Yes

Code: Select all

mtl@SparkyMint:~$ xrandr --prop
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
DVI-D-1 disconnected (normal left inverted right x axis y axis)
	dithering depth: auto 
		supported: auto, 6 bpc, 8 bpc
	dithering mode: auto 
		supported: auto, off, static 2x2, dynamic 2x2, temporal
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	color vibrance: 150 
		range: (0, 200)
	vibrant hue: 90 
		range: (0, 180)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: auto, off, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
DP-1 disconnected (normal left inverted right x axis y axis)
	dithering depth: auto 
		supported: auto, 6 bpc, 8 bpc
	dithering mode: auto 
		supported: auto, off, static 2x2, dynamic 2x2, temporal
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	color vibrance: 150 
		range: (0, 200)
	vibrant hue: 90 
		range: (0, 180)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: auto, off, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
DP-2 disconnected (normal left inverted right x axis y axis)
	dithering depth: auto 
		supported: auto, 6 bpc, 8 bpc
	dithering mode: auto 
		supported: auto, off, static 2x2, dynamic 2x2, temporal
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	color vibrance: 150 
		range: (0, 200)
	vibrant hue: 90 
		range: (0, 180)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: auto, off, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-1 disconnected (normal left inverted right x axis y axis)
	dithering depth: auto 
		supported: auto, 6 bpc, 8 bpc
	dithering mode: auto 
		supported: auto, off, static 2x2, dynamic 2x2, temporal
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	color vibrance: 150 
		range: (0, 200)
	vibrant hue: 90 
		range: (0, 180)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: auto, off, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-2 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
	EDID: 
		00ffffffffffff0011ee310001010101
		00160103807944780a23ada4544d9926
		0f474abdef80714f81c0810081809500
		a9c0b300010108e80030f2705a80b058
		8a00501d7400001e023a801871382d40
		582c4500501d7400001e000000fc0044
		454e4f4e2d41565248440a20000000fd
		00184b0f870f000a2020202020200178
		02034ff05a61101f041305142021225d
		5e5f606566626364071603120f1e0135
		0f7f073d1ec01507505f7e0157060067
		7e004d0200835f00006e030c004100b8
		3c20108001020304e3050301e2000f00
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000086
	dithering depth: auto 
		supported: auto, 6 bpc, 8 bpc
	dithering mode: auto 
		supported: auto, off, static 2x2, dynamic 2x2, temporal
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	color vibrance: 150 
		range: (0, 200)
	vibrant hue: 90 
		range: (0, 180)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: auto, off, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
   4096x2160     30.00    25.00    24.00    29.97    23.98  
   3840x2160     30.00*   25.00    24.00    29.97    23.98  
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
Last edited by metmike07 on Fri Jul 13, 2018 7:48 pm, edited 1 time in total.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

Citizen229 wrote: Thu Jul 12, 2018 9:58 pm I just fresh installed mint 19 xfce today. Had the same issue after 390 drivers installed from driver manager for my 1060 6gb. After the 5th reboot i bumped my mouse, and the desktop appeared. I KID YOU NOT. Maybe I got lucky.

EDIT: After further reflection., My brain seems to remember this happening before. I seem to remember it taking 3 reboots when mint 18 came out and I installed my Nvidia card.
I guess this is something to try, you rebooted 3-5 times and it finally came up?!
Citizen229

Re: Nvidia drivers cause no boot/no output

Post by Citizen229 »

it almost seems like it took a few times to get a good boot to load everything.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

Citizen229 wrote: Fri Jul 13, 2018 6:35 pm it almost seems like it took a few times to get a good boot to load everything.
It was a long shot, but it didn't work for me. I also tried power cycling and letting it sit for 5/10 min, but the tv receiver would shut off after that amount of time with no input.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia drivers cause no boot/no output

Post by roblm »

First check in the BIOS that a Secure Boot option is not enabled.

For Mint 19, when the Nvidia driver is installed in Driver Manager, a file named nvidia-390.conf (the number may be different), will be created to blacklist the nouveau driver. Sometimes it is not created. Use this command to create it:
sudo touch /etc/modprobe.d/nvidia-390.conf

Use this command to open that file for editing. Ignore the warning message: xed admin:///etc/modprobe.d/nvidia-390.conf

In the opened empty file, add the line blacklist nouveau

Then use this command to update the initial ramdisk: sudo update-initramfs -u

Install the nvidia-390 driver in Driver Manager and reboot.

If you can’t get to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Login and then type this command to remove the Nvidia drive, remove the nvidia-390.conf file, update the initial ramdisk and reboot:

Code: Select all

sudo apt purge nvidia*; sudo rm /etc/modprobe.d/nvidia-390.conf; sudo update-initramfs -u; sudo reboot
If you can't enter tty1, then reboot and select Recovery Mode at the GRUB boot menu. If no menu shows, then hold down the Shift key while starting. In the menu, select “root - drop to root shell prompt”. Press Enter. Then change the file permissions to read and write by typing: mount -o remount,rw /

Use this command: apt purge nvidia*; rm /etc/modprobe.d/nvidia-390.conf; update-initramfs -u; reboot


If that doesn't work, then there may be a problem for the Nvidia driver reading the TV's EDID.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

Excellent, I'll give this a try later today.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

roblm wrote: Sat Jul 14, 2018 7:49 am First check in the BIOS that a Secure Boot option is not enabled.

For Mint 19, when the Nvidia driver is installed in Driver Manager, a file named nvidia-390.conf (the number may be different), will be created to blacklist the nouveau driver. Sometimes it is not created. Use this command to create it:
sudo touch /etc/modprobe.d/nvidia-390.conf

Use this command to open that file for editing. Ignore the warning message: xed admin:///etc/modprobe.d/nvidia-390.conf

In the opened empty file, add the line blacklist nouveau

Then use this command to update the initial ramdisk: sudo update-initramfs -u

Install the nvidia-390 driver in Driver Manager and reboot.

If you can’t get to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Login and then type this command to remove the Nvidia drive, remove the nvidia-390.conf file, update the initial ramdisk and reboot:

Code: Select all

sudo apt purge nvidia*; sudo rm /etc/modprobe.d/nvidia-390.conf; sudo update-initramfs -u; sudo reboot
If you can't enter tty1, then reboot and select Recovery Mode at the GRUB boot menu. If no menu shows, then hold down the Shift key while starting. In the menu, select “root - drop to root shell prompt”. Press Enter. Then change the file permissions to read and write by typing: mount -o remount,rw /

Use this command: apt purge nvidia*; rm /etc/modprobe.d/nvidia-390.conf; update-initramfs -u; reboot


If that doesn't work, then there may be a problem for the Nvidia driver reading the TV's EDID.
I tried running these commands today, but got the same result. However, upon getting the no signal/boot again I decided to try it with my Acer monitor, that did boot up, and showed the nvidia driver running under the inxi command. So it appears to be a problem with the receiver/tv and the nvidia drivers. Not sure where to go from here.
Citizen229

Re: Nvidia drivers cause no boot/no output

Post by Citizen229 »

if your 1060 is like mine you have more than one HDMI output. You might be able to boot with monitor and plug in tv to be able to set up the TV/dual monitor. or have both plugged in and boot. Then remove the monitor and leave the tv, once settings messed with.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia drivers cause no boot/no output

Post by roblm »

Use this command to create an xorg.conf file: sudo touch /etc/X11/xorg.conf

Use this command to open that file for editing: xed admin:///etc/X11/xorg.conf

In the opened empty file, add these lines:

Code: Select all

Section "ServerLayout"
   Identifier   "Layout0"
   Screen   0 "Screen0" 0 0 
EndSection

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       15.0 - 135.0	   
   VertRefresh     24.0 - 75.0
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "nvidia"   			
   Option "UseEdidFreqs" "false"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
   Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck"
   Option "MetaModes" "nvidia-auto-select +0+0"
EndSection
Then repeat the steps in my previous post to create the nvidia-390.conf file and install the Nvidia driver.

In case you’re not aware of this shortcut, when you’re in Recovery Mode or tty1, you can press the UP Arrow key to display previously used commands.

To remove the xorg.conf file in tty1: sudo rm /etc/X11/xorg.conf
To remove the xorg.conf file in Recovery Mode: rm /etc/X11/xorg.conf

If that method fails, then use this xorg.conf file:

Code: Select all

Section "ServerLayout"
   Identifier   "Layout0"
   Screen   0 "Screen0" 0 0 
EndSection

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       15.0 - 135.0	   
   VertRefresh     24.0 - 75.0
   Modeline "3840x2160_30.00"  262.75  3840 3888 3920 4000  2160 2163 2167 2191  +HSync +Vsync
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "nvidia"   			
   Option "UseEdidFreqs" "false"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
   Option "ModeValidation" "AllowNonEdidModes, NoMaxPClkCheck, NoEdidMaxPClkCheck"
   Option "MetaModes" "3840x2160_30 +0+0"
EndSection
The Samsung User Manual says the TV supports 3840x2160 at 60 Hz, but when the nouveau driver is used, only 3840x2160 at 30 Hz is used.
metmike07

Re: Nvidia drivers cause no boot/no output

Post by metmike07 »

Citizen229 wrote: Sat Jul 14, 2018 9:07 pm if your 1060 is like mine you have more than one HDMI output. You might be able to boot with monitor and plug in tv to be able to set up the TV/dual monitor. or have both plugged in and boot. Then remove the monitor and leave the tv, once settings messed with.
Ohhhh, good idea. I didn't think about that. It's certainly worth a try.
Locked

Return to “Graphics Cards & Monitors”