OpenELEC Testbuilds for RaspberryPi Part 2
(2014-04-04, 12:53)popcornmix Wrote: It looks like a libass bug. Milhouse has identified the commit when it appeared: https://github.com/OpenELEC/OpenELEC.tv/issues/3059
Yeah, but the only externally visible change that commit introduces is it makes images bigger and fewer by combining them. Before that commit, each letter would be a separate image, and they would be packed into a texture by XBMC, splitting them in multiple rows if needed to fit in the maximum texture width. After that commit, the whole line is a single image—with a width of around 1900 judging by the resolution of Milhouse’s original screenshot that he posted on #libass—that XBMC puts in the texture whole, so if it exceeds the allowed width and is clipped, the output will look just like in the “bad” screenshots.

There is no corruption either on the Raspberry Pi with a simple libass-based software renderer or on other platforms in XBMC, so we’re fairly sure it’s not a libass bug. At this point the only thing unique to the setup that exhibits the corruption (XBMC on Rasperry Pi) is that it uses OpenGL ES on the Raspberry Pi’s particular GPU hardware instead of OpenGL on a desktop- or laptop-class GPU. So I thought: either the hardware could have some particular restrictions, or some of the XBMC source code that differs between GL and GLES might have a bug.

(2014-04-04, 12:53)popcornmix Wrote: I run with 1920x1080 fanart, which are rendered using textures. The limit is 2048x2048, so I don't think it is a texture size issue.
Thanks. Well, I’m really out of ideas now! Unless libass is outputting an image that is larger than 2048 for some reason, I guess. I’ll check that in a moment. Edit: it’s 1777×79 pixels, so nope.


Messages In This Thread
RE: OpenELEC Testbuilds for RaspberryPi Part 2 - by Chortos-2 - 2014-04-04, 20:06
AW: RE: - by DieterLumpen - 2013-07-29, 20:50
include guires switch? - by hpbaxxter - 2013-08-01, 21:46
RE: dual audio?? - by pootler - 2013-08-03, 17:13
Help, watch 3D Film on Non 3D TV - by unix72 - 2013-08-09, 12:39
Remote Controllers - by tfft - 2013-08-14, 09:11
rbej repeatable crash - by RichG - 2013-08-19, 12:43
New Tester - by theneverstill - 2013-10-03, 17:16
[split] missing subtitle stream - by Jönke - 2014-01-08, 21:03
3D Support - by michbeck100 - 2014-01-11, 01:01
No sound on Gotham builds - by URBANsUNITED - 2014-01-13, 15:19
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 223