<div class="gmail_quote">On Wed, May 16, 2012 at 8:56 PM, Geoff B wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>I'm running 0.25-fixes on Mythbuntu 12.04 x64, and am using an Ivy Bridge (3750K) CPU in an attempt to get VAAPI playback. <br>
<br>Right now, when I play back a recording with VAAPI (no deinterlacing set) the frontend gives me the usual black screen with "Please wait...", but instead of the recording starting I get about a half-second of audio; the screen goes black, then back to the 'Please wait' screen - and this repeats 4-5 times. After that, the machine freezes completely, and I have to hard-boot it. If I'm lucky, I can press escape during the "Please wait" cycle and get back to the Myth menus. <br>
<br>vainfo returns:<br><br><font size="1"><span style="font-family:courier new,monospace">libva: VA-API version 0.32.0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">libva: va_getDriverName() returns 0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">libva: va_openDriver() returns 0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">vainfo: VA-API version: 0.32 (libva 1.0.15)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">vainfo: Driver version: Intel i965 driver - 1.0.15</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">vainfo: Supported profile and entrypoints</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> VAProfileMPEG2Simple : VAEntrypointVLD</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> VAProfileMPEG2Main : VAEntrypointVLD</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> VAProfileH264Baseline : VAEntrypointVLD</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> VAProfileH264Baseline : VAEntrypointEncSlice</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> VAProfileH264Main : VAEntrypointVLD</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> VAProfileH264Main : VAEntrypointEncSlice</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> VAProfileH264High : VAEntrypointVLD</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> VAProfileH264High : VAEntrypointEncSlice</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> VAProfileVC1Simple : VAEntrypointVLD</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> VAProfileVC1Main : VAEntrypointVLD</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> VAProfileVC1Advanced : VAEntrypointVLD</span></font><br>
<br>I've seen references to environment variables like LIBVA_DRIVERS_PATH but I don't have these set; do I need these?<br><br>I assume the next request is to ask for a backtrace, but from my reading this requires something to actually crash, right? From what I can tell, I'm not getting a crash, I'm getting a freeze (or a recovery back into the frontend menus). I'm more than happy to be wrong, and to put whatever effort needed into debugging. I ran mythfrontend-real > mythdebug.log, contents of which are here:<br>
<a href="http://pastebin.com/T44DhReU" target="_blank">http://pastebin.com/T44DhReU</a><br><br>(thiis is from one of the times I managed to recover with the escape key)<br><br>In case it helps, there were several lines which 'escaped' into the terminal window:<br>
<font size="1"><span style="font-family:courier new,monospace"><br>QFont::setPixelSize: Pixel size <= 0 (0)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
QFont::setPixelSize: Pixel size <= 0 (0)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">QFont::setPixelSize: Pixel size <= 0 (0)</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QFont::setPixelSize: Pixel size <= 0 (0)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">libva: VA-API version 0.32.0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">libva: va_getDriverName() returns 0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/</span></font><font size="1"><span style="font-family:courier new,monospace">i965_drv_video.so</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">
libva: va_openDriver() returns 0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">libva: VA-API version 0.32.0</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">libva: va_getDriverName() returns 0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/</span></font><font size="1"><span style="font-family:courier new,monospace">i965_drv_video.so</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">libva: va_openDriver() returns 0</span><br style="font-family:courier new,monospace"></font><br>Note that OpenGL works fine, albeit with 50%-70% CPU usage. Videos work fine too - it's just recordings that fail.<br>
Any help greatly appreciated!<br> <br></blockquote><div> </div></div>Based on the silence on this one, there's not a simple solution to this; is this better suited to the developers mailing list? Or is VAAPI just not really working yet?<br>
Thanks,<br>Geoff<br>