Using SDL with fbcon problem

Hello!

I have problem using fbcon with SDL.
I am running on Linux SuSE version 2.6.16.13-4-default. And I want to use
fbcon as a SDL_VIDEODRIVER.
Framebuffer in the kernel( linux-rbll 2.6.16.13-4-default) is supported as
a kernel module (intelfb.ko). but it is suspicious that there is no any fb
device in /dev (I am not sure whether that should be one, sorry I am Linux
newbie).
So I set SDL_FBDEV to intelfb, and SDL_VIDEODRIVER to fbcon. but I still
get “No video device” error.

Thank you in advance,
Melomori Lee.

So I set SDL_FBDEV to intelfb, and SDL_VIDEODRIVER to fbcon. but I
still get “No video device” error.

If there isn’t a /dev/fb* node, then SDL can’t use it. Generally this
means the kernel doesn’t support the hardware, or support wasn’t
included in the kernel (or maybe a kernel module isn’t loaded?)

You need to fix that first.

–ryan.

Thank you very much, Mr Gordon, for help!

Generally this means the kernel doesn’t support the hardware, or support
wasn’t
included in the kernel (or maybe a kernel module isn’t loaded?)

Sorry for not SDL question, but when fb module is loaded, should /dev/fb* be
created? when I load intelfb, it loads successfully, but no /dev/fb* is
created. so most likely “kernel doesn’t support the hardware”…

Thank you one more time (it seemed I was at deadlock with that framebuffer
stuff, but now I more or less understand),

Melomori Lee.

Sorry for not SDL question, but when fb module is loaded, should
/dev/fb* be created? when I load intelfb, it loads successfully, but no
/dev/fb* is created. so most likely " kernel doesn’t support the
hardware"…

It’s possible that you loaded the hardware-specific driver, but there’s
some higher level module it’s waiting for before it’ll expose the device
(like the “fbcon” module or something).

Once it’s working, there should be a /dev/fb* device.

You’d really have to ask on a Linux-specific forum to get a more direct
answer, though.

–ryan.