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

Proposing VC_DISPLAY env variable #258

Merged
merged 1 commit into from
Sep 21, 2015
Merged

Conversation

maxnet
Copy link
Contributor

@maxnet maxnet commented Sep 20, 2015

It would be nice if there was a standardized way to instruct applications to use a certain display, without having to patch the application's source code.
Proposing a VC_DISPLAY environment variable for this purpose.

To force display on HDMI one could then execute:

VC_DISPLAY=5 any-egl-application

Similar to the standardized DISPLAY variable used by X11 applications.

… variable

Allow end-users to set the default display through a VC_DISPLAY environement variable.
E.g. to force hello_teapot to display on HDMI one could execute:

VC_DISPLAY=5 ./hello_teapot.bin

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
popcornmix added a commit that referenced this pull request Sep 21, 2015
Proposing VC_DISPLAY env variable
@popcornmix popcornmix merged commit 40e3778 into raspberrypi:master Sep 21, 2015
@popcornmix
Copy link
Contributor

Thanks - that sounds useful.

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Sep 21, 2015
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Sep 21, 2015
@popcornmix
Copy link
Contributor

Latest rpi-update firmware contains this.

@AaronBottegal
Copy link

This was very useful for me and very easy to use. In my case, I did DSI over HDMI on a Pi 3. Worked like a charm.

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this pull request Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants