Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-10-06, 09:54 AM   #1
Thedayofcondor
Registered User
 
Join Date: Jun 2006
Posts: 12
Default Composite extension and GLX performances

Hi,
I just tried enabling the Composite extension, but I noticed a great performance loss in OpenGL applications.
For example, glxgears drops from 1100 fps to less than 200 fps, and mplayer using gl become unusable (something around 2fps!)

Has this to be considered normal or am I doing something wrong?

I am using 8774 on 5200 FX, Mandriva cooker, XOrg 7.1
Thedayofcondor is offline   Reply With Quote
Old 09-10-06, 11:17 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Composite extension and GLX performances

Some degree of performance loss is expected when using the Composite extension, however the loss that you're reporting sounds excessive, assuming that your hardware is fairly recent, and not bogged down by other applications. Please generate and post an nvidia-bug-report.log while the problem is present.

It would also be useful to know whether this problem is specific to more than one window manager, and which movie(s) reproduce the problem with mplayer.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-10-06, 12:29 PM   #3
Thedayofcondor
Registered User
 
Join Date: Jun 2006
Posts: 12
Default Re: Composite extension and GLX performances

Thank you for the quick reply.

This confirms what I was expecting - a 5x decrease in performances has not to be considered normal (I would expect something about 10% at most).

Note that if I just enable the composite extension but I do not use it there is no performance loss - this happens only if I use xcompmgr in KDE

About mplayer - this happens no matter which avi file I try to play: the CPU use stays really low (~10%), but the frame rate is unecceptable. If I enable gl2, things go much more smootly, but I have an increased cpu usage (~80%) and mplayer "freezes" for about 1 second every 3/4 seconds.

I attached the nvidia bug report as requested
Attached Files
File Type: log nvidia-bug-report.log (96.9 KB, 129 views)
Thedayofcondor is offline   Reply With Quote
Old 09-10-06, 12:38 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Composite extension and GLX performances

According to your bug report, you're using an 800Mhz CPU, so its possible that the CPU just isn't able to handle the load of running a compostied desktop. It is likely not helping that you're running at an AGP-1x rate:
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode

Is your motherboard capable of a faster rate than 1x?
Does this problem persist in window managers other than KDE?
What is the output from mplayer when you're seeing the performance problem?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-10-06, 01:03 PM   #5
Thedayofcondor
Registered User
 
Join Date: Jun 2006
Posts: 12
Default Re: Composite extension and GLX performances

Hi,
I know mine is not a top notch system , anyway I can have a smooth playback with mplayer using plain x11 (except while viewing high-bitrate AVIs).

However, I just solved the mplayer problem enabling double buffering (note, I get a smoother playback with it disabled if the composite extension is not enabled).
Now I get a smooth play like before (unless I make the video window semitransparent, but I really do not need that!)

About AGP 1x - my system supports up to 4x, but this seems to be broken - my machine freezes both using windows ans linux in less that 5 minutes if I enable 2x or 4x (with that particular videocard only!).

Anyway, I will try enabling 2X to see if that mitigates the problem (I still get 200 fps in glxgears)
Thedayofcondor is offline   Reply With Quote
Old 09-10-06, 01:16 PM   #6
Thedayofcondor
Registered User
 
Join Date: Jun 2006
Posts: 12
Default Re: Composite extension and GLX performances

Hello again,
just enabled AGP 2x, without any appreciable difference.

I must say the slowdown seems only to affect glxgears - I tried some OpenGL games, and I cannot see any difference compared to without the composite extension.
Thedayofcondor is offline   Reply With Quote
Old 09-10-06, 03:29 PM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Composite extension and GLX performances

glxgears is not a useful benchmark, so if that's the only remaining concern, then there isn't anything to worry about at this point.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-12-06, 11:36 AM   #8
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Composite extension and GLX performances

FYI, I just benchmarked Quake4 with xcompmgr active and the average FS (running a ~3 minute long demo) dropped from ~80fps to ~65fps.

What's the source of the performance drop? Is it the X.org COMPOSITE manager failing to detect a full screen SDL application or is a driver problem?
If this is indeed a driver problem, would it be fixed in the next driver release?

- Gilboa
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote

Old 09-12-06, 11:41 AM   #9
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Composite extension and GLX performances

The performance drop is due to how compositing works. Everything has to be drawn off screen, and then composited back onto the desktop. This is expected behavior, and not a bug.

Thanks,
-Lonni
netllama is offline   Reply With Quote
Old 09-12-06, 12:25 PM   #10
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Composite extension and GLX performances

Thought as much. Thanks for clearing this up.
OT question: Shouldn't the composite manager disable itself when a full screen application (SDL, OpenGL, etc) is being executed?

- Gilboa
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 09-12-06, 01:20 PM   #11
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: Composite extension and GLX performances

Quote:
Originally Posted by gilboa
Thought as much. Thanks for clearing this up.
OT question: Shouldn't the composite manager disable itself when a full screen application (SDL, OpenGL, etc) is being executed?

- Gilboa
a compositing manager should not redirect to off screen pixmap when a gl app is used. I think compiz has such a option, but I am not sure (can't test no gl_ext_tfp )
Dragoran is offline   Reply With Quote
Old 09-12-06, 02:03 PM   #12
fozner
Registered User
 
Join Date: Sep 2005
Posts: 63
Default Re: Composite extension and GLX performances

That looks like a useful option. Compositing that turns itself on and off. I like it. You know what I would like even more? A big toggle switch where I could turn it on and off without having to log in and out. (pirate) No, actually, for the most part it works fine now, but my system is pretty fast.
fozner is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Glx mrbig1344 NVIDIA Linux 7 09-30-02 06:45 AM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM
RH7.3 and nForce - can't find the module dmw400 NVIDIA Linux 4 08-05-02 12:14 PM

All times are GMT -5. The time now is 06:51 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.