neoaggelos
Posts: 2
Joined: Wed Jan 29, 2014 3:47 pm

HELP: Remote framebuffer access?

Wed Jan 29, 2014 4:05 pm

Is there someone who knows a working method to remotely access the linux framebuffer of my Raspberry Pi? (possibly via VNC). I've looked everywhere, tried fbvnc, directvnc and many others but nothing worked out.

Can someone point me at an exact HOW-TO that explains the process?

Thanks in advance...

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: HELP: Remote framebuffer access?

Wed Jan 29, 2014 5:15 pm

Its very tempting to ask why you want remote access to the framebuffer ? What is the real problem you are trying to solve ?

neoaggelos
Posts: 2
Joined: Wed Jan 29, 2014 3:47 pm

Re: HELP: Remote framebuffer access?

Wed Jan 29, 2014 6:55 pm

Well, it's not actually a problem. I use my Raspberry Pi for a whole bunch of different stuff, so it helps to keep it just beside my router, along with an external hd and some other goodies. One of the things I use it, however, is to test the library I work on (SDLU) http://bitbucket.org/sdlu/sdlu, an extension library to SDL2. For that, I need proper OpenGL ES 2 support. SDL2 for the Raspberry Pi does not build with GLX (at least by default). So, my VNC connection via tightvnc to the X server is of no use.

Moving the rpi from the router and hooking it up to my TV is at least 10 minutes of work (while the real testing takes about 1 minute). So, I want to somehow access the framebuffer remotely, and do the testing from there. Hope I've made my setup understood.

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: HELP: Remote framebuffer access?

Wed Jan 29, 2014 8:13 pm

The problem is that OpenGL ES on the Raspberry Pi doesn't render to the frame buffer, it renders to DispmanX layers. DispmanX is the Raspberry Pi compositor. The frame buffer on the Raspberry Pi is a single DispmanX layer. Other things such as OpenGL ES and hardware video playback render to their own DispmanX layer. The only thing that I have seen that works (to a degree) is The DispmanX VNC server written by HanzelPeter. There is a discussion about it here.

Return to “Advanced users”