LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   startx fails with error post nvidia driver installation (https://www.linuxquestions.org/questions/slackware-14/startx-fails-with-error-post-nvidia-driver-installation-4175508768/)

tejaswi kalawatia 06-22-2014 02:04 AM

startx fails with error post nvidia driver installation
 
Hello All,
- I installed the nvidia driver on my slackware 14.1 64-bit system using the binary installation method.
- Post installation the startx command fails.
- i am enclosing the contents of the Xorg.0.log file here.
- please suggest corrective measures.


[ 399.843]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 399.845] X Protocol Version 11, Revision 0
[ 399.846] Build Operating System: Slackware 14.1 Slackware Linux Project
[ 399.847] Current Operating System: Linux LaatanBaba 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64
[ 399.847] Kernel command line: BOOT_IMAGE=Linux ro root=805 vt.default_utf8=0
[ 399.849] Build Date: 09 October 2013 08:27:11PM
[ 399.849]
[ 399.850] Current version of pixman: 0.30.2
[ 399.852] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 399.852] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 399.856] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 22 12:13:27 2014
[ 399.857] (==) Using config file: "/etc/X11/xorg.conf"
[ 399.858] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 399.859] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 399.859] (==) ServerLayout "Layout0"
[ 399.859] (**) |-->Screen "Screen0" (0)
[ 399.859] (**) | |-->Monitor "Monitor0"
[ 399.859] (**) | |-->Device "Device0"
[ 399.859] (**) |-->Input Device "Keyboard0"
[ 399.859] (**) |-->Input Device "Mouse0"
[ 399.859] (==) Automatically adding devices
[ 399.859] (==) Automatically enabling devices
[ 399.859] (==) Automatically adding GPU devices
[ 399.859] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 399.859] Entry deleted from font path.
[ 399.859] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 399.859] Entry deleted from font path.
[ 399.859] (**) FontPath set to:
/usr/lib64/X11/fonts/misc/:unscaled,
/usr/lib64/X11/fonts/100dpi/:unscaled,
/usr/lib64/X11/fonts/75dpi/:unscaled,
/usr/lib64/X11/fonts/misc/,
/usr/lib64/X11/fonts/Type1/,
/usr/lib64/X11/fonts/Speedo/,
/usr/lib64/X11/fonts/100dpi/,
/usr/lib64/X11/fonts/75dpi/,
/usr/lib64/X11/fonts/cyrillic/,
/usr/lib64/X11/fonts/TTF/,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic
[ 399.859] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 399.859] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 399.859] (WW) Disabling Keyboard0
[ 399.859] (WW) Disabling Mouse0
[ 399.859] (II) Loader magic: 0x7f6d20
[ 399.859] (II) Module ABI versions:
[ 399.859] X.Org ANSI C Emulation: 0.4
[ 399.859] X.Org Video Driver: 14.1
[ 399.859] X.Org XInput driver : 19.1
[ 399.859] X.Org Server Extension : 7.0
[ 399.860] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 399.860] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 399.862] (--) PCI:*(0:0:2:0) 8086:0166:1028:055e rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[ 399.862] (--) PCI: (0:1:0:0) 10de:0de9:1028:055e rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[ 399.862] (II) Open ACPI successful (/var/run/acpid.socket)
[ 399.863] Initializing built-in extension Generic Event Extension
[ 399.863] Initializing built-in extension SHAPE
[ 399.864] Initializing built-in extension MIT-SHM
[ 399.865] Initializing built-in extension XInputExtension
[ 399.866] Initializing built-in extension XTEST
[ 399.866] Initializing built-in extension BIG-REQUESTS
[ 399.867] Initializing built-in extension SYNC
[ 399.868] Initializing built-in extension XKEYBOARD
[ 399.869] Initializing built-in extension XC-MISC
[ 399.869] Initializing built-in extension XINERAMA
[ 399.870] Initializing built-in extension XFIXES
[ 399.871] Initializing built-in extension RENDER
[ 399.871] Initializing built-in extension RANDR
[ 399.872] Initializing built-in extension COMPOSITE
[ 399.873] Initializing built-in extension DAMAGE
[ 399.873] Initializing built-in extension MIT-SCREEN-SAVER
[ 399.874] Initializing built-in extension DOUBLE-BUFFER
[ 399.875] Initializing built-in extension RECORD
[ 399.875] Initializing built-in extension DPMS
[ 399.876] Initializing built-in extension X-Resource
[ 399.876] Initializing built-in extension XVideo
[ 399.877] Initializing built-in extension XVideo-MotionCompensation
[ 399.878] Initializing built-in extension XFree86-VidModeExtension
[ 399.878] Initializing built-in extension XFree86-DGA
[ 399.879] Initializing built-in extension XFree86-DRI
[ 399.880] Initializing built-in extension DRI2
[ 399.880] (II) LoadModule: "glx"
[ 399.880] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 399.889] (II) Module glx: vendor="NVIDIA Corporation"
[ 399.889] compiled for 4.0.2, module version = 1.0.0
[ 399.889] Module class: X.Org Server Extension
[ 399.889] (II) NVIDIA GLX Module 331.79 Sat May 17 23:58:32 PDT 2014
[ 399.890] Loading extension GLX
[ 399.890] (II) LoadModule: "nvidia"
[ 399.890] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 399.890] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 399.890] compiled for 4.0.2, module version = 1.0.0
[ 399.890] Module class: X.Org Video Driver
[ 399.890] (II) NVIDIA dlloader X Driver 331.79 Sat May 17 23:37:42 PDT 2014
[ 399.890] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 399.890] (--) using VT number 7

[ 399.893] (EE) No devices detected.
[ 399.893] (EE)
Fatal server error:
[ 399.893] (EE) no screens found(EE)
[ 399.893] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 399.893] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 399.893] (EE)

business_kid 06-22-2014 03:05 AM

Quote:

[ 399.893] (EE) No devices detected.
[ 399.893] (EE)
Fatal server error:
[ 399.893] (EE) no screens found(EE)
[ 399.893] (EE)
That's what we needed t5o see.
If you don't have a totally predictable system (1 video card, w/ one monitor) you need a section that says "Use this card with this monitor". It looks like you don't have it, or if you do, it's wrong.

Didier Spaier 06-22-2014 03:11 AM

We need to diagnose before we can propose corrective measures. To that aim, please provide output of:
Code:

lspci -knn|grep -A2 VGA
also, do you have Optimus technology (hybrid graphics)?

WhiteWolf1776 06-23-2014 06:52 AM

With Didier on this one... I have often seen that error on optimus laptops that did not properly install the nvidia drivers... There is a way to configure nvidia now to just use the nvidia card.. but we will need to know that is the tech you are trying to make work.

tejaswi kalawatia 06-25-2014 01:38 AM

Hello All,
My sincere apologies for not replying over the past few days as I was down with poor health.
Thank you for helping me out Didier and WhiteWolf
--------------------------------------------------------------------------------------------
As asked the output for the command is ,

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: Dell Device [1028:055e]
Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 630M] [10de:0de9] (rev a1)
Subsystem: Dell Device [1028:055e]
Kernel driver in use: nvidia
---------------------------------------------------------------------------------------------
I don't think I have the Optimus Technology (hybrid Graphics).
Although I am not sure.
Is there any way to check?

Thanks Again

ReaperX7 06-25-2014 01:41 AM

If you have both Intel graphics and Nvidia in the same system, it's Optimus.

You'll want to switch the main driver in xorg.conf back to Intel and install Bumblebee and follow the setup described for it's usage. A SlackBuild for it should be on www.slackbuilds.org for 14.1 with complete instructions. If not just Google it.

Edit: At the moment there isn't a SlackBuild yet, so you'll have to install everything by hand at the moment, but the Slackware docs project has the info:

http://docs.slackware.com/howtos:har...nvidia_optimus

tejaswi kalawatia 06-25-2014 02:19 AM

Thank you ReaperX7, i will revert back to X.org and take it from there.

WhiteWolf1776 06-25-2014 06:44 AM

Yea, i know... I need to get these scripts on sbo... they were at one time changing so quickly it was pointless, but things have been pretty stable for a while now.

Hit me up tho if something doesn't work. The wiki and readme are pretty straight forward tho now, imho.

ReaperX7 06-25-2014 04:10 PM

I think eventually these packages may need to be moved into the /extras directory as Optimus is becoming more and more commonplace.

Drakeo 06-25-2014 04:30 PM

I am curious is since I do not use the slackbuild. after you installed it you ran nvidia-xconfig it should set the it to auto for display screen. So we are saying on optimus. it is not setting the monitor 0 and display card 0 up. you may need Bumblebee - NVIDIA Optimus support for Linux.
http://docs.slackware.com/howtos:har...nvidia_optimus

enorbet 06-26-2014 10:12 AM

Quote:

Originally Posted by ReaperX7 (Post 5193540)
If you have both Intel graphics and Nvidia in the same system, it's Optimus.

Isn't this only true of Laptops? I have an Asrock Z77 Extreme with an i5 CPU which then includes Intel HD but I use an nVidia 760GT, do NOT have Optimus and decidedly did NOT have to jump through all those hoops. A simple blacklist solves it if you wish to keep it single and simple. OP may be running a laptop and have Optimus but other readers should know the above quote is not all inclusive.

ReaperX7 06-26-2014 01:21 PM

If it's switchable by a CMOS/EFI setting or a hardware switch, it's not Optimus.


All times are GMT -5. The time now is 09:18 PM.