LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-26-2007, 01:29 AM   #1
KirkD
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 15
Why must NVIDIA drivers be such a pain?


Now that I've finally gotten the wireless card working, I'm trying to install the NVIDIA proprietary drivers. I've downloaded the drivers and run the installer in mode 3 - it all seems to behave. When I try to reboot I get X errors of this sort:

Quote:
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
dlopen: /usr/lib/xorg/modules/extensions//libglx.so: cannot enable executable st
ack as shared object requires: Permission denied
(EE) Failed to load /usr/lib/xorg/modules/extensions//libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
dlopen: /usr/lib/xorg/modules/drivers//nvidia_drv.so: cannot enable executable s
tack as shared object requires: Permission denied
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (loader failed, 7)
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 1.2.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(EE) No drivers available.

Fatal server error:
no screens found

Any tips??
 
Old 10-26-2007, 01:44 AM   #2
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 214

Rep: Reputation: 35
I know wht you mean. A few weeks ago, I installed a new distro on both my PC and my laptop. I ran into alot of work to have my graphic card working properly.

A little tip that might help you. You need to have glx loaded for your nvidia graphic card to work properly. You need to add the following section in your xorg file.

Code:
Section "Module"
	SubSection	"extmod"
		Option	"omit xfree86-dga"
	EndSubSection
	Load  "extmod"
	Load  "glx"
EndSection
This is done before starting X.

Hope this helps.

Cheers
 
Old 10-26-2007, 02:03 AM   #3
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
I thought the installer will automatically edit the xorg.conf file for you?

Anyway, that is how I installed it, no editing of xorg.conf is require for me. Maybe I am just lucky.
 
Old 10-26-2007, 02:08 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
The nvidia installation also provides an "nvidia-xconfig" program that you can use to edit your xorg.conf file. Running this program may fix the problem.
 
Old 10-26-2007, 02:19 AM   #5
KirkD
Member
 
Registered: Oct 2007
Posts: 53

Original Poster
Rep: Reputation: 15
I've tried the various nvidia tools and get no results. Also, the added subsection suggested by fatra2 did not work.

Here's my Xorg.conf after the nvidia installer gets done with it and I'm unable to start the graphical interface:

Quote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 12 14:29:35 PDT
2007

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
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 "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 10-26-2007, 03:11 AM   #6
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 214

Rep: Reputation: 35
Hi again,

How about if you add
Code:
Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	Option	    "RenderAccel" "True"
	Option	    "AddARGBGLXVisuals" "True"
	Option	    "DisableGLXRootClipping" "True"
	Option	    "AllowGLXWithComposite" "True"
EndSection
and
Code:
Section "Extensions"
	Option	    "Composite" "Enable"
EndSection
in your xorg file.

I know this solved some problems for me.
 
Old 10-26-2007, 11:36 AM   #7
KirkD
Member
 
Registered: Oct 2007
Posts: 53

Original Poster
Rep: Reputation: 15
No luck

Nope. Didn't work.
 
Old 10-26-2007, 12:35 PM   #8
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Quote:
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
dlopen: /usr/lib/xorg/modules/extensions//libglx.so: cannot enable executable st
ack as shared object requires: Permission denied
(EE) Failed to load /usr/lib/xorg/modules/extensions//libglx.so
So far, this thread reminds me of the joke about the blonde who lost her contact lens. She was crawling around on the floor looking for it when a man comes up to her and says: "what are you looking for? Can I help you?"

She looks up and says: "oh yes! I lost my contact lens over there (points across the room), and I'm hunting for it."

"Well, if you lost it over there, why are you looking over here?"

"The light is better over here."

Point is this. The reason you can't get the nVidia driver to run is shown quite clearly in your log file. The driver is failing to load libraries that it needs in order to run. You have a permissions problem associated with /usr/lib/xorg/modules/extensions.

What is that permissions problem? I don't know. But take a look at the directory /usr/lib/xorg and all its subdirectories, and you'll find your problem there someplace. Might be that the libraries haven't been set as executable. Might be that X doesn't have permission to execute what is in that directory. Might be a bad symlink. I can't tell from here, but that is where your problem is.
 
Old 10-26-2007, 01:45 PM   #9
KirkD
Member
 
Registered: Oct 2007
Posts: 53

Original Poster
Rep: Reputation: 15
Too obvious

Yes, I've checked that directory and found the files present, their properties set to rwxr_xr_x and I'm running as root, and can create new files in this directory, etc. I cannot find any reason to suspect that I cannot access the files.

What I do notice from the error line is that there are two backslashes preceding the name of the .so file:

Loading /usr/lib/xorg/modules/extensions//libglx.so

Why two? Does this cause an error??
 
Old 10-26-2007, 09:54 PM   #10
unknownmosquito
Member
 
Registered: Dec 2005
Distribution: Fedora 8
Posts: 57

Rep: Reputation: 15
Wow...

I'm going to go ahead and point out that if you can (Fedora, Gentoo, Ubuntu, probably Suse, and I'm sure others) install the drivers with your package manager, FOR THE SAKE OF HEAVEN, DO THAT! It takes care of backing up your working config and a number of other dirty tasks.

Ubuntu users have it in their main repos and Fedora can get it with the livna repo ...

Doing it manually is.. risky at best. And not fun.

Last edited by unknownmosquito; 10-26-2007 at 09:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nvidia 9746 Drivers - startx freezes machine when using nvidia module Astro Slackware 17 01-21-2007 08:36 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 06:10 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 06:32 AM
ATI Drivers a serious pain, (SuSe 9.1) drummervin Linux - Hardware 3 10-08-2004 01:59 PM
why is it such a pain to install graphic drivers? fernandoo Linux - Hardware 2 11-06-2003 04:59 AM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration