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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-22-2004, 02:08 PM
|
#1
|
|
Member
Registered: Nov 2003
Location: Belgium
Posts: 81
Rep:
|
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).?
|
|
|
|
11-25-2004, 12:46 PM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
you might turn on DMA.............
what do you get with: replace xx with partition
Code:
hdparm -i /dev/hdxx
|
|
|
|
11-26-2004, 01:43 AM
|
#3
|
|
Member
Registered: Nov 2003
Location: Belgium
Posts: 81
Original Poster
Rep:
|
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 ).
|
|
|
|
11-26-2004, 01:52 AM
|
#4
|
|
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:
|
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.
|
|
|
|
11-26-2004, 02:05 AM
|
#5
|
|
Member
Registered: Nov 2003
Location: Belgium
Posts: 81
Original Poster
Rep:
|
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?
|
|
|
|
11-27-2004, 07:24 PM
|
#6
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
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.. 
|
|
|
|
11-27-2004, 09:12 PM
|
#7
|
|
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:
|
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.
|
|
|
|
11-28-2004, 03:52 AM
|
#8
|
|
Member
Registered: Nov 2003
Location: Belgium
Posts: 81
Original Poster
Rep:
|
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?
|
|
|
|
04-06-2005, 03:29 PM
|
#9
|
|
Member
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 397
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:40 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|