View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Thu Sep 11, 2014 7:15 pm Post subject: export VDPAU_DRIVER=va_gl globally? |
|
|
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 |
|
|
N8Fear Tux's lil' helper
Joined: 15 Apr 2013 Posts: 140 Location: Berlin (Germany)
|
Posted: Thu Sep 11, 2014 8:32 pm Post subject: |
|
|
Each login shell should source /etc/profile on startup. Try to put it there. |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Thu Sep 11, 2014 10:17 pm Post subject: |
|
|
Is /etc/profile.d/ a better choice? |
|
Back to top |
|
|
|