Howdy all,
This question is probably slightly ot here but I imagine someone may know. So I am using one of the epia embedded boards
and trying to get a directfb app that I wrote to work on top of it. The thing that has me stumped however is the framebuffer setup. I am using the vesafb driver. If I append the cmdline


video=vesa:ywrap,mtrr,vram:32

Then I can double buffer in directfb. However after a time or if I make stuff scroll quickly by on the screen the horizontal frequency suddenly becomes ~16-17 kHz and the vertical suddenly becomes 33Hz. So obviously this is useless. If I remove these variables then everything works fine except that I have no video memory.

What I have tried:
Tried (actually thought about) cle266 video driver - don't have that kind of chipset.
Tried changing directfb setting to make it use system memory for the back buffer - No luck app refused to show anything
Tried using various combinations of vesa options


I think either I have configured it incorrectly or I need to sit down and write a dfb driver for the trident - is somebody else doing this?

The errors:
dmesg:
vesafb: abort, cannot reserve video memory at 0xe1800000
vesafb: framebuffer at 0xe1800000, mapped to 0xc8000000, size 32768k
vesafb: mode is 640x480x16, linelength=1280, pages=11
vesafb: protected mode interface info at c000:7dac
vesafb: pmi: set display start = c00c7dbc, set palette = c00c7e1f
vesafb: scrolling: ywrap using protected mode interface, yres_virtual=26214
vesafb: directcolor: size=1:5:5:5, shift=15:10:5:0
mtrr: base(0xe1800000) is not aligned on a size(0x2000000) boundary
mtrr: base(0xe1800000) is not aligned on a size(0x1000000) boundary




        Config:
                kernel 2.4.23 (clean no extra patches)
                cat /proc/pci

PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 5).
Master Capable. Latency=8.
Prefetchable 32 bit memory at 0xd0000000 [0xdfffffff].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] (rev 0).
Master Capable. No bursts. Min Gnt=12.
Bus 0, device 17, function 0:
ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 16).
Bus 0, device 17, function 1:
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 6).
Master Capable. Latency=32.
I/O at 0xd000 [0xd00f].
Bus 0, device 17, function 2:
USB Controller: VIA Technologies, Inc. USB (rev 30).
IRQ 12.
Master Capable. Latency=32.
I/O at 0xd400 [0xd41f].
Bus 0, device 17, function 3:
USB Controller: VIA Technologies, Inc. USB (#2) (rev 30).
IRQ 12.
Master Capable. Latency=32.
I/O at 0xd800 [0xd81f].
Bus 0, device 17, function 4:
Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 16).
Bus 0, device 17, function 5:
Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 64).
IRQ 10.
I/O at 0xdc00 [0xdcff].
I/O at 0xe000 [0xe003].
I/O at 0xe400 [0xe403].
Bus 0, device 18, function 0:
Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 81).
IRQ 11.
Master Capable. Latency=32. Min Gnt=3.Max Lat=8.
I/O at 0xe800 [0xe8ff].
Non-prefetchable 32 bit memory at 0xe3000000 [0xe30000ff].
Bus 1, device 0, function 0:
VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 106).
IRQ 11.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xe1800000 [0xe1ffffff].
Non-prefetchable 32 bit memory at 0xe2000000 [0xe201ffff].
Non-prefetchable 32 bit memory at 0xe1000000 [0xe17fffff].




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




Reply via email to