[Bug 71282] New: Cannot authenticate second libva client
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 5 15:05:02 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71282
Priority: medium
Bug ID: 71282
Assignee: dri-devel at lists.freedesktop.org
Summary: Cannot authenticate second libva client
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: rekjanov at epiphan.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: General
Product: DRI
Created attachment 88733
--> https://bugs.freedesktop.org/attachment.cgi?id=88733&action=edit
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!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131105/f5b1ffac/attachment.html>
More information about the dri-devel
mailing list