Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140930 - Matrox vidix support is sorely lacking
Summary: Matrox vidix support is sorely lacking
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest enhancement (vote)
Assignee: Luca Barbato
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 140929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-18 08:56 UTC by h.w.blackwell
Modified: 2016-05-28 15:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Screen shot of video using xv in mplayer on matrox card (DSC00066.JPG,313.06 KB, image/jpeg)
2006-07-19 02:42 UTC, h.w.blackwell
Details
Close up of corruption (left side) (DSC00067.JPG,508.30 KB, image/jpeg)
2006-07-19 02:46 UTC, h.w.blackwell
Details
Close up of corruption (right side) (DSC00068.JPG,341.14 KB, image/jpeg)
2006-07-19 02:49 UTC, h.w.blackwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description h.w.blackwell 2006-07-18 08:56:06 UTC
Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 Pentium III (Coppermine)
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I'm using the matrox use flag in my make.conf to try and get accelerated mplayer video output.

I cannot find the xmga.o module for the kernel for mplayer play back. It does not appear to have been insmoded into my kernel automatically.

I have created the required /dev/mga_vid node as per the mplayer documentation.

I have a fullset of Mplayer compilation output should anyone wish to peruse it.

Mplayer does give me xmga as a video out option, but when I attempt playback I get a 'Fatal error when opening/initializing the vo device'

I can't find where portage places this module when the matrox flag is called (so that I would be able to insert it manually).

Can the ebuild be modified to create the node automatically, and insert the module into the kernel? The matrox use flag could also be used to tell genkernel to insmod this module after building a more recent kernel, without reqiuiring the remerging of mplayer, or fiddling around with insmod seperately.

Another user has experianced similar problems, a copy of our forum post (including some useful links) can be found in the URL section.

This has always been reproducible on my system.

Thanks for your time, if you have any queries please don't hesitate to ask.

Chewwit
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 08:59:21 UTC
*** Bug 140929 has been marked as a duplicate of this bug. ***
Comment 2 Luca Barbato gentoo-dev 2006-07-18 12:51:31 UTC
This is an high priority enhancement, I'll look at it soon.

is XV really that bad as workaround?
Comment 3 William Sutton 2006-07-18 15:17:21 UTC
Adding my info to this as well.  For what it is worth, -vo xv seems to be working now that I've updated to Xorg 7 (although the language is in Spanish; will have to look at that).  However, under Xorg 6.8.2, (with dual-head running in merged mode), -vo xv would complain about the system being too slow, the audio and video would get out of sync, and then mplayer would die.  The Xorg 7 upgrade breaks dual-headedness on the Matrox GXY0 (400/450/550/etc) series of cards.

Info from emerge --info:

Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Xeon(TM) CPU 2.00GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups dlloader dri dts dvd dvdread eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal imagemagick imlib isdnlog jpeg libg++ libwww mad matrox mikmod mmx mmxext motif mp3 mpeg ncurses nsplugin opengl openssl oscar oss pam pcre pdf pdflib perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session smp spell spl sse ssl tcpd truetype truetype-fonts type1-fonts v4l win32codecs xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_mga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 h.w.blackwell 2006-07-19 02:36:38 UTC
xv does work on my (single headed) system, but I have some kind of horizontal dynamic banded corruption running down the edges when playing video. It looks like part of the right hand of the screen is repeated intermittenly on the left.I wanted to try using the special Matrox module to try and resolve this, but it doesn't seem possible short of completely manually reinstalling the whole of mplayer outside portage. I tried to capture a screen shot for you, but the gimp couldn't cope with grabbing a paused video, so I've got some pictures for you instead. Ignore the broad bands in the blue area, they are just aliasing between camera and screen, but look at the narroer bands on the video, about a centimeter deep into the video (on the left). The right hand corruption is harder to see, it is about a pixel width line and is most visible in the top left corner where all the sky should be blue, not blue with black lines(!).
Comment 5 h.w.blackwell 2006-07-19 02:42:53 UTC
Created attachment 92191 [details]
Screen shot of video using xv in mplayer on matrox card

A picture of a typical video playing, ignore the big bands running across the screen, these are just aliasing effects from the camera.
Comment 6 h.w.blackwell 2006-07-19 02:46:19 UTC
Created attachment 92192 [details]
Close up of corruption (left side)

The easiest place to see the ends of the bars I'm descirbing is at the top, where they eat into the black vertical bar that is the windscreen support. These dynamically move down the screen when the video is played or paused. Also notice the 'g' from leaving, or Ongar (I don't know which) is repeated in the margin of corruption.
Comment 7 h.w.blackwell 2006-07-19 02:49:44 UTC
Created attachment 92193 [details]
Close up of corruption (right side)

As described earlier, see the thinner pixel wide lines at the top right corner (this should be just the sky and a tree). these again are present from the top to the bottom of the screen and move down dynamically whilst video is player or paused.
Comment 8 白川間瀬流 2013-04-28 15:05:30 UTC
Should be closed as OBSOLETE
Comment 9 William Sutton 2013-04-29 04:38:32 UTC
Gee, y'all.  Thanks for doing something about this when we all needed it...7 years ago :-( </sarcasm></rant>
Comment 10 William Sutton 2016-05-28 15:19:07 UTC
And.... this sort of support is why I now use Windows 7 Pro.  Thanks, guys.