On Tuesday 21 August 2001 17:57, Dan Peters wrote:
> David Olofson wrote:
> > On Saturday 18 August 2001 09:36, Herman Bruyninckx wrote:
> > > On Fri, 17 Aug 2001, Dan Peters wrote:
> > >
> > > [...]
> > >
> > > > I believe it all has to do somehow with interrupting X calls.  Do
> > > > you have any experience with running X under rtlinux?  I have
> > > > work with X many times in a non RT environment and have not had
> > > > these problems. Is there a better alternative to running X for
> > > > doing graphical stuff under RT linux.
> > >
> > > Don't use X!
> >
> > Or make sure you've got a properly configured X server and a video
> > card with a decent driver... Some work, but shouldn't by a major
> > issue if you need RTLinux on the machine in the first place. (You
> > don't run RTLinux on the average workstation anyway.)
>
> The video chip is a C&T 65550, and as far as I know, the server has
> been configured properly.

I don't know anything specific about this chip.


> This is part of a control system, which I feel needs RTlinux.  The only
> reason to use X is to display an image and
> display some other data on a display.  Are there any better
> alternatives to X.

Try SDL; http://www.libsdl.org - nice and simple API, handles graphics 
(windowed and fullscreen modes wherever possible), sound, keyboard, 
mouse, joysticks, threads etc, and there are some helper stuff like 
graphics loading and saving and image blitting with alpha blending or 
colorkeying with RLE acceleration. It runs on several different 
platforms, and most video and audio driver APIs on those platforms.

More specifically; on Linux, you can transparently use X (windowed, 
fullscreen, DGA), GGI (and whatever that supports on your system), fbdev 
and svgalib without even recompiling your program. If you want to fiddle 
with raw graphics data, you don't *have* to support all sorts of pixel 
formats (like with DirectX and other direct access APIs) - SDL emulates 
your favorite pixel format on pretty much any target with acceptable 
speed.

If you want a higher level rendering API, there are various add-on 
libraries for SDL; fast "game toolkits", widget toolkits and the like. 


//David Olofson --- Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------------> http://www.linuxdj.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to