mistervee / skin.madnox

Other
13 stars 13 forks source link

Video preview stutter on raspberry Pi #43

Closed mistervee closed 4 years ago

mistervee commented 5 years ago

Hi @Slipass

Any chance you can post a video of the issue?

Slipass commented 5 years ago

HI @mistervee

I filmed the problem once. The problem is that when you select the Video Preview window, the device is totally busy.

Note: The Raspberry 4 does not run optimally under Libreelec and still with 30Hz instead of 60Hz but on my Zotal with an Intel i3 8GB Ram I have the same problem.

https://www.youtube.com/watch?v=-WryJu3jBbQ&feature=youtu.be

Slipass commented 5 years ago

Another problem is that the logo no longer appears when the video preview is activated.

Conifg: Series -> Viewtype Low

8

8

meowmoo commented 5 years ago

Just wanna say, on my chromebox, Celeron @1.40GHz and 4GB ram, it works super smooth.

I tried 480p xvid, 720p and 1080p Tv shows and a 40GB Bluray remux.

All fine on my end @mistervee

meowmoo commented 5 years ago

@slipass

The video preview is on the same place as the logo, so I'm sure it's coded to show logo or preview.

https://drive.google.com/file/d/1DVpYgYO4DGLHYZLR6-4PnAIF1ijt2dSq/view?usp=drivesdk

Slipass commented 5 years ago

@meowmoo I have a skin solution at 4k. Can you try it also with this settings?

mistervee commented 5 years ago

@Slipass @meowmoo

Strange that it is ok on a celeron vs and i3 with less memory.

@Slipass What resolution are you running? Can you also provide a debug log.

Slipass commented 5 years ago

@Slipass

The video preview is on the same place as the logo, so I'm sure it's coded to show logo or preview.

https://drive.google.com/file/d/1DVpYgYO4DGLHYZLR6-4PnAIF1ijt2dSq/view?usp=drivesdk

@meowmoo I understand that the logo doesn't appear when the video is previewed there but why doesn't the logo appear when no video is active?

@mistervee And isn't it also possible to display the video in the middle? So you could see the video and the logo at the same time.

Slipass commented 5 years ago

@Slipass @meowmoo

Strange that it is ok on a celeron vs and i3 with less memory.

@Slipass What resolution are you running? Can you also provide a debug log.

@mistervee I think it's the resolution of the skin. But tomorrow I will try to narrow down the error a bit and test something. The Skin resolution is 3840x2160 The Video resolution is 1080p

I will send a bug report tomorrow.

meowmoo commented 5 years ago

@slipass All skin questions should go to @mistervee, I was only assuming it's a on off switch for logo/preview. I don't use the preview, was just testing it to help pin pointing the problem.

No I can't test 4k resolution, still happy with my old 1080p Tv

mistervee commented 5 years ago

@Slipass @meowmoo

@meowmoo got it in one. The way it is suppose to work is, when video is playing the logo is disabled.

Although there is a bug. If no video is playing to logo should be visible.

mistervee commented 5 years ago

@Slipass

Any progress on the stuttering issue? Debug log will help.

Slipass commented 4 years ago

@mistervee

Sorry for the late feedback. Recently I have been working at full capacity and have not been able to test much.

At the moment I still have difficulties to get 4K@60Hz with the RPi4. Therefore everything seems to be a bit "stuttering". Since a few days the Libreelecc 9.2 Beta 1 has been released, so I will test it again and give you some feedback.

Slipass commented 4 years ago

@mistervee

This is also the feedback from the Libreelec Team:

"New 4K video capabilities still have plenty of rough edges to be smoothed out, but the Pi Foundation developers have been pushing fixes to the Alpha test team at a phenomenal rate over the last month and that will continue as the userbase expands."

mistervee commented 4 years ago

@Slipass

Thanks for getting back to me.

Time will tell if things improve by the sounds of it.

I found this thread in relation to stuttering. Although i have no way to test this myself. https://forum.libreelec.tv/thread/20345-libreelec-9-2-beta-1-video-judder-and-stuttering/

Although not ideal it seems like if you adjust the audio settings it may disappear. It would be great to know if that fixes the issue and not coding thing on my end.

Slipass commented 4 years ago

@mistervee Thanks but I think that Libreelec with the Raspberry 4 still has too many bugs at the moment and you can't judge if it's the skin or Libreelec if bugs occur.

mistervee commented 4 years ago

@Slipass It seems that script.cu.lrclyrics is causing stuttering in some skins. Not sure if disabling this will help.

The other option is to try adding this to your advanced settings.xml

<gui>    
<algorithmdirtyregions>0</algorithmdirtyregions>
</gui>

as described here https://kodi.wiki/view/HOW-TO:Modify_dirty_regions#algorithmdirtyregions

mistervee commented 4 years ago

DONE