VDPAU on Dell Inspiron (Intel GMA i915 x2 / Atom N550 x4)

Hey Folks :slight_smile:

This the way how i gut vdpau working on my Dell Netbook (Ispiron Duo 1090), running OpenSuSE 13.1

Source:

http://software.opensuse.org/search?q=intel&baseproject=openSUSE%3A12.3&search_devel=false&search_unsupported=false
https://bbs.archlinux.org/viewtopic.php?id=166593&p=2
http://askubuntu.com/questions/88847/how-do-i-enable-vdpau-hardware-video-acceleration-support-for-non-nvidia-cards
http://www.webupd8.org/2013/09/adobe-flash-player-hardware.html
https://bbs.archlinux.org/viewtopic.php?id=166593
https://bbs.archlinux.org/viewtopic.php?id=161787
https://wiki.archlinux.org/index.php/NVIDIA#Enabling_Pure_Video_HD_.28VDPAU.2FVAAPI.29
https://bbs.archlinux.org/viewtopic.php?id=176831

hwinfo --gfx
#Output:

09: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.319]
  Unique ID: _Znp.dz7awhVz921
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel Pineview Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa011 "Pineview Integrated Graphics Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x048b 
  Revision: 0x02
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0x98180000-0x981fffff (rw,non-prefetchable)
  I/O Ports: 0x50c0-0x50c7 (rw)
  Memory Range: 0x80000000-0x8fffffff (ro,non-prefetchable)
  Memory Range: 0x98000000-0x980fffff (rw,non-prefetchable)
  IRQ: 45 (75581 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d0000A011sv00001028sd0000048Bbc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

10: PCI 02.1: 0380 Display controller
  [Created at pci.319]
  Unique ID: ruGf.8QVCqXodRf6
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Intel Pineview Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa012 "Pineview Integrated Graphics Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x048b 
  Revision: 0x02
  Memory Range: 0x98100000-0x9817ffff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d0000A012sv00001028sd0000048Bbc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #9

cat /var/log/Xorg.0.log | grep i91

Output:

        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    15.658] (II) intel(0): [XvMC] i915_xvmc driver initialized.
    15.658] (II) intel(0): [DRI2]   DRI driver: i915
    15.658] (II) intel(0): [DRI2]   VDPAU driver: i915
    15.702] (II) AIGLX: Loaded and initialized i915

dmesg | grep i91

Output:

    3.104912] i915 0000:00:02.0: setting latency timer to 64
    3.198199] i915 0000:00:02.0: irq 45 for MSI/MSI-X
    3.574071] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
    3.957178] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    3.957187] i915 0000:00:02.0: registered panic notifier
    3.968629] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    9.574269] Modules linked in: gpio_ich iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap dell_laptop snd_hda_codec_conexant dcdbas snd_hda_intel ath3k uvcvideo snd_hda_codec snd_hwdep videobuf2_core snd_pcm mcs7830 hid_multitouch videodev usbnet mii bluetooth coretemp videobuf2_vmalloc videobuf2_memops snd_seq joydev arc4 serio_raw pcspkr snd_timer snd_seq_device i2c_i801 snd ath9k lpc_ich mac80211 mfd_core ath9k_common ath9k_hw ath cfg80211 rfkill shpchp soundcore snd_page_alloc wmi battery ac(+) acpi_cpufreq mperf sg crystalhd(C) dm_mod autofs4 i915 drm_kms_helper drm i2c_algo_bit fan thermal video button processor thermal_sys scsi_dh_hp_sw scsi_dh_alua scsi_dh_emc scsi_dh_rdac scsi_dh
    9.575193] Modules linked in: gpio_ich iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap dell_laptop snd_hda_codec_conexant dcdbas snd_hda_intel ath3k uvcvideo snd_hda_codec snd_hwdep videobuf2_core snd_pcm mcs7830 hid_multitouch videodev usbnet mii bluetooth coretemp videobuf2_vmalloc videobuf2_memops snd_seq joydev arc4 serio_raw pcspkr snd_timer snd_seq_device i2c_i801 snd ath9k lpc_ich mac80211 mfd_core ath9k_common ath9k_hw ath cfg80211 rfkill shpchp soundcore snd_page_alloc wmi battery ac(+) acpi_cpufreq mperf sg crystalhd(C) dm_mod autofs4 i915 drm_kms_helper drm i2c_algo_bit fan thermal video button processor thermal_sys scsi_dh_hp_sw scsi_dh_alua scsi_dh_emc scsi_dh_rdac scsi_dh

locate libvdpau

Output:

/etc/profile.d/libvdpau-va-gl.sh
/usr/lib64/libvdpau.so.1
/usr/lib64/libvdpau.so.1.0.0
/usr/lib64/vdpau/libvdpau_softpipe.so
/usr/lib64/vdpau/libvdpau_softpipe.so.1
/usr/lib64/vdpau/libvdpau_softpipe.so.1.0.0
/usr/lib64/vdpau/libvdpau_va_gl.so
/usr/lib64/vdpau/libvdpau_va_gl.so.1
/usr/lib64/vlc/plugins/codec/libvdpau_plugin.so
/usr/share/doc/packages/libvdpau-va-gl1
/usr/share/doc/packages/libvdpau-va-gl1/COPYING
/usr/share/doc/packages/libvdpau-va-gl1/ChangeLog
/usr/share/doc/packages/libvdpau-va-gl1/README.md

zypper search libvdpau

Output:

S | Name                              | Summary                                         | Type      
--+-----------------------------------+-------------------------------------------------+-----------
i | libvdpau-va-gl1                   | VDPAU driver with OpenGL/VAAPI backend          | package   
i | libvdpau1                         | VDPAU wrapper library                           | package   
i | libvdpau_softpipe                 | Software implementation of XVMC state tracker   | package  

vdpauinfo

Output:

display: :0   screen: 0
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i915_drv_video.so
libva info: va_openDriver() returns -1
API version: 1
Information string: OpenGL/VAAPI/libswscale backend for VDPAU

Video surface:

name   width height types
-------------------------------------------
420     1920  1080  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
422     1920  1080  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
444     1920  1080  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name               level macbs width height
-------------------------------------------

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8            53    53    -  
R8G8B8A8         1419687440 1419687440    -  
R10G10B10A2      1419687440 1419687440    -  
B10G10R10A2      1419687440 1419687440    -  
A8               1419687440 1419687440    -  

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          2048  2048
R8G8B8A8          2048  2048
R10G10B10A2       2048  2048
B10G10R10A2       2048  2048
A8                2048  2048

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  -
SHARPNESS                        -
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              -  
VIDEO_SURFACE_HEIGHT             -  
CHROMA_TYPE                      -  
LAYERS                           -  

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 -  
CSC_MATRIX                       -  
NOISE_REDUCTION_LEVEL            -  
SHARPNESS_LEVEL                  -  
LUMA_KEY_MIN_LUMA                -  
LUMA_KEY_MAX_LUMA                -


I hope it will help :slight_smile: