-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Texture rendering issue on Ziggo devices #363
Comments
Hi @evgeniy-legkun, I don't have access to Ziggo EOS. If you can find a way to distinguish your platform in JS runtime I can apply the revert for it specifically: Lines 193 to 197 in 6690951
Best regards |
Hi, @g-zachar I was looking for a way to distinguish the Ziggo platform assuming to parse a UserAgent, this does not look like a robust solution but I could not find the better one. Looks like the "lightning/sdk" Profile plugin does not have similar logic as well. Take a look at the UserAgents examples (obtained from the devices):
Proposed condition to exclude both mentioned above devices is (they are all Ziggo, only different revisions): Does it look like a plan? Best regards |
Looks good enough, I'll prepare a PR you'll be able to test. Best regards |
Let me know if #364 works for you. Best regards |
@g-zachar Best regards |
@erikhaandrikman Reopening this issue. We have an app for the Sky platform and we've noticed rendering issues, like the one described here, on the Titan boxes. Would it perhaps be possible to change the implementation so that it only applies the |
@yvbeek Reverting the default behavior now would result in regression on a different set of platforms (we don't have the full list of affected platforms nor a way to identify them at this moment). In my opinion, the best approach at the moment is to stay with the current default, keep gathering affected platforms and add exceptions for them and perhaps refactor this solution in the future. |
@g-zachar Ah yes, I can see how that is difficult. On the other hand there could be a lot of platforms that haven't upgraded to the latest versions yet and they might encounter the same rendering issues. Perhaps it would be good to highlight this issue in the changelog? For now a workaround for the Sky Titan box might be to add an exception based on the user-agent:
Think we might have to test for the |
@g-zachar Could you please add the exception for us? We could test for the |
@yvbeek let me know if the fix works for you. Best regards |
@yvbeek any updates on this? |
I'm maintaining WPE browser for Ziggo / Telenet / VirginMedia (LibertyGlobal family) and from my point of view setting condition based on UserAgent is very weak:
We will investigate this issue on CPE side. I have assumption that this may be fixed by Cairo library upgrade to version 1.16. |
Hi @jacek-skiba-red, we totally agree that matching based on user agent isn't the way to go. We consider this part of the codebase an historical artifact. That's why we introduced the We are all good with removing the UA matching all together. Would that be okay for you, or do you think that will cause issues on existing LGi deployments? |
@michielvandergeest: logic based on |
Hello everyone.
The new workaround tended to fix artifacts on some browsers (e.g. Tizen) implemented in this PR - https://github.com/rdkcentral/Lightning/pull/345/files does not work correctly on Ziggo devices (EOS, Selene).
The behavior is random, most of the time we do not see the text (TextTexture texture) at all, or weird symbols are drawn.
See the screenshot
The issue comes from this line of the code that was released with version 2.5.1.
We had to freeze the Lightning core with the 2.5.0 version on our project and are not able to use newer versions in production because of this.
Probably this is some browser-specific issue since we reproduced it only for the devices (e.g. Ziggo) that use Gecko-based browser (Firefox in our case) underhood. Actually, I can not say what is the issue, but it is defiantly related to the getImageData() function calling. The 2d context attribute "willReadFrequently" (see https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext) setting with neither "true" nor "false" did not help.
Please, investigate this issue or consider rolling back the PR mentioned above if it is possible. If need to check something on the actual device (I have Ziggo EOS) I can do it if have free time.
Regards
The text was updated successfully, but these errors were encountered: