Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
export VDPAU_DRIVER=va_gl globally?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Thu Sep 11, 2014 7:15 pm    Post subject: export VDPAU_DRIVER=va_gl globally? Reply with quote

I need to set VDPAU_DRIVER=va_gl in order for mplayer to accelerate with vaapi via vdpau. I can do that per-user in ~/.bashrc but how can I do it globally for all users?

http://wiki.gentoo.org/wiki/VDPAU
Back to top
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Thu Sep 11, 2014 8:32 pm    Post subject: Reply with quote

Each login shell should source /etc/profile on startup. Try to put it there.
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Thu Sep 11, 2014 10:17 pm    Post subject: Reply with quote

Is /etc/profile.d/ a better choice?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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