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 - opengl renderer renders black window on nvidia AGX jetson xavier
Summary: opengl renderer renders black window on nvidia AGX jetson xavier
Status: WAITING
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.8
Hardware: ARM Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-14 00:20 UTC by Jon
Modified: 2018-11-03 00:10 UTC (History)
0 users

See Also:


Attachments
sample program (11.70 KB, application/zip)
2018-10-14 00:20 UTC, Jon
Details

Note You need to log in before you can comment on or make changes to this bug.
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?