[TESTING] Linux 4.9 kernel and improved video stack for Vero 4K / 4K +

@tanio99, I’m glad that information is useful. :smile:

  1. Yes, I did execute the cat command and grab-logs -A while the video was playing.

  2. I do recall I’ve a 3840x2160 video that can also lead to a green screen. Can I get back to you on this one?

  3. My TV is a Panasonic GZ1000. Vero is directly connected to it via 18 GBPS HDMI cable.

@grahamh, good question… :smile:

It’s weird because there’s only a solid green color where the pictures should be, but with black bars above and below like when you play a 21:9 video. There’s audio. You can see subtitles, and when you press the remote’s OK button, the on-screen display appears normally. And when you press stop, the menu comes out normally. But when you press play, the video starts with a green screen all over again. I could take a video or photo if you want. Let me know.

Have been reading over the green screen posts and mulling over things.

We need more information to look in to this issue, as there are a few things that could be a potential cause here. Unfortunately it’s tricky because we are struggling to reproduce this issue here.

  • Does disabling ‘Adjust Refresh Rate’ temporarily prevent the green screen from occurring?
  • Does the issue go away with this build (3D build with vero3-172 removed); and if so; does 3D Frame Packed output still work as expected?
wget "https://collab.osmc.tv/s/W7kZpAwq3iB8p53/download" -O mediacenter.deb
sudo dpkg -i mediacenter.deb
rm -f mediacenter.deb
systemctl start mediacenter
  • Does the issue go away with this bootloader change:
wget "https://collab.osmc.tv/s/sW377CdnJLAeg4V/download" -O bootloader.deb
sudo dpkg -i bootloader.deb
rm -f bootloader.deb
reboot

(Note, that if you make this bootloader change), you will get some errors from systemd on startup. These can be ignored. To revert, run: sudo apt-get install --reinstall vero3-bootloader-osmc.

Note: these proposed fixes need to be tested incrementally. So start with by disabling Adjust Refresh Rate first; and then try the Kodi build change; then try the bootloader change.

1 Like

Will do, @sam_nazarko

I just can’t test the 3D. But I’ll test the rest incrementally like you instructed.

You should still test that Kodi build before testing the bootloader change.

It fixes issues that @ac16161 reported with his AVR + display combination – it’s not just 3D specific, but rather 3D specific changes we’ve included that might be causing these issues

Hopefully that makes sense

1 Like

@grahamh I took some photos. And here’s what it looks like …

@sam_nazarko & @tanio99 , disabled the adjust refresh rate and here’re my results so far …

1920 x 1080 @ 60hz - no problem
1920 x 1080 @ 23.98hz - green screen
3840 x 2160 @ 60hz - no problem
3840 x 2160 @ 23.98hz - green screen

Do you think that’s why green screen doesn’t manifest on my PC monitor? My monitor doesn’t have 24/23.98hz.

I will try to change the mediacenter next and let you know results.

1 Like

Did you manage to take logs for each of these interactions?

Cheers

Sam

no. sorry. I’ll do that when I revert back to current mediacenter.deb. I just finished installing the mediacenter.deb from https://collab.osmc.tv/s/W7kZpAwq3iB8p53/download

Can you take a screenshot when that green screen appears? Just connect a keyboard to the vero and press ctrl-s. I’d like to know if that screenshot also shows that green screen. But note, there’s a known problem when taking screenshots of a 4k movie, so it would best to test it with a 1080p movie.

1 Like

My setup is: Vero 4K+ --> Sony HT-ST5000 soundbar --> LG C9.

I just tried plugging the Vero 4K+ directly to the LG C9 and wasn’t able to reproduce the error from the 10 minutes of testing I just did (this has been enough time to reproduce the error with the soundbar connected).

That’s good, thanks. For a while we thought there might be an issue in the HDMI driver but I guess that’s not it.

1 Like

Hi @sam_nazarko. Just summarizing the results.

  1. Disabling Adjust Refresh Rate
  • This only works because I was able to play at 60hz instead of the 24hz. Playing at 24hz produces the green screen when skipping.
  1. Changing mediacenter.deb
  • DIdn’t work
  1. Changing bootloader
  • Worked, but playback is so choppy and slow. Is it because we’re using software decoder?
1 Like

I don’t know. I need to emphasise that it is important that logs are uploaded when you experience an issue.

2 Likes

@sam_nazarko @tanio99,

Current beta of Vero:
1920 x 1080 @ 60hz (normal screen) – https://paste.osmc.tv/ijahitasup
1920 x 1080 @ 23.98hz (green screen) – https://paste.osmc.tv/yuzozigaqo

changed mediacenter.deb (green screen) – https://paste.osmc.tv/jurirecesa
changed bootloader.deb (normal, but painfully slow/choppy video) – https://paste.osmc.tv/ofijipihal

I’ve performed cat /sys/class/video/dump_reg on all occasions while video was playing and before using grab-logs -A.

I’ve taken screenshots.

1920 x 1080 @ 23.98hz (green screen)

Here’s where it gets weird. Out of curiosity, I took a screenshot while the screen was working fine (1920 x 1080 @ 60hz). Similar corrupted screenshot. Take a look here.

Just to see if screenshot was working properly, I took a screenshot of a different video (h264). Screenshot worked fine.

The corrupted screenshots above was from a 1080p h265 video.
The proper screenshot belong to a 1080p h264 video.

Hope this helps.

1 Like

regarding the choppy playback: have a look if the file /dev/tee0 exists. If not then do the following:

systemctl stop mediacenter
sudo touch /dev/tee0
sudo chmod 666 /dev/tee0
systemctl start mediacenter

after the test just do

sudo rm /dev/tee0

regarding the screenshots: I think you’ve found a bug :slight_smile:

can you do the skipping/green screen/screenshot test using a h264 movie. I think the screenshots should work with h.264 movies.

We might benefit from removing that TEE check, as there may be cases where it’s not active.

Can be green screen connected with amvideocap0 driver? I asked because i can still see green screen flashes but not in video self, but on LEDs of Hyperion ambilight when switching channels(960x544 hevc) on tv exactly switching between streams.

I tried to do cat /dev/amvideocap0 when i switched channels and it froze green color on the background for a while. I tried to dump it to file when green color appeared if u would like to see it.

Currently, as we discuss it, we still have no clear way to narrow things down.
We need someone who can reproduce reliably to try the three steps outlined above, also taking @tanio99’s suggestion here in to account: [TESTING] Linux 4.9 kernel and improved video stack for Vero 4K / 4K + - #1611 by tanio99, ideally logging each stage of the process.

Cheers

Sam

@tanio99, @sam_nazarko

Sorry it took a while. Here’s what happened.

There was no /dev/tee0 so I did what tanio99 said.

systemctl stop mediacenter
sudo touch /dev/tee0
sudo chmod 666 /dev/tee0
systemctl start mediacenter

But it didn’t work. Instead, Vero got stuck at buffering. OSMC loading animation looped while the screen stayed at the menu. I did see the movie’s time and it was moving forward normally.
Here’s the log for that – https://paste.osmc.tv/zifapebogu

Then, I reverted back to current beta build, played back a 1080p 23.98hz h264 video. I couldn’t make the green screen appear. So my guess is, the green screen only affects h265 videos when the Vero is at 23.98hz?
Here’s the log for that too – https://paste.osmc.tv/veniwopeca

And screenshot for that (h264 23.98hz) was normal. See below. Again, I did the cat /sys/class/video/dump_reg during playback and then grab-logs -A.

Let me know if you want me to test anything else :smile: