Kodi Community Forum
Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 (/showthread.php?tid=165707)



RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

Did you play with some "special" bootsplash or followed a howto to do so? If yes, this installs the vesafb for you.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

And as you are at it - when it hangs again: Try to disable "Prefer VAAPI Render Method" in Video -> Acceleration (Expert setting) does that help? To not activate it again by accident, also make sure, that you set Deinterlace to Auto and use "Bob" method (not the vaapi-bob) for all live tv content. The others (mcdi, madi, vaapi-bob) will use this render method again (though disabled).


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - glubbish - 2015-05-14

Hi fritsch,

I uploaded the new debug log (edit on last update)
I used the boot splash from page 1.

I cannot do anything when it hangs.
I will disable "Prefer VAAPI Render Method" and see if I can reproduce again. (with interlace set to bob).

Thanks.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

Don't edit posts - as I never read back.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - glubbish - 2015-05-14

Was able to reproduce with "Prefer VAAPI Render Method" disabled and Deinterlace to Auto and use "Bob" method


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

Good - in the sense of "everything is broken" - nice :-)

If you can retry with OpenELEC from a USB stick. And post your latest Debug Log.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - glubbish - 2015-05-14

http://paste.ubuntu.com/11126034/

debug log with "Prefer VAAPI Render Method" disabled and Deinterlace to Auto and use "Bob"


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

Quote:17:03:56 T:140248289232640 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:04:04 T:140248280839936 WARNING: Previous line repeats 6 times.
17:04:04 T:140248280839936 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:04:04 T:140248289232640 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:04:17 T:140248280839936 WARNING: Previous line repeats 9 times.
17:04:17 T:140248280839936 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError1 - was:4057922078.051915, should be:4067111290.134198, error:9189212.082283
17:04:17 T:140248289232640 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:04:17 T:140248280839936 WARNING: Previous line repeats 1 times.
17:04:17 T:140248280839936 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:04:17 T:140248289232640 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:04:17 T:140248289232640 WARNING: Previous line repeats 96 times.
17:04:17 T:140248289232640 DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
17:04:17 T:140248289232640 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:04:19 T:140250021349120 WARNING: Previous line repeats 89 times
Stuck again. Can you remove the OZ weather addon, please?


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - glubbish - 2015-05-14

http://paste.ubuntu.com/11126709/

Took several attempts to get it fail this time.
Seems to fail mostly when restarting a bookmarked show, so I keep alternating between them until it occurs.
"Prefer VAAPI Render Method" disabled and Deinterlace to Auto and use "Bob" still, weather and myth disabled.

Thanks.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

Same happens when "Adjust Refreshrate to match video" is fully disabled?

Edit: BTW. 14.2 is EOL from a dev point of view ... can you reproduce that with v15?


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - glubbish - 2015-05-14

Hi fritsch

You may be on to something
With "Adjust Refreshrate to match video" off, I cant seem to reproduce it.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - mattlach - 2015-05-14

(2015-05-14, 08:09)fritsch Wrote: The stream seems to change during commercials from interlaced to progressive? E.g. from 29.97i to 24 fps - which is somehow typical for some TV stations arround the world. We don't have a solution for this yet - sadly. The artifacts you see is reconfiguring the Renderer, which gets flushed and then reconfigured.

fritsch,

Thank you for your assessment.

I do see this happening, but I figured there was something else going on as well, as the "hiccups" happen throughout, not just at the ad to ad borders and borders between ads and regular programming.

I can manually reproduce the same artifact by switching between the "on" and "off" deinterlace settings even when it is not occurring.

As a workaround, I could just leave deinterlace on. My eyes may not be the greatest, but I don't see any quality downside to running deinterlace "on" on progressive content. Is there one, or is it just a matter of wasted processing?

Thank you again,
Matt


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

Progressive full frames are not meant to be deinterlaced :-) You have luck that the deinterlacer (mcdi or madi) mostly "ignore" those internally. If you switch to VAAPI-BOB - you will see great pain.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - mattlach - 2015-05-14

(2015-05-14, 15:11)fritsch Wrote: Progressive full frames are not meant to be deinterlaced :-) You have luck that the deinterlacer (mcdi or madi) mostly "ignore" those internally. If you switch to VAAPI-BOB - you will see great pain.

Thanks, I'll give it a try, and if I don't feel like I have any big negative problems I'll leave it that way.

This article - while old - is rather eye opening regarding some stuff that broadcasters do.

I can understand one program being interlaced and another progressive, including each ad having its own mode, but some of this stuff is just plain dumb, like parts of the same show alternating between interlaced and progressive, and even parts of the same frame, where some are interlaced, and others progressive!

I am not a programmer, so I don't even know how to find out, but you know if the API allows plugins to set interlace/scaling options when used? What would be ideal is if the MythTV PVR plugin had an option to force interlacing to "on" whenever it plays (and I'd just take the hit this involves on progressive broadcast content), and then I could leave it to auto for everything else.

Personally I don't mind going in and changing it manually, but you know how it is when you live with non-technical people who say things like "I don't understand why we can't just have regular TV like everyone else". Stuff has to be as transparent and non-computer-like as a set top box, or they get annoyed.

Thanks again!

--Matt


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-05-14

One good thing about kodi's settings is, that those are saved "per Video". So if you force that for one channel, that will save. As a workaround you could just change that manually for the affected TV channels.