LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2006, 05:35 PM   #1
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Rep: Reputation: 30
graphic drivers wont seem to "work"


i just installed the drivers from nvidias official site and now everything looks really crappy, much worse than before, and programs that could run then cant run now:

"GLUT: Fatal Error in 3dfile: visual with necessary capabilities not found."

when installing the drivers, i got the to choose weither i wanted the installation app to do the xconfig for me or not, it told me that it would make backups of everything before editing anything, do you guys need to see the backups in order to help me fixing the problem? if so, where are they?

thanks in advance
 
Old 03-17-2006, 05:56 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Did you download the installer or emerge nvidia-kernel nvidia-glx? The latter is the way to go as it will be far more distro-specific. I'm not sure where the backups go but posting your /etc/X11/xorg.conf to a pastbin somewhere and giving us a link would be a good start The backups are no good as they don't have the config that is causing the problems.
 
Old 03-18-2006, 04:39 AM   #3
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by cs-cam
Did you download the installer or emerge nvidia-kernel nvidia-glx? The latter is the way to go as it will be far more distro-specific. I'm not sure where the backups go but posting your /etc/X11/xorg.conf to a pastbin somewhere and giving us a link would be a good start The backups are no good as they don't have the config that is causing the problems.
this is the original: http://www.freewebs.com/phsythax/xorg.conf

and this is the one generated by the nvidia driver that caused the problem: http://www.freewebs.com/phsythax/xorg.conf.glo

i ran the emerge nvidia-kernel and emerge nvidia-glx and then xserver couldnt be started. so i switched back to the old xorg.conf file and now everything looks like and seems to be as it was before i installed the driver. my conclusion of that is that the xorg.conf doesnt get edited by the nvidia-kernel or nvidia-glx, so how do i find out weather the nvidia-kernel or nvidia-glx is working or not?

btw, i say that both nvidia-kernel and nvidia-glx updates the same sort of cache (/etc/ls.so.cache), so i think it will make a difference what order i emerge the nvidia-kernel and nvidia-glx?

(what does the glx do?)
 
Old 03-18-2006, 05:02 AM   #4
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
also, now i get a "Segnebtation fualt" when trying to run 3Dfile ( http://turma.sourceforge.net/software/3dfile/index.html )

this problem came after i installed the driver from the nvidia website.
how do i uninstall the driver?
 
Old 03-18-2006, 08:24 PM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Use your original one and comment out the Load "dri" line and change Drive "nv" to Driver "nvidia" and see if that works. The nv driver has zero video acceleration so if you want to keep using that don't bother trying anything fancy, at all.

Gentoo is weird, they're the only distro to split the nvidia package into two but anyway... nvidia-kernel is the kernel module and nvidia-glx is the X11 drivers. Try my changes and see how you go, also post the output of this command if you still don't seem to have video acceleration:
Code:
ls -l /usr/lib | grep GL
 
Old 03-19-2006, 08:17 AM   #6
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
first of all the Driver "nvidia" didnt work at all, xserver got fatal error signal 11 and died, and i dont see any changes if i comment out the Load "dri" (i comment out using the "#" right?)

here is the output of the command:

-rw-r--r-- 1 root root 709 Mar 19 14:57 libGL.la
lrwxrwxrwx 1 root root 35 Mar 19 14:57 libGL.so -> /usr/lib/opengl/nvidia/lib/libGL.so
lrwxrwxrwx 1 root root 17 Mar 18 00:09 libGL.so.1 -> libGL.so.1.0.8178
-rwxr-xr-x 1 root root 535264 Mar 18 00:09 libGL.so.1.0.8178
-rw-r--r-- 1 root root 646168 Nov 9 16:53 libGLU.a
-rw-r--r-- 1 root root 752 Nov 9 16:53 libGLU.la
lrwxrwxrwx 1 root root 13 Nov 9 16:54 libGLU.so -> libGLU.so.1.3
lrwxrwxrwx 1 root root 13 Nov 9 16:54 libGLU.so.1 -> libGLU.so.1.3
-rwxr-xr-x 1 root root 550825 Nov 9 16:53 libGLU.so.1.3
lrwxrwxrwx 1 root root 39 Mar 19 14:57 libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so
lrwxrwxrwx 1 root root 21 Mar 18 00:09 libGLcore.so.1 -> libGLcore.so.1.0.8178
-rwxr-xr-x 1 root root 8136248 Mar 18 00:09 libGLcore.so.1.0.8178
-rw-r--r-- 1 root root 27754 Nov 9 16:53 libGLw.a
lrwxrwxrwx 1 root root 13 Nov 9 16:54 libGLw.so -> libGLw.so.1.0
lrwxrwxrwx 1 root root 13 Nov 9 16:54 libGLw.so.1 -> libGLw.so.1.0
-rwxr-xr-x 1 root root 27118 Nov 9 16:53 libGLw.so.1.0
 
Old 03-19-2006, 08:18 AM   #7
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by cs-cam
Code:
ls -l /usr/lib | grep GL
the output of that command, that is.
 
Old 03-19-2006, 08:31 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
lrwxrwxrwx 1 root root 35 Mar 19 14:57 libGL.so -> /usr/lib/opengl/nvidia/lib/libGL.so
lrwxrwxrwx 1 root root 39 Mar 19 14:57 libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so
Those lines look odd to me, to the best of my knowledge they should just point to libGL.so.1.0.8178 and libGLcore.so.1.0.8178 respectively. Could be Gentoo doing something stupid I'm not sure but your symlinks are different to my (working) links. I'd tell you to change it but if that is how Gentoo is supposed to be I don't want to help you break anything

With Driver set to nvidia, try starting X and when it crashes, post the output of this:
Code:
cat /var/log/Xorg.0.log | grep NVIDIA | grep -v "mode"
# bash gurus: i'm sure there's a better way to do that but it'll work :p
 
Old 03-19-2006, 09:07 AM   #9
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by cs-cam
With Driver set to nvidia, try starting X and when it crashes, post the output of this:
Code:
cat /var/log/Xorg.0.log | grep NVIDIA | grep -v "mode"
# bash gurus: i'm sure there's a better way to do that but it'll work :p
i did (without out commenting the load "dri"):

Code:
(II) Module glx: vendor="NVIDIA Corporation"
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(==) NVIDIA(0): Default visual is PseudoColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE0000000
(--) NVIDIA(0): MMIO registers at 0xF8000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5600XT
(--) NVIDIA(0): VideoBIOS: 04.31.20.69.00
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at  8 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 400 MHz
(II) NVIDIA(0): Monitor0: Using hsync range of 30.00-70.00 kHz
(II) NVIDIA(0): Monitor0: Using vrefresh range of 50.00-160.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 400.00 MHz
(WW) NVIDIA(0):      EDID-specified maximum 1280)
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(WW) NVIDIA(0):   horizontal sync start (1178) not a multiple of 8
(WW) NVIDIA(0):   horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0):   horizontal sync start (378) not a multiple of 8
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): Display dimensions: (300, 230) mm
(--) NVIDIA(0): DPI set to (108, 113)
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
 
Old 03-19-2006, 09:13 AM   #10
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
i dont know if this could be interesting but i found this in the /var/log/Xorg.0.log file, i think it means that there is an error in the libdri that makes the NVIDIA driver undetectable. but i aint sure.

Code:
Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is unresolved!

(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
 
Old 03-19-2006, 07:57 PM   #11
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
libdri.a
That's because you haven't commented Load "dri", you don't want it there for the nvidia driver. Here's my xorg.conf to take a look at.
 
  


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
After Installation Monitor Wont Work "Out Of Range" jude01 Fedora 1 08-30-2005 05:01 AM
another "Xine wont work" thread..... RonRussell Linux - Software 1 05-05-2005 06:21 AM
Weird! ATI Drivers work only after logout, followed by "startx" in prompt pitchaxistheory Mandriva 1 10-14-2004 05:51 PM
"Error Loading OS" Fedora Vs XP - Either will work, Sys wont boot marksman Linux - Newbie 14 08-27-2004 05:32 AM
su wont work, cant "su root" as a normal user lukeorun Linux - General 5 10-17-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:21 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