Skip to contentSkip to conversation

New: Cannot authenticate second libva client

Bug 71282 [email protected] 1 participant 2 messages Nov 5, 2013 – Nov 6, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=71282

Priority: medium
Bug ID: 71282
Assignee: [email protected]
Summary: Cannot authenticate second libva client
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 71282] Cannot authenticate second libva client

https://bugs.freedesktop.org/show_bug.cgi?id=71282

Roman Ekjanov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Roman Ekjanov <[email protected]> --- Sorry, figured it out - libva is at fault

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel