• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 128
Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04
#61
Thanks.

Switched from "Enabled during video playback" to "Let driver choose" and now I have also a stable 50fps.
#62
I'm doing something wrong. I don't have an option for Deinterlacing-Method: VAAPI (Auto)

charlie@charlie-UX31A:~$ history
Code:
1995  sudo apt-get update
1996  sudo reboot
1997  sudo apt-add-repository ppa:wsnipex/vaapi
1998  sudo apt-get update
1999  sudo apt-get install xbmc xbmc-bin libva-intel-vaapi-driver libva1 vainfo libva-glx1
2000  dpkg -l |grep xbmc
2001  history

charlie@charlie-UX31A:~$ dpkg -l |grep xbmc
Code:
ii  xbmc                                   2:12.2~git20130525.1043-vpp-0raring        all          XBMC Media Center PVR Xvba Edition (arch-independent data package)
ii  xbmc-bin                               2:12.2~git20130525.1043-vpp-0raring        amd64        XBMC Media Center PVR Xvba Edition (binary data package)

charlie@charlie-UX31A:~$ dpkg -l |grep vaa
Code:
ii  libva-intel-vaapi-driver               1.1.0-4~pre2~raring                        all          VAAPI driver for Intel G45 & HD Graphics family (transitional package)
charlie@charlie-UX31A:~$ dpkg -l |grep libva-intel-vaapi-driver
ii  libva-intel-vaapi-driver               1.1.0-4~pre2~raring                        all          VAAPI driver for Intel G45 & HD Graphics family (transitional package)

Asus laptop UX31A (HD4000)

Edit - its installing xvba instead of vaapi

Log: http://paste.ubuntu.com/5725992/

Image
Guide to building an all in one Ubuntu Server - TV(vdr),File,Music,Web

Server Fractal Designs Define XL, Asus P5QL/EPU, Dual Core E5200, 4gb, L4M-Twin S2 v6.2, Supermicro AOC-USAS-L8I, 1*SSD & 13*HDD drives (24TB total) - Ubuntu Server
XBMC 1 ASRock Z77E-ITX, G850, 8GB RAM, SSD, BD - Ubuntu / OpenElec frodo
XBMC 2 Revo 3700 - OpenElec frodo
XBMC 3 Raspb Pi
#63
Quote:13:45:32 T:140221954549632 INFO: GUI format 1918x1027, Display Windowed

You are running windowed.

and compiz
Quote:DEBUG: Window Manager Name: Compiz

That will be getting fun :-)

But I think the real problem is, that you try with mpeg-4, that is not accelerated by default:
Quote:13:45:46 T:140220862273280 INFO: ffmpeg[B6AF9700]: [buffer] w:624 h:352 pixfmt:yuv420p tb:2733/65535 sar:1/1 sws_param:
13:45:46 T:140220862273280 INFO: ffmpeg[B6AF9700]: [yadif] mode:1 parity:-1 auto_enable:1
Don't force deinterlacing of "progressive content" it just does not make any sense. Try with this sample: https://dl.dropboxusercontent.com/u/5572...erlaced.ts
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
#64
(2013-06-02, 16:43)fritsch Wrote: You are running windowed.
and compiz

And dual monitor. Guess I was asking for problems.

Yeh full screen and with that sample works perfect. thanks!
Guide to building an all in one Ubuntu Server - TV(vdr),File,Music,Web

Server Fractal Designs Define XL, Asus P5QL/EPU, Dual Core E5200, 4gb, L4M-Twin S2 v6.2, Supermicro AOC-USAS-L8I, 1*SSD & 13*HDD drives (24TB total) - Ubuntu Server
XBMC 1 ASRock Z77E-ITX, G850, 8GB RAM, SSD, BD - Ubuntu / OpenElec frodo
XBMC 2 Revo 3700 - OpenElec frodo
XBMC 3 Raspb Pi
#65
Hi fritch

here the dmesg and xbmc.log for my intel i350M arrandale, where the picture goes black, when deinterlacing
is activated.

dmesg
xbmc.log

It seems that the pictureformat has to be converted to NV12 before
sending it to the postprocessing on clarkdale/arrandale.

This is taken from the intel-gfx mailing list on freedesktop.org

Quote: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.

cu
#66
@]dude[:
Thanks for this reply, i must look if this conversion can be done "on the fly" within the VPP Pipeline or elsewhere if a clarkdale is detected. That would be really cool, but it will perhaps also kill performance doing conversion twice.

Edit: Shortly talked with btbn, it is completely abstraced from input, you only see a VASurface which could be "everything". And there should also be some code, that already does it internall - so not sure if this is really the reason here.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
#67
Could you open a bugreport against libva-driver-intel with haihao xiang? Cause the driver tells us, that the deinterlacing "should work" which it does not at the end.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
#68
So what is going to happen with the VAAPI build of XBMC? Will the patches be pulled into XBMC master, or Fernetmenta's version? If there is a 12.3 release will the VAAPI PPA be updated?
#69
I will rebase on 12.3 if it is out, yes. We hope that the patches can go into master soon. PR was already done.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
#70
@]dude[:
I emailed haihao concerning the complete black picture on Clarkdale GPUs. Will keep the information posted.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
#71
Hi,

can you please point to the github/branch used to generate de releases?

Thanks!
#72
the ubuntu packages were done from: https://github.com/wsnipex/xbmc/commits/frodo-vpp
#73
Ok thanks!

I tested your work and it's very good.
Though I experienced 2 bugs:
- a crash when switching to window mode (\ key)
- random crashes in window mode when launching a video
- random white fs flickering

i use a core i7 3770 with debian testing
#74
debug log please
#75
Crash when in fullscreen, pressing \ to go to window mode:

GDB
Code:
Region for name 12 already exists but is not compatible

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe4b45e84 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
(gdb) bt
#0  0x00007fffe4b45e84 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#1  0x00007fffe4b6c172 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007fffe4b4e5a0 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007fffe4b3c047 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fffe4c5ae83 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fffe4ce6008 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#6  0x0000000000feda74 in ClearBuffers (color=<optimized out>, this=<optimized out>) at RenderSystemGL.cpp:274
#7  CRenderSystemGL::ClearBuffers (this=<optimized out>, color=<optimized out>) at RenderSystemGL.cpp:261
#8  0x000000000108ae35 in CWinSystemX11::SetWindow (this=this@entry=0x169da50, width=<optimized out>, height=720, fullscreen=fullscreen@entry=false, output=...) at WinSystemX11.cpp:946
#9  0x000000000108cc4f in CWinSystemX11::SetFullScreen (this=0x169da50, fullScreen=false, res=..., blankOtherDisplays=<optimized out>) at WinSystemX11.cpp:230
#10 0x0000000001090fcf in CWinSystemX11GL::SetFullScreen (this=0x169da50, fullScreen=false, res=..., blankOtherDisplays=<optimized out>) at WinSystemX11GL.cpp:262
#11 0x00000000009595b8 in CGraphicContext::SetVideoResolution (this=this@entry=0x1674480, res=<optimized out>, forceUpdate=forceUpdate@entry=false) at GraphicContext.cpp:384
#12 0x000000000095b2a5 in CGraphicContext::ToggleFullScreenRoot (this=0x1674480) at GraphicContext.cpp:846
#13 0x0000000000edc29c in CApplication::OnAction (this=0x169a710, action=...) at Application.cpp:2580
#14 0x0000000000edebd5 in CApplication::OnKey (this=0x169a710, key=...) at Application.cpp:2528
#15 0x0000000000ee0a87 in CApplication::OnEvent (newEvent=...) at Application.cpp:484
#16 0x0000000000eaf089 in CWinEventsX11::MessagePump () at WinEventsX11.cpp:477
#17 0x0000000000ee00d4 in CApplication::FrameMove (this=0x169a710, processEvents=<optimized out>, processGUI=<optimized out>) at Application.cpp:2948
#18 0x0000000000f62a72 in CXBApplicationEx::Run (this=0x169a710) at XBApplicationEx.cpp:142
#19 0x0000000000f69817 in XBMC_Run (renderGUI=true) at xbmc.cpp:69
#20 0x0000000000709e9b in main (argc=1, argv=0x7fffffffeae8) at main.cpp:77
(gdb)

XBMC.LOG
Code:
13:54:40 T:140737352714176   DEBUG: Keyboard: scancode: 33, sym: 005c, unicode: 005c, modifier: 0
13:54:40 T:140737352714176   DEBUG: OnKey: backslash (f05c) pressed, action is ToggleFullScreen
13:54:40 T:140737352714176   DEBUG: OnLostDevice - notify display change event
13:54:40 T:140737352714176   DEBUG: Window Manager Name: Xfwm4
13:54:40 T:140737352714176   DEBUG: CWinSystemX11::RefreshGlxContext: refreshing context
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 128

Logout Mark Read Team Forum Stats Members Help
VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.0416