Hi everybody
i've just compiled DFB 0.9.23 on a PReP (PowerPC RS6000 43P/140) machine
where a Matrox Mystique VGA card is installed.
Tought console output is redirected to ttyS1 at boot time the tux logo
is displayed correctly on the monitor, so i supppose the framebuffer
interface of the kernel works correctly.
Anyway after launching the "simple" demo app i get the following error
message
debian:~/DFBTutorials-0.5.0/src/simple# ./simple
---------------------- DirectFB v0.9.23 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2005-10-21 15:57)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 330)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 331)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:797]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 332)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(!) DirectFB/Matrox: Can't find device in `/proc/bus/pci'!
(!) DirectFB/Core: Could not initialize 'gfxcard' core!
--> Initialization error!
simple.c <96>:
(#) DirectFBError [DirectFBCreate (&dfb)]: Initialization error!
but the vga card is correctly seen on the PCI bus and the framebuffer
interface seems to have been set up correctly as reported by the
following diagnostic tools logs.
Since my matrox card comes from a x86 PC am i trying to do a stupid
thing using it inside my RS6000?
I would like to make the DFB work on it to test the graphical debian
installer on architectures different fron x86.
thank you very much
Attilio
diagnostic tools output
debian:~/DFBTutorials-0.5.0/src/simple# !ls
ls
debian:~/DFBTutorials-0.5.0/src/simple# lspci -vv
0000:00:00.0 Host bridge: Motorola MPC106 [Grackle] (rev 20)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
Latency: 0, Cache Line Size: 0x08 (32 bytes)
0000:00:0b.0 ISA bridge: IBM Fire Coral (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: I/O ports at 1000 [size=8]
0000:00:0c.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970
[PCnet32 LANCE] (rev 16)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1500ns min, 63750ns max)
Interrupt: pin A routed to IRQ 22
Region 0: I/O ports at 1020 [size=32]
Region 1: Memory at fdead000 (32-bit, non-prefetchable) [size=32]
Expansion ROM at fdeb0000 [disabled] [size=64K]
0000:00:0d.0 ff00: IBM MPIC interrupt controller
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Region 0: Memory at fdec0000 (32-bit, non-prefetchable) [size=256K]
0000:00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c825
(rev 13)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (4250ns min, 16000ns max), Cache Line Size: 0x08
(32 bytes)
Interrupt: pin A routed to IRQ 23
Region 0: I/O ports at 1400 [size=256]
Region 1: Memory at fdeae000 (32-bit, non-prefetchable) [size=256]
Region 2: Memory at fdeaf000 (32-bit, non-prefetchable) [size=4K]
0000:00:17.0 PCI bridge: IBM IBM27-82351 (rev 01) (prog-if 00 [Normal
decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size: 0x08 (32 bytes)
Bus: primary=00, secondary=01, subordinate=01, sec-latency=128
I/O behind bridge: 007ff000-007fffff
Memory behind bridge: 3df00000-3effffff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
0000:01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Allied Telesyn International AT-2500TX/ACPI
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at 7ff000 [size=256]
Region 1: Memory at fdfeb000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
0000:01:02.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG
[Mystique] (rev 02) (prog-if 00 [VGA])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 21
Region 0: Memory at fdfec000 (32-bit, non-prefetchable) [size=16K]
Region 1: Memory at fe000000 (32-bit, prefetchable) [size=8M]
Region 2: Memory at fe800000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at fdff0000 [disabled] [size=64K]
debian:~/DFBTutorials-0.5.0/src/simple# fbset -i
mode "640x480-60"
# D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
geometry 640 480 640 3270 8
timings 39721 40 24 32 11 96 2
accel true
rgba 8/0,8/0,8/0,0/0
endmode
Frame buffer device information:
Name : MATROX
Address : 0xfe000000
Size : 2093056
Type : PACKED PIXELS
Visual : PSEUDOCOLOR
XPanStep : 8
YPanStep : 1
YWrapStep : 0
LineLength : 640
MMIO Address: 0xfdfec000
MMIO Size : 16384
Accelerator : Matrox MGA1064SG (Mystique)
debian:~/DFBTutorials-0.5.0/src/simple# uname -a
Linux debian 2.4.22 #1 Tue Aug 26 20:36:53 BST 2003 ppc GNU/Linux
debian:~/DFBTutorials-0.5.0/src/simple# lsmod
Module Size Used by Not tainted
ipt_MASQUERADE 1600 1 (autoclean)
iptable_nat 17122 1 (autoclean) [ipt_MASQUERADE]
ip_conntrack 19884 1 (autoclean) [ipt_MASQUERADE iptable_nat]
ip_tables 14240 4 [ipt_MASQUERADE iptable_nat]
8139too 16576 1
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev