Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eselect mesa: i965: classic only?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Thu Oct 24, 2013 9:08 am    Post subject: eselect mesa: i965: classic only? Reply with quote

No gallium for i965?

# eselect mesa list
i915 (Intel 915, 945)
[1] gallium *
i965 (Intel 965, G/Q3x, G/Q4x)
[1] classic *
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
[1] classic
[2] gallium *
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Thu Oct 24, 2013 10:53 am    Post subject: Reply with quote

The official intel driver does not make use of gallium. But AFAIK there is an alternative driver that was built around gallium. Nevertheless "classic" is the recommended way to go.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Tue Jun 17, 2014 6:50 am    Post subject: Reply with quote

Is this still the case? I've heard of an ilo driver that allows one to use vdpau with an igpu like in the haswell series. This would be amazing for software like avidemux that supports vdpau, but does not support vaapi, so that igpu users get accelerated video.

edit: I got it to work, now when I try eselect mesa list I get this. I set the gallium driver.

Code:
# eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic
  [2]   gallium *
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic
  [2]   gallium *
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
32bit r300 (Radeon R300-R500)
  [1]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


However, when I put this line in my xorg.conf, I can no longer start X.

Code:
# cat /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "Intel"
[b]Option "DRI "ilo"[/b]
Option "TearFree" "true"
EndSection


I made sure to add gallium to my USE flags, and ilo to my VIDEO_CARDS. I re-emerged xf86-video-intel, and mesa. What else should I have to do to get this to work? My goal is to be able to use VDPAU with my haswell's integrated GPU as VAAPi has very limited & buggy support for most video editing & playback applications. All I can get to work with vaapi so far is VLC. I'd love to be able to edit video in avidemux with hardware accelerated goodness. :)

Thanks!
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Tue Jun 17, 2014 10:16 am    Post subject: Reply with quote

The official and recommended Mesa OpenGL driver for i965 is the classic one. The ilo driver is developed by a third party for SandyBridge and newer chips, and is slower and less fully-featured.

There are only few reasons why one would use the ilo driver over i965, one being the Gallium HUD.
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Tue Jun 17, 2014 2:27 pm    Post subject: Reply with quote

thender:

If you want VDPAU on an Intel GPU, have a look at libvdpau-va-gl. There's an ebuild in the x11 overlay. Install it, then start your VDPAU app with

$ VDPAU_DRIVER=va_gl someapp
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Wed Jun 18, 2014 1:44 am    Post subject: Reply with quote

haarp wrote:
thender:

If you want VDPAU on an Intel GPU, have a look at libvdpau-va-gl. There's an ebuild in the x11 overlay. Install it, then start your VDPAU app with

$ VDPAU_DRIVER=va_gl someapp


I tried that, but it works terribly. You get the exact same CPU usage as if there were no VDPAU. The application being opened will work with vdpau options, like mplayer, but you don't get any acceleration.

VAAPI is amazing, but nothing supports it. I don't get why avidemux has ./configure options for enabling VAAPI if you still get 100%+ CPU usage with it. VLC seems to be the only app that's got VAAPI right that I've tried.

Do you have any suggestions on what I may have missed?


7% CPU usage using VLC with VAAPI

Code:
 vlc samplevideo1080p.mkv
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1f1f118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x1ff6858] qt4 interface error: Unable to load extensions module
[0x7f8e10cb1b58] dts decoder: DTS channels:6 samplerate:48000 bitrate:1536000
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7f8e10c0d868] avcodec decoder: Using VA API version 0.35 for hardware decoding.
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7f8e10c0d868] avcodec decoder: Using VA API version 0.35 for hardware decoding.
[0x7f8de4001248] main vout display error: Failed to resize display
Stream with high frequencies VQ coding
to


60% CPU usage without VDPAU with mplayer

Code:
# mplayer samplevideo1080p.mkv
MPlayer SVN-r36370 (Gentoo)-4.7.3 (C) 2000-2013 MPlayer Team
MMX2 supported but disabled

Playing samplevideo1080p.mkv.
libavformat version 55.33.100 (external)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0, -alang eng
[lavf] stream 2: subtitle (subrip), -sid 0, -slang eng
VIDEO:  [H264]  1920x1080  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 encoder: libebml v1.2.3 + libmatroska v1.3.0
 creation_time: 2012-02-18 17:22:27
Load subtitles in ./
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.52.102 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 1536.0 kbit/50.00% (ratio: 192000->384000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
A:   5.5 V:   3.3 A-V:  2.205 ct:  0.041   0/  0 93% 63%  4.8% 50 0


           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  31.0 V:  24.3 A-V:  6.679 ct:  0.041   0/  0 57% 66%  2.6% 548 0


MPlayer interrupted by signal 2 in module: decode video
A:  31.0 V:  24.3 A-V:  6.695 ct:  0.041   0/  0 57% 66%  2.6% 549 0

Exiting... (Quit)


60% CPU usage with VDPAU with mplayer

Code:
# mplayer -vo vdpau samplevideo1080p.mkv
MPlayer SVN-r36370 (Gentoo)-4.7.3 (C) 2000-2013 MPlayer Team
MMX2 supported but disabled

Playing samplevideo1080p.
libavformat version 55.33.100 (external)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0, -alang eng
[lavf] stream 2: subtitle (subrip), -sid 0, -slang eng
VIDEO:  [H264]  1920x1080  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 encoder: libebml v1.2.3 + libmatroska v1.3.0
 creation_time: 2012-02-18 17:22:27
Load subtitles in ./
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.52.102 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 1536.0 kbit/50.00% (ratio: 192000->384000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
A:   3.0 V:   2.0 A-V:  1.075 ct:  0.041   0/  0 84% 58%  2.9% 21 0
No bind found for key 'CTRL-c'.
A:   4.3 V:   2.5 A-V:  1.848 ct:  0.041   0/  0 103% 60%  3.1% 33 0
No bind found for key 'CTRL-c'.
A:   6.1 V:   3.2 A-V:  2.951 ct:  0.041   0/  0 120% 62%  3.1% 50 0


           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  30.9 V:  21.1 A-V:  9.824 ct:  0.041   0/  0 78% 65%  1.9% 477 0


MPlayer interrupted by signal 2 in module: filter video
A:  31.0 V:  21.1 A-V:  9.836 ct:  0.041   0/  0 78% 65%  1.9% 478 0

Exiting... (Quit)

avidemux, VDPAU display output, using VDPAU HW decoder.
Freezes altogether.
Code:


Found 88641 images in this cluster
 [open]  Track 0 has an index size of 88641 entries
  [open]  Track 1 has an index size of 45009 entries
  [ComputeDeltaAndCheckBFrames]  PTS is not monotonous, there are bframe
  [ComputeDeltaAndCheckBFrames]  Minimum delta found 41000 us
  [ComputeDeltaAndCheckBFrames]  Maximum delta found 251000 us
  [ComputeDeltaAndCheckBFrames]  Keeping default frame duration  41708 us
  [ComputeDeltaAndCheckBFrames]  First frame pts     0 us
  [ComputeDeltaAndCheckBFrames]  Delaying video by 251000 us
  [ComputeDeltaAndCheckBFrames]  [mkv] Delaying audio by 251000 us
 [MKV] Video Track duration for 3697284 ms
[MKV]Matroska successfully read
[Editor]The video codec has some extradata (40 bytes)

 0000 : .d.(��..gd.(��@x  01 64 00 28 ff e1 00 18 67 64 00 28 ac d9 40 78
 0010 : .'��..]<.1-.<`�X  02 27 e5 84 00 06 5d 3c 01 31 2d 02 3c 60 c6 58
 0020 : ...h�;,�  01 00 05 68 e9 3b 2c 8b
 [ADM_PP]  Initializing postproc
  [cleanup]  Deleting post proc
  [update]  updating post proc
  [update]  Disabled
  [addFile]  Clearing video filters
  [ADM_vf_clearFilters]  clear filters
 [ADM_ad_plugin]Format 0x2001 : probing libADM_ad_a52.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_dca.so score 50
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_Mad.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_faad.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_lav.so score 100
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_ima_adpcm.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_ulaw.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_ms_adpcm.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_vorbis.so score 0
 [ADM_AudiocoderLavcodec]   [ADM_AD_LAV] Using decoder for type 0x2001
  [ADM_AudiocoderLavcodec]   [ADM_AD_LAV] #of channels 6
 [ADM_AD_LAV] Using 0 bytes of extra header data

 [ADM_AudiocoderLavcodec]  Decoder created using float planar...
  [ADM_AudiocoderLavcodec]  [ADM_ad_lav] init successful (blockalign 0)
  [ADM_edAudioTrackFromVideo]  Creating edAudio from video track 0 at 3bca000
 [Editor] Decoder FCC: AVC1 (31435641) [ADM_getDecoder] 
Searching decoder in plugins
  [tryCreatingVideoDecoder]  No decoder found in plugin
  [ADM_getDecoder]  Searching decoder in vdpau (1920 x 1080, extradataSize:40)...
  [ADM_getDecoder]  This is vdpau compatible
 [lavc] Build: 3562596
[lavc] Decoder init: h264_vdpau video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration))
 [decoderFFVDPAU]  [VDPAU] Decoder created
  [addReferenceVideo]  [editor] Original frame increment 00:00:00,041
  [addReferenceVideo]  [Editor] min increment 00:00:00,041
  [addReferenceVideo]  [Editor] max increment 00:00:00,083
  [addReferenceVideo]  [Editor] About 41708 microseconds per frame
  [addReferenceVideo]  The first frame has a PTS >0, adjusting to 251 ms
  [updateStartTime]  Using pts2=00:00:00,251 to get dts, as this video does not start at zero
  [ADM_verifyDts]  Verifying DTS....
  [ADM_verifyDts]  Checking from 1 to 88641
  [ADM_verifyDts]  Pass 2..
  [ADM_verifyDts]  DTS verified
 [Editor] B- frame possible with that codec
 [addFile]  [Editor] This is H264, check if we can fill missing PTS
  [ADM_setH264MissingPts]  We have 0 missing PTS
  [checkForDoubledFps]  Checking for doubled FPS.., time increment ceiling = 75074
  [checkForDoubledFps]  Checking DTS...
  [checkTiming]     Good : 3
  [checkTiming]     Bad  : 88637
  [checkForDoubledFps]  Checking PTS...
  [checkTiming]     Good : 0
  [checkTiming]     Bad  : 88640
  [checkForDoubledFps]  Cannot halve fps
  [renderDisplayResize]  Render to 1920x1080 zoom=1
  [init]  [Vdpau]Xv start
  [mixerEnableFeature]  Enabling 0 features
  [spawnRenderer]  vdpau init ok
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [paintGL]  Painting dummy openGl widget
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [paintGL]  Painting dummy openGl widget
 [RDR] Resizing to 960 x 540
 [renderCompleteRedrawRequest]  RedrawRequest
  [A_ResetMarkers]  Video Total duration : 01:01:37,325 ms
  [rewind]  Rewinding
  [switchToSegment]  Trying to switch to seg 0 with startTime in reference pic= 0 ms
  [seektoTime]  First frame of the new segment is a keyframe at 251ms
  [DecodePictureUpToIntra]   DecodeUpToInta 0 ref:0
 [edCache] Flush
[decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
 [decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 1, not necessarily a problem
  [switchToSegment]  Switched ok to segment 0 (dontdecode=0)
  [start]  admPreview,starting
  [updateLoaded]   conf updated
 
 ********** Automation ended***********
 [HandleAction]  ************ PlayAvi **************
 [VideoFilterBridge] Creating bridge from 0 s to 1000000 s
 [seektoTime]  First frame of the new segment is a keyframe at 251ms
  [DecodePictureUpToIntra]   DecodeUpToInta 0 ref:0
 [edCache] Flush
[decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
 [decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 1, not necessarily a problem
  [goToTimeVideo]  Seek done, in reference, gone to 251000 with segment start at 0
  [renderDisplayResize]  Render to 1920x1080 zoom=1
  [renderCompleteRedrawRequest]  RedrawRequest
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
  [rewind]  [AudioBridge] Going to time 251
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
  [AUDMAudioFilter_Bridge]  [Bridge] Starting with time 251 ms, shift 0 ms
 [Bridge] Ending with time 251, sample 0
 [rewind]  [AudioBridge] Going to time 251
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
  [rewind]  [AudioBridge] Going to time 251
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
 DeviceStopped -> DeviceStopped
 [localInit]  Pulse, initiliazing channel=2 samplerate=48000
  [localInit]  [PulseSimple] open ok
 DeviceStopped -> DeviceStarted
 [stop]  [audioDevice]Stopping device... DeviceStarted -> DeviceStop_Requested
[AudioDeviceThreaded] Entering loop
DeviceStop_Requested -> DeviceStop_Granted
[AudioDeviceThreaded] Exiting loop
[PulseAudio] Stopped
DeviceStop_Granted -> DeviceStopped
DeviceStopped -> DeviceStopped
 [localInit]  Pulse, initiliazing channel=2 samplerate=48000
  [localInit]  [PulseSimple] open ok
 DeviceStopped -> DeviceStarted
[Playback] Latency : 50 ms
[AudioDeviceThreaded] Entering loop
[Playback] Latency is now 0
 [startThread]  Starting thread...
  [startThread]  Thread created and started
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
^C


avidemux, opengl video output with VDPAU hw decoding, freezes altogether.

Code:
Found 88641 images in this cluster
 [open]  Track 0 has an index size of 88641 entries
  [open]  Track 1 has an index size of 45009 entries
  [ComputeDeltaAndCheckBFrames]  PTS is not monotonous, there are bframe
  [ComputeDeltaAndCheckBFrames]  Minimum delta found 41000 us
  [ComputeDeltaAndCheckBFrames]  Maximum delta found 251000 us
  [ComputeDeltaAndCheckBFrames]  Keeping default frame duration  41708 us
  [ComputeDeltaAndCheckBFrames]  First frame pts     0 us
  [ComputeDeltaAndCheckBFrames]  Delaying video by 251000 us
  [ComputeDeltaAndCheckBFrames]  [mkv] Delaying audio by 251000 us
 [MKV] Video Track duration for 3697284 ms
[MKV]Matroska successfully read
[Editor]The video codec has some extradata (40 bytes)

 0000 : .d.(��..gd.(��@x  01 64 00 28 ff e1 00 18 67 64 00 28 ac d9 40 78
 0010 : .'��..]<.1-.<`�X  02 27 e5 84 00 06 5d 3c 01 31 2d 02 3c 60 c6 58
 0020 : ...h�;,�  01 00 05 68 e9 3b 2c 8b
 [ADM_PP]  Initializing postproc
  [cleanup]  Deleting post proc
  [update]  updating post proc
  [update]  Disabled
  [addFile]  Clearing video filters
  [ADM_vf_clearFilters]  clear filters
 [ADM_ad_plugin]Format 0x2001 : probing libADM_ad_a52.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_dca.so score 50
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_Mad.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_faad.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_lav.so score 100
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_ima_adpcm.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_ulaw.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_ms_adpcm.so score 0
[ADM_ad_plugin]Format 0x2001 : probing libADM_ad_vorbis.so score 0
 [ADM_AudiocoderLavcodec]   [ADM_AD_LAV] Using decoder for type 0x2001
  [ADM_AudiocoderLavcodec]   [ADM_AD_LAV] #of channels 6
 [ADM_AD_LAV] Using 0 bytes of extra header data

 [ADM_AudiocoderLavcodec]  Decoder created using float planar...
  [ADM_AudiocoderLavcodec]  [ADM_ad_lav] init successful (blockalign 0)
  [ADM_edAudioTrackFromVideo]  Creating edAudio from video track 0 at 2a51040
 [Editor] Decoder FCC: AVC1 (31435641) [ADM_getDecoder] 
Searching decoder in plugins
  [tryCreatingVideoDecoder]  No decoder found in plugin
  [ADM_getDecoder]  Searching decoder in vdpau (1920 x 1080, extradataSize:40)...
  [ADM_getDecoder]  This is vdpau compatible
 [lavc] Build: 3562596
[lavc] Decoder init: h264_vdpau video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration))
 [decoderFFVDPAU]  [VDPAU] Decoder created
  [addReferenceVideo]  [editor] Original frame increment 00:00:00,041
  [addReferenceVideo]  [Editor] min increment 00:00:00,041
  [addReferenceVideo]  [Editor] max increment 00:00:00,083
  [addReferenceVideo]  [Editor] About 41708 microseconds per frame
  [addReferenceVideo]  The first frame has a PTS >0, adjusting to 251 ms
  [updateStartTime]  Using pts2=00:00:00,251 to get dts, as this video does not start at zero
  [ADM_verifyDts]  Verifying DTS....
  [ADM_verifyDts]  Checking from 1 to 88641
  [ADM_verifyDts]  Pass 2..
  [ADM_verifyDts]  DTS verified
 [Editor] B- frame possible with that codec
 [addFile]  [Editor] This is H264, check if we can fill missing PTS
  [ADM_setH264MissingPts]  We have 0 missing PTS
  [checkForDoubledFps]  Checking for doubled FPS.., time increment ceiling = 75074
  [checkForDoubledFps]  Checking DTS...
  [checkTiming]     Good : 3
  [checkTiming]     Bad  : 88637
  [checkForDoubledFps]  Checking PTS...
  [checkTiming]     Good : 0
  [checkTiming]     Bad  : 88640
  [checkForDoubledFps]  Cannot halve fps
  [renderDisplayResize]  Render to 1920x1080 zoom=1
  [QtGlRender]  Creating GL Renderer
 [GL Render] Initialising renderer
 [QtGlAccelWidget]  [QTGL]    Creating glWidget
 [GL Render] Setting widget display size to 1920 x 1080
[GL Render] OpenGL Vendor: LunarG, Inc.
[GL Render] OpenGL Renderer: Gallium 0.4 on Intel(R) Haswell Mobile
[GL Render] OpenGL Version: 2.1 Mesa 10.2.1
[GL Render] OpenGL Extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_NV_vdpau_interop GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_clear_buffer_object GL_ARB_invalidate_subdata GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_multi_bind GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix
[GL Render] Init successful
 [spawnRenderer]  QtGl init ok
  [paintGL]  Painting dummy openGl widget
  [paintGL]  Painting dummy openGl widget
 [RDR] Resizing to 960 x 540
 [renderCompleteRedrawRequest]  RedrawRequest
  [A_ResetMarkers]  Video Total duration : 01:01:37,325 ms
  [rewind]  Rewinding
  [switchToSegment]  Trying to switch to seg 0 with startTime in reference pic= 0 ms
  [seektoTime]  First frame of the new segment is a keyframe at 251ms
  [DecodePictureUpToIntra]   DecodeUpToInta 0 ref:0
 [edCache] Flush
[decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
 [decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 1, not necessarily a problem
  [switchToSegment]  Switched ok to segment 0 (dontdecode=0)
  [start]  admPreview,starting
  [updateLoaded]   conf updated
 
 ********** Automation ended***********
 [HandleAction]  ************ PlayAvi **************
 [VideoFilterBridge] Creating bridge from 0 s to 1000000 s
 [seektoTime]  First frame of the new segment is a keyframe at 251ms
  [DecodePictureUpToIntra]   DecodeUpToInta 0 ref:0
 [edCache] Flush
[decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
 [decompressImage] uncompress failed
 [DecodePictureUpToIntra]   decode error for frame 1, not necessarily a problem
  [goToTimeVideo]  Seek done, in reference, gone to 251000 with segment start at 0
  [renderDisplayResize]  Render to 1920x1080 zoom=1
  [renderCompleteRedrawRequest]  RedrawRequest
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
  [rewind]  [AudioBridge] Going to time 251
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
  [AUDMAudioFilter_Bridge]  [Bridge] Starting with time 251 ms, shift 0 ms
 [Bridge] Ending with time 251, sample 0
 [rewind]  [AudioBridge] Going to time 251
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
  [rewind]  [AudioBridge] Going to time 251
  [goToTime]   go to time 0.25 secs
  [goToTime]  => seg 0, rel time 0.25 secs
  [goToTime]  [MKVAUDIO] Asked for 00:00:00,251 , go to block 0
  [goToTime]  [MKVAUDIO] This block starts at 00:00:00,251
  [goToTime]  [MKVAUDIO] Offset=0 us
 DeviceStopped -> DeviceStopped
 [localInit]  Pulse, initiliazing channel=2 samplerate=48000
  [localInit]  [PulseSimple] open ok
 DeviceStopped -> DeviceStarted
[AudioDeviceThreaded] Entering loop
 [stop]  [audioDevice]Stopping device... DeviceStarted -> DeviceStop_Requested
DeviceStop_Requested -> DeviceStop_Granted
[AudioDeviceThreaded] Exiting loop
[PulseAudio] Stopped
DeviceStop_Granted -> DeviceStopped
DeviceStopped -> DeviceStopped
 [localInit]  Pulse, initiliazing channel=2 samplerate=48000
  [localInit]  [PulseSimple] open ok
 DeviceStopped -> DeviceStarted
[AudioDeviceThreaded] Entering loop
[Playback] Latency : 50 ms
[Playback] Latency is now 0
 [startThread]  Starting thread...
  [startThread]  Thread created and started
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 25
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 26
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 27
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 28
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC  -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 29
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 30
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 31
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 32
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 33
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 34
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 35
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 37
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 36
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC  -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 40
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 39
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 38
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 42
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 41
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 45
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 44
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 43
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 47
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC  -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 46
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 50
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 49
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 48
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC � -> VDP_YCBCR_FORMAT_YV12
  [getDataSurface]  ADM_coreVdpau::funcs.getDataSurface( surface, VDP_YCBCR_FORMAT_YV12, ( void * const *)planes, stride ) call failed with error=VDP_STATUS_INVALID_Y_CB_CR_FORMAT
  [vdpauRefDownload]  [VDPAU] Cannot get data from surface <VDP_STATUS_INVALID_Y_CB_CR_FORMAT>
  [vdpauRefDownload]  Cannot get VDPAU content from surface 53
^C

Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Wed Jun 18, 2014 12:50 pm    Post subject: Reply with quote

The vaapi<>vdpau wrappers never worked properly for me.

Besides vlc, other media players that support vaapi are mpv (fork of mplayer and mplayer2), mythtv and xbmc
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Jun 18, 2014 1:15 pm    Post subject: Reply with quote

"mplayer -vo vdpau" just gives you presentation, for decoding you also need to specify the decoder - "mplayer -vo vdpau -vc ffh264vdpau". Though I suggest you use mpv, it has native vaapi support - "mpv --vo=vaapi --hwdec=vaapi"

BTW, using a gallium driver will not automatically give you vdpau, it still needs to be coded into the specific driver, and I'm not aware of ilo having vdpau. Maybe the presentation part, but definitely not decoding.

The vaapi<>vdpau wrappers do work in some scenarios, but native support is of course more reliable. libvdpau-va-gl was written more or less specifically for flash.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Wed Jun 18, 2014 3:49 pm    Post subject: Reply with quote

This is excellent information.

My followup question - does there exist a video editor that works with VAAPI in Linux? I would kill for the ability to use the graphics processor to edit video.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Wed Jun 18, 2014 4:44 pm    Post subject: Reply with quote

It might work with pitivi and gst-plugins-vaapi, though a quick google search did not reveal any success stories.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Wed Jun 18, 2014 11:07 pm    Post subject: Reply with quote

pitivi crashes the second you hit play on a video file. There are no options anywhere in the preferences to change decoder/hw acceleration options. Here's what I saw in the terminal.

Code:
 $ pitivi
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete
ERROR:root:Could not find any typelib for GnomeDesktop
Missing soft dependency:
- GnomeDesktop not found on the system
    -> file thumbnails provided by GNOME's thumbnailers

(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gi/overrides/GLib.py", line 633, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/lib64/pitivi/python/pitivi/mediafilespreviewer.py", line 355, in _update_position
    curr_pos = self.player.getPosition()
  File "/usr/lib64/pitivi/python/pitivi/utils/pipeline.py", line 298, in getPosition
    raise PipelineError("Couldn't get position")
pitivi.utils.pipeline.PipelineError: Couldn't get position

(pitivi:31839): GStreamer-CRITICAL **: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
Segmentation fault



I also tried mpv, as wa suggested as an mplayer fork with vaapi support. I get this running it with -vo vaapi.

Code:
[vo] Video output vaapi not found!
Error opening/initializing the selected video_out (-vo) device.


If I try to play video with no additional options, I get 86% CPU usage.

If I run vainfo, I see that it works.

Code:
$ vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver - 1.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :   VAEntrypointVLD
      VAProfileMPEG2Simple            :   VAEntrypointEncSlice
      VAProfileMPEG2Main              :   VAEntrypointVLD
      VAProfileMPEG2Main              :   VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:   VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:   VAEntrypointEncSlice
      VAProfileH264Main               :   VAEntrypointVLD
      VAProfileH264Main               :   VAEntrypointEncSlice
      VAProfileH264High               :   VAEntrypointVLD
      VAProfileH264High               :   VAEntrypointEncSlice
      VAProfileVC1Simple              :   VAEntrypointVLD
      VAProfileVC1Main                :   VAEntrypointVLD
      VAProfileVC1Advanced            :   VAEntrypointVLD
      VAProfileNone                   :   VAEntrypointVideoProc
      VAProfileJPEGBaseline           :   VAEntrypointVLD


I don't even mind mplayer's mess of vaapi, since VLC plays back fine, but would absolutely love to find a video editor that can actually use hardware acceleration. I guess I'm asking too much! :(
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Jun 19, 2014 8:47 am    Post subject: Reply with quote

Were mpv and ffmpeg/libav built with USE="vaapi"?
Code:
(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
That seems like a problem in your gst-plugins-libav. Did you recently switch between ffmpeg and libav?

If the pitivi crash is not resolved after rebuilding gst-plugins-libav, then it would be good if you report a bug.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Thu Jun 19, 2014 5:38 pm    Post subject: Reply with quote

My make.conf USE flags have had vaapi in them all along.

chithanh wrote:
Were mpv and ffmpeg/libav built with USE="vaapi"?
Code:
(pitivi:31839): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlibav.so': /usr/lib64/libavcodec.so.55: symbol av_buffer_alloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
That seems like a problem in your gst-plugins-libav. Did you recently switch between ffmpeg and libav?

If the pitivi crash is not resolved after rebuilding gst-plugins-libav, then it would be good if you report a bug.


When I try to emerge gst-plugins-libav

I get this

Code:
# emerge gst-plugins-libav
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
[ebuild  N     ] media-video/ffmpeg-1.2.6  USE="X aac alsa bzip2 encode hardcoded-tables iconv mmx mp3 network opus pulseaudio sdl theora threads truetype vaapi vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -avx -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libcaca -libsoxr -libv4l -mmxext -modplug (-neon) -openal -openssl -oss -pic -rtmp -schroedinger -speex -ssse3 -static-libs {-test} -twolame -v4l -vdpau (-vis) -vpx" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher"
[ebuild  N    ~] virtual/ffmpeg-9-r1  USE="X encode mp3 opus sdl theora truetype vaapi x264 -gsm -jpeg2k -speex -threads -vdpau" ABI_X86="(64) -32 (-x32)"
[ebuild   R   ~] media-plugins/gst-plugins-libav-1.2.0-r1
[blocks B      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.8.11)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/libav-0.8.11::gentoo, installed) pulled in by
    media-video/libav required by @selected

  (media-video/ffmpeg-1.2.6::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/ffmpeg-1.0:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?] (>=media-video/ffmpeg-1.0:0[abi_x86_64(-),X,encode,mp3,opus,sdl,theora,truetype,vaapi,x264]) required by (virtual/ffmpeg-9-r1::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


Are you saying that I can only have libav or ffmpeg? Should I be using libav instead of ffmpeg?

I have set USE="-ffmpeg vaapi"

I have also unmerged ffmpeg, but everything related to libav still brings in ffmpeg, so I am highly confused as to what is bringing it in and what's going on.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri Jun 20, 2014 9:58 am    Post subject: Reply with quote

virtual/ffmpeg needs matching USE flags set for media-libs/ffmpeg or media-libs/libav. It seems that you have set in package.use the matching flags for libav only (you have libav-0.8.1 installed).
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Fri Jun 20, 2014 12:05 pm    Post subject: Reply with quote

chithanh wrote:
virtual/ffmpeg needs matching USE flags set for media-libs/ffmpeg or media-libs/libav. It seems that you have set in package.use the matching flags for libav only (you have libav-0.8.1 installed).


So you're saying in package.use, virtual/ffmpeg needs to be set to use media-libs/ffmpeg or media-libs/libav?

So, to use libav, I should have a line like this in package.use I am assuming:

Code:
=virtual/ffmpeg-9-r1 -ffmpeg libav


I am sorry if this sounds dense, I am just trying to understand. Here is my make.conf while we're at it.

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O3 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="libva hfs hfs+ git subversion mesa dbus acl X samba intel icu suspend hibernate test-programs pulseaudio lm_sensors -gnome gphoto2 gphoto libgphoto libgphoto2 gvfs mtp qt4 test-programs -consolekit -openrc systemd kde qt branding bluetooth wifi networkmanager synaptics mmx sse sse2 alsa acpi gtk thunar vaapi theora -vdpau imagemagick win32codecs melt xine cdda xvmc -nvidia dts encode libav ffmpeg lame matroska mp3 mp4 musepack ogg vorbis wavpack x264 dvd opus"
GRUB_PLATFORMS="efi-64"
MAKEOPTS="-j4"
VIDEO_CARDS="intel"
#ACCEPT_KEYWORDS="~amd64"

GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo"


# Set PORTDIR for backward compatibility with various tools:
#   gentoo-bashcomp - bug #478444
#   euse - bug #474574
#   euses and ufed - bug #478318
PORTDIR="/usr/portage"
XFCE_PLUGINS="brightness clock trash"
PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"
source /var/lib/layman/make.conf


Last edited by thender on Fri Jun 20, 2014 12:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri Jun 20, 2014 12:09 pm    Post subject: Reply with quote

To be more clear, you have USE flags set in package.use for virtual/ffmpeg and either media-libs/ffmpeg and media-libs/libav from what I can tell. The same flags must be set for all three, or else trying to switch between libav and ffmpeg will lead to slot conflict or blockers.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Fri Jun 20, 2014 12:13 pm    Post subject: Reply with quote

That's strange, originally when I checked package.use I had no USE flags set for any of them, which I imagine would mean they were just using the USE flags from make.conf.

Ah well. Time to dig a little deeper and see what happens.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Fri Jun 20, 2014 12:41 pm    Post subject: Reply with quote

Ok so I managed to re-emerge pitivi, gst-plugins-libav, libav, remove ffmpeg, and still exact same crashing in pitivi.

I also tried cinelerra for the heck of it. It loads a file, and plays back black video with 100% static/noise audio.

I am almost convinced at this point that avidemux is the only working linux video editor. I would pay a pretty penny for an avidemux that had working VAAPI support! :D

Code:
$ pitivi
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete
ERROR:root:Could not find any typelib for GnomeDesktop
Missing soft dependency:
- GnomeDesktop not found on the system
    -> file thumbnails provided by GNOME's thumbnailers
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

(pitivi:4151): Gdk-ERROR **: The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 6362 error_code 9 request_code 153 (DRI2) minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap
louis@localhost ~ $ pitivi
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete
ERROR:root:Could not find any typelib for GnomeDesktop
Missing soft dependency:
- GnomeDesktop not found on the system
    -> file thumbnails provided by GNOME's thumbnailers
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

(pitivi:4199): GStreamer-CRITICAL **: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
Segmentation fault
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Wed Jul 02, 2014 11:24 am    Post subject: Reply with quote

I've found hardware decoders still a bit problematic in gstreamer-1.2, especially for scenarios that aren't just straight playback to screen.
There have been further improvements and fixes to that in development, so hopefully there'll be better results with upcoming gstreamer-1.4 soon.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Sat Jul 05, 2014 1:49 am    Post subject: Reply with quote

Leio wrote:
I've found hardware decoders still a bit problematic in gstreamer-1.2, especially for scenarios that aren't just straight playback to screen.
There have been further improvements and fixes to that in development, so hopefully there'll be better results with upcoming gstreamer-1.4 soon.


In terms of something simple that works like windows movie maker, I've found avidemux to be by far the best. I'm sticking to avidemux2 without hardware decoding. I'm not trying to film Spiderman, just some basic youtube videos where I have to edit out me walking in front of the camera, and when the battery dies, etc. Also with encoding, it is absolutely amazing, every option is there, and there's no fluff.

I've decided to just stick with avidemux with no hardware decoding. With the newer machine I have it uses 70% CPU so I can edit high bitrate AVCHD in realtime with no lag. By the time I do get a better video camera that outputs something that requires hardware decoding, hopefully VAAPI is included in avidemux, or I have a laptop with an nvidia card by then. :)

VAAPI in general seems really lacking and weak compared to VDPAU/nvidia. Banding/tearing in videos for the first five seconds until you seek(regardless of what I toss in xorg.conf), limited program support, etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum