We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4312

Summary: opengl renderer renders black window on nvidia AGX jetson xavier
Product: SDL Reporter: Jon <jwatte>
Component: videoAssignee: Sam Lantinga <slouken>
Status: WAITING --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.8   
Hardware: ARM   
OS: Linux   
Attachments: sample program

Description Jon 2018-10-14 00:20:20 UTC
Created attachment 3372 [details]
sample program

The NVIDIA Jetson family is the one that powers the Nintendo Switch, although the AGX Xavier is of a more modern vintage (turing, 512 cores.)

When using the sample program from https://watte.net/opengl-fails.zip together with libsdl2 2.0.8 built from source on the Xavier, software works great. However, the opengl renderer just renders a black window.

The sample program captures a side-by-side stereo video image from a Zed camera; you can change the frame size to match some other webcam you might have; you can also change the yuyv->rgba conversion function to force a particular color, but it will still just render black.
Comment 1 Sam Lantinga 2018-11-03 00:10:13 UTC
I don't have that platform to test on, did you figure this out?