LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2004, 01:12 AM   #1
Scorched
LQ Newbie
 
Registered: Feb 2004
Location: Tulsa, OK USA
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
Nvidia 5336 Drivers Problem


I just compiled the 2.6.3 kernel in Slackware, and installed Nvidia's newest drivers. At first, I couldn't get the OpenGL screensavers in KDE to work. They'd just display a black screen. This section of the Nvidia drivers README helped me realize the "load glx" was still commented out of the XF86Config file:

Q: X starts for me, but OpenGL applications terminate immediately.

A: If X starts, but OpenGL causes problems, you most likely have a
problem with other libraries in the way, or there are stale symlinks.
See Appendix C for details. Sometimes, all it takes is to rerun
'ldconfig'.

You should also check that the correct extensions are present;
'xdpyinfo' should show the "GLX", "NV-GLX" and "NVIDIA-GLX" extensions
present. If these three extensions are not present, then there is
most likely a problem with the glx module getting loaded or it is
unable to implicitly load GLcore. Check your XF86Config file and make
sure that you are loading glx (see "Editing Your XF86Config File"
above). If your XF86Config file is correct, then check the XFree86
log file for warnings/errors pertaining to GLX. Also check that all
of the necessary symlinks are in place (refer to Appendix C).

Now, the "GLX" and "NV-GLX" are displayed, but the "NVIDIA-GLX" extension still isn't displayed. Suggestions?

Also, some of the screen savers are still only displaying a black screen. And they're not labeled as OpenGL ones either. I know one potential problem could be that I compiled the "agpgart" kernel option statically. Would this conflict with the Nvidia drivers?
 
Old 03-01-2004, 01:23 AM   #2
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Run glxgears to see if it is a problem with nvidia or the screensavers. If the fps is over 1000 nvidia works. Also make sure you have read-write permissions to /dev/nvidia0 and /dev/nvidiactl.
 
Old 03-01-2004, 09:41 AM   #3
Scorched
LQ Newbie
 
Registered: Feb 2004
Location: Tulsa, OK USA
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
I'm getting a little over 3000 FPS with glxgears. And I do have read-write permissions for /dev/nvidia0 and /dev/nvidiactl.

The screensavers in KDE that are just giving a black screen are extrusion, Lisa, maze, penrose, web collage, pixmaps, vidwhacker, and xsublim.
 
Old 03-01-2004, 09:55 AM   #4
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Try to start kcontrol from a shell. You will then get some more output, that maybe could help.
 
Old 03-01-2004, 10:15 AM   #5
Scorched
LQ Newbie
 
Registered: Feb 2004
Location: Tulsa, OK USA
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
The only error message I'm getting from kcontrol is "WARNING: KDE detected X Error: BadMatch (invalid parameter attributes ) \x08 Major opcode: *", but even the screensavers that are working fine are giving that error.
 
Old 03-01-2004, 10:51 AM   #6
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Does the screensavers work with other drivers?
 
Old 03-01-2004, 06:11 PM   #7
Scorched
LQ Newbie
 
Registered: Feb 2004
Location: Tulsa, OK USA
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
I just re-installed Slackware with everything as default, and no they don't work. At least I know now that the Nvidia drivers aren't to blame.
 
Old 03-02-2004, 01:34 PM   #8
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Another thing: Some times different drivers are used when executing the screensavers from kcontrol and executing the binary. On my system the executables are in /usr/lib/xscreensaver/. Try if they work.
 
Old 03-03-2004, 12:14 AM   #9
Scorched
LQ Newbie
 
Registered: Feb 2004
Location: Tulsa, OK USA
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
I ran xscreensaver-demo. It's more informative, has more configuration options, and all the screensavers worked. It has a lot more screensavers even. Thanks for your help meldar.
 
  


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
Black bar on right side of screen after installing NVidia 5336 drivers CarletonKnight Linux - Laptop and Netbook 5 07-06-2004 09:06 PM
Fedora Core 2 and Nvidia drivers (5336) cause X to hang tfdml37 Fedora 11 06-04-2004 06:22 AM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 06:38 AM
NVIDIA driver 5336 FB console simbolo Linux - Software 0 02-24-2004 09:46 PM
Another problem: nVidia's newest drivers (1.0.5336) archlyn Slackware 2 02-04-2004 02:03 PM


All times are GMT -5. The time now is 01:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration