Hi,
My rolling edition of Sparky got messed up because there was something going with sid repos which couldn't let me boot into GUI, I chose to install the "stable" edition with LXDE Desktop.
I'm running the 4.9.0-8-amd64 kernel.
At first I couldn't get into the system at all and I was left with a black screen on boot but "nomodeset" fixed it and now it boots without setting any additonal boot commands after installing Nvidia X Server Settings from APTus.
I have 3 monitors hooked up my machine but only my primary monitors works when booting into Sparky.
I'd really like to use my other monitors too because switching from triple screen setup to a single screen just doesn't "feel right" and feels clumsy.
I think all of my monitors worked without any additonal installs on the rolling relase of Sparky(thats why I chose it over the "stable" relase) and I used the Nvidia drivers just to switch to 144hz from the default 60hz.
I tried installing the Nvidia drivers if that would enable my other monitors and get me to 144hz but I didn't get very far.
I ran the following commands:
sudo apt-get install nvidia-detect
sudo nvidia-detect
This is the output:
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
Checking card: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Your card is supported by the default drivers.
It is recommended to install the
nvidia-driver
package.
After that I ran
sudo apt-get install nvidia-driver nvidia-settings
It said that I already have them installed, so I think that by installing Nvidia X Server Settings from APTus it installed the additional packages too.
If I try to open Nvidia X Server Settings I get the following error:
(https://i.imgur.com/Qjyyorv.png)
I used CTRL+ALT+F* to get into the CLI and ran the command in the picture from there because the command wasn't recognized by LXTerminal.
It succesfully creates the xorg.conf file inside /etc/X11 but I get a black screen after rebooting.
I can switch ttys' by using CTRL+ALT+F*.
I haven't found a way around this and my other monitors still stay asleep so there's something wrong with the install.
I'm able to restore my access to GUI by deleting xorg.conf and rebooting.
Here's the contents of the Nvidia generated xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.111 (buildd@debian) Sun Feb 25 23:27:00 UTC 2018
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
and Xorg.0.log:
[ 7.009]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 7.009] X Protocol Version 11, Revision 0
[ 7.009] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 7.009] Current Operating System: Linux Navi 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64
[ 7.009] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-8-amd64 root=UUID=b8dec2df-873c-4408-a365-8d2a17da8425 ro quiet
[ 7.009] Build Date: 25 October 2018 10:20:30AM
[ 7.009] xorg-server 2:1.19.2-1+deb9u4 (https://www.debian.org/support)
[ 7.009] Current version of pixman: 0.34.0
[ 7.009] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 7.009] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 7.009] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 8 19:06:54 2018
[ 7.009] (==) Using config file: "/etc/X11/xorg.conf"
[ 7.009] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 7.009] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 7.010] (==) ServerLayout "Layout0"
[ 7.010] (**) |-->Screen "Screen0" (0)
[ 7.010] (**) | |-->Monitor "Monitor0"
[ 7.010] (**) | |-->Device "Device0"
[ 7.010] (**) |-->Input Device "Keyboard0"
[ 7.010] (**) |-->Input Device "Mouse0"
[ 7.010] (==) Automatically adding devices
[ 7.010] (==) Automatically enabling devices
[ 7.010] (==) Automatically adding GPU devices
[ 7.010] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 7.010] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 7.010] Entry deleted from font path.
[ 7.010] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 7.010] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 7.010] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 7.010] (WW) Disabling Keyboard0
[ 7.010] (WW) Disabling Mouse0
[ 7.010] (II) Loader magic: 0x5555aec3de00
[ 7.010] (II) Module ABI versions:
[ 7.010] X.Org ANSI C Emulation: 0.4
[ 7.010] X.Org Video Driver: 23.0
[ 7.010] X.Org XInput driver : 24.1
[ 7.010] X.Org Server Extension : 10.0
[ 7.011] (++) using VT number 7
[ 7.011] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 7.012] (--) PCI:*(0:1:0:0) 10de:1b81:1462:3302 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 7.012] (II) LoadModule: "glx"
[ 7.012] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 7.015] (II) Module glx: vendor="NVIDIA Corporation"
[ 7.015] compiled for 4.0.2, module version = 1.0.0
[ 7.015] Module class: X.Org Server Extension
[ 7.015] (II) NVIDIA GLX Module 384.130 Wed Mar 21 02:54:48 PDT 2018
[ 7.015] (II) LoadModule: "nvidia"
[ 7.016] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 7.016] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 7.016] compiled for 4.0.2, module version = 1.0.0
[ 7.016] Module class: X.Org Video Driver
[ 7.016] (II) NVIDIA dlloader X Driver 384.130 Wed Mar 21 02:29:29 PDT 2018
[ 7.016] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 7.018] (II) Loading sub module "fb"
[ 7.018] (II) LoadModule: "fb"
[ 7.018] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 7.019] (II) Module fb: vendor="X.Org Foundation"
[ 7.019] compiled for 1.19.2, module version = 1.0.0
[ 7.019] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.019] (II) Loading sub module "wfb"
[ 7.019] (II) LoadModule: "wfb"
[ 7.019] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 7.019] (II) Module wfb: vendor="X.Org Foundation"
[ 7.019] compiled for 1.19.2, module version = 1.0.0
[ 7.019] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.019] (II) Loading sub module "ramdac"
[ 7.019] (II) LoadModule: "ramdac"
[ 7.019] (II) Module "ramdac" already built-in
[ 7.022] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 7.022] (EE) NVIDIA: system's kernel log for additional error messages and
[ 7.022] (EE) NVIDIA: consult the NVIDIA README for details.
[ 7.022] (EE) No devices detected.
[ 7.022] (EE)
Fatal server error:
[ 7.022] (EE) no screens found(EE)
[ 7.022] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 7.022] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 7.022] (EE)
[ 7.023] (EE) Server terminated with error (1). Closing log file.
These files are a bit out of date by a few days but I haven't done any major tweaks to the machine so the output would still probably be the same.
I can upload the latest version of these files too if you require them by doing "sudo nvidia-xconfig" again and any additional info you'd want.
As you can see, I'm not very experienced with the Nvidia Unix drivers.
Last time when I installed the drivers, I think I did it through the CLI(?) but it's been so long that I cant remember.
I read the wiki about the drivers but some of the stuff pretty much just flew over my head.
Sorry for the messy post and poor grammar.
You need kernel headers for nvidia to get it working.
Like this
btw use this too if on 64bit
dpkg --add-architecture i386
then
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-driver