Skip to contentSkip to conversation

VAAPI (master or ext) no deinterlacing with Clarkdale GPU

DISCUSSION [email protected] 4 participants 6 messages Jan 28, 2012 – Feb 1, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CAE+U-fERTZCCahi74pdntGE4MmRC66Ai0x0W0Pen0wbiiPw06A@mail.gmail.com

#2 lore raw

Hello,

I’ve written an email to Haihao Xiang regarding the “no deinterlacing” bug on Clarkdale a week ago and he answered today. He will check this issue. I’ll hope he can fix it. Will the extended vaapi-ext deinterlacers (temporal or spatial I guess) also be available on Clarkdale platform? I tried the extended DXVA hardware deinterlacing on Windows today and it worked fine on my CoreI3 Clarkdale Laptop CPU J

Best regards

Atech

Von: alanwww1 [mailto:[email protected]]
Gesendet: Samstag, 28. Januar 2012 21:23
An: [email protected]
Betreff: Re: [Intel-gfx] VAAPI (master or ext) no deinterlacing with Clarkdale GPU

Hi!

Please note that you need to increase microversion of intel_vaapi driver so xbmc gets deinterlacing turned on:

See the end of my guide: http://forum.xbmc.org/showthread.php?t=114368

Try it like that. For Sandy Bridge it works.

Cheers

2012/1/28 <[email protected]>

Hi,

I tried the vaapi master and ext-libary including the vaapi-intel-driver from your repository.

My Hardware:

- intel Clarkdale Core I3 540 / I5 661 (I have two different systems)

- H55 chipset

- TV over HDMI @ 50Hz

Software:

- Arch Linux 64 Bit with:

- Kernel: linux 3.1.9-2 (base) - Xorg: xorg-server 1.11.3-1 (xorg) - Grafik:
xf86-video-intel 2.17.0-2 (xorg-drivers xorg) - libva-ext 20120110-5 VAAPI-ext library for intel cards - vaapi-intel-driver 20120110-2 Intel backend for VA API: 1.0.17.pre1 (patched to version x.17-pre for xbmc interlacing option) - Alsa: alsa-utils 1.0.24.2-3 - vdr: vdr 1.7.23-1 -
SoftHD: vdr-plugin-softhddevice-server-git 20120120-1 - Streamdev:
vdr-plugin-streamdev-server-git - ffmpeg 20120111-1 - xbmc-git 20110120-1

VAAINFO:

libva: VA-API 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 (libva 1.0.16.pre1) vainfo: Driver version:
Intel i965 driver - 1.0.17.pre1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple :VAEntrypointVLD VAProfileMPEG2Main :VAEntrypointVLD VAProfileH264Baseline :VAEntrypointVLD VAProfileH264Main :VAEntrypointVLD VAProfileH264High :VAEntrypointVLD

and also vaapi-master branch

I checked the newest XBMC-GIT version with vaapi-ext deinterlacing support, a new vaapi plugin for the vdr (video disk recoder from Klaus Scmindiger to watch and record TV) with vaapi deinterlacing support and the xine-vaapi branch form Edgar Hucek.

In addition I checked all available options to select the bob deinterlacer, but every time I don't get interlace output.

XBMC shows me a doubled framerate count but no deinterlaced video.

Also mplayer-vaapi and VLC with vaapi support don't show any hardware deinterlacing. To get more informations, I shared my expierences with other vaapi users and they told me as well that they only have deinterlacied output with the newer Sandy Bridge chipset only.

Is it now (or in the future) possible to get deinterlaced output with the first "Core Ix Clardale" prozessor family? Or is there any difference between the Clarkdale/Sandybridge vaapi version one should regard, to get the deinterlacing working?

Regards

Atech

---

Nutzen Sie freenet Mail optimal angepasst für Ihr iPhone, Android oder Nokia Handy auch von unterwegs.
Alle Infos und Download unter freenetMail Apps
<http://mail.freenet.de/mobile-email/index.html>

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 5 lines · Atechsystem <Atechsystem <at> freenet.de> writes:

Hello,

I’ve written an email to Haihao Xiang regarding the “no deinterlacing” bug on

Clarkdale a week ago and he answered today. He will check this issue. I’ll hope he can fix it. Will the extended vaapi-ext deinterlacers (temporal or spatial I guess) also be available on Clarkdale platform? I tried the extended DXVA hardware deinterlacing on Windows today and it worked fine on my CoreI3 Clarkdale Laptop CPU J

Quoted 3 lines


Best regards
Atech

Hi Atech,

same problem over here. I am on vaapi-ext and latest xbmc. I can select Bob and Bob (inverted) as deinterlacers in xbmc. With MPEG2 material deinterlacing doesn't work at all. With H.264 video it seems to deinterlace, but video is stuttering and I have lots of frame drops.

Hardware: Core i3 530
Software: Ubuntu 11.11 x86 minimal with latest xorg stuff (edgers:ppa) and vaapi-ext branch for libva and intel-vaapi

Regards,
Christoph / Flachzange

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

Hi,

I know what is the problem. For some reason, the native pixel format
for MPEG-2 decoding on Clarkdale is I420, however the input pixel format of deinterlacing is NV12 in the driver, so the driver doesn't support deinterlacing for MPEG-2 on Clardale. We will try to fix this issue but don't expect it too soon.

BTW you can send all VAAPI related mail to [email protected] as well.

Thanks
Haihao

Quoted 34 lines
Quoted 5 lines · Atechsystem <Atechsystem <at> freenet.de> writes:

Hello,

I’ve written an email to Haihao Xiang regarding the “no deinterlacing” bug on

Clarkdale a week ago and he answered today. He will check this issue. I’ll hope he can fix it. Will the extended vaapi-ext deinterlacers (temporal or spatial I guess) also be available on Clarkdale platform? I tried the extended DXVA hardware deinterlacing on Windows today and it worked fine on my CoreI3 Clarkdale Laptop CPU J

Quoted 3 lines

Best regards
Atech

Hi Atech,

same problem over here. I am on vaapi-ext and latest xbmc. I can select Bob and Bob (inverted) as deinterlacers in xbmc. With MPEG2 material deinterlacing doesn't work at all. With H.264 video it seems to deinterlace, but video is stuttering and I have lots of frame drops.

Hardware: Core i3 530
Software: Ubuntu 11.11 x86 minimal with latest xorg stuff (edgers:ppa) and vaapi-ext branch for libva and intel-vaapi

Regards,
Christoph / Flachzange

Quoted 4 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw

Hi Christoph !

For the stuttering problem it is cause by lack of shader horse power to use HQ upsacling AND deinterlacing together.
Please try to set the upscaler from auto to "bilinear" or even "nearest" at the worst case.
Also if you are using xbmc in a composited environment please turn off all compositing or even try to run xbmc in a separate Xsession.

If that does not help, you probably will never have it working stutter-free with Clarkdale.

Cheers,

Attila (Team XBMC)

2012/2/1 Xiang, Haihao <[email protected]>

Quoted 61 lines

Hi,

I know what is the problem. For some reason, the native pixel format
for MPEG-2 decoding on Clarkdale is I420, however the input pixel format of deinterlacing is NV12 in the driver, so the driver doesn't support deinterlacing for MPEG-2 on Clardale. We will try to fix this issue but don't expect it too soon.

BTW you can send all VAAPI related mail to [email protected] as well.

Thanks
Haihao

Quoted 7 lines
Quoted 5 lines · Atechsystem <Atechsystem <at> freenet.de> writes:

Hello,

I’ve written an email to Haihao Xiang regarding the “no deinterlacing”

bug on

Quoted 1 line

Clarkdale a week ago and he answered today. He will check this issue.

I’ll hope

Quoted 1 line

he can fix it. Will the extended vaapi-ext deinterlacers (temporal or

spatial I

Quoted 11 lines

guess) also be available on Clarkdale platform? I tried the extended DXVA hardware deinterlacing on Windows today and it worked fine on my CoreI3 Clarkdale Laptop CPU J

Quoted 3 lines

Best regards
Atech

Hi Atech,

same problem over here. I am on vaapi-ext and latest xbmc. I can select

Bob and

Quoted 1 line

Bob (inverted) as deinterlacers in xbmc. With MPEG2 material

deinterlacing

Quoted 1 line

doesn't work at all. With H.264 video it seems to deinterlace, but video

is

Quoted 4 lines

stuttering and I have lots of frame drops.

Hardware: Core i3 530
Software: Ubuntu 11.11 x86 minimal with latest xorg stuff (edgers:ppa)

and

Quoted 8 lines

vaapi-ext branch for libva and intel-vaapi

Regards,
Christoph / Flachzange

Quoted 4 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Quoted 5 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw

Hi Attila!

Am 01.02.2012 13:16, schrieb alanwww1:

Quoted 3 lines

Hi Christoph !

For the stuttering problem it is cause by lack of shader horse power to use HQ upsacling AND deinterlacing together.

Yes, I noticed this in the meanwhile. GPU top showed me 100% usage :-)

Quoted 1 line

Please try to set the upscaler from auto to "bilinear" or even "nearest" at the worst case.

It already was bilinear, but even nearest does not help

Quoted 1 line

Also if you are using xbmc in a composited environment please turn off all compositing or even try to run xbmc in a separate Xsession.

No composite environment, but openbox window manager

Quoted 3 lines

If that does not help, you probably will never have it working stutter-free with Clarkdale.

Yes probably, even with mplayer no chance (68% framedrops)

Thanks!
Christoph