You are not logged in.
On my desktop, HD Videos sometimes lags (horizontal lines) when the camera moves too fast in the video. Searching on google said something about enabling hardware acceleration.
I checked the pdf here specs & it has something written about HD video playback.
So, I checked if I had libva package installed. It was installed but libva-driver-intel was not installed. So, I installed it.
I did a restart & issued the command vainfo
shadyabhi@archlinux ~ $ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i915_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
shadyabhi@archlinux ~ $
I did this:
shadyabhi@archlinux ~ $ pacman -Ql libva-driver-intel
libva-driver-intel /usr/
libva-driver-intel /usr/lib/
libva-driver-intel /usr/lib/dri/
libva-driver-intel /usr/lib/dri/i965_drv_video.so
libva-driver-intel /usr/share/
libva-driver-intel /usr/share/licenses/
libva-driver-intel /usr/share/licenses/libva-driver-intel/
libva-driver-intel /usr/share/licenses/libva-driver-intel/COPYING
shadyabhi@archlinux ~ $
So, it's something like vainfo is searching for /usr/lib/dri/i915_drv_video.so but the installed package has supplied /usr/lib/dri/i965_drv_video.so.
shadyabhi@archlinux ~ $ lsmod | grep intel
snd_hda_intel 23375 2
snd_hda_codec 89160 2 snd_hda_intel,snd_hda_codec_realtek
snd_pcm 74780 2 snd_hda_codec,snd_hda_intel
intel_agp 10904 1 i915
intel_gtt 14519 3 intel_agp,i915
snd_page_alloc 7153 2 snd_pcm,snd_hda_intel
snd 59214 10 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
shadyabhi@archlinux ~ $
Above command shows that I have i915. So, how do I go about enabling hardware acceleration for my onboard graphics?
EDIT: After going through the link http://intellinuxgraphics.org/h264.html, I have also compiled libva with --enable-i915-driver option.
Last edited by shadyabhi (2012-02-29 00:31:08)
My blog:-
http://blog.abhijeetr.com
Offline
By "horizontal lines" are you refering to tearing? (non-synchronized screen updates)
What is your hardware? Window manager ?
Edit: sorry, didn't re-read your post's title where GMA x3100 is mentionned.
Last edited by stqn (2012-02-28 04:10:04)
Offline
X3100 doesn't support libva.
What you're observing is probably what stqn mentions - tearing. Shouldn't happen unless with some compositors. So stqn's question is the right one - which window manager are you using? Also, which video player and what output method are you using?
Offline
I was playing around with settings and somehow it has disappeared. I would better request Forum Admin to delete the post. Thanks.
My blog:-
http://blog.abhijeetr.com
Offline
You don't, by any chance, remember the settings you were playing around with?
I have the same problem, with the same driver (different card though), and searching the forum, wiki and web didn't give me any solution other than disabling composition so far.
So, if you found a way to get rid of tearing, but keeping transparent terminal/conky etc., please let other people know.
Offline
I was playing around with settings and somehow it has disappeared. I would better request Forum Admin to delete the post. Thanks.
Even if you don't remember exactly what you changed, it would be more useful to answer the question about your window manager and if you're using compositing or not, rather than ask the thread to be deleted (which won't happen.)
As is, you just wasted everybody's time...
Offline
Even if you don't remember exactly what you changed, it would be more useful to answer the question about your window manager and if you're using compositing or not, rather than ask the thread to be deleted (which won't happen.)
As is, you just wasted everybody's time...
According to the PDF, http://download.intel.com/products/grap … _guide.pdf, my desktop DG33FB motherboard with GMA x3100 has a feature of hardware acceleration. My environment is openbox + xcompmgr + ArchLinux 64 bit.
I start xcompmgr with the following options. xcompmgr -fFcCn -D 2 -f 0.3
In the smplayer, I have output driver as xv.
So, how do I enable it & check that it's enabled? I still have the problem:
shadyabhi@archlinux ~ $ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i915_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
shadyabhi@archlinux ~ $
Last edited by shadyabhi (2012-02-28 23:52:38)
My blog:-
http://blog.abhijeetr.com
Offline
Like I already said X3100 does *not* support libva.
Your tearing issue comes from using xcompmgr. Not possible to get rid of it, it's a deficiency of xcompmgr.
Offline