Description of problem: I've been trying to check raw performance of glxgears and noticed, that now when vblank is default it's not so easy to disable it via 'suggested' way by using .drirc file in my home directory. I've checked several various combinations in this file and never found a working version: i.e.: -- <driconf> <device screen="0" driver="i965"> <application name="all"> <option name="vblank_mode" value="3" /> </application> <application name="glxgears" executable="glxgears"> <option name="vblank_mode" value="0"/> </application> </device> </driconf> -- However plain simple usage of 'vblank_mode=0 glxgears' on command line seems to have desired effect and vblank is no longer slowing down FPS numbers. And it give this output: $ vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: option value of option vblank_mode ignored. ATTENTION: option value of option vblank_mode ignored. Version-Release number of selected component (if applicable): mesa-dri-drivers-7.9-0.7.fc15.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Confirming. I have done the following: $ xvattr -a XV_SYNC_TO_VBLANK -v 0 $ export vblank_mode=0 and installed .drirc <driconf> <device screen="0" driver="dri2"> <application name="Default"> <option name="vblank_mode" value="0" /> </application> </device> </driconf> and I still get: $ glxgears ATTENTION: default value of option vblank_mode overridden by environment. 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.068 FPS
It seems to be fixed in Fedora 14 at least for intel driver.
(In reply to comment #2) > It seems to be fixed in Fedora 14 at least for intel driver. ??? This was reported against Rawhide (F16), which may mean the reporter actually uses F15.
(In reply to comment #3) > (In reply to comment #2) > > It seems to be fixed in Fedora 14 at least for intel driver. > > ??? This was reported against Rawhide (F16), which may mean the reporter > actually uses F15. You are smoking something very weird. First of all, this bug is no longer valid. Secondly, this bug report was reported on 2010-09-15, even before F14 was out (2010–11-02).
I can confirm it currently does work on my rawhide mixture of F15/F16 currently using this package: mesa-dri-drivers-7.10-0.27.fc15.x86_64
(In reply to comment #5) > I can confirm it currently does work on my rawhide mixture of F15/F16 > currently using this package: > > mesa-dri-drivers-7.10-0.27.fc15.x86_64 Then do us a favour, please, close this bug report as RESOLVED/FIXED. Thank you.