Bug 88948 - Normal user cannot encode more than one stream in parallel on a headless system (where root can)
Summary: Normal user cannot encode more than one stream in parallel on a headless syst...
Status: RESOLVED WORKSFORME
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 17:21 UTC by Sean V Kelley
Modified: 2015-02-04 05:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sean V Kelley 2015-02-03 17:21:31 UTC
Description Florent Thiery [reporter] 2013-12-02 18:04:22 UTC
Maybe expected/normal, but when launching two pipelines in parallel doesn't
work:
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 1
libva error: va_getDriverName() failed with operation failed,driver_name=i965
ERROR: Pipeline doesn't want to pause.
ERROR: from element
/GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: Could not
initialize supporting library.
Additional debug info:
gstvideoencoder.c(1426): gst_video_encoder_change_state ():
/GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0:
Failed to open encoder

Btw using a headless system

via:  https://bugzilla.gnome.org/show_bug.cgi?id=719709
Comment 1 Sean V Kelley 2015-02-03 17:25:01 UTC
Please reference https://bugzilla.gnome.org/show_bug.cgi?id=719709
Comment 2 haihao 2015-02-04 02:24:53 UTC
The latest libva has supported drm render node, the application should open /dev/dri/renderD128 instead of /dev/dri/card0.
Comment 3 haihao 2015-02-04 05:25:23 UTC
I checked gst-vaapi 0.5.9 and 0.5.10.  gst-vaapi 0.5.9 fails however gst-vaapi 0.5.10 works fine. So there is nothing to do in the driver.


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.