* gstreamer-vaapi does not work with g45
@ 2012-05-26 15:05 Niccolò Belli
2012-05-28 6:14 ` Oliver Seitz
0 siblings, 1 reply; 10+ messages in thread
From: Niccolò Belli @ 2012-05-26 15:05 UTC (permalink / raw)
To: intel-gfx; +Cc: gwenole.beauchesne
Hi,
OS is Gentoo amd64 and my laptop is a Samsung X360 (so gm45).
I'm using x11-libs/libva git (g45-h264 branch) and
x11-libs/libva-intel-driver bit (g45-h264 branch).
media-libs/gstreamer-0.10.36
media-libs/gst-plugins-base-0.10.36
media-libs/gst-plugins-bad-0.10.23
Using media-plugins/gst-plugins-vaapi git.
Also using:
linux 3.4.0-rt7 (realtime patchset)
libdrm git
x11-drivers/xf86-video-intel-2.19.0 (sna off, vaapi is much slower with
sna on)
media-libs/mesa-8.0.2
x11-base/xorg-server-1.12.1.902
"SwapbuffersWait" "off"
"vblank_mode" value="0"
kwin desktop effects off
vaapi h264 works flawlessly with mplayer:
mplayer -vo vaapi -va vaapi test.mkv
MPlayer SVN-r33094-4.5.3 (C) 2000-2011 MPlayer Team
Riproduco test.mkv.
Rilevato formato file libavformat!
[matroska,webm @ 0x335a580] Estimating duration from bitrate, this may
be inaccurate
[lavf] stream 0: video (h264), -vid 0, test.mkv
[lavf] stream 1: audio (ac3), -aid 0, -alang eng, AC3 5.1 channels, 640kbps
VIDEO: [H264] 1920x1080 0bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
Informazioni file multimediale:
title: test.mkv
Load subtitles in ./
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Apertura decoder video: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VA API accelerated codec.
Scelto codec video: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Apertura decoder audio: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Scelto codec audio: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
Unfortunately it doesn't work with gstreamer-vaapi:
niko@laptop ~ $ dragon test.mkv
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
No accelerated IMDCT transform found
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva: va_openDriver() returns 0
dragon: i965_avc_bsd.c:337: i965_avc_bsd_slice_state: Assertion
`frame_idx < (sizeof(i965_h264_context->fsid_list) /
sizeof((i965_h264_context->fsid_list)[0]))' failed.
KCrash: Application 'dragon' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/niko/.kde4/socket-laptop/kdeinit4__0
dragon: Fatal IO error: client killed
[1]+ Stopped dragon test.mkv
While with gst-launch I get:
niko@laptop ~ $ gst-launch-0.10 -v filesrc location=test.mkv !
matroskademux ! vaapidecode ! vaapisink
Impostazione della pipeline a PAUSED ...
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva: va_openDriver() returns 0
La pipeline è in PREROLLING ...
/GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:src: caps =
video/x-surface, width=(int)1920, height=(int)1080,
framerate=(fraction)5000000/208333, pixel-aspect-ratio=(fraction)1/1,
type=(string)vaapi, opengl=(boolean)true
/GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:sink: caps =
video/x-h264, level=(string)4.1, profile=(string)high,
codec_data=(buffer)01640029ffe1001867640029acd940780227e584000cb73402625a023c60c65801008668e93b3ce5531cc305d2628d13080214868783a1c0d04e12142c0ac0da02fe10042ad35e9e850b748c778a1410088b172105449ca3050e204448b20a4d8a081827090809848541dc4290a43164215a201900cae8340f81e86f03300b6017002ac05981d61a07802a8400a902087404700bc010506e036404b811805902e07203e0087ff858f0,
stream-format=(string)avc, alignment=(string)au, width=(int)1920,
height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)5000000/208333
gst-launch-0.10: i965_avc_bsd.c:337: i965_avc_bsd_slice_state: Assertion
`frame_idx < (sizeof(i965_h264_context->fsid_list) /
sizeof((i965_h264_context->fsid_list)[0]))' failed.
Annullato
Hope you can help, no one is going to maintain mplayer-vaapi anymore and
there is no hope for mplayer2-vaapi. I also tried vlc with vaapi but it
sucks hards (it stutter, you just can't watch a video with vlc and vaapi).
Thanks,
Niccolò
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-26 15:05 gstreamer-vaapi does not work with g45 Niccolò Belli
@ 2012-05-28 6:14 ` Oliver Seitz
2012-05-28 10:46 ` Niccolò Belli
0 siblings, 1 reply; 10+ messages in thread
From: Oliver Seitz @ 2012-05-28 6:14 UTC (permalink / raw)
To: intel-gfx
Am 26.05.2012 17:05, schrieb Niccolò Belli:
> [..] no one is going to maintain mplayer-vaapi anymore [...]
Is this true? I've seen no changes for a long time. I thought maybe
maintainers see no need to work on software that does it's job. I would
be very sorry if it was really dead.
Greets,
Kiste
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-28 6:14 ` Oliver Seitz
@ 2012-05-28 10:46 ` Niccolò Belli
2012-05-29 9:36 ` Oliver Seitz
0 siblings, 1 reply; 10+ messages in thread
From: Niccolò Belli @ 2012-05-28 10:46 UTC (permalink / raw)
To: intel-gfx
Il 28/05/2012 08:14, Oliver Seitz ha scritto:
> Is this true? I've seen no changes for a long time. I thought maybe
> maintainers see no need to work on software that does it's job. I would
> be very sorry if it was really dead.
No need? What about trying to mainline it for example? :)
Anyway I'm still using mplayer-vaapi-1.0_rc4_p20110322 + smplayer SVN
because it's the only viable solution (as I said vlc stutters and
gstreamer-vaapi doesn't work at all).
I still hope someone will mainline it, maybe even in mplayer2.
Niccolò
P.S.
Is there some kind of vaapi-vdpau wrapper? I'd like to take advantage of
Adobe's Flash player acceleration but despite promises it still doesn't
support VA-API :(
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-28 10:46 ` Niccolò Belli
@ 2012-05-29 9:36 ` Oliver Seitz
2012-05-29 10:54 ` Niccolò Belli
0 siblings, 1 reply; 10+ messages in thread
From: Oliver Seitz @ 2012-05-29 9:36 UTC (permalink / raw)
To: intel-gfx
Am 28.05.2012 12:46, schrieb Niccolò Belli:
> Il 28/05/2012 08:14, Oliver Seitz ha scritto:
>> Is this true? I've seen no changes for a long time. I thought maybe
>> maintainers see no need to work on software that does it's job. I would
>> be very sorry if it was really dead.
>
> No need? What about trying to mainline it for example? :)
Ok, that's true... But isn't this a decision to be made by the mainline
maintainers?
Greets,
Kiste
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-29 9:36 ` Oliver Seitz
@ 2012-05-29 10:54 ` Niccolò Belli
2012-05-29 10:59 ` Niccolò Belli
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Niccolò Belli @ 2012-05-29 10:54 UTC (permalink / raw)
To: intel-gfx
Il 29/05/2012 11:36, Oliver Seitz ha scritto:
> But isn't this a decision to be made by the mainline maintainers?
Obviously, but why shouldn't they reject a widely requested feature when
the code is mature enough?
By the way, since there are no ebuilds with the latest code available (I
still can't believe it) I made my own
media-video/mplayer-1.0_rc4_p20120116 ebuild with the vaapi use flag. I
will post it as soon as I finish to set up git on my server.
Niccolò
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-29 10:54 ` Niccolò Belli
@ 2012-05-29 10:59 ` Niccolò Belli
2012-05-29 16:21 ` Niccolò Belli
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Niccolò Belli @ 2012-05-29 10:59 UTC (permalink / raw)
To: intel-gfx
Il 29/05/2012 12:54, Niccolò Belli ha scritto:
> Obviously, but why shouldn't they reject a widely requested feature when
> the code is mature enough?
Err... shouldn't ---> should I'm sorry :)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-29 10:54 ` Niccolò Belli
2012-05-29 10:59 ` Niccolò Belli
@ 2012-05-29 16:21 ` Niccolò Belli
2012-05-30 2:39 ` Matt Turner
2012-05-30 9:11 ` Oliver Seitz
3 siblings, 0 replies; 10+ messages in thread
From: Niccolò Belli @ 2012-05-29 16:21 UTC (permalink / raw)
To: intel-gfx
Il 29/05/2012 12:54, Niccolò Belli ha scritto:
> By the way, since there are no ebuilds with the latest code available (I
> still can't believe it) I made my own
> media-video/mplayer-1.0_rc4_p20120116 ebuild with the vaapi use flag. I
> will post it as soon as I finish to set up git on my server.
As promised:
http://www.linuxsystems.it/2012/05/media-video-mplayer-1-0_rc4_p20120116-with-vaapi-use-flag/
Niccolò
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-29 10:54 ` Niccolò Belli
2012-05-29 10:59 ` Niccolò Belli
2012-05-29 16:21 ` Niccolò Belli
@ 2012-05-30 2:39 ` Matt Turner
2012-05-30 10:28 ` Niccolò Belli
2012-05-30 9:11 ` Oliver Seitz
3 siblings, 1 reply; 10+ messages in thread
From: Matt Turner @ 2012-05-30 2:39 UTC (permalink / raw)
To: Niccolò Belli; +Cc: intel-gfx
On Tue, May 29, 2012 at 6:54 AM, Niccolò Belli
<darkbasic@linuxsystems.it> wrote:
> Il 29/05/2012 11:36, Oliver Seitz ha scritto:
>
>> But isn't this a decision to be made by the mainline maintainers?
>
>
> Obviously, but why shouldn't they reject a widely requested feature when the
> code is mature enough?
> By the way, since there are no ebuilds with the latest code available (I
> still can't believe it) I made my own media-video/mplayer-1.0_rc4_p20120116
> ebuild with the vaapi use flag. I will post it as soon as I finish to set up
> git on my server.
>
> Niccolò
fyi, I just filed a request for gstreamer-vaapi yesterday:
https://bugs.gentoo.org/show_bug.cgi?id=418077
The gstreamer maintainers are behind, but I hope they'll get to it soon.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-29 10:54 ` Niccolò Belli
` (2 preceding siblings ...)
2012-05-30 2:39 ` Matt Turner
@ 2012-05-30 9:11 ` Oliver Seitz
3 siblings, 0 replies; 10+ messages in thread
From: Oliver Seitz @ 2012-05-30 9:11 UTC (permalink / raw)
To: intel-gfx
>> But isn't this a decision to be made by the mainline maintainers?
>
> Obviously, but why shouldn't they reject a widely requested feature when
> the code is mature enough?
There was nothing ever rejected, as no patch was ever recieved. So I was
told on the MPlayer-users mailing list. MPlayer developers do not crawl
the web in search for possible improvements. To get a new feature
included in MPlayer, it is best to send a patch to MPlayer-dev-eng list,
like it was done with vdpau.
I can't do that, I'm no programmer of the C family of languages. Sorry.
Greets,
Kiste
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gstreamer-vaapi does not work with g45
2012-05-30 2:39 ` Matt Turner
@ 2012-05-30 10:28 ` Niccolò Belli
0 siblings, 0 replies; 10+ messages in thread
From: Niccolò Belli @ 2012-05-30 10:28 UTC (permalink / raw)
To: intel-gfx
Il 30/05/2012 04:39, Matt Turner ha scritto:
> fyi, I just filed a request for gstreamer-vaapi yesterday:
> https://bugs.gentoo.org/show_bug.cgi?id=418077
Well done, I opened a bug for this issue too:
https://bugs.freedesktop.org/show_bug.cgi?id=50390
In the meantime you can find a gst-plugins-vaapi ebuild in the
openoffice-geki overlay. Unfortunately it's broken, I uploaded a fixed
version in my overlay:
http://www.linuxsystems.it/2012/05/gentoo-g45-gm45-h264-vaapi-video-decoding/
Niccolò
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-05-30 10:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-26 15:05 gstreamer-vaapi does not work with g45 Niccolò Belli
2012-05-28 6:14 ` Oliver Seitz
2012-05-28 10:46 ` Niccolò Belli
2012-05-29 9:36 ` Oliver Seitz
2012-05-29 10:54 ` Niccolò Belli
2012-05-29 10:59 ` Niccolò Belli
2012-05-29 16:21 ` Niccolò Belli
2012-05-30 2:39 ` Matt Turner
2012-05-30 10:28 ` Niccolò Belli
2012-05-30 9:11 ` Oliver Seitz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.