Nvidia X Server settings does not load

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
edepicier
Level 1
Level 1
Posts: 6
Joined: Thu Apr 05, 2018 7:54 am

Nvidia X Server settings does not load

Post by edepicier » Sun Oct 14, 2018 4:29 pm

Completely tearing my hair out with this. After stepping away from my computer at lunch I returned to find it had crashed and wouldn't boot past the black screen with a static cursor in the top right. No idea why this happened as I hadn't made any changes to anything.

I have now got my system partially working after upgrading the nvidia driver from 384 to 390, however when I try to load Nvidia X Server Settings nothing happens.

If I run nvidia-settings in the terminal it just hangs.

I am running a two monitor setup and only one is working, so this is very frustrating.

I have gone through the process:

Code: Select all

sudo apt-get purge .*nvidia.*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get install nvidia-390
sudo apt-get install nvidia-settings
sudo nvidia-xconfig
sudo reboot
And it still doesn't work.

Here is the output from inxi -Fxzb:

Code: Select all

System:    Host: jedw Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.1 Serena
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: X99-A II v: Rev 1.xx Bios: American Megatrends v: 1401 date: 11/08/2016
CPU:       Hexa core Intel Core i7-6800K (-HT-MCP-) cache: 15360 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 40777
           clock speeds: max: 3800 MHz 1: 1216 MHz 2: 1281 MHz 3: 1200 MHz 4: 1200 MHz 5: 1280 MHz 6: 2801 MHz
           7: 1226 MHz 8: 1205 MHz 9: 1199 MHz 10: 1199 MHz 11: 1771 MHz 12: 2368 MHz
Graphics:  Card-1: NVIDIA Device 1b06 bus-ID: 01:00.0
           Card-2: NVIDIA Device 1b06 bus-ID: 02:00.0
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1080 Ti/PCIe/SSE2 GLX Version: 4.6.0 NVIDIA 390.87 Direct Rendering: Yes
Audio:     Card-1 2x NVIDIA Device 10ef driver: snd_hda_intelsnd_hda_intel bus-ID: 02:00.1
           Card-2 Intel C610/X99 series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-3 Logitech HD Pro Webcam C920 driver: USB Audio usb-ID: 005-002
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card: Intel Ethernet Connection (2) I218-V driver: e1000e v: 3.2.6-k port: f000 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2000.4GB (7.5% used) ID-1: /dev/nvme0n1 model: N/A size: 500.1GB
           ID-2: /dev/sda model: ST2000DM001 size: 2000.4GB
Partition: ID-1: / size: 37G used: 6.9G (20%) fs: ext4 dev: /dev/nvme0n1p5
           ID-2: /home size: 135G used: 77G (60%) fs: ext4 dev: /dev/nvme0n1p6
           ID-3: swap-1 size: 64.00GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.0C mobo: N/A gpu: 0.0:40C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 259 Uptime: 8 min Memory: 1026.8/32085.7MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
And the relevant part from lspci -vnnn:

Code: Select all

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1b06] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device [10de:120f]
	Physical Slot: 4
	Flags: bus master, fast devsel, latency 0, IRQ 57
	Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	[virtual] Expansion ROM at fb000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_390, nvidia_390_drm
Any help hugely appreciated.

caracal478
Level 1
Level 1
Posts: 29
Joined: Sun Feb 25, 2018 8:37 pm

Re: Nvidia X Server settings does not load

Post by caracal478 » Sun Oct 14, 2018 6:40 pm

I'm probably going to be of minimal help, but one thing i did notice is that your inxi is missing the drivers line.

what yours says:
Graphics: Card-1: NVIDIA Device 1b06 bus-ID: 01:00.0
Card-2: NVIDIA Device 1b06 bus-ID: 02:00.0
Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.00hz
GLX Renderer: GeForce GTX 1080 Ti/PCIe/SSE2 GLX Version: 4.6.0 NVIDIA 390.87 Direct Rendering: Yes

what mine says:
Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
Card-2: NVIDIA GM204M [GeForce GTX 970M] bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 )
drivers: nvidia (unloaded: fbdev,vesa) FAILED: modesetting
Resolution: 2560x1440@59.95hz
OpenGL: renderer: GeForce GTX 970M/PCIe/SSE2
version: 4.6.0 NVIDIA 410.57 Direct Render: Yes

where's your "drivers:" line ?

and yes, my output is also from inxi -Fxzb

edepicier
Level 1
Level 1
Posts: 6
Joined: Thu Apr 05, 2018 7:54 am

Re: Nvidia X Server settings does not load

Post by edepicier » Mon Oct 15, 2018 1:19 am

Not sure why my inxi output differs but where it says NVIDIA 390.87, that’s the driver I installed.

User avatar
catweazel
Level 17
Level 17
Posts: 7762
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Nvidia X Server settings does not load

Post by catweazel » Mon Oct 15, 2018 1:30 am

edepicier wrote:
Mon Oct 15, 2018 1:19 am
Not sure why my inxi output differs but where it says NVIDIA 390.87, that’s the driver I installed.
@caracal478 is correct. Your inxi output indicates no driver is loaded, and that the GLX renderer is recognised. You might want to do this:

Code: Select all

sudo apt remove --purge *nvidia*
sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-driver-396 nvidia-settings
These commands will purge the current nVidia drivers from your system, add the Ubuntu graphics drivers ppa and load a short-lived branch of the drivers. If that works, you can upgrade later by removing nvidia-driver-396 & installing nvidia-graphics-drivers-410.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

edepicier
Level 1
Level 1
Posts: 6
Joined: Thu Apr 05, 2018 7:54 am

Re: Nvidia X Server settings does not load

Post by edepicier » Mon Oct 15, 2018 2:07 pm

Thanks. Have tried those commands exactly however the inxi -Fxz is still the same.

After running apt install... I go through the prompts to disable secure boot, however having done this I get the following error: "Failed to request new MokSB state"

which appears to be related to disabling secure boot.

At a total loss here. Any ideas?

EDIT:

I disabled secure boot directly in the BIOS settings a startup but it still doesn't work... Any thoughts?

edepicier
Level 1
Level 1
Posts: 6
Joined: Thu Apr 05, 2018 7:54 am

Re: Nvidia X Server settings does not load

Post by edepicier » Sat Oct 20, 2018 6:13 am

Still having no luck. When i run xrandr i get the following:

Code: Select all

xrandr: Output DP-2 is not disconnected but has no modes
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-4.1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  59.94    50.00  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
Is the lack of modes for DP-2 perhaps the issue?

User avatar
roblm
Level 9
Level 9
Posts: 2777
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia X Server settings does not load

Post by roblm » Sat Oct 20, 2018 2:43 pm

edepicier wrote: After running apt install... I go through the prompts to disable secure boot, however having done this I get the following error: "Failed to request new MokSB state"

which appears to be related to disabling secure boot.
Yes, that error message is related to Secure Boot. If you saw a screen prompt asking you if Secure Boot should be disabled and you answered YES, then you should have been asked to input a password twice. Upon rebooting, the blue Shim UEFI key management screen should have appeared. The second screen would have the option Change Secure Boot state. The next screen would ask to enter one of the password characters, for example, Enter password character 3:. This would be repeated twice. The next screen would ask Disable Secure Boot?

Did you go through all those steps?

What is the output of this command: mokutil --sb-state

Do you remember seeing this screen during the initial Nvidia driver installation?

secure boot.png

Post Reply

Return to “Graphics Cards & Monitors”