Linux vesa framebuffer question

Hi,

I’m developing for EffecTV using SDL. On older Linux distros i.e. Mandrake
8.1, 8.2 etc I was able to set up the framebuffer with kernal boot parameters
and I could run my app without X.

Newer distros like SuSE 9.0 don’t seem to work the same way. I get the
penguin on boot as always, but my app comes up with ascii characters
representing grey levels instead of the bitmapped graphics I expect. There
must be a simple fix… but my searches have been fruitless. Any help here
would be greatly appreciated.

Thanks in advance.

ET

Edo T wrote:

Hi,

I’m developing for EffecTV using SDL. On older Linux distros i.e. Mandrake
8.1, 8.2 etc I was able to set up the framebuffer with kernal boot parameters
and I could run my app without X.

Newer distros like SuSE 9.0 don’t seem to work the same way. I get the
penguin on boot as always, but my app comes up with ascii characters
representing grey levels instead of the bitmapped graphics I expect. There
must be a simple fix… but my searches have been fruitless. Any help here
would be greatly appreciated.

SDL is able to render on multiple backeds. It seems you are using the
aalib backend instead of your usual fbcon backend.
Does it work if you try the following :
export SDL_VIDEODRIVER=fbcon

More info is there :
http://sdldoc.csn.ul.ie/sdlenvvars.php

Stephane

Hi,

Ah Ha! After I demand fbcon for SDL, I get the error message that no video
device is available. Strange, as fbset reports that I have a valid mode,
and Tux was visible on boot. If I send random numbers to /dev/fb0
(supposedly a crude test), I just get random characters instead of colored
mosaics. Something seems to be resetting or blocking the graphics here. It
appears to be an issue with SuSE only, as Mandrake 9.2 does let me use vesa
framebuffer (but it freezes the machine eventually running effectv…
another issue).

Thanks,

et

“Stephane Marchesin” <stephane.marchesin at wanadoo.fr> wrote in message
news:4059D023.9000101 at wanadoo.fr

Edo T wrote:

Hi,

I’m developing for EffecTV using SDL. On older Linux distros i.e.
Mandrake

8.1, 8.2 etc I was able to set up the framebuffer with kernal boot
parameters

and I could run my app without X.

Newer distros like SuSE 9.0 don’t seem to work the same way. I get the
penguin on boot as always, but my app comes up with ascii characters
representing grey levels instead of the bitmapped graphics I expect.
There

must be a simple fix… but my searches have been fruitless. Any help
here> >would be greatly appreciated.

SDL is able to render on multiple backeds. It seems you are using the
aalib backend instead of your usual fbcon backend.
Does it work if you try the following :
export SDL_VIDEODRIVER=fbcon

More info is there :
http://sdldoc.csn.ul.ie/sdlenvvars.php

Stephane

Still looking for an answer. I tried “export SDL_VIDEODRIVER=fbcon” with
the same results.

“Edo T” <@Edo_T> wrote in message
news:loom.20040312T180753-413 at post.gmane.org

Hi,

I’m developing for EffecTV using SDL. On older Linux distros i.e.
Mandrake
8.1, 8.2 etc I was able to set up the framebuffer with kernal boot
parameters
and I could run my app without X.

Newer distros like SuSE 9.0 don’t seem to work the same way. I get the
penguin on boot as always, but my app comes up with ascii characters
representing grey levels instead of the bitmapped graphics I expect.
There
must be a simple fix… but my searches have been fruitless. Any help
here> would be greatly appreciated.

Thanks in advance.

ET