Fbcon support?

Hey, I’m having trouble getting the fbcon support working:
$ ./pongbat
Unable to init SDL: Unsupported console hardware

$ fbset -i
[mode line snip]
Frame buffer device information:
Name : ATY Mach64
Address : 0x82800000
Size : 4190208
Type : PACKED PIXELS
Visual : DIRECTCOLOR
XPanStep : 8
YPanStep : 1
YWrapStep : 0
LineLength : 2048
MMIO Address : 0x827ff800
MMIO Size : 2048
Accelerator : ATI Mach64GT

Any ideas?

Josh

Hey, I’m having trouble getting the fbcon support working:
$ ./pongbat
Unable to init SDL: Unsupported console hardware

SDL doesn’t support the DIRECTCOLOR visual.

I don’t know much about it. How is it different from the TRUECOLOR visual?

Try adding the FB_VISUAL_DIRECTCOLOR to the case statement in FB_VideoInit()
in SDL_fbvideo.c

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Hey, I’m having trouble getting the fbcon support working:
$ ./pongbat
Unable to init SDL: Unsupported console hardware

SDL doesn’t support the DIRECTCOLOR visual.

I don’t know much about it. How is it different from the TRUECOLOR visual?

Try adding the FB_VISUAL_DIRECTCOLOR to the case statement in FB_VideoInit()
in SDL_fbvideo.c

DirectColor (at least, in X, we should be talking about the same thing)
is a cross between PseudoColor and TrueColor. Each color goes thru a
table instead of being taken directly as an intensity (if the red part
of a pixel is 64, the hardware looks up the red intensity that will be
used by looking at the index 64 of the red lookup table, and so on for
green and blue).–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
“First they ignore you. Then they laugh at you.
Then they fight you. Then you win.” – Gandhi