Hi
I have problem using Matrox G450 Dual Head with DirecFB lib
my kernel is 3.4.47 and I have this modules loaded:
*localhost:~# lsmod*
Module Size Used by Tainted: G
fusion 81635 0
fbcon 35625 72
font 16988 1 fbcon
bitblit 12698 1 fbcon
fbcon_rotate 12532 1 bitblit
fbcon_ccw 12702 1 fbcon_rotate
fbcon_ud 12691 1 fbcon_rotate
fbcon_cw 12691 1 fbcon_rotate
softcursor 12478 4 bitblit,fbcon_ccw,fbcon_ud,fbcon_cw
tileblit 12680 1 fbcon
i2c_matroxfb 12778 0
matroxfb_base 25664 2 i2c_matroxfb
matroxfb_g450 13228 1 matroxfb_base
matroxfb_DAC1064 17825 1 matroxfb_base
g450_pll 12951 2 matroxfb_g450,matroxfb_DAC1064
fb 47679 8
fbcon,bitblit,fbcon_ccw,fbcon_ud,fbcon_cw,softcursor,tileblit,matroxfb_base
fbdev 12514 2 fbcon,fb
matroxfb_Ti3026 12770 1 matroxfb_base
matroxfb_accel 12679 1 matroxfb_base
cfbfillrect 12622 1 matroxfb_accel
cfbimgblt 12595 1 matroxfb_accel
cfbcopyarea 12482 1 matroxfb_accel
matroxfb_misc 17701 6
i2c_matroxfb,matroxfb_base,matroxfb_g450,matroxfb_DAC1064,g450_pll,matroxfb_Ti3026
i2c_algo_bit 13198 1 i2c_matroxfb
i2c_core 24805 2 i2c_matroxfb,i2c_algo_bit
*and of course dmesg output:*
[ 195.381108] matroxfb: Matrox G450 detected
[ 195.388943] PInS memtype = 5
[ 195.393493] matroxfb: MTRR's turned on
[ 195.393515] matroxfb: 640x480x8bpp (virtual: 640x26214)
[ 195.393520] matroxfb: framebuffer at 0xFC000000, mapped to 0xe1700000,
size 33554432
[ 195.393765] fb0: MATROX frame buffer device
[ 195.393770] fb0: initializing hardware
[ 195.507922] Console: switching to colour frame buffer device 80x30
[ 213.381549] Starting fusion driver v9.0.0
[ 213.381557] -> initializing shared area at de52a000
*in dfbinfo I get:*
dfbinfo
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.6.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2012-2013 DirectFB integrated media GmbH
(c) 2001-2013 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Multi Application Core. (2013-06-28 19:02) [ DEBUG ][
TRACE ]
(*) Fusion/SHM: Using MADV_REMOVE (3.4.47.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER
0/0] <8388608>...
(*) Direct/Thread: Started 'Fusion Deferred' (-1) [MESSAGING OTHER/OTHER
0/0] <8388608>...
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0]
<8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/FBDev: Found 'MATROX' (ID 26) with frame buffer at 0xfc000000,
16384k (MMIO 0xfba00000, 16k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Input: Hot-plug detection enabled with Input Hub Driver
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Power Button (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Power Button (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT
OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G450 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x480) at 8 bit (LUT8),
pitch 640
(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x960) at 8 bit (LUT8),
pitch 640
Screen (00) FBDev Primary Screen (primary screen)
Caps: VSYNC POWER_MANAGEMENT
Layer (00) FBDev Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE BRIGHTNESS CONTRAST SATURATION
Layer (01) Matrox Backend Scaler
Type: GRAPHICS VIDEO STILL_PICTURE
Caps: SURFACE SCREEN_LOCATION DEINTERLACING DST_COLORKEY
BRIGHTNESS CONTRAST SCREEN_POSITION SCREEN_SIZE
Screen (01) Matrox CRTC2 Screen
Caps: VSYNC ENCODERS OUTPUTS
Encoder (0)
Type: TV
Caps: TV_STANDARDS
TV Standards: PAL NTSC PAL_60
Output (0)
Caps: CONNECTORS SIGNAL_SEL CONNECTOR_SEL
Connectors: SCART YC CVBS
Signals: YC CVBS RGB
Layer (02) Matrox CRTC2 Layer
Type: GRAPHICS VIDEO STILL_PICTURE
Caps: SURFACE BRIGHTNESS CONTRAST HUE SATURATION FIELD_PARITY
ALPHA_RAMP
Layer (03) Matrox CRTC2 Sub-Picture
Type: GRAPHICS VIDEO STILL_PICTURE
Caps: SURFACE OPACITY ALPHACHANNEL
Input (00) Keyboard (primary keyboard)
Vendor ID: 0x0000
Product ID: 0x0000
Type: KEYBOARD
Caps: KEYS
Min. Keycode: 0
Max. Keycode: 127
Input (10) AT Translated Set 2 keyboard
Vendor ID: 0x0001
Product ID: 0x0001
Type: KEYBOARD
Caps: KEYS
Min. Keycode: 0
Max. Keycode: 127
Input (11) Power Button
Vendor ID: 0x0000
Product ID: 0x0001
Type:
Caps: KEYS
Min. Keycode: -1
Max. Keycode: -1
Input (12) Power Button
Vendor ID: 0x0000
Product ID: 0x0001
Type:
Caps: KEYS
Min. Keycode: -1
Max. Keycode: -1
------------------------------------------------------------------------------------------
and that is OK. I got two screens and four layers
I wish to start* df_andi *on one screen and* df_fire* on the other
localhost:~# df_andi --dfb:session=0,primary-layer=2
it is OK. ONLY penguins on screen2, but when I start
localhost:~# df_fire --dfb:session=1,primary-layer=0
fire animation shows on BOTH screens and covers penguins.
What can I do for independent access to both screens?
Thank in advance.
Elvis Hrapovic
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev