Re: Error in config ioctl using mga_vid

[email protected] Mon, 1 Jun 2009 19:47:14 -0700 (PDT)
Newsgroups gmane.comp.video.mplayer.user.matrox
Message-ID <[email protected]>
Thanks for the reply.=A0 I tried one more thing by recompiling mplayer and =
replacing
the mga_vid source files in the libvo directory with the source files from =
the mga_vid
tarball.=A0 The result was =

[MGA] mismatch between kernel (1) and MPlayer (514) mga_vid driver versions
so it is as you said, a mismatch with the kernel.=A0 Now I will try to find=
 where in the kernel
is causing this mismatch with ioctl.=A0 =



--- On Sat, 5/30/09, Attila Kinali <[email protected]> wrote:

From: Attila Kinali <[email protected]>
Subject: Re: [MPlayer-matrox] Error in config ioctl using mga_vid
To: "MPlayer on Matrox graphics cards" <[email protected]>
Date: Saturday, May 30, 2009, 1:10 AM

Moin,

On Fri, 29 May 2009 23:05:02 -0700 (PDT)
[email protected] wrote:

> Hello all...looking for some debug recommendations for this mga_vid probl=
em I'm having.=A0 =

> =

> System information:=A0 2.6.18-53.el5.ppc64 kernel, compiled tags/2.6.18 m=
ga_vid, using Matrox G400
> =

> To create problem:
> -build mga_vid/mga_vid/tags/2.6.18
> -insmod mga_vid.ko
> =

> ./mga_vid_test
> Error in config ioctl: Invalid argument
> Testing MGA G400 Backend Scaler with 0 MB of RAM
> mga_vid_base =3D 0xffffffff
> Segmentation fault

It looks like you are using a very outdated version of mga_vid
together with a current mga_vid_test.
I changed in May 2008 the ioctl interface of mga_vid, which means
that if you are using such an old kernel, you have to use the
same mga_vid.h to compile your application with. Otherwise
you'll run into ioctl problems.

=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 Attila Kinali
-- =

The true CS students do not need to know how to program.
They learn how to abstract the process of programming to
the point of making programmers obsolete.
=A0=A0=A0 =A0=A0=A0 -- Jabber in #holo
_______________________________________________
MPlayer-matrox mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-matrox