Jump to content


Photo

[WIP] PLi-DarkOS Skin


  • Please log in to reply
2041 replies to this topic

Re: [WIP] PLi-DarkOS Skin #481 Huevos

  • PLi® Contributor
  • 4,645 posts

+161
Excellent

Posted 28 November 2023 - 13:07

And there is indeed something obvious here as you can see it building-up.... But this is not always the fact....Something I do not see in our current skin... I'm afraid this is because of the svg files.... so I'm afraid we can better revert to png.

Littlesat can you explain the problem with svg or show a screengrab.



Re: [WIP] PLi-DarkOS Skin #482 Huevos

  • PLi® Contributor
  • 4,645 posts

+161
Excellent

Posted 28 November 2023 - 13:10

@Hueovos, the widget has the same name and the order of the picons is also the same...

Good. :D  As long as the widget works universally it  doesn't matter if there are differences in the python code between distros. 



Re: [WIP] PLi-DarkOS Skin #483 DimitarCC

  • PLi® Contributor
  • 1,566 posts

+68
Good

Posted 28 November 2023 - 13:12

And there is indeed something obvious here as you can see it building-up.... But this is not always the fact....Something I do not see in our current skin... I'm afraid this is because of the svg files.... so I'm afraid we can better revert to png.

 

reverting to png is not good idea since scaling is crap and sometimes it really breaks the quality. So i suggest rater fix the svg rendering on PLi....On Vix i have no issues with svgs.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: [WIP] PLi-DarkOS Skin #484 WanWizard

  • PLi® Core member
  • 70,409 posts

+1,807
Excellent

Posted 28 November 2023 - 13:19

There are some weird things going on with the rendering.

 

Why for example can you easily see the buildup of the info bar, but other screens like the channel list are displayed instantaneously?

 

OE-A based images have the same underlying issue, but there it isn't visible because the screen isn't shown until built.

In OpenPLi when you press OK you see the infobar being constructed, in ATV you see nothing for a second, and then the infobar is shown complete. I timed it, there is no time difference between the two images.

 

So the question is, why does the infobar render so slowly, compared to the other screens, some with a lot more information?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: [WIP] PLi-DarkOS Skin #485 Huevos

  • PLi® Contributor
  • 4,645 posts

+161
Excellent

Posted 28 November 2023 - 13:35

First or second infobar?

 

Is this on a box with a HiSi processor?


Edited by Huevos, 28 November 2023 - 13:39.


Re: [WIP] PLi-DarkOS Skin #486 WanWizard

  • PLi® Core member
  • 70,409 posts

+1,807
Excellent

Posted 28 November 2023 - 13:46

A picture says more than 1000 words: https://www.veed.io/...bf5?panel=share

 

You can clearly see the light-grey background of the infobar being built up line by line, like it is rolled down,

 

This is on a HiSilicon box.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: [WIP] PLi-DarkOS Skin #487 DimitarCC

  • PLi® Contributor
  • 1,566 posts

+68
Good

Posted 28 November 2023 - 13:54

Well on vu+ no such issues. I guess is a problem on HiSilicon based boxes....
And that gray area is normal png.

 

Maybe you can try to make images with alphatest="on" instead of "blend".

 

I guess HiSilicon boxes have problems rendering transparency with blend.


Edited by DimitarCC, 28 November 2023 - 13:59.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: [WIP] PLi-DarkOS Skin #488 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 28 November 2023 - 14:06


.On Vix i have no issues with svgs.

 

It seems on OpenATV they have the same issue.Wanwizard posted a snapshot previously. On OpenPLi we have the same (but I cannot show you as by coding is now kind of rubish).

 

The slow building is likely related to the svg... for relative small icons they are even not helpful at all.... it sounds nice of course because these vector based icons can be enlarged, but they really do not save space and most time this scaling is not needed at all.... and it slow stuff down. I'm afraid that is the reason why it looks sometimes that slowly. I remember this was one of the pain topics when they were introduced... because initially I liked them for the same reason you explain to me they are a mist, but afterwards they 'hurt'.


Edited by littlesat, 28 November 2023 - 14:11.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #489 WanWizard

  • PLi® Core member
  • 70,409 posts

+1,807
Excellent

Posted 28 November 2023 - 14:09

Possible, but something that needs fixing, either on the skin side or on the E2 side.

 

Because the workaround that OE-A seems to have implemented doesn't work either ( I think I prefer to see it being built then nothing happening for over a second until the entire infobar is displayed ).

 

But for that we first need to know what the root cause of this issue is.

 

It is not an svg issue ( you say it is a png ), and it only happens with the infobar, not will other screens. With FullNightHD you can also see png's being painted, for example in the GMEPG and the V-keyboard, but those png's are a lot smaller.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: [WIP] PLi-DarkOS Skin #490 WanWizard

  • PLi® Core member
  • 70,409 posts

+1,807
Excellent

Posted 28 November 2023 - 14:10

It seems on OpenATV they have the same issue.Wanwizard posted a snapshot previously. On OpenPLi we have the same (but I cannot show you as by coding is now kind of rubish).

 

According to Dimitar, the infobar background is a png, not an svg.

 

ATV doesn't show the rendering, they seem to render in a buffer, then display the buffer. Which has the effect of nothing happening for a second, then the infobar is shown in its final state.

 

Both have the same built-up issue. only in OpenPLi it is visible and in ATV not. Time until the infobar is displayed is identical with both images.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: [WIP] PLi-DarkOS Skin #491 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 28 November 2023 - 14:12


Maybe you can try to make images with alphatest="on" instead of "blend".

Also a good point... this is also most likely a performance 'killer'.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #492 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 28 November 2023 - 14:13

According to Dimitar, the infobar background is a png, not an svg.

->

Yes I know.... then it looks like we change the alfa test I'm afraid....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #493 Huevos

  • PLi® Contributor
  • 4,645 posts

+161
Excellent

Posted 28 November 2023 - 14:14

A picture says more than 1000 words: https://www.veed.io/...bf5?panel=share

 

You can clearly see the light-grey background of the infobar being built up line by line, like it is rolled down,

 

This is on a HiSilicon box.

HiSi boxes have major rendering problems which is why we need all those silly workarounds in configure.ac. Don't even seem to be capable of alpha blending.



Re: [WIP] PLi-DarkOS Skin #494 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 28 November 2023 - 14:16

Now I changed all the alphatest="blend" to alphatest="on" and as far I can see visible there is no change.... and until now it is not slow anymore.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #495 Huevos

  • PLi® Contributor
  • 4,645 posts

+161
Excellent

Posted 28 November 2023 - 14:18

 


Maybe you can try to make images with alphatest="on" instead of "blend".

 

Also a good point... this is also most likely a performance 'killer'.

 

That is a horrible solution. On decent boxes there is zero performance hit and the images render properly. with alphatest="on" you get a terrible halo. Even worse if something changes below the graphic.



Re: [WIP] PLi-DarkOS Skin #496 DimitarCC

  • PLi® Contributor
  • 1,566 posts

+68
Good

Posted 28 November 2023 - 14:18

According to Dimitar, the infobar background is a png, not an svg.

->

Yes I know.... then it looks like we change the alfa test I'm afraid....

 

No! Changing alphatest will break images with rounded corners. That will kill the look of the skin. I will not agree to that.

 

On Vu+ there is zero slowdown. I dont think we should break the skin because HiSilicon have crappy rendering...


Edited by DimitarCC, 28 November 2023 - 14:20.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: [WIP] PLi-DarkOS Skin #497 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 28 November 2023 - 14:19

@DimitarCC,

 

here one of my PVR state tests..... based on this I still think we can put the picon in the gray part and add something extra's for the PVRState on the screen..... This also helps for e.g. Timeshift screens.

 

 

Attached File  PVRStatetest.jpg   64.31KB   0 downloads

 

my testcode PVRState screen:

  <!-- PVR State -->
  <screen name="PVRState" position="100,100" size="500,500" backgroundColor="black" zPosition="5" flags="wfNoBorder">
  <widget name="statusicon" position="160,160" zPosition="3" size="100,100" pixmaps="icons/pvr/play.svg,icons/pvr/pause.svg,icons/pvr/stop.svg,icons/pvr/ff.svg,icons/pvr/rew.svg,icons/pvr/slow.svg" alphatest="on"/>
<widget name="speed" foregroundColor="white" halign="left" position="260,160" size="90,45" font="Bold; 40" transparent="1"/>
    <widget name="state" position="0,400" size="225,90" backgroundColor="background5" borderWidth="2" font="Regular;84" borderColor="black" halign="center" alphatest="on"/>
  </screen>

Edited by littlesat, 28 November 2023 - 14:20.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #498 DimitarCC

  • PLi® Contributor
  • 1,566 posts

+68
Good

Posted 28 November 2023 - 14:22

P.S. If you do it in the python depending on the box model to relay blend -> on... then OK. But i dont think the skin have to look shitty on Vu+ where it works just fine.

 

P.S.2 alphatest doesnt matter for svgs since they doesnt have alpha transparency usually


Edited by DimitarCC, 28 November 2023 - 14:24.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: [WIP] PLi-DarkOS Skin #499 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 28 November 2023 - 14:22

No! Changing alphatest will break images with rounded corners. That will kill the look of the skin. I will not agree to that.

->

I do not see that here.... maybe this should be arranged on box time so blend is replaced by on for boxes that accepted it...

 

But which boxes go wierd here....? Sounds like we need to a a feature in systeminfo.py ["BlandingRequired"] or something like that..... and then when rendering the skin catch this attribute and replace it when needed.

 

Looks like some hardware accelerators do 'hurt' us here....


Edited by littlesat, 28 November 2023 - 14:26.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [WIP] PLi-DarkOS Skin #500 DimitarCC

  • PLi® Contributor
  • 1,566 posts

+68
Good

Posted 28 November 2023 - 14:26

All HISilicon based boxes have problems with alphablending for sure. And some cheap broadcom boxes too...

 

I think making it to relay blend -> on for unsupported boxes is the best solution.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users