• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 11
[LINUX] HOW-TO use VAAPI HW Acceleration on new Intel Sandy Bridge platform
#31
Krautmaster Wrote:is it possible to play interlaced material smooth now having VAAPI enabled...?

Hardware deinterlacing with VAAPI is not yet implemented. With software decode and deinterlacing it plays fine.

There is a huge work going on implementing advanced hardware deinterlacing for vaapi and intel. Check the state here:

http://cgit.freedesktop.org/libva/
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#32
alanwww1 Wrote:Hardware deinterlacing with VAAPI is not yet implemented. With software decode and deinterlacing it plays fine.

Yes, and with <10% CPU load here...
Reply
#33
i gonna try now haha thx
Reply
#34
okay i build xbmc right now... one problem, i need a xorg.conf for a HD ready tv, 1280x720 or better 1366x768... 25 / 50 hz.

How to?

Maybe someone got one for me... normally it workt without special configs in past.

We will see what happen if i try to use fullHD xorg.conf.


Hm MESA problem:


Quote:configure: error: Package requirements (x11 xt) were not met:

No package 'xt' found
Reply
#35
You could try one of these:

http://www.mythtv.org/wiki/Modeline_Data...D_ModePool

I would not use a HD ready TV with a full HD modeline.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#36
thx alanwww1, thanks very much, any ideas on my MESA problem?
Reply
#37
this message appears

Quote:xbmc@htpc:~/Builds/mesa$ sudo ./autogen.sh --prefix=/usr --with-driver=dri --disable-glut
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
configure.ac:15: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
autoreconf: configure.ac: tracing
configure.ac:15: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:15: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gmake... no
checking for make... make
checking for python2... no
checking for python... python
checking for makedepend... /usr/bin/makedepend
checking for sed... /bin/sed
checking for a BSD-compatible install... /usr/bin/install -c
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether g++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, x86
checking for gcc option to produce PIC... -fPIC
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for posix_memalign... yes
checking pkg-config files for X11 are available... yes
checking for X11... yes
checking for LIBDRM... yes
checking for DRI2PROTO... yes
checking for GLPROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for LIBDRM_RADEON... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for INTEL... yes
checking for XCB_DRI2... yes
checking for LIBUDEV... yes
checking for xcb_dri2_connect_alignment_pad in -lxcb-dri2... no
checking for GLW... no
configure: error: Package requirements (x11 xt) were not met:

No package 'xt' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLW_CFLAGS
and GLW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
xbmc@htpc:~/Builds/mesa$
Reply
#38
apt-get install libxt-dev

works 4 me.
Reply
#39
hm i got an error when i make xbmc..

Quote:`/home/xbmc/Builds/xbmc/xbmc/interfaces/python/linux'
collect2: ld terminated with signal 9 [Killed]

what could that be?
Reply
#40
-> no swap, works 4 me with

http://saicharan.in/blog/2009/06/ld-term...-signal-9/

But now VGA on my TFT works fine, but HDMI doesnt work...
Reply
#41
okay, sorry for this massive series of posts.

Little Update:

All worked fine so far - but, my old hd ready Tv shows no pic on tv, vga on my TFT works fine but the older 32" Toshiba tv shows only black.

Without our modlines of course too...

ubuntu 10.04 and 10.10 works with my TV and the GPU of my i3-530. I dont know why natty doesnt want it...

Ill try Natty Alpha 2 with Gnome, so not the minimal install ... maybe it works then.

Ill report then.

Edit: All other posible solutions for the problem on natty minimal are welcome... installation with TV pic worked fine but i cant get a TV pic later... I restored to a 10.10 installation with new intel drivers from january too and created a xorg.conf.new. This doesnt contain any resolutions, is that normal?

ideas are welcome... modlines on ur posted link doesnt work. maybe someone can create a xorg.conf based on 1280x720 25 /50 hz wich i can try. thx
Reply
#42
I found these modelines for a HD ready TV. You can try thes:

Code:
#1280x720p @ 50Hz
ModeLine "1280x720@50" 74.100 1280 1720 1760 1976 720 731 736 750 +hsync +vsync
#1280x720p @ 48Hz / for display 24p video
ModeLine "1280x720@48" 71.135 1280 1720 1760 1976 720 731 736 750 +hsync +vsync
#1280x720p @ 60Hz
ModeLine "1280x720@60" 74.25 1280 1320 1376 1650 720 722 728 750

Or these standard ones:

Code:
# 1280x720p @ 60Hz (EIA/CEA-861B)
ModeLine "1280x720"   74.250 1280 1392 1440 1648  720  725  730  750 +hsync +vsync
# 1280x720p @ 50Hz (EIA/CEA-861B)
ModeLine "1280x720"   74.250 1280 1720 1768 1984  720  725  730  750 +hsync +vsync
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#43
Hey, I installed the latest drivers, 2D and Mesa (and libDRM) under Maverick.
I came here to say to you guys it IS possible =) Took a whole day to get the libdrm thing straight, God knows how I did it. Unfortunately, I can't instruct you guys for such prowess..
But heck, it's working. Even some wine-powered games became faster and better (I can see thru glasses on 18 Wheels of Steel!!!)
I might have lost a day configuring this, but now my HDMI output will be used for something

Indeed, I can play Full-HD movies without a hitch. 1.2GHz Celeron powered =)
There are some lag spikes at certain parts of the movie, but it might be the TV (120hz)
I hope on the 11.04 things will be more straightforward. No day-wasting on little things.


-----------
Nevermind, Drivers are installed, but no HD Support. It was playing without VAAPI Acceleration. Games became better, indeed, so it wasn't a total loss =)
Reply
#44
alanwww1 Wrote:I found these modelines for a HD ready TV. You can try thes:

Code:
#1280x720p @ 50Hz
ModeLine "1280x720@50" 74.100 1280 1720 1760 1976 720 731 736 750 +hsync +vsync
#1280x720p @ 48Hz / for display 24p video
ModeLine "1280x720@48" 71.135 1280 1720 1760 1976 720 731 736 750 +hsync +vsync
#1280x720p @ 60Hz
ModeLine "1280x720@60" 74.25 1280 1320 1376 1650 720 722 728 750

Or these standard ones:

Code:
# 1280x720p @ 60Hz (EIA/CEA-861B)
ModeLine "1280x720"   74.250 1280 1392 1440 1648  720  725  730  750 +hsync +vsync
# 1280x720p @ 50Hz (EIA/CEA-861B)
ModeLine "1280x720"   74.250 1280 1720 1768 1984  720  725  730  750 +hsync +vsync

thx a lot. I'll try later.
First i'll try the non minimal natty installation combined with ur how to.

Edit:

Okay... i see, same problem with the standard natty alpha 3 x64 intallation now. Installation works fine with 1280x720 and then, first reboot, black screen...
Sucks.

Now i'll try ur modlines with the minimal installation

Edit: do i have to say anywhere which modline should be used on boot?

Edit:

is my xorg.conf right like this?

Quote:Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "INTEL Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "HDMI2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x720@50" "1280x720@48" "1280x720@60"
EndSubSection
EndSection

Section "Monitor"
Identifier "HDMI2"
# HorizSync 15.0 - 46.0
# VertRefresh 59.0 - 61.0
# Option "UseEDID" "FALSE"
#1280x720p @ 50Hz
ModeLine "1280x720@50" 74.100 1280 1720 1760 1976 720 731 736 750 +hsync +vsync
#1280x720p @ 48Hz / for display 24p video
ModeLine "1280x720@48" 71.135 1280 1720 1760 1976 720 731 736 750 +hsync +vsync
#1280x720p @ 60Hz
ModeLine "1280x720@60" 74.25 1280 1320 1376 1650 720 722 728 750
EndSection

what about this different refresh rate options and "UseEDID"
I think HDM2 is right or?

What about my /var/log/Xorg.0.log file:
Quote: 6.530] (II) intel(0): EDID vendor "TSB", prod id 259
[ 6.530] (II) intel(0): Using EDID range info for horizontal sync
[ 6.530] (II) intel(0): Using EDID range info for vertical refresh
[ 6.530] (II) intel(0): Printing DDC gathered Modelines:
[ 6.530] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[ 6.530] (II) intel(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz)
[ 6.530] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz)
[ 6.530] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[ 6.530] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 6.530] (II) intel(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[ 6.530] (II) intel(0): Modeline "1440x288"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync (15.6 kHz)
[ 6.530] (II) intel(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[ 6.530] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 6.530] (II) intel(0): Modeline "1440x240"x0.0 27.00 1440 1478 1602 1716 240 244 247 262 -hsync -vsync (15.7 kHz)
[ 6.888] (II) XKB: generating xkmfile /tmp/server-9A8405F3FE0A780485714A4B6DD41909C2CF9F83.xkm
[ 7.126] (II) intel(0): EDID vendor "TSB", prod id 259
[ 7.126] (II) intel(0): Using hsync ranges from config file
[ 7.126] (II) intel(0): Using vrefresh ranges from config file
[ 7.126] (II) intel(0): Printing DDC gathered Modelines:
[ 7.126] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[ 7.126] (II) intel(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz)
[ 7.126] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz)
[ 7.126] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[ 7.126] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 7.126] (II) intel(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[ 7.126] (II) intel(0): Modeline "1440x288"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync (15.6 kHz)
[ 7.126] (II) intel(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[ 7.126] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 7.126] (II) intel(0): Modeline "1440x240"x0.0 27.00 1440 1478 1602 1716 240 244 247 262 -hsync -vsync (15.7 kHz)
[ 7.426] (II) intel(0): EDID vendor "TSB", prod id 259
[ 7.426] (II) intel(0): Using hsync ranges from config file
[ 7.426] (II) intel(0): Using vrefresh ranges from config file
[ 7.426] (II) intel(0): Printing DDC gathered Modelines:
[ 7.426] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[ 7.426] (II) intel(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz)
[ 7.426] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz)
[ 7.426] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[ 7.426] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 7.426] (II) intel(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[ 7.426] (II) intel(0): Modeline "1440x288"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync (15.6 kHz)
[ 7.426] (II) intel(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[ 7.426] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 7.426] (II) intel(0): Modeline "1440x240"x0.0 27.00 1440 1478 1602 1716 240 244 247 262 -hsync -vsync (15.7 kHz)
[ 7.656] (II) intel(0): EDID vendor "TSB", prod id 259
[ 7.656] (II) intel(0): Using hsync ranges from config file
[ 7.656] (II) intel(0): Using vrefresh ranges from config file
[ 7.656] (II) intel(0): Printing DDC gathered Modelines:
[ 7.656] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[ 7.656] (II) intel(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz)
[ 7.656] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz)
[ 7.656] (II) intel(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[ 7.656] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 7.656] (II) intel(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[ 7.656] (II) intel(0): Modeline "1440x288"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync (15.6 kHz)
[ 7.656] (II) intel(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[ 7.656] (II) intel(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 7.656] (II) intel(0): Modeline "1440x240"x0.0 27.00 1440 1478 1602 1716 240 244 247 262 -hsync -vsync (15.7 kHz)

any ideas?

Edit:

Modeline "1920x1080i" 74.25 1920 2448 2492 2640 1080 1084 1094 1125 +hsync +vsync

damaged pic but advantage Wink
Reply
#45
well i tried nearly every modline so far.

1920x1080 shows up sometimes but only a few lines on the top and a few on the bottom with a big black part in the middle. Some green artefactes too.... Where the picture is viewable, it looks perfect... but like a row of 20 lines.

In "720x576" i get flickering image again on the top and the bottom.

1280x720 i never succeeded in getting any picture - always black.

Is it possible, that it is a problem caused by HDMI frequency, bandwidth, HDMI version or anything like that? Same cable / TV / Setting works fine unter 10.10 x64.

What else can i do?
Any other options in xorg.conf ... ? ideas?

Thanks a lot!

@alanwww1

come on alan, u're the man, the professional - go and solve my problem, please. Tongue
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 11

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO use VAAPI HW Acceleration on new Intel Sandy Bridge platform3