Getting EGL samples to display on pitft

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
FuzzyWuzzie
 
Posts: 53
Joined: Wed Sep 30, 2009 10:37 pm

Getting EGL samples to display on pitft

Post by FuzzyWuzzie »

Hello,

I'm creating a project using the PiTFT to run my pi headless and as such am going to be developing a UI with it. I've created programs using OpenGLES on the pi before, but only over hdmi connections. When using the PiTFT, when I try to run the /opt/vc/src/ samples, I get no activity on the display (running in console mode without X - I really don't need the extra lag that x provides me for no benefit in this application).

Does anyone know how I can get these samples up and running?

I also tried pygame and was able to get things displayed if I set the frame buffer to fb1 via the environment variables, but this only worked when I was locally logged in to the session - when remote logging in, nothing gets displayed (even with setting the frame buffer env var.)

Any help you can offer is greatly appreciated, thanks so much!

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Getting EGL samples to display on pitft

Post by adafruit_support_mike »

I'm afraid that's beyond our expertise with Linux video development.

The best suggestion I can offer is to dig into the details of framebuffer operation in the codebase you want to use.

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”