Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 12:29
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
question about glx-gears
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
MoebusNet

Joined: 04 Jun 2011
Posts: 89

PostPosted: 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
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
MoebusNet

Joined: 04 Jun 2011
Posts: 89

PostPosted: 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
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
Jump to:  

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
[ Time: 0.0532s ][ Queries: 12 (0.0051s) ][ GZIP on ]