Sorry, you need to enable JavaScript to visit this website.

Skylake and X-Video Adaptors, video fullscreen not possible anymore

12 posts / 0 new
Stretch's picture
Starter
Stretch

Feb 15, 2016 - 02:53am

  • Hello,

     

    On Debian Stretch (Testing) with an Intel Skylake i3-6320, which seems to include quite up-to-date Intel graphics drivers, it seems that I have a problem with X-Video Adaptors:

    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

     

    I have only the "Video Sprite" now (before with Haswell, I got also a "Textured Video" Adaptor).

    With this Adaptor, the video players (like mplayer) cannot scale to fullscreen anymore.

    Of course I can use other video output (vdpau, vaapi, gl, for instance), but I thought that it should be reported.

     

    Regards,

    Feb 15, 2016 - 02:53am
  • Which kernel version are you on and what i915 module parameters are in effect?

    Feb 16, 2016 - 03:33pm
  • I am running an up-to-date Debian Testing (default install), so the kernel is linux-image-4.3.0-1 :

    https://packages.debian.org/stretch/linux-image-amd64

     

    I am not using any i915 module parameters. Should I ?

     

    Thanks

    Feb 16, 2016 - 10:39pm
  • Maybe - the i915 module will have some default parameters set, you can see the docs and current values:

    (IFS=": "; modinfo i915 | grep ^parm | while read x name desc; do echo "$name"; echo "$desc"; sudo cat /sys/module/i915/parameters/$name; echo; done)

    One of particular interest will be named something like "preliminary _hardware_support" - when new hardware support goes in it's disabled by default and you need to set that flag to turn it on. Later versions of the driver wil turn on the new hardware support by default.

    I'm also not sure when the skylake support went in - might be 4.4 rather than 4.3.
    You can check this with something like:

    MODEL=$(lspci -vvnn| grep -iE '^0.*(graph|VGA)' | sed -re 's/^.*\[8086:(....)\].*/\1/');
    modinfo i915 | grep -iF "00008086d0000$MODEL"

    Basically grab the 8086:XXXX number of your GPU from the lspci -kvnn output and
    see if your i915 module has a matching pci alias entry.

    If it doesn't, then the driver doesn't claim to support this GPU.

    Technically the pci alias can contain wildcards so you might not find a match this way even if the driver is good, but as far as I can tell the i915 module lists each supported PCI ID individually.

    Feb 18, 2016 - 12:01pm
  • Here are the i915 parameters :

    modeset,-1
    panel_ignore_lid,1
    semaphores,-1
    enable_rc6,1
    enable_fbc,-1
    lvds_channel_mode,0
    lvds_use_ssc,-1
    vbt_sdvo_panel_type,-1
    reset,Y
    enable_hangcheck,Y
    enable_ppgtt,2
    enable_execlists,1
    enable_psr,0
    preliminary_hw_support,0
    disable_power_well,1
    enable_ips,1
    fastboot,N
    prefault_disable,N
    load_detect_test,N
    invert_brightness,0
    disable_display,N
    disable_vtd_wa,N
    enable_cmd_parser,1
    use_mmio_flip,0
    mmio_debug,0
    verbose_state_checks,Y
    edp_vswing,0
    enable_guc_submission,N
    guc_log_level,-1

     

    I've tried with and without i915.preliminary_hw_support, and the result is the same (i've read somewhere that this parameter is not useful anymore starting from Kernel 4.3).

     

    And i915 module has a matching pci alias entry :

    alias:          pci:v00008086d00001912sv*sd*bc03sc*i*

     

    Any other idea ?

    Thanks for your help so far.

     

    Feb 21, 2016 - 09:22am
  • Nothing immediately springs to mind. I'll pass the question about the possibly-missing adaptor on to the devs and see what they say. ( I was going to suggest trying out a 4.4 kernel but I'm not sure any packages for that have landed yet. )

    Feb 22, 2016 - 04:57pm
  • B's picture
    B

    Hi

    I got the same issue on Fedora 23 & i5-6400 with kernels up to 4.5rc4

    No effect. Video is crappy and not resizable.

    And I could underline problem that is bigger than mplayer. Skype. I can't switch it to gl or something else like mplayer.

    Feb 23, 2016 - 05:48am
  • I'm going to open an offical bug for this - I'll post the link here when it's done - the devs will probably ask further questions there if they don't already have a fix in the pipeline.

    Mar 01, 2016 - 06:53am
  • Thanks, that would be very useful. I'm waiting for the devs to ask further questions.

    Mar 01, 2016 - 09:37am
  • Bug filed in fdo bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94355

    Mar 01, 2016 - 09:56am
  • Problem solved with the latest update of intel driver:
    2.99.917+git20160522-1
    Jun 21, 2016 - 01:43am