LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-22-2004, 02:08 PM   #1
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
xscreensaver slow


dear all,

I'm running Slackware 10 on my Dell Latitude D800 which has a GeForce FX Go5200 32 Mb video card. I installed the lastest Nvidia driver (6629) on a 2.6.9 kernel and xorg 6.7. xscreensaver is running really slow in showing the OpenGL screensavers. The bouncing cow bounces very slow and shocky not to speak of the chess game which takes ages to get in the view. The preview (in the small window) looks nice and smooth though.


Hardware accelaration is activated (checked by glxinfo) and cat /proc/driver/nvidia/agp/status gives me

Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Enabled
SBA: Enabled

Tux racer is running really smooth, no problems there.
I tried activating DRI in the xorg.conf but it made no difference. If I maximise the glxgears window I get:

12 frames in 5.0 seconds = 2.400 FPS
13 frames in 5.0 seconds = 2.600 FPS
12 frames in 5.0 seconds = 2.400 FPS

Is it normal to get such a crappy performance from this card or is something wrong? Is xscreensaver using some other OpenGL library or something? Should I install anything else (like MESA but I believe that's a nono with the Nvidia driver).?
 
Old 11-25-2004, 12:46 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
you might turn on DMA.............
what do you get with: replace xx with partition
Code:
hdparm -i /dev/hdxx
 
Old 11-26-2004, 01:43 AM   #3
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Original Poster
Rep: Reputation: 15
thank you for your response,

unfortunately dma is already turned on. I do notice that CPU goes to 100 % when showing an opengl screensaver as if the screensaver is not using the hardware accelaration (or DMA ).
 
Old 11-26-2004, 01:52 AM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Run glxinfo and examine the output. Specifically, look for direct rendering: Yes.

Those framerates are horrendous. My lowly G4 800MHz gets >200fps in X11 on OSX, so you have a problem for sure.
 
Old 11-26-2004, 02:05 AM   #5
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Original Poster
Rep: Reputation: 15
that's the weird thing, direct rendering is on:

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_multisample, GLX_NV_float_buffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
...

could it be the driver itself or something in my kernel config?
 
Old 11-27-2004, 07:24 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by 320mb
you might turn on DMA.............
what do you get with: replace xx with partition
Code:
hdparm -i /dev/hdxx
DMA would most likely not help in such situations ever. Most screensavers are so small in size, once started, they are going to run from RAM or Memory anyways..
 
Old 11-27-2004, 09:12 PM   #7
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Quote:
Originally posted by trickykid
DMA would most likely not help in such situations ever. Most screensavers are so small in size, once started, they are going to run from RAM or Memory anyways..
That's only true if all your machine is doing is running the screensaver (though I too doubt that it's the cause of the problem in this case). Start up a screensaver, turn off dma on the drives, do something like dd if=/dev/zero of=/home/you/junk.img bs=512 and watch the framerate go down the toilet.

Just for giggles, run

hdparm -c 1 -d 1 /dev/hda

and repeat for your other drives.
 
Old 11-28-2004, 03:52 AM   #8
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Original Poster
Rep: Reputation: 15
ok, the transfer mode was set to 16 bit. It's now 32 but that doesn't change much. Is there a way to make this change permanent (besides putting the hdparm command in a boot script).

I did found a solution for the lousy performance but that doesn't mean I understand it. In xscreensaver-demo for each openGL screensaver I go to settings , advanced, Visual and I change it from GL to Best. With this setting (what ever it implies) practically al openGL screensaver (except the chess game) run really smooth. Does any of you now what the setting does?
 
Old 04-06-2005, 03:29 PM   #9
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Rep: Reputation: 30
This thread is really old, but if anyone else has the same problem...
If you're using KDE, where you select the screensaver in the Control Center, make sure the box that says "Make aware of Power Management" is UNchecked.
 
  


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
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 Suse/Novell 6 01-28-2007 12:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 01:06 PM
xscreensaver rhraz Linux - General 4 02-25-2004 07:26 AM
RH8 vs. W2k - Slow, slow, slow zerojosh Linux - Software 2 06-30-2003 07:19 PM


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