Bug#501543: mga-vid-source: mplayer says: mismatch

2008-10-08 Thread Gregor Zattler
Package: mga-vid-source
Version: 2.6.24-3
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Module mga_vid loads but does not work.  This is an up to date
debian sid.  The mga_vid module was build and installed with
module assistant:

$ sudo m-a -t a-i mga-vid

the module compiled and installed fine.  It's here:

$ find /lib/modules/2.6.26-1-686/|grep mga|xargs -r ls -l 
- -rw-r--r-- 1 root root 64629 2008-10-01 18:24 
/lib/modules/2.6.26-1-686/kernel/drivers/char/drm/mga.ko
- -rw-r--r-- 1 root root 16678 2008-10-08 10:18 
/lib/modules/2.6.26-1-686/misc/mga_vid.ko

It's possible to load it:

$ sudo rmmod mga_vid ; sudo modprobe mga_vid ; lsmod|head -n 4
Module  Size  Used by
mga_vid11372  0 
mga54784  2 
drm65256  3 mga


and the /dev/mga_vid device node is there, with correct
permissions and numbers:

$ ls -l /dev/mga_vid*
lrwxrwxrwx 1 root root  8 2008-10-08 10:51 /dev/mga_vid - mga_vid0
crw-rw 1 root video 83, 0 2008-10-08 10:51 /dev/mga_vid0



but it does not work.  The vlc and xine media player GUIs do not
show mga_vid as a video driver.  I do not know how to force them
to use mga_vid.

When using mplayer it does not show the movie:

$ mplayer -vo mga -ao alsa /usr/share/xine/visuals/default.avi

Playing /usr/share/xine/visuals/default.avi.
Cache fill:  0.76% (512847 bytes)   
MPEG-ES file format detected.
VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps0.0 kbps ( 0.0 kbyte/s)
[MGA] mismatch between kernel (1) and MPlayer (514) mga_vid driver versions
Error opening/initializing the selected video_out (-vo) device.


This is the latest linux-image-686 debian kernel (precompiled binary):

$ uname -a
Linux pit 2.6.26-1-686 #1 SMP Wed Oct 1 12:03:14 UTC 2008 i686 GNU/Linux

$ aptitude search ~ilinux-.*26.*
i   linux-headers-2.6.26-1-686- Header files for Linux 2.6.26-1-686
i A linux-headers-2.6.26-1-common - Common header files for Linux 2.6.26-1
i A linux-image-2.6.26-1-686  - Linux 2.6.26 image on 
PPro/Celeron/PII/PIII/P4
i A linux-kbuild-2.6.26   - Kbuild infrastructure for Linux 2.6.26  


And the latest mplayer:
$ apt-cache policy  mplayer
mplayer:
  Installed: 1:1.0.rc2svn20080706-0.1

Please mail me if you need more infos.

Ciao, gregor



- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

mga-vid-source depends on no packages.

Versions of packages mga-vid-source recommends:
ii  debhelper 7.0.17 helper programs for debian/rules
ii  kernel-package11.001-0.1 A utility for building Linux kerne
ii  module-assistant  0.10.11.0  tool to make module package creati

Versions of packages mga-vid-source suggests:
ii  mplayer 1:1.0.rc2svn20080706-0.1 The Ultimate Movie Player For Linu

- -- debconf-show failed

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQETAgUBSOx5Y0sbarOtuQIpAQrquwfsDcTqWZt7/UBug9RPZFWQW3oIsrn4oqNH
d/s1bL/WGwOQd4Hfr0Ew/i/D9YjazBwD8k91WEussWzjM+kPd+pr2GpahAqYPiof
IPR9mGnW4i3HqR4gscGauoOf2pXCZhJJr1236Xf3LyyjROYLvB42K1x36YUko6jg
qK8MxbmjItt0HDYrhpr6mcYO6/8p62rHGencoTFEt3PCiYDLSxGFbPEbsXRYAbqt
6eLjKBb0Jw8blJXCVPUD2MZhvMSEMrFku5zpu850IAoOrZGy+aIGAgJTLjD0O3PL
lNWc5C2BIkXWAmHZJ74AFEeJ/yzfMM62JsNWa18+jpJBr90/LLU=
=IH9V
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#501543: mga-vid-source: mplayer says: mismatch

2008-10-08 Thread Sune Vuorela
On Wednesday 08 October 2008 11:12:22 Gregor Zattler wrote:
 Package: mga-vid-source
 Version: 2.6.24-3
 Severity: normal



 $ mplayer -vo mga -ao alsa /usr/share/xine/visuals/default.avi

 Playing /usr/share/xine/visuals/default.avi.
 Cache fill:  0.76% (512847 bytes)
 MPEG-ES file format detected.
 VIDEO:  MPEG1  384x288  (aspect 1)  25.000 fps0.0 kbps ( 0.0 kbyte/s)
 [MGA] mismatch between kernel (1) and MPlayer (514) mga_vid driver versions
 Error opening/initializing the selected video_out (-vo) device.


[...]


 And the latest mplayer:
 $ apt-cache policy  mplayer
 mplayer:
   Installed: 1:1.0.rc2svn20080706-0.1

Expected with marillats mplayer packages. It does work with debian's.

More technical: There has been a change in the interface between the driver 
and the kernel. Both need to use same interface. The mplayer in debian uses 
old interface. The mplayer at marillats site uses the new interface.

The driver is currently following debian's mplayer.

/Sune
-- 
I cannot save the AGP shell, how does it work?

From the control drawer menu inside Flash MX you can't send the terminale for 
renaming a front-side bus.



signature.asc
Description: This is a digitally signed message part.