LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2014, 01:51 PM   #1
juju
Member
 
Registered: Jan 2005
Location: California
Distribution: Slackware current 08/2020
Posts: 53

Rep: Reputation: 0
X Windows System Fails to Launch After Update


Greetings,

I did a full update yesterday on my Slack 14 machine, using slackpkg. Everything went well, but when I entered the 'startx' command, the x windows system failed to launch.

The gist of the error messages is as follows:

Quote:
(==) Log file: "/var/log/Xorg.0.log", Time: etc. etc.
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
FATAL: Module nvidia not found.

Fatal server error:
no screens found
The post-crash error message also suggests checking the log file /var/log/Xorg.0.log. Here is the file:
Quote:
[ 1623.403]
X.Org X Server 1.12.4
Release Date: 2012-08-27
[ 1623.403] X Protocol Version 11, Revision 0
[ 1623.404] Build Operating System: Slackware 14.0 Slackware Linux Project
[ 1623.404] Current Operating System: Linux tevere 3.2.45-smp #2 SMP Fri May 31 16:57:40 CDT 2013 i686
[ 1623.404] Kernel command line: BOOT_IMAGE=Slackware ro root=802 vt.default_utf8=0
[ 1623.404] Build Date: 10 October 2013 12:15:12AM
[ 1623.405]
[ 1623.405] Current version of pixman: 0.26.2
[ 1623.405] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1623.405] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1623.407] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 26 11:33:33 2014
[ 1623.407] (==) Using config file: "/etc/X11/xorg.conf"
[ 1623.407] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1623.408] (==) ServerLayout "Layout0"
[ 1623.408] (**) |-->Screen "Screen0" (0)
[ 1623.408] (**) | |-->Monitor "Monitor0"
[ 1623.409] (**) | |-->Device "Device0"
[ 1623.409] (**) |-->Input Device "Keyboard0"
[ 1623.409] (**) |-->Input Device "Mouse0"
[ 1623.409] (==) Automatically adding devices
[ 1623.409] (==) Automatically enabling devices
[ 1623.409] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 1623.409] Entry deleted from font path.
[ 1623.409] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 1623.409] Entry deleted from font path.
[ 1623.409] (**) FontPath set to:
/usr/lib/X11/fonts/misc/:unscaled,
/usr/lib/X11/fonts/100dpi/:unscaled,
/usr/lib/X11/fonts/75dpi/:unscaled,
/usr/lib/X11/fonts/misc/,
/usr/lib/X11/fonts/Type1/,
/usr/lib/X11/fonts/Speedo/,
/usr/lib/X11/fonts/100dpi/,
/usr/lib/X11/fonts/75dpi/,
/usr/lib/X11/fonts/cyrillic/,
/usr/lib/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
[ 1623.409] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1623.409] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1623.409] (WW) Disabling Keyboard0
[ 1623.409] (WW) Disabling Mouse0
[ 1623.409] (II) Loader magic: 0x821fac0
[ 1623.409] (II) Module ABI versions:
[ 1623.409] X.Org ANSI C Emulation: 0.4
[ 1623.409] X.Org Video Driver: 12.1
[ 1623.409] X.Org XInput driver : 16.0
[ 1623.409] X.Org Server Extension : 6.0
[ 1623.410] (--) PCI:*(0:2:9:0) 10de:0322:0000:0000 rev 161, Mem @ 0xed000000/16777216, 0xf0000000/134217728, BIOS @ 0x????????/131072
[ 1623.411] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1623.411] (II) LoadModule: "extmod"
[ 1623.411] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 1623.412] (II) Module extmod: vendor="X.Org Foundation"
[ 1623.412] compiled for 1.12.4, module version = 1.0.0
[ 1623.412] Module class: X.Org Server Extension
[ 1623.412] ABI class: X.Org Server Extension, version 6.0
[ 1623.412] (II) Loading extension MIT-SCREEN-SAVER
[ 1623.412] (II) Loading extension XFree86-VidModeExtension
[ 1623.412] (II) Loading extension XFree86-DGA
[ 1623.412] (II) Loading extension DPMS
[ 1623.412] (II) Loading extension XVideo
[ 1623.412] (II) Loading extension XVideo-MotionCompensation
[ 1623.412] (II) Loading extension X-Resource
[ 1623.412] (II) LoadModule: "dbe"
[ 1623.413] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 1623.413] (II) Module dbe: vendor="X.Org Foundation"
[ 1623.413] compiled for 1.12.4, module version = 1.0.0
[ 1623.413] Module class: X.Org Server Extension
[ 1623.413] ABI class: X.Org Server Extension, version 6.0
[ 1623.413] (II) Loading extension DOUBLE-BUFFER
[ 1623.413] (II) LoadModule: "glx"
[ 1623.413] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1623.459] (II) Module glx: vendor="NVIDIA Corporation"
[ 1623.459] compiled for 4.0.2, module version = 1.0.0
[ 1623.459] Module class: X.Org Server Extension
[ 1623.459] (II) NVIDIA GLX Module 173.14.38 Wed Aug 28 14:00:00 PDT 2013
[ 1623.459] (II) Loading extension GLX
[ 1623.459] (II) LoadModule: "record"
[ 1623.459] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 1623.460] (II) Module record: vendor="X.Org Foundation"
[ 1623.460] compiled for 1.12.4, module version = 1.13.0
[ 1623.460] Module class: X.Org Server Extension
[ 1623.460] ABI class: X.Org Server Extension, version 6.0
[ 1623.460] (II) Loading extension RECORD
[ 1623.460] (II) LoadModule: "dri"
[ 1623.460] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 1623.461] (II) Module dri: vendor="X.Org Foundation"
[ 1623.461] compiled for 1.12.4, module version = 1.0.0
[ 1623.461] ABI class: X.Org Server Extension, version 6.0
[ 1623.461] (II) Loading extension XFree86-DRI
[ 1623.461] (II) LoadModule: "dri2"
[ 1623.461] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 1623.461] (II) Module dri2: vendor="X.Org Foundation"
[ 1623.461] compiled for 1.12.4, module version = 1.2.0
[ 1623.462] ABI class: X.Org Server Extension, version 6.0
[ 1623.462] (II) Loading extension DRI2
[ 1623.462] (II) LoadModule: "nvidia"
[ 1623.462] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 1623.464] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1623.464] compiled for 4.0.2, module version = 1.0.0
[ 1623.464] Module class: X.Org Video Driver
[ 1623.464] (II) NVIDIA dlloader X Driver 173.14.38 Wed Aug 28 13:48:49 PDT 2013
[ 1623.464] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1623.464] (--) using VT number 7
[ 1623.468] (II) Loading sub module "fb"
[ 1623.468] (II) LoadModule: "fb"
[ 1623.469] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 1623.470] (II) Module fb: vendor="X.Org Foundation"
[ 1623.470] compiled for 1.12.4, module version = 1.0.0
[ 1623.470] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1623.470] (II) Loading sub module "wfb"
[ 1623.470] (II) LoadModule: "wfb"
[ 1623.471] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 1623.472] (II) Module wfb: vendor="X.Org Foundation"
[ 1623.472] compiled for 1.12.4, module version = 1.0.0
[ 1623.472] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1623.472] (II) Loading sub module "ramdac"
[ 1623.472] (II) LoadModule: "ramdac"
[ 1623.472] (II) Module "ramdac" already built-in
[ 1623.472] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 1623.472] (==) NVIDIA(0): RGB weight 888
[ 1623.472] (==) NVIDIA(0): Default visual is TrueColor
[ 1623.472] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1623.472] (**) NVIDIA(0): Enabling RENDER acceleration
[ 1623.473] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[ 1623.473] (II) NVIDIA(0): enabled.
[ 1623.479] (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
[ 1623.479] (EE) NVIDIA(0): *** Aborting ***
[ 1623.479] (II) UnloadModule: "nvidia"
[ 1623.479] (II) UnloadSubModule: "wfb"
[ 1623.479] (II) UnloadSubModule: "fb"
[ 1623.479] (EE) Screen(s) found, but none have a usable configuration.
[ 1623.479]
Fatal server error:
[ 1623.479] no screens found
[ 1623.479]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1623.479] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1623.479]
[ 1623.482] Server terminated with error (1). Closing log file.
Here is the contents of my xorg.conf file

Quote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (root@tevere) Thu Sep 25 21:18:38 PDT 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/Speedo/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
FontPath "/usr/lib/X11/fonts/cyrillic/"
FontPath "/usr/lib/X11/fonts/TTF/"
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 30.0 - 110.0
VertRefresh 50.0 - 150.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
I'm not a complete newbie, but talk of the kernel and modules goes right over my head.

I thought it might be a simple matter of reinstalling the drivers. I followed the instructions on the Slack page:

Proprietary Graphics Drivers

I have an older nvidia card. It's the nvidia corp nv34 [GeForce FX 5200]. I used the nvidia legacy 173 driver and kernel.

As before, the installation seemed to work as it should, but I got the same error message, when I entered startx.

I don't think I had problems with the nvidia card when I first installed 14.0.

I'm in an area of ignorance here and I thought it best I post this to LQ, rather than trying ad hoc solutions and getting nowhere or worse, f-ing up my machine even more.

Any help would be appreciated. Thanks.
 
Old 09-26-2014, 02:04 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Usually this follows a kernel update. You need to rebuild the nvidia modules for the running kernel.
 
Old 09-26-2014, 07:42 PM   #3
JohnB316
Member
 
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37

Rep: Reputation: 22
Quote:
Originally Posted by Didier Spaier View Post
Usually this follows a kernel update. You need to rebuild the nvidia modules for the running kernel.
To add to Didier's excellent advice, you may also need to reinstall the nvidia Xorg driver. At least I've found this to be the case when certain Xorg updates have come without regard to the running kernel.

FWIW (about $0.00002),
John
 
Old 09-27-2014, 09:18 PM   #4
juju
Member
 
Registered: Jan 2005
Location: California
Distribution: Slackware current 08/2020
Posts: 53

Original Poster
Rep: Reputation: 0
I went back to the 'Proprietary Graphics Drivers' page and followed the instructions for 'Installation via the nVIDIA Binary.' This worked exactly as directed. I'm back up and running, as they say, with KDE. Many thanks for the suggestion and a special nod to those at nvidia, who keep they old liunx/unix drivers up on the web.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Openoffice fails to launch Nemesissparadise Linux - Software 4 06-29-2012 05:25 PM
LXer: Windows Update doesn't like my Linux-Windows dual-boot system LXer Syndicated Linux News 1 07-22-2011 05:20 PM
PCLinuxOS - X Fails to start after First System update Jeff91 Linux - Distributions 5 09-16-2010 09:50 AM
yast fails to update system, tells me to add repos (while they already are) wet SUSE / openSUSE 2 01-25-2008 01:01 PM
inkscape fails to launch beebrasil Linux - Software 6 11-30-2007 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration