Mark Adams wrote:
Thanks to everyones help I now have a working framebuffer.
My problem was that fbcon needs to be loaded before the viafb
module (unlike the via driver, which works better with it loaded
afterwards).


Glad you've made it work (though I've had no problems with either sequence).



It defintely has issues with my setup (I assume its just the kernel), the other way around viafb seems to force the console to go out of sync (my black screen..thanks monitor for that lack of information). If fbcon is loaded first, the console appears.

I can't get any joy with the built in version, all I get is a kernel
type panic.


Can you provide any more information on that?  Where does it panic?

Just here :- http://usera.imagecave.com/livesinabox/Untitled-1.jpg

Its very early on, so I'm not sure how i would capture the previous output. Any ideas and I will try my best to capture it.

One thing you can try (which might be a red herring) is do 'lsmod'
before and after probing the fbcon/viafb modules and making sure that
when you build your all-in kernel you've marked as built-in everything
that those modules would pull in. Might it be that the kernel config
process doesn't know about all the dependencies?

I've had to modify Hans-Erik's patch for my kernel, and I believe it's including everything it should. It works when I build fbcon and viafb as modules, and I have everything else compiled in. I've also tried building fbcon in and having viafb as a module (which is fine).


I wasnt aware that the framebuffer driver would make alot of
difference to the speed and whats accelerated.


I'm surprised it makes any difference.  Is it possible that the
default pixel format is different between the two framebuffer drivers?
 Check what 'fbset -i' and 'dfblayer' report.

Attached. There appears to be a difference with fbset - what is that?

Colorkeyed blitting is accelerated providing the source and
destination pixel formats are the same (and not otherwise).  The
kernel framebuffer isn't involved.

Mark


LiaB
FBDev Primary Layer

Width       800
Height      600
Format      RGB32
Buffermode  BACKVIDEO

mode "800x600-75"
    # D: 48.001 MHz, H: 46.876 kHz, V: 75.121 Hz
    geometry 800 600 800 1200 32
    timings 20833 96 32 16 4 96 4
    rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
    Name        : UNICHROME
    Address     : 0xf4000000
    Size        : 33288192
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 0
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 3200
    MMIO Address: 0xf8000000
    MMIO Size   : 16777216
    Accelerator : Unknown (77)
FBDev Primary Layer

Width       800
Height      600
Format      RGB32
Buffermode  BACKVIDEO

mode "800x600-63"
    # D: 40.000 MHz, H: 39.062 kHz, V: 62.600 Hz
    geometry 800 600 800 600 32
    timings 25000 96 32 16 4 96 4
    rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
    Name        : Via
    Address     : 0xf4000000
    Size        : 33554432
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 0
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 3200
    MMIO Address: 0xf8000000
    MMIO Size   : 16777216
    Accelerator : Unknown (77)
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to