question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NVIDIA SHIELD flicker green screen, when changeing two players between two views when playing Rec._709 color profile

See original GitHub issue

Issue description

This issue is similar to my other https://github.com/google/ExoPlayer/issues/7996

I have a Picture Picture mode on my player, one full screen player one small over the full.

I allow to change with is the full or small on one click…

On the NVIDIA SHIELD I have a issue, that if I use PlayerView.setPlayer(SimpleExoPlayer); to change the players between the two views there is flicker green when the video is using Rec._709 color profile

From vlc I can get this information of the media file

Screenshot from 2020-09-28 17-54-29

Here is a video playing the Link to test content

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

On the above one of the players is using the color profile Rec._709 after a few changes we have the issue only on that one

Unfortunately as we can see the problem is random and may also happen on another case…

This problem may also happen randomly after the player automatic changes the resolution/bitrate (do to a internet slowdown) when playing a master HLS playlist in adaptive bitrate mode.

Reproduction steps

Use the bellow or similar function to do the change

    private int pos = 1;

    private void SwitchPlayer() {
        Log.d(TAG, "SwitchPlayer");

        for (int i = 0; i < 2; i++) {

            PlayerView[i].setPlayer(player[i ^ pos]);

        }

        pos = pos ^ 1;
    }

Link to test content

https://github.com/fgl27/SmartTwitchTV/raw/master/release/githubio/temp/shield_test_clip.mp4

A full bug report captured from the device

bugreport-darcy-PPR1.180610.011-2020-09-28-17-59-39.zip

On the above I have added a log before the change

STTV_PlayerActivity: SwitchPlayer

When the problem happens we have on the log some device specific logs spam as the bellow:

09-27 14:44:19.298  3496  9437 D NvOsDebugPrintf: NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 38, SyncPointValue = 0)
09-27 14:44:19.298  3496  9437 I chatty  : uid=1046(mediacodec) omx@1.0-service identical 1 line

There is no Exo specific error on the logs after the problem happens, so is not possible to detect from the player that this has happens, ideally if was possible to detected the player could be restarted to fix the problem, as a release and restart of the player will fix it.

Version of ExoPlayer being used

dev-v2

Device(s) and version(s) of Android being used

NVIDIA SHIELD 2017 model Android 9

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewlewiscommented, Feb 15, 2021

I can reproduce this and have filed a bug to ask Nvidia to take a look [Internal: b/180278815]. I will let you know if/when we hear an update.

1reaction
andrewlewiscommented, Feb 11, 2021

Sorry for the delay. I will try to look at this again soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Green flashing on new nvidia shield. New HDMI cable - Reddit
Should work, could be defective though. Change the Shields resolution to 1080p and see if issue persists.
Read more >
Nvidia Shield pro 2019 - Hardware Acceleration = wrong colours
It looks the the Sony tv is the default for colour matching. If change colour space on Sony it changes. Change on shield...
Read more >
Nivida Shield TV Pro, Shows random Green Screen - NVIDIA
I just upgraded to a 4k TV/Projector and now when I turn on the NVidia shield TV Pro, it randomly shows a green...
Read more >
Dell UltraSharp UP3017A User's Guide
your monitor. • Supports major color space standards for Adobe RGB, sRGB, REC709 and DCI-P3. • Plug and play capability if supported by...
Read more >
Dell U2722D User's Guide - CNET Content Solutions
Bottom View . ... Plug and play capability if supported by your computer. ... The Monitor allows multiple monitors that are daisy chained...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found