Created attachment 88733 [details] Test program Environment: * ubuntu 12.04.3 LTS with 3.8 kernel * No X11, pure DRM * libva 0.34 * libdrm 2.4.43 * regular user account, no CAP_SYS_ADMIN, but in 'video' group * A simple program, which calls vaInitialize and then sleeps for several seconds. * Intel video hardware (Ivy Bridge) Problem: If another test program instance is started while the first is sleeping, it fails in va_getDriverName. Debugging and source review shows that the first instance is authenticated automatically, because it gets the master. Second instance tries to authenticate using authmagic, but fails because auth magic ioctl is marked as DRM_AUTH - so you need to be already authenticated in order to authenticate!
Sorry, figured it out - libva is at fault
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.