From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 71282] New: Cannot authenticate second libva client Date: Tue, 05 Nov 2013 23:05:02 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1693231957==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BAADEF85B for ; Tue, 5 Nov 2013 15:05:02 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1693231957== Content-Type: multipart/alternative; boundary="1383692702.AEaf20.7109"; charset="us-ascii" --1383692702.AEaf20.7109 Date: Tue, 5 Nov 2013 23:05:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=71282 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 --> 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. --1383692702.AEaf20.7109 Date: Tue, 5 Nov 2013 23:05:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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:
  • You are the assignee for the bug.
--1383692702.AEaf20.7109-- --===============1693231957== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1693231957==--