The time now is Mon 20 May 2013, 15:37
All times are UTC - 4 |
| Author |
Message |
MoebusNet
Joined: 04 Jun 2011 Posts: 89
|
Posted: Tue 10 Jan 2012, 17:51 Post subject:
question about glx-gears |
|
I understand that glx-gears is not a benchmark, but I am curious as to why my video frame-rate is so slow:
| Code: | # glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.043 FPS
300 frames in 5.0 seconds = 59.968 FPS
300 frames in 5.0 seconds = 59.947 FPS
300 frames in 5.0 seconds = 59.959 FPS
300 frames in 5.0 seconds = 59.949 FPS
300 frames in 5.0 seconds = 59.959 FPS
^C
# report-video
VIDEO REPORT: Saluki, version 006
Chip description:
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller
Driver used by Xorg:
vesa
Video mode used by Xorg:
Resolution: Depth 24 Depth: "Display"
...the above also recorded in /tmp/report-video
|
Does being synchronized to the vertical refresh rate slow down my video?
BTW, I think glx-gears has a bug where it thinks I'm using the vesa drive instead of the intel if that matters; xorg-wizard set intel as the driver.
Any information/advice welcome. TIA
_________________ Acer Aspire One D255-2301 (N450 Atom @ 1.6 Ghz, 1 Gb RAM, 160 Gb HDD w/WinXP, ENE SD card reader, Alps touchpad) 5.28/5.3.1 via manual-frugal ext4 USB flash drive (4Gb) using GRUB4DOS
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 10 Jan 2012, 18:22 Post subject:
|
|
For straight to Desktop builds, report-video will always say vesa unless you run the xorgwizard. This is definitely a bug in report-video.
The FPS is slow because of the vsync.
Some cards seem unable to cope with vertical refresh syncing and glxgears will run really jerky - for sure the Eeepc has this problem.
Try this instead:
| Code: | | vblank_mode=0 glxgears |
|
|
Back to top
|
|
 |
MoebusNet
Joined: 04 Jun 2011 Posts: 89
|
Posted: Tue 10 Jan 2012, 18:50 Post subject:
|
|
Thanks Jemimah, major improvement!
| Code: | # vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
2238 frames in 5.0 seconds = 447.483 FPS
2804 frames in 5.0 seconds = 560.783 FPS
2807 frames in 5.0 seconds = 561.269 FPS
2784 frames in 5.0 seconds = 556.746 FPS
2872 frames in 5.0 seconds = 574.391 FPS
2830 frames in 5.0 seconds = 565.971 FPS
|
Is there something I should do to improve my video performance, or is this just affecting glx-gears measurement?
_________________ Acer Aspire One D255-2301 (N450 Atom @ 1.6 Ghz, 1 Gb RAM, 160 Gb HDD w/WinXP, ENE SD card reader, Alps touchpad) 5.28/5.3.1 via manual-frugal ext4 USB flash drive (4Gb) using GRUB4DOS
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 10 Jan 2012, 19:20 Post subject:
|
|
| MoebusNet wrote: | Thanks Jemimah, major improvement!
| Code: | # vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
2238 frames in 5.0 seconds = 447.483 FPS
2804 frames in 5.0 seconds = 560.783 FPS
2807 frames in 5.0 seconds = 561.269 FPS
2784 frames in 5.0 seconds = 556.746 FPS
2872 frames in 5.0 seconds = 574.391 FPS
2830 frames in 5.0 seconds = 565.971 FPS
|
Is there something I should do to improve my video performance, or is this just affecting glx-gears measurement? |
You can run the xorgwizard and create an xorg.conf. Then look up what the setting is to disable vblank.
I think it really depends on the application whether you want vsyncing or not. For Compiz you do - I guess some games you don't. I think most of the time you can set it within the app.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|