Hi,

I apologize if this is a silly FAQ, but if so please point me towards the
correct RTFM resource.

I have DirectFB working quite fine for my Epia with the CLE266 chipset. I
can watch videos on the TV out using Mplayer (ok, audio is not in sync),
and DFBSee shows images just fine on the screen. So apparently stuff works
fine.

However, I'd like the kernel to use the framebuffer by default when
booting, and not use the normal text mode at all. Currently I do something
like this after booting:

        % modprobe viafb mode=720x576 bpp=24 refresh=50 TVon=1 TVtype=2 \
          TVoverscan=1 memsize=32

And that enables the mode and turns the screen into garbage. The mode used
is:

        % fbset -i
mode "720x576-74"
    # D: 41.475 MHz, H: 44.693 kHz, V: 74.488 Hz
    geometry 720 576 720 576 16
    timings 24111 88 32 16 4 88 4
    bcast true
    rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
    Name        : CLE266
    Address     : 0xd8000000
    Size        : 33288192
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 0
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 1440
    MMIO Address: 0xdc000000
    MMIO Size   : 16777216
    Accelerator : Unknown (77)

How can I get this mode enabled by default when booting? Should one use
some magic "vga=XXX" parameter to the kernel when booting, like described
here:

        http://www.directfb.org/download/DirectFB/README

The docs are only for vesafb, and the modes are the normal *VGA modes. I'd
like the TV resolution above and the viafb driver to be used. One
possibility is probably to shove the module loading into /etc/modules and
have the normal init-scripts autoload the module at some point in time,
but then the framebuffer isn't the "default" one used.

Or am I really out in the woods here?

Kind regards,
    Jan Ekholm

--
  Shadwell hated all southerners and, by inference, was standing at the
  North Pole.
                           -- Terry Pratchett & Neil Gaiman, Good Omens


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to