LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-05-2005, 10:12 PM   #1
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
OpenGL Screensavers not working.


I'm running 2.6.11.5 with the most current Nvidia drivers installed.
xorg.conf is configed to use the 'nvidia' module (lsmod shows that the module is in use as well).
'GLX' module is uncommented in xorg.conf as well; though lsmod doesn't show this.

My screen isn't very responsive either. Especially when moving windows, or scrolling screens of code in kdevelop. It seems to flicker, or slowly page through screens instead of smooth scrolling...

Any thoughts?

Last edited by mdarby; 04-05-2005 at 10:14 PM.
 
Old 04-06-2005, 02:56 AM   #2
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
Did you comment out Dri and GLcore? The nvidia documentation mentions to do that if you have not already.
Also, if you never used xorgsetup or xorgconfig to begin with, the default xorg.conf leaves two devices uncommented, and I believe both are set to vesa. Make sure you uncomment whichever one you did not change to the correct nvidia settings and module.

That's all I can think of off the bat, but I'm still rather new to this. (2 months of linux/slackware use) Hopefully someone with more knowledge will have an idea.

I'd suggest using xorgsetup, which will give you a smaller xorg.conf (with no documentation or commented options mind you), and then editing it to your needs. (If you do this, remember the correct HorizSync and RefreshRate ranges for your monitor, aswell as any other customizations you've entered.)

~Dav
 
Old 04-06-2005, 03:59 AM   #3
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
what do you exactly mean with openGL screensavers not working? they do not start or they flicker?

Last edited by acidjuice; 04-06-2005 at 04:01 AM.
 
Old 04-06-2005, 06:02 AM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
@davatar: I've commented out those two drivers and I have no references to Vesa

@acidjuice: They don't work what-so-ever. Not on preview in the little screen on the screensaver config dialog, nor testing the screensaver manually.

I went through xorgconfig again, edited for nvidia module -- still no luck.

Last edited by mdarby; 04-06-2005 at 06:30 AM.
 
Old 04-06-2005, 07:10 AM   #5
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
I had a similar problem with mine. I ran chmod 0666 /dev/nvidia*, andn that seemed to get it to work. That may not be the exact correct syntax, but it is in the nvidia documentation somewhere.
 
Old 04-06-2005, 07:31 AM   #6
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by spaceballs
I had a similar problem with mine. I ran chmod 0666 /dev/nvidia*, andn that seemed to get it to work. That may not be the exact correct syntax, but it is in the nvidia documentation somewhere.
Thanks, trying it as I type.

Edit: ugh, unfortunatly that's not it. I noticed that the permissions were for root:video, I added my user account to the video group will no luck.

Even still, thanks for your help

Last edited by mdarby; 04-06-2005 at 07:38 AM.
 
Old 04-06-2005, 08:27 AM   #7
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
might still be permission rights problem...

to fix nvidia permissions permanently:

1. edit the file :

/etc/udev/permissions.d/udev.permissions

Scroll down to you find the section on [dri divices] and change :

nvidia* :root:root 0660
To
nvidia* :root:root :0666

Also make sure you have all the nvidia drivers copied from /dev to /etc/udev/devices by using the command

cp -a /dev/nvidia* /etc/udev/devices

Then re-boot the system.

did this solve?
 
Old 04-06-2005, 09:27 AM   #8
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
@acidjuice:

Unfortunatly, I have none of the files/folders that you referred to on my system. (Oddly enough as I run -current)
 
Old 04-06-2005, 10:01 AM   #9
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
then you miss:

1. the file you set your permissions into;
2. dev nvidia files

and unfortunately i'm just not good enough to know what i should suggest. maybe someone with more knowledge here?
 
Old 04-06-2005, 11:02 AM   #10
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
hmmm, there must be an easy fix for this. This used to work in prior installations...
 
Old 04-06-2005, 12:38 PM   #11
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
running -current, had a similar issue.

File to change was:

/etc/udev/rules.d/udev.rules

changed the nvidia line to look like this:

Code:
KERNEL="nvidia*",       NAME="%k", GROUP="video", MODE="0666"
This is similar to what acidjuice recommends, but as you are running -current, udev (as I'm sure you know ) is very different. I believe that all permissions are now specified in the rules. Permission files are no longer used, as they are redundant (rules specify permissions).

Note that if you are not getting /dev/nvidia* devices, there is something else wrong. Make sure you don't have *.new files lurking around /etc, since there have been significant changes to several packages and the .new files imlement those. Hope that makes sense.

Good luck,
 
Old 04-06-2005, 12:53 PM   #12
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
I made the changes to udev.rules; rebooted since I used KDM, still no luck.

I have /dev/nvidia0 & /dev/nvidia1

Is there something that perhaps I missed when installing the Nvidia driver? Seemingly all you need to do is click next a few times and update xorg.conf right?

Thanks for your help guys, I appreciate it!
 
Old 04-06-2005, 02:35 PM   #13
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
I have /dev/nvidia0 & /dev/nvidia1
Do you have /dev/nvidiactl ? That is what opengl screensavers complained about for me.

Code:
shilo@shilo2:~$ ls -l /dev/nvidia*
crw-rw-rw-  1 root video 195,   0 2005-04-05 15:04 /dev/nvidia0
crw-rw----  1 root video 195,   1 2005-04-05 15:04 /dev/nvidia1
crw-rw-rw-  1 root video 195, 255 2005-04-05 15:04 /dev/nvidiactl
Quote:
Is there something that perhaps I missed when installing the Nvidia driver? Seemingly all you need to do is click next a few times and update xorg.conf right?
I always make sure that /usr/src/linux points to my current kernel source, too, even though some have said this is un-needed. Also, make sure that /etc/modprobe.conf has:

Code:
alias char-major-195* nvidia
For extra good measure, I also added:

Code:
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
Also, why comment out the glx in xorg.conf? Just the dri, leave the glx uncommented. Form the NVidia README:

Quote:
In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"
 
Old 04-06-2005, 04:20 PM   #14
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
I pointed my Nvidia installation to my current kernel source too

I do have /dev/nvidiactl upon another look; I've edited modprobe.conf with the two statements, and edited xorg.conf.

Still no go.

Another piece of the puzzle -- The other screensavers work when I test them, and in the little preview area on the config screen, but not when they start automatically -- my monitor just goes black.

I appreciate your help, I do.
 
Old 04-06-2005, 07:16 PM   #15
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
How about this part I mentioned?

Quote:
Also, why comment out the glx in xorg.conf? Just the dri, leave the glx uncommented. Form the NVidia README:

quote:In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"
I don't know which DE you are using, but with Gnome there is a preview window, plus there is a "Preview" button. Do you have a "Preview" button? What happens when you press it? It might sound like a dumb question, but when I did that, it gave me an error message that clued me in to my permissions problem.

Also, what is the output of glxinfo? Not all of it, the important parts are:

Code:
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
 
  


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
OpenGL and Screensavers Patchy Linux - General 1 11-19-2005 01:53 PM
Mandrake 10.1 OpenGL Screensavers eponymous Linux - Software 2 12-14-2004 10:10 AM
openGL screensavers arent working schirrjo Mandriva 8 08-06-2004 10:39 PM
Slack 10 and opengl screensavers reddazz Slackware 2 07-10-2004 08:08 AM
OpenGL Screensavers Crash X redneon Linux - General 2 05-21-2004 01:04 PM

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

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