[Libva] bug report - vainfo: dri2_util.c:164: isDRI2Connected: Assertion `dri_state->fd >= 0' failed

Kite Lau kitelau at gmail.com
Thu Apr 1 04:20:47 PDT 2010


于 2010年04月01日 17:56, Gwenole Beauchesne 写道:
> On Thu, 1 Apr 2010, Kite Lau wrote:
>
>> AI44, flags 0x0
>> [vo_vaapi] preinit(): 2 profiles available
>> VAProfileMPEG2Simple
>> VAProfileMPEG2Main
>> ==========================================================================
>>
>> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
>> [vo_vaapi] query_format(): format 4d504553 (Mpeg PES)
>> Could not find matching colorspace - retrying with -vf scale...
>> Opening video filter: [scale]
>> [vo_vaapi] query_format(): format 4d504553 (Mpeg PES)
>> VDecoder init failed :(
>> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
>> [VD_FFMPEG] VA API accelerated codec.
>> Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
>> ==========================================================================
>>
>> ==========================================================================
>>
>> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
>> Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
>> ==========================================================================
>>
>> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
>> Starting playback...
>> [VD_FFMPEG] Trying pixfmt=1.
>> [vo_vaapi] query_format(): format 32315659 (Planar YV12)
>> [vo_vaapi] query_format(): format 30323449 (Planar I420)
>
> This should not be trying those formats first. So you probably have
> hardcoded some other values/filters that fallback to SW mode. Check your
> mplayer config file.
>
>> [vo_vaapi] query_format(): format 32315659 (Planar YV12)
>> [vo_vaapi] query_format(): format 30323449 (Planar I420)
>> [vo_vaapi] query_format(): format 56555949 (Planar IYUV)
>> [vo_vaapi] query_format(): format 50323234 (Planar 422P)
>> [vo_vaapi] query_format(): format 50343434 (Planar 444P)
>> Could not find matching colorspace - retrying with -vf scale...
>
> Since upstream libVA does not support va{Get,Put,Derive}Image(), this is
> normal. This reminds me that if someone could commit my pending G45
> patches, that would be great, now that the H.264 decoder is out. ;-)
>
> I will upload a new libva -sds12 this evening.
>
> Regards,
> Gwenole.
>

Hi Gwennole,

Thanks a lot. Yes you are right1 my previous personal mplayer config was 
in the way. I am very happy to see that actually mplayer-vaapi with 
mainline libva playes mpeg2 files here. Expecting H264 playback with 
vaapi...

Kite


More information about the Libva mailing list