Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65126 - SDL speed problems with compositer enabled in xorg-x11
Summary: SDL speed problems with compositer enabled in xorg-x11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 12:55 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2004-09-23 23:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
very simple sdl benchmark (sdlbench.c,1.04 KB, text/plain)
2004-09-23 12:56 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2004-09-23 12:55:27 UTC
I'm experiencing sdl speed problems on xorg-x11-6.8.0. In framebuffer the frames are MUCH higher.
Try the attached program to see if it is the same for you.

My results:
System 1 (Athlon 700, GeForce 2 GTS, 768MB RAM)
Framebuffer: 324 frames done in 10010995 microseconds.
X: 63 frames done in 10082970 microseconds.

System 2 (Athlon XP 2000+, Radeon 9700 Pro, 512MB DDR RAM)
Framebuffer: 823 frames done in 10005966 microseconds.
X: 74 frames done in 10082957 microseconds.

System 3 (Pentium 4 2.5 GHz, Radeon 9000, 512 MB RAM)
X: 72 frames done in 10052040 microseconds.
Framebuffer: 889 frames done in 10002272 microseconds.


Reproducible: Always
Steps to Reproduce:
Comment 1 Christoph Brill (egore) (RESIGNED) 2004-09-23 12:56:49 UTC
Created attachment 40242 [details]
very simple sdl benchmark

The results were taken from an a.out compiled using

gcc `sdl-config --libs` -I/usr/include/SDL sdlbench.c
Comment 2 SpanKY gentoo-dev 2004-09-23 17:49:28 UTC
works fine for me

608 frames done in 10006907 microseconds.

P4 1.8Ghz GeForce4 MX 440

sounds like your video card isnt setup properly and/or hardware acceleration isnt enabled
Comment 3 Christoph Brill (egore) (RESIGNED) 2004-09-23 23:54:22 UTC
That's what I thought, too.

But: System 1 and System 3 show (by using glxinfo) that they both are using direct rendering. Any hints on what else could be wrong?

BTW: SpanKY, You tested it with xorg-x11-6.8.0?
Comment 4 Christoph Brill (egore) (RESIGNED) 2004-09-23 23:59:45 UTC
Hmm, I guess I fixed it ... I commented out the the Section that enables compositer extension.

System 3 shows now:
X: 847 frames done in 10002670microseconds.
Framebuffer: 891 frames done in 10001347microseconds.

I'll "resolve-fixed" the bug, but someone should remember it (if other users have the same problem).