question about glx-gears

For drivers and kernel modules.
Post Reply
Message
Author
MoebusNet
Posts: 89
Joined: Sat 04 Jun 2011, 20:50

question about glx-gears

#1 Post by MoebusNet »

I understand that glx-gears is not a benchmark, but I am curious as to why my video frame-rate is so slow:

Code: Select all

# 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

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#2 Post by jemimah »

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: Select all

vblank_mode=0 glxgears

MoebusNet
Posts: 89
Joined: Sat 04 Jun 2011, 20:50

#3 Post by MoebusNet »

Thanks Jemimah, major improvement!

Code: Select all

# 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

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#4 Post by jemimah »

MoebusNet wrote:Thanks Jemimah, major improvement!

Code: Select all

# 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.

Post Reply