Skip to content
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

Nvidia Shield TV 2019 (tube model) does not show video with gpu-next #824

Open
jan-kleks opened this issue Dec 4, 2023 · 10 comments
Open
Labels

Comments

@jan-kleks
Copy link

Important information

Android version: Android TV 11 32-bit

mpv-android version:

2023-11-30 Build from Google Play Store

Description

If you activate the gpu-next setting in the options, you see a solid purple screen when playing videos. One can still hear the audio, and the OSD is also visible.

@jan-kleks
Copy link
Author

This is what the log says about gpu-next when running a video: gpu_next_shield_log.txt

@sfan5
Copy link
Member

sfan5 commented Dec 21, 2023

Log is cut off.

@jan-kleks
Copy link
Author

jan-kleks commented Dec 21, 2023

@sfan5 I have used "adb logcat -s 'mpv:' ':F'" to dump it. Later when it comes to errors, it just keeps repeating that it "failed rendering". Should I try to attach another one (use different options)?

@sfan5
Copy link
Member

sfan5 commented Dec 21, 2023

Sure.

@jan-kleks
Copy link
Author

@sfan5 Hopefully, this log will have everything you need. I have even reinstalled mpv to make sure every setting is on "default".
mpv_log_full.txt

Please let me know if you need more info.

@sfan5
Copy link
Member

sfan5 commented Dec 22, 2023

That's better, though it's still cut off (run logcat first, then mpv).

maybe @haasn has an idea here about the cause
what catches my eye is that there's no reason for the uniform samplerExternalOES _8002 to be in vertex shader at all

@jan-kleks
Copy link
Author

@sfan5 Another attempt:
mpv_opengl.txt

Also, when trying to use Vulkan it says: "setting option gpu-api='vulkan' failed" The Nvidia Shield should support Vulkan, right? Link: https://developer.nvidia.com/vulkan-android

@sfan5
Copy link
Member

sfan5 commented Dec 23, 2023

Your device sure, but not mpv-android unless you use this: #596

@haasn
Copy link

haasn commented Dec 24, 2023

I mean, I can remove the sampler from the vertex shader if that will make the bug go away. Though it really shouldn't be complaining, since it's specified in the exact same way...

@jan-kleks
Copy link
Author

@haasn @sfan5 If you have any test builds for me to check out at some point, please let me know! And if Vulkan 1.1 support would be enabled in such a build, I can test that as well, apart from OpenGL gpu-next.

Keep up the great work!

@sfan5 sfan5 added the gpu-next label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants