View previous topic :: View next topic |
Author |
Message |
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Aug 10, 2012 6:25 pm Post subject: ~/.drirc is completely ignored |
|
|
Code: | ~ $ grep vblank .drirc
<option name="vblank_mode" value="0" />
~ $ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
299 frames in 5.0 seconds = 59.745 FPS
~ $ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
10050 frames in 5.0 seconds = 2009.470 FPS |
What's wrong here? If I run `strace glxgears` it's definitely reading the config file, but the settings all get ignored. |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Fri Aug 10, 2012 9:39 pm Post subject: |
|
|
Hello,
try /etc/drirc and/or ~/.drirc Code: | <driconf>
<device screen="0" >
<application name="all">
<!-- Always synchronize with vertical refresh to avoid tearing -->
<option name="vblank_mode" value="0"/>
</application>
</device>
</driconf> |
It work for me. At the same time in my .bashrc I have Code: |
export vblank_mode=0 |
Note that 1 disable too vblank_mode. 2 or 3 enable it for me. _________________ Paul |
|
Back to top |
|
|
|