Skip to content

Raspberry Pi utility. Used for mirror primary framebuffer to secondary framebuffer.

Notifications You must be signed in to change notification settings

mrvanes/rpi-fbcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi VSynced Framebuffer Copy

This program used for copy primary framebuffer to secondary framebuffer (eg. FBTFT). It requires lastest raspberry pi firmware (> 2013-07-11) to work properly.

I changed the original while loop into a callback function on fb0 vsync and added a pause() instead. This makes sure every frame on fb0 gets copied to fb1 right after it gets refreshed at the cost of a slight increase of CPU usage (~1% @30pfs).

Build

 $ mkdir build
 $ cd build
 $ cmake ..
 $ make 

About

Raspberry Pi utility. Used for mirror primary framebuffer to secondary framebuffer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.9%
  • CMake 12.1%