Ville Syrj�l� wrote:
On Fri, Jan 21, 2005 at 11:14:10AM +0100, Lucian Muresan wrote:
(*) DirectFB/Matrox/Maven: I2C_RDWR succeeded: addr = 0x1B, reg = 0xB2,
val = 0xFF
(!) DirectFB/Matrox/Maven: I2C_RDWR failed: addr = 0x1A, reg = 0xB2!
     --> Remote I/O error

Thanks. Fix is in cvs.

I think I got confused by i2c_smbus_read_byte_data() to think that reading 0xFF indicated an error. The code worked for me because my maven returned something other than 0xFF. Register 0xB2 should indicate the maven chip version so it looks like your chip is a more recent version than mine.


Hmmm, very strange. I could only test this late at night, and at first
try, I thought it was solved, because I could start vdr with the
softdevice plugin, I zapped few channels and then it crashed on
switching to a certain channel that used to work in the past, producing
the first output below, saying something about "Fusion/Lock: invalid
skirmish". Then I started it again, and unlike other times, when
restarting the crashed application normally worked, the error I started
this thread with, re-appeared (output 2 below). I reverted again to last
week's matrox_maven.c and it works well, again. Then again, I cleaned
this working version out and installed the fresh one that causes me
trouble and tried dfbinfo, and that one worked all the time (maybe dou
to it's short running time it doesn't "stress" my Matrox too hard :-) ).
I hadn't time to test with other DirectFB applications, like mplayer,
because a scheduled recording just started in VDR and now I'll go to bed.
Anyway, it's very strange, just like other strange things happening with
my Matrox (like the proper initialization of the maven registers
controlling the TV-out electronics, maybe you remember our discussion
few months ago, about SCART-RGB switching through self-made cable and me
having to start applications twice in order to get the TVout to switch
forth and back from SCART-RGB to composite...), maybe I've got a buggy
card...



Run No 1:
====================
htpc ~ # vdr -P 'softdevice -vo dfb:mgatv' -P 'graphlcd -d noritake800'
-P 'dvd'
[softdevice] processing args
[softdevice]   argv [0] = softdevice
[softdevice]   argv [1] = -vo
[setup-softdevice] A/V Offset set to (0)
[setup-softdevice] cropping mode set to 0 (none)
[setup-softdevice] deinterlace method set to 0 none
[softdevice] picture mirroring set to 0 (off)
[setup-softdevice] pixel format set to (YUV2)
[setup-softdevice] startup aspect set to (4:3 normal)
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg version(0.4.9-pre1) build(4718)
[dfb] init
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

        ---------------------- DirectFB v0.9.22 ---------------------
              (c) 2000-2002  convergence integrated media GmbH
              (c) 2002-2004  convergence GmbH
         -----------------------------------------------------------

(*) DirectFB/Core: Multi Application Core. (2005-01-22 01:38)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 9632)...
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 9643)...
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 9662)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media GmbH)
(!) DirectFB/FBDev: Specified mode (720x576) not supported or not
defined in '/etc/fb.modes'!
(!) DirectFB/FBDev: Using default mode (768x576) instead!
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
[dfb] RAM: 33554432 bytes
[dfb] Accellerated Functions: FillRectange DrawRectange DrawLine
FillTriangle Blit StretchBlit All
[dfb] Drawing Flags: Blend
[dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize
SrcColorkey Deinterlace
[dfb] Supported video Modes are: [EMAIL PROTECTED]
[dfb] Enumeratig display Layers
Layer 2 FBDev Primary Layer  Type: graphics
   Caps: brightness contrast saturation surface
Layer 1 Matrox Backend Scaler  Type: graphics picture video
   Caps: brightness contrast deinterlacing dst_colorkey screen_location
surface
Layer 0 Matrox CRTC2 Layer  Type: graphics picture video
   Caps: brightness contrast flicker_filtering hue field_parity
saturation surface
[dfb] width = 720, height = 576
[dfb] got fmt = 0x00418c04 bpp = 32
[dfb] Using this layer for OSD: (Matrox CRTC2 Layer - [720x576])
osdSurface::
  - videoonly
  - flipping
videoSurface::
  - videoonly
[dfb] Configuring CooperativeLevel for Overlay
[dfb] Configuring ColorKeying
[dfb] Configuring CooperativeLevel for OSD
[dfb] Using this layer for OSD: Matrox CRTC2 Layer
[dfb] Using this layer for Video out: Matrox CRTC2 Layer
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] creating new surface
[dfb] (re)configured 0x00200806
[softdevice] Video Out seems to be OK
[softdevice] Initializing Audio Out
[softdevice] Audio out seems to be OK
[softdevice] A/V devices initialized, now initializing MPEG2 Decoder
cSoftDevice::MakePrimaryDevice
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] creating new surface
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 480 x 576 (480x576)
[dfb] creating new surface
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 704 x 576 (704x576)
[dfb] creating new surface
(!) [ 9663:  183.910] --> Caught signal 11 (at 0x4, invalid address) <--
(!) [ 9624:  183.919] --> Caught signal 11 (at 0x40, invalid address) <--
[dfb] (re)configured 0x00200806
(!) Fusion/Lock: invalid skirmish
(!) Fusion/Lock: invalid skirmish
(!) [ 9716:  183.919] --> Caught signal 11 (at 0xb4d64000, invalid
address) <--
(!) Direct/Thread: Killing 'Fusion Dispatch' (9632)!
Killed



Run No 2:
====================

htpc ~ # vdr -P 'softdevice -vo dfb:mgatv' -P 'graphlcd -d noritake800'
-P 'dvd'
[softdevice] processing args
[softdevice]   argv [0] = softdevice
[softdevice]   argv [1] = -vo
[setup-softdevice] A/V Offset set to (0)
[setup-softdevice] cropping mode set to 0 (none)
[setup-softdevice] deinterlace method set to 0 none
[softdevice] picture mirroring set to 0 (off)
[setup-softdevice] pixel format set to (YUV2)
[setup-softdevice] startup aspect set to (4:3 normal)
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg version(0.4.9-pre1) build(4718)
[dfb] init
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

        ---------------------- DirectFB v0.9.22 ---------------------
              (c) 2000-2002  convergence integrated media GmbH
              (c) 2002-2004  convergence GmbH
         -----------------------------------------------------------

(*) DirectFB/Core: Multi Application Core. (2005-01-22 01:38)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 9748)...
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 9759)...
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 9778)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media GmbH)
(!) DirectFB/FBDev: Specified mode (720x576) not supported or not
defined in '/etc/fb.modes'!
(!) DirectFB/FBDev: Using default mode (768x576) instead!
(!) DirectFB/Matrox/Maven: Error reading from maven chip!
(!) DirectFB/Core/layers: Failed to initialize layer 2!
     --> General failure!
(!) DirectFB/Core: Could not initialize 'layers' core!
     --> General failure!
terminate called after throwing an instance of 'DFBException*'
(!) [ 9739:    2.367] --> Caught signal 6 (unknown origin) <--
Killed
htpc ~ #





Reply via email to