[Libva] G45 h264 decoding

Andreas Gustafsson olangu at impressions.se
Tue Jun 21 05:11:30 PDT 2011


Hello!

I'm hitting a similar problem when trying out the g45-h264 branch.
Running at abysmal speeds and getting kernel errors.

What concerns me is that when I'm checking the Debian kernel source the
drm/i915 BSD ring patch is already applied.

Are you having any ideas?

Thanks,
Andreas

Kernel errors:
[   90.959695] [drm] capturing error event; look for more information
in /debug/dri/0/i915_error_state
[   90.960029] render error detected, EIR: 0x00000008
[   90.960029]   IPEIR: 0x00000000
[   90.960029]   IPEHR: 0x7101000a
[   90.960029]   INSTDONE: 0xffeffedf
[   90.960029]   INSTPS: 0x8001e02d
[   90.960029]   INSTDONE1: 0xbfbffffe
[   90.960029]   ACTHD: 0x02a2ed2c
[   91.003012] render error detected, EIR: 0x00000008
[   91.003017]   IPEIR: 0x00000000
[   91.003019]   IPEHR: 0x7101000a
[   91.003021]   INSTDONE: 0xffeffedf
[   91.003023]   INSTPS: 0x8001e02d
[   91.003025]   INSTDONE1: 0xbffffffe
[   91.003027]   ACTHD: 0x04f0e2ac

vainfo:
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: i965 Driver 0.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD


System information:
Debian wheezy kernel 2.6.39-2-amd64.

tor 2011-06-09 klockan 10:41 +0800 skrev Xiang, Haihao:
> You need this kernel patch 
> "drm/i915: fix user irq miss in BSD ring on g4x" which has been added to
> the 2.6.39-stable tree. 
> 
> Thanks
> Haihao
> 
> 
> > Hi,
> > 
> > when using the "g45-h264" branch and the vaapi patched mplayer I get
> > below 1 FPS and the kernel is printing lots of errors. The used
> > Hardware is an Intel GMA 4500MHD, kernel version is 2.6.39.
> > 
> > -----------
> > 
> > [14912.064053] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck
> > timer elapsed... bsd ring idle [waiting on 148253, at 148253],
> > missed IRQ?
> > [14912.069323] render error detected, EIR: 0x00000008
> > [14912.069330]   IPEIR: 0x00000000
> > [14912.069334]   IPEHR: 0x7101000a
> > [14912.069338]   INSTDONE: 0xffeffcdf
> > [14912.069342]   INSTPS: 0x8001e02d
> > [14912.069346]   INSTDONE1: 0xbffffffe
> > [14912.069350]   ACTHD: 0x0be7c32c
> > [14913.648054] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck
> > timer elapsed... bsd ring idle [waiting on 148287, at 148287],
> > missed IRQ?
> > [14913.653212] render error detected, EIR: 0x00000008
> > [14913.653218]   IPEIR: 0x00000000
> > [14913.653222]   IPEHR: 0x7101000a
> > [14913.653226]   INSTDONE: 0xffeffede
> > [14913.653230]   INSTPS: 0x8001e02d
> > [14913.653234]   INSTDONE1: 0xbefffffe
> > [14913.653238]   ACTHD: 0x0be7c2ac
> > [14915.168088] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck
> > timer elapsed... bsd ring idle [waiting on 148293, at 148293],
> > missed IRQ?
> > [14915.173971] render error detected, EIR: 0x00000008
> > [14915.173978]   IPEIR: 0x00000000
> > [14915.173982]   IPEHR: 0x7101000a
> > [14915.173986]   INSTDONE: 0xffeffcde
> > [14915.173990]   INSTPS: 0x8001e02d
> > [14915.173994]   INSTDONE1: 0xbebffffe
> > [14915.173998]   ACTHD: 0x074e12ac
> > 
> > -- Sebastian
> > _______________________________________________
> > Libva mailing list
> > Libva at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/libva
> 
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list