Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
~/.drirc is completely ignored
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2508
Location: UK

PostPosted: Fri Aug 10, 2012 6:25 pm    Post subject: ~/.drirc is completely ignored Reply with quote

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
View user's profile Send private message
Logicien
l33t
l33t


Joined: 16 Sep 2005
Posts: 851
Location: Montréal

PostPosted: Fri Aug 10, 2012 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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