ruby-sdl and directfb (tv out)

W

William Morgan

Hello all,

I've been using ohai's excellent ruby-sdl in my quest to build a
TV + remote control multimedia jukebox interface. Everything is working
great so far but the documentation for ruby-sdl is a little lacking and
I haven't found any mailing lists.

My specific question is how to force ruby-sdl to use directfb, such that
it displays on the TV out. I have it working in graphics mode on the
console just fine. I can get freevo, which uses pygame, which uses SDL,
to display to the TV, so I know it's possible.

Has anyone tried this before? Or know of a better place to ask?

Thanks,
 
T

Tobias Peters

William said:
My specific question is how to force ruby-sdl to use directfb

Maybe you have success when using this info from
http://www.libsdl.org/faq.php?action=listentries&category=9 :

--->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---
Q: How do I choose a specific video driver?
A: You can set the environment variable "SDL_VIDEODRIVER" to the name of
the driver you want to use. The drivers available depend on the platform
and SDL compile-time options. Here is a partial list for some platforms:

* Linux:
o x11 - (default) Use the X11 windowing system
o dga - Use XFree86 DGA 2.0 for fullscreen hardware acceleration
o fbcon - Use the framebuffer console
o directfb - Use the DirectFB API
o svgalib - Use the SVGAlib API
o ggi - Use the General Graphics Interface API
o aalib - Use the Ascii Art library
* Win32:
o directx - (default) Use the DirectDraw API
o windib - Use the standard Win32 GDI
---<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top