[Bug 71282] New: Cannot authenticate second libva client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Priority medium
Bug ID 71282
Assignee dri-devel@lists.freedesktop.org
Summary Cannot authenticate second libva client
Severity normal
Classification Unclassified
OS Linux (All)
Reporter rekjanov@epiphan.com
Hardware x86-64 (AMD64)
Status NEW
Version unspecified
Component General
Product DRI

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!


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux