Baby steps towards RandR goodies for xf86-video-omapfb

For a long while I’ve been wanting to implement RandR support for xf86-video-omapfb, but never really got around it. Fortunately, Movial came to the rescue and allowed me to kickstart the RandR code on work time, yay for Movial!

The main question (which is always ‘why’) can be answered with the planned feature list and their use-cases:

  • Display mode switching: “real” and pixel doubling (scaled) modes
  • Rotation: orientation response to accelerometer data for example
  • Screen migration (cloning): HDMI output in your device? Flick of a switch and you are on it.
  • Screen expanding: Merge multiple screens into one. This one is a bit iffy, current kernel drivers don’t seem to support it, but…

The ‘how’ is too large topic for this post, but the general idea is to take advantage of the API the revised omapfb kernel driver (big thanks to Tomi Valkeinen) offers and manipulate the OMAP overlays to scan the framebuffer to different outputs.

I will post updates when the support reaches milestones, but here’s a “teaser” (ogg/theora, 860KiB, on youtube too) showing a Blaze board obey a script that enables/disables the different displays in a sequence with the xrandr tool. Blaze has two LCD’s, HDMI port and even an integrated DLP Pico projector though sadly I couldn’t get that one to work for the demonstration.

The current code is available from the git repository, master branch. As usual, testing and patches are welcomed (though don’t expect much from the testing part just yet).

5 Responses to “Baby steps towards RandR goodies for xf86-video-omapfb”

  1. Fatwa Says:

    Thank you for sharing such great iortfmanion about android app development. As per latest trend android provide all latest facility to our smart phone and tablet with possible features.

  2. sbobet Says:

    It?s Really A Nice And Useful Piece Of Info. I Am Glad That You Shared This Useful Info With Us. Please Keep Us Informed Like This. sbobet Thanks For Sharing.

  3. SBOBET Says:

    I Do Believe All Of The Ideas You Have Presented For Your Post. They Are Really Convincing And Will Definitely Work. Still, The Posts Are Too Short For Beginners. May You Please Lengthen Them A Little From Subsequent Time? Thank You For The Post.

  4. SBOBET Says:

    I Like What You Guys Are Up Too. Such Smart Work And Reporting! Carry On The Superb Works Guys I Have Incorporated You Guys To My Blogroll. I Think It Will Improve The Value Of My Website :)

  5. SBOBET Says:

    Hello There! Do You Know If They Make Any Plugins To Protect Against Hackers? I’m Kinda Paranoid About Losing Everything I’ve Worked Hard On. Any Tips?

Leave a Reply

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation