[Bug 94559] New: Intel Video Driver V2.99.917 Does not support multiple video playback using XVideo on Skylake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 15 19:54:54 UTC 2016


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

            Bug ID: 94559
           Summary: Intel Video Driver V2.99.917 Does not support multiple
                    video playback using XVideo on Skylake
           Product: DRI
           Version: unspecified
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: ibr at wegener.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Hello.

We have run into a issue with the XV implementation on Skylake using the intel
video driver V2.99.917. 

Looking at the source we found Skylake processors are initialised with a
generic SNA backend.

This causes video related setup to baseline, yielding only a single video
sprite adapter and port.

Playing more than one video with the X Video extension (XV) will then fail
because the video player cannot grab an available port.

XV is a pretty core part of doing video on the X Windows system. On older
hardware such as Haswell, a textured video adapter and many ports are
initialized by the driver, and thus Haswell does not have this limitation.

Tests to reproduce the XV Bug on a Intel Skylake G4400 or I5-6400 with Intel
Driver 2.99.917

Try play more than one instance of video using the XV backend:

Gstreamer:

gst-launch-1.0 filesrc location=testvideo.mp4 ! decodebin ! xvimagesink

MPV

mpv --hwdec=vaapi -vo=xv testvideo.mp4


Printout of XV

X-Video Extension version 2.2

screen #0

  Adaptor #0: "Intel(R) Video Sprite"

    number of ports: 1

    port base: 75

    operations supported: PutImage

    supported visuals:

      depth 24, visualID 0x20

    number of attributes: 2

      "XV_COLORKEY" (range 0 to 16777215)

              client settable attribute

              client gettable attribute (current value is 66046)

      "XV_ALWAYS_ON_TOP" (range 0 to 1)

              client settable attribute

              client gettable attribute (current value is 0)

    maximum XvImage size: 8192 x 8192

    Number of image formats: 3

      id: 0x32595559 (YUY2)

        guid: 59555932-0000-0010-8000-00aa00389b71

        bits per pixel: 16

        number of planes: 1

        type: YUV (packed)

      id: 0x59565955 (UYVY)

        guid: 55595659-0000-0010-8000-00aa00389b71

        bits per pixel: 16

        number of planes: 1

        type: YUV (packed)

      id: 0x18424752

        guid: 50415353-5448-524f-5547-485247423234

        bits per pixel: 32

        number of planes: 1

        type: RGB (packed)

        depth: 24

        red, green, blue masks: 0xff0000, 0xff00, 0xff

This particular bug is having a seriously negative impact on UP Stream
Packages.
There have been distribution packages incorporating patches to disable loading
the Intel driver plus SNA in favour of GLAMOR and some kind of more generic
mode setting driver built into X.Org; GLAMOR currently has it's own issues.

Both

Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=1305369

Debian following suite:
http://anonscm.debian.org/cgit/pkg-xorg/driver/xserver-xorg-video-intel.git/commit/?id=e43d5b2191c5d9695e29ad2f5ac16c15dc1d9543

Have tried to skirt the issue with the Intel XV implementation in favor of
Glamor but on Skylake (Gen 9) Glamor does not offer the same level of
capabilities as Intel SNA on previous chipsets (e.g. Gen 8 and Gen 7).

Thanks Paul

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160315/87c40bac/attachment-0001.html>


More information about the intel-gfx-bugs mailing list