On Fri, May 18, 2012 at 12:08 PM, Michael T. Dean wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
On 05/18/2012 10:12 AM, Geoff B wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
(3750K) CPU in an attempt to get VAAPI playback.<br>
<br>
Right now, when I play back a recording with VAAPI (no deinterlacing set)<br>
the frontend gives me the usual black screen with "Please wait...", but<br>
instead of the recording starting I get about a half-second of audio; the<br>
screen goes black, then back to the 'Please wait' screen - and this repeats<br>
4-5 times. After that, the machine freezes completely, and I have to<br>
hard-boot it. If I'm lucky, I can press escape during the "Please wait"<br>
cycle and get back to the Myth menus.<br>
<br>
vainfo returns:<br>
<br>
libva: VA-API version 0.32.0<br>
libva: va_getDriverName() returns 0<br>
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/<u></u>i965_drv_video.so<br>
libva: va_openDriver() returns 0<br>
vainfo: VA-API version: 0.32 (libva 1.0.15)<br>
vainfo: Driver version: Intel i965 driver - 1.0.15<br>
vainfo: Supported profile and entrypoints<br>
VAProfileMPEG2Simple : VAEntrypointVLD<br>
VAProfileMPEG2Main : VAEntrypointVLD<br>
VAProfileH264Baseline : VAEntrypointVLD<br>
VAProfileH264Baseline : VAEntrypointEncSlice<br>
VAProfileH264Main : VAEntrypointVLD<br>
VAProfileH264Main : VAEntrypointEncSlice<br>
VAProfileH264High : VAEntrypointVLD<br>
VAProfileH264High : VAEntrypointEncSlice<br>
VAProfileVC1Simple : VAEntrypointVLD<br>
VAProfileVC1Main : VAEntrypointVLD<br>
VAProfileVC1Advanced : VAEntrypointVLD<br>
<br>
I've seen references to environment variables like LIBVA_DRIVERS_PATH but<br>
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<br>
this requires something to actually crash, right? From what I can tell,<br>
I'm not getting a crash, I'm getting a freeze (or a recovery back into the<br>
frontend menus). I'm more than happy to be wrong, and to put whatever<br>
effort needed into debugging. I ran mythfrontend-real> mythdebug.log,<br>
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<br>
terminal window:<br>
<br>
QFont::setPixelSize: Pixel size<= 0 (0)<br>
QFont::setPixelSize: Pixel size<= 0 (0)<br>
QFont::setPixelSize: Pixel size<= 0 (0)<br>
QFont::setPixelSize: Pixel size<= 0 (0)<br>
libva: VA-API version 0.32.0<br>
libva: va_getDriverName() returns 0<br>
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/<u></u>i965_drv_video.so<br>
libva: va_openDriver() returns 0<br>
libva: VA-API version 0.32.0<br>
libva: va_getDriverName() returns 0<br>
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/<u></u>i965_drv_video.so<br>
libva: va_openDriver() returns 0<br>
<br>
Note that OpenGL works fine, albeit with 50%-70% CPU usage. Videos work<br>
fine too - it's just recordings that fail.<br>
Any help greatly appreciated!<br>
</blockquote>
Based on the silence on this one, there's not a simple solution to this; is<br>
this better suited to the developers mailing list?<br>
</blockquote>
<br></div></div>
No, actually, this (or some Mythbuntu/Ubuntu forum) is likely the best location to talk about it. Developers wouldn't have any more information on how the Ubuntu packages are compiled and how the system is configured for VAAPI, so you're far more likely to find help from a user who's also trying to go down the same road.<div class="im">
<br></div></blockquote><div>Thanks Mike - the reason I posted here instead of on a more generic Ubuntu forum is that it does appear to run correctly in VLC, and although I haven't tested in MPlayer yet I suspect it will work fine there too (could of course be wrong about this). What you're saying about the devs makes sense, although I was hoping to find out how I could help provide sufficient debugging info to help. I'll maybe also try the Mythbuntu angle, though (I'm new to Mythbuntu after running Fedora for years).<br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Or is VAAPI just not<br>
really working yet?<br>
</blockquote>
<br></div>
It's, er, temperamental--meaning you/your packager/your system configuration has to do everything exactly right (from installing the right VAAPI libs, to installing the right graphics drivers, to configuring everything properly, to ...). (And then, FWIW, once you get it working, you're left with something significantly less useful than VDPAU.)<br>
<br></blockquote>That's what I was afraid of! Nirvana (for me) is to have a small box that contains just the CPU and a small SSD. I've successfully managed to migrate my storage out to a NAS, and I use a HD Homerun Prime for my tuners, so the graphics processing is next.<br>
<br>Cheers,<br>Geoff<br></div><br>