LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   OpenGL screensavers not working (https://www.linuxquestions.org/questions/linux-newbie-8/opengl-screensavers-not-working-696803/)

landonmkelsey 01-12-2009 02:07 PM

OpenGL screensavers not working
 
OpenGL screensavers not working not showing anything in the set up dialog.

Other screensavers work however!

kde4-config --version
Qt: 4.4.3
KDE: 4.1.3 (KDE 4.1.3)
kde4-config: 1.0

from lspci
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

uname -a
Linux LMKIII 2.6.27.9-73.fc9.i686 #1 SMP Tue Dec 16 15:25:05 EST 2008 i686 i686 i386 GNU/Linux

rnturn 01-12-2009 04:58 PM

Quote:

Originally Posted by landonmkelsey (Post 3406070)
OpenGL screensavers not working not showing anything in the set up dialog.

I take it that you're just getting the preview window showing a black preview? Or is it that the OpenGL screensavers don't work if you select one as your chosen screensaver?

You provided some information about your setup except for probably the most important item: Are you using a video driver from the distribution or did you download a driver from nVidia's web site? A stock driver may not have acceleration enabled and that may be why the OpenGL screensavers aren't working.

Issue a command like:
Code:

grep -B 4 -A 9 'Section "Device' /etc/X11/xorg.conf
(Mind the quotes :) ) That'll list the section of your Xorg configuration file that shows what video driver is being used. On one of the systems at home, that command returns:
Code:

  Identifier  "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "GeForce 6200"
  BusID        "1:0:0"
  Driver      "nvidia"
  Identifier  "Device[0]"
  VendorName  "NVIDIA"
EndSection

Section "ServerLayout"
  Identifier  "Layout[all]"

If the driver shown turns out to be "nv" (or something else not "nvidia") that's probably why you're not getting the screensavers that require OpenGL to work. Download one from nVidia and run sax2 to work it into your Xorg configuration (use the instructions on the download web site). Given the card you're using, I think you'll need to download one of their "legacy" drivers.

If you can post the additional information, I think we can get you up and running.

Good luck...

Rick

landonmkelsey 01-12-2009 06:51 PM

thanks! here is what you requested
 
LMKIII (root) /var/www/html [1018]>grep -B 4 -A 9 'Section "Device' /etc/X11/xorg.conf
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24

I have been using yum update with livna for months.

Seems as though I remember some trace of info somewhere that said the
GeForce FX 5200 is no longer supported!

I'd rather buy an up to date video card than I would hashing around with nvidia drivers and Xorg.

Got an suggestions on up to date video cards costing less that $120 ???

landonmkelsey 01-13-2009 06:39 PM

the OpenGL screensavers show nothing no matter what
 
also "Really slick screensavers" show nothing

alienexplorers 01-13-2009 08:37 PM

I am running a FX5200 video card and get the best results running the 96.43.09 driver.
My xorg.conf file is setup a bit different than yours, but lets me run the opengl screensavers and desktop effects. I am listing my xorg.conf here for you to look at. BTW-I am running Ubuntu 8.10 with this setup.

Code:

terminator@terminator-desktop:~$ cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@vernadsky)  Thu Jun  5 09:26:53 UTC 2008

Section "Monitor"
        Identifier    "Monitor0"
        VendorName    "Unknown"
        ModelName      "ViewSonic VA703 SERIES"
        HorizSync      30.0 - 82.0
        VertRefresh    50.0 - 85.0
        Option        "DPMS"
EndSection

Section "Screen"
        Identifier    "Screen0"
        Device        "Videocard0"
        Monitor        "Monitor0"
        Option        "NoLogo" "True"
        Option        "RenderAccel" "False"
        Option        "AllowIndirectPixmaps" "True"
        Option        "AddARGBVisuals" "True"
        Option        "AllowGLXWithComposite" "True"
        Option        "EnablePageFlip" "true"
        Option        "TwinView" "0"
        Option        "TwinViewXineramaInfoOrder" "CRT-0"
        Option        "metamodes" "1280x1024 +0+0"
        DefaultDepth        24
        Option        "AddARGBGLXVisuals"        "True"
        SubSection "Display"
                Depth      24
        EndSubSection
EndSection

Section "Module"
        Load          "dbe"
        Load          "extmod"
        Load          "freetype"
        Load          "v4l"
        Load              "glx"
EndSection

Section "DRI"
        Group      "video"
        Mode      0660
EndSection

Section "InputDevice"
        Identifier    "Mouse0"
        Driver        "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/psaux"
        Option        "Emulate3Buttons" "no"
        Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier    "Keyboard0"
        Driver        "kbd"
EndSection

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

Section "Device"
        Identifier    "Videocard0"
        VendorName    "NVIDIA Corporation"
        BoardName      "GeForce FX 5200"
        Option        "TripleBuffer" "true"
        Driver              "nvidia"
EndSection

Section "ServerFlags"
        Option        "Xinerama" "0"
EndSection


landonmkelsey 01-13-2009 08:48 PM

I am considering buying a EVGA GeForce 7600GS video card

http://www.evga.com/products/moreInf...eries%20Family

If it doesn't work, I'll send it back

The xorg and video driver stuff is a great career but I just want to write programs.

I've seen some real horror stories on video cards and xorg(whatever that is)

John VV 01-13-2009 09:03 PM

i have given up on using kmod nvidia with my OLD gforce 2 and use the beta driver from nvidia that was built with the new xorg in fedora 9 and 10

but for the fx cards
excerpt from the fedora how to
" F10 & F9 Nvidia driver guides"
http://forums.fedoraforum.org/showthread.php?t=204752
Code:

su
rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/Mirrors/rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i386 xorg-x11-drv-nvidia-173xx-libs.x86_64
reboot


landonmkelsey 01-13-2009 09:22 PM

If I am lucky, yum update will do everything for me!

Thanks for the Fedora guides!

landonmkelsey 02-07-2009 11:08 PM

I am stuck with my FX5200.

My Dell W/S 330 bought in 2001 doesn't have PCI-Express and AND my AGP slots have the wrong voltage.

landonmkelsey 02-07-2009 11:10 PM

LMKIII (root) ~ [1003]>
LMKIII (root) ~ [1003]>
LMKIII (root) ~ [1003]>rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/...ble.noarch.rpm http://ftp-stud.hs-esslingen.de/pub/...ble.noarch.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/...ble.noarch.rpm
Retrieving http://ftp-stud.hs-esslingen.de/pub/...ble.noarch.rpm
Preparing... ########################################### [100%]
package rpmfusion-free-release-9-12.noarch (which is newer than rpmfusion-free-release-8-6.noarch) is already installed
package rpmfusion-nonfree-release-9-12.noarch (which is newer than rpmfusion-nonfree-release-8-6.noarch) is already installed
LMKIII (root) ~ [1004]>yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i386 xorg-x11-drv-nvidia-173xx-libs.x86_64
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
No package kmod-nvidia-173xx available.
No package xorg-x11-drv-nvidia-173xx-libs.i386 available.
No package xorg-x11-drv-nvidia-173xx-libs.x86_64 available.
Nothing to do

John VV 02-08-2009 12:39 AM

well you will have to use the nvidia legacy driver then , i just did a yum search to check -- not there .
http://www.nvidia.com/object/unix.html
this driver
http://www.nvidia.com/object/linux_d...173.14.12.html
-- to install --
copy it to / and from the properties make it executable ( or CLI chmod +x *.run )

Code:

su -
telinit 3
relogin as root
cd /
( run chmod if you did not use the gii)
chmod +x *.run
sh ./*.run

and fallow the on-screen directions

landonmkelsey 02-08-2009 09:50 AM

THANKS! I'm working on it in a few hours

landonmkelsey 02-08-2009 05:14 PM

compile errors

thanks anyway!

John VV 02-08-2009 06:18 PM

landonmkelsey did you install the kernel-devel ????
that is the MOST common error and is a requirement for all kernel modules

landonmkelsey 02-08-2009 08:14 PM

THANKS! compile failed again!

general fail message.

I checked via yumex and there were 3 kernel-devel slots already selected.

Before install I added a kernel devel debug.

Strange but the 3D screensavers once worked. The FX5200 must have been left behind

I went to the nvidia site and tried the nvidia advice to no avail

John VV 02-08-2009 08:54 PM

there was a upgrade to fedora xorg in fedora 9 and not all of the old drivers were updated to use the NEW xorg .But i thought that the 173 was updated ????
if you want i have a " how to " to downgrade fedora 9 's xorg to the one in fedora 8
i did this for a bit of time until i found a driver ( posted on the nvidia forum) that was ported to the new xorg
http://www.nvnews.net/vbulletin/

How to - my copy of an old one on fedoraforum edited for 64 bit ( i think?)
Code:

--------------
su -
yum -y remove xorg-x11-server-Xorg xorg-x11-server-common
rpm -e --nodeps --allmatches mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel glx-utils mesa-dri-drivers
----------
Download fedora8.repo and modify fedora.repo.
Note: The modified fedora.repo only adds an "exclude" line to ignore the unwanted Xorg Xserver 1.4

-----------
cd /etc/yum.repos.d
wget http://www.linux-ati-drivers.homecall.co.uk/fedora8.repo
-- the link on longer works
fedora8.repo

       
Code:

       
[fedora-8]
name=Fedora 8- x86_64
failovermethod=priority
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Fedora/x86_64/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


perl -i -pe "s/(\[.*\])/\1\nexclude=xorg* linuxwacom* rhpxl* mesa*/"  fedora.repo
perl -i -pe "s/(\[.*\])/\1\nexclude=xorg* linuxwacom* rhpxl* mesa*/" fedora-updates.repo
perl -i -pe "s/(\[.*\])/\1\nexclude=xorg* linuxwacom* rhpxl* mesa*/" fedora-updates-testing.repo
perl -i -pe "s/(\[.*\])/\1\nexclude=xorg* linuxwacom* rhpxl* mesa*/" fedora-updates-newkey.repo
perl -i -pe "s/(\[.*\])/\1\nexclude=xorg* linuxwacom* rhpxl* mesa*/" fedora-updates-testing-newkey.repo
---
you will also need to edit any "repos" not done by the perl code

----------
Install Development Tools/Libraries
-----------
yum clean all
yum install xorg-x11-server-Xorg
yum  groupinstall "X Window System"
yum  install mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel synaptics
# Optional, re-install compiz.
yum  install compiz-gnome compiz-fusion* gnome-compiz-manager ccsm
------------
Now, just install the Nvidia drivers.( use the nvidia.run)
------------



All times are GMT -5. The time now is 09:49 PM.