Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141927 - mplayer xvidix doesn't work
Summary: mplayer xvidix doesn't work
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 13:08 UTC by Zurd
Modified: 2007-08-15 06:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zurd 2006-07-27 13:08:41 UTC
Description : 
Cannot use the xvidix output with mplayer if installed from the portage tree, but xvidix will work if I compile it from the package on the mplayer website.

Information :
- Note that I never tried with the svgalib_helper modules, as far as I know, this is optionnal, doing a chmod 4755 on mplayer should be sufficient to make it work.
- Tested with :
mplayer from the portage tree : media-video/mplayer-1.0_pre8-r1
mplayer from the official website : MPlayer-1.0pre8.tar.bz2 
- From make.conf :
ACCEPT_KEYWORDS="~x86"
CFLAGS="-O3 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387"
VIDEO_CARDS="fbdev"
- "mplayer -vo help" do shows xvidix after compilation from the portage tree.

Error :
I "emerge mplayer" then do a "chmod 4755 /usr/bin/mplayer" and then "mplayer -vo xvidix file.avi" will show :
vidixlib: PROBING: /usr/lib/mplayer/vidix/rage128_vid.so
[rage128] Can't find chip
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.

Test 1 :
Changed the mplayer's ebuild from :
myconf="${myconf} --disable-external-vidix"
to :
myconf="${myconf}" 
But xvidix will still not work.

Test 2 :
Compiled mplayer with every use flags, but xvidix will still not work.
[ebuild  N    ] media-video/mplayer-1.0_pre8-r1  USE="3dfx 3dnow 3dnowext X aac aalib alsa amr arts bidi bindist bl cdparanoia cpudetection custom-cflags debug dga directfb doc dts dv dvb dvd dvdread enca encode esd fbcon ggi gif gtk iconv ipv6 jack joystick jpeg libcaca lirc live livecd lzo mad matrox mmx mmxext musepack nas openal opengl oss png real rtc samba sdl speex sse sse2 svga tga theora truetype unicode v4l v4l2 vorbis win32codecs x264 xanim xinerama xmms xv xvid xvmc" 9,415 kB

Test 3 :
Compile mplayer with the package on the mplayer website with almost the same ./configure option from portage and xvidix will work.  I had to remove theses ones since they were giving me compilation errors :
--disable-xinerama
--disable-cdparanoia
--disable-x264
--disable-liblzo
--disable-smb
--disable-live
--disable-libdts 
None of them seems to be related to xvidix though.

In summary, everytime I compile mplayer from portage, xvidix will never work, and everytime I compile it with the package from mplayer website, xvidix will always work.
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2006-07-27 13:23:25 UTC
Post emeerge --info, please.
Comment 2 Zurd 2006-07-27 14:27:41 UTC
Gentoo Base System version 1.12.1
Portage 2.1.1_pre3-r5 (default-linux/x86/2006.0, gcc-3.4.4/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Pentium III (Coppermine)
app-admin/eselect-compiler: 2.0.0_rc2-r1
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.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm arts asf avi berkdb bitmap-fonts cli crypt cups dlloader dri dvd dvdr eds emboss encode esd ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg kde libg++ libwww mad matroska mikmod mmx motif mp3 mpeg ncurses network nls nptl ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Zurd 2006-11-21 14:58:43 UTC
This error is still here with mplayer-1.0_rc1 and the kernel 2.6.18-gentoo-r1.

I changed some USE flags, here's the one I tried :  USE="X aac aalib alsa arts cpudetection dga directfb dvd encode esd fbcon gif iconv jpeg libcaca live mad mmx mmxext musepack opengl oss png real rtc sdl sse svga tga theora truetype unicode v4l v4l2 vorbis win32codecs xv xvid
-3dfx -3dnow -3dnowext (-altivec) -amr -bidi -bindist -bl -cdparanoia -custom-cflags -debug -doc -dts -dv -dvb -dvdread -enca -ggi -gtk -ipv6 -jack -joystick -lirc -livecd -lzo -matrox -nas -openal -samba -speex -sse2 -x264 -xanim -xinerama -xvmc"
LINGUAS="-bg -cs -da -de -el -en -es -fr -hu -ja -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW"

After installation, still doing chmod 4755 /usr/bin/mplayer and running :
mplayer -vo xvidix file.avi gives the same error :
No vidix driver name provided, probing available ones (-v option for details)!
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.

And again, download mplayer from the official website, compile, make install, chmod 4755 /usr/local/bin/mplayer and it will work with -vo xvidix.

Finally I found that the svgalib_helper module has nothing to do with it, it is use for mplayer -vo svga, if you're not in a X session but in a console, you could use svga.
Comment 4 Zurd 2006-11-21 18:07:21 UTC
I guess I was wrong, I do need svgalib to get xvidix,
but only with Gentoo, not if I compile mplayer by myself.

Here's what I've tried :

emerge -C svgalib
USE="=svga" emerge mplayer
And mplayer -vo help do NOT show xvidix

Then I've tried compiling mplayer myself with the latest one : MPlayer-1.0rc1 and it will show : Checking for SVGAlib ... no
But after make and make install, mplayer -vo help will do show xvidix

Some others misc information, might be useful :

svgalib was compiled like that :
media-libs/svgalib-1.9.25  USE="-build -no-helper"
I have no idea what the -no-helper does, it is not documented.

Trying "modprobe svgalib_helper" does not work, it returns : 
"FATAL: Module svgalib_helper not found."

grub.conf :
title 2.6.18-gentoo-r3
root (hd0,1)
kernel /2.6.18-gentoo-r3 root=/dev/hda4 video=vesafb:ywrap,mtrr vga=0x314 console=tty1


Looks to me that mplayer in Gentoo is too heavily modified and is broken for xvidix.  I will change video cards very soon, from my ATI Rage to a GeForce 2, I wonder if this bug will still be present after the switch since I won't be using a rage128 chipset.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-03-05 11:31:18 UTC
*** Bug 169423 has been marked as a duplicate of this bug. ***
Comment 6 Zurd 2007-03-05 14:36:33 UTC
Actually, it's not a duplicate of bug 169423, because that bug is about xvidix not showing up in "mplayer -vo help" nor does it show up in ./configure.

The bug here is about mplayer showing xvidix and having it compiled, but is not working even though if compiling mplayer, from the official website not from portage, will make it work.
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2007-03-22 16:38:34 UTC
please test with >=1.0_rc2_pre20070321, thanks guys
Comment 8 Zurd 2007-03-23 04:31:39 UTC
So here's what I've tried :
emerge --sync
emerge --update --ask --deep --newuse --verbose world
emerge =media-video/mplayer-1.0_rc2_pre20070321-r2
etc-update
revdep-rebuild -i
chmod 4755 /usr/bin/mplayer
mplayer -vo help shows xvidix

But, 'mplayer -vo xvidix file.avi' is still not showing the video.  There's one difference though, it do play the audio, it didn't do that before (i think).

And same error:
vidixlib: PROBING: /usr/lib/mplayer/vidix/rage128_vid.so
[rage128] Can't find chip
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.

Here's the USE flag I've been using for this test:
[ebuild  N    ] media-video/mplayer-1.0_rc2_pre20070321-r2  USE="X a52 aac aalib alsa cpudetection directfb dvd encode esd gif gtk iconv jpeg libcaca live mad mmx mp3 musepack opengl oss png quicktime rtc sdl sse svga theora truetype unicode vorbis win32codecs xv xvid -3dnow -3dnowext (-altivec) -amr -arts -bidi -bindist -bl -cddb -cdparanoia -custom-cflags -debug -dga -doc -dts -dv -dvb -dvdnav -dvdread -enca -fbcon -ftp -ggi -ipv6 -ivtv -jack -joystick -lirc -livecd -lzo -md5sum -mmxext -mp2 -nas -openal -pnm -radio -rar -real -samba -speex -srt -sse2 -tivo -v4l -v4l2 -x264 -xanim -xinerama -xvmc -zoran" LINGUAS="-bg -cs -da -de -el -es -fr -hu -it -ja -ko -mk -nb -no -pl -pt_BR -ro -ru -sk -sv -tr -uk -zh_CN -zh_TW" VIDEO_CARDS="-mga -s3virge -tdfx -tga -vesa" 12,907 kB 

And again same thing, if I compile mplayer from the official website it's working, I took the SVN checkout from 2007-03-21, ./configure, make and make install will play video file with 'mplayer -vo xvidix' perfectly well.
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2007-03-23 14:52:38 UTC
Should be fixed now in -r3.  Before we were forcibly disabling vidix support, but now it's up to autodetect (and the use flag).
Comment 10 Zurd 2007-03-23 22:55:50 UTC
Now with:
[ebuild   R   ] media-video/mplayer-1.0_rc2_pre20070321-r3  USE="X a52 aac aalib alsa cpudetection dga directfb dvd encode esd fbcon gif iconv jpeg libcaca live mad mmx mmxext mp3 musepack opengl oss png quicktime rtc sdl sse svga theora truetype unicode vidix vorbis win32codecs xv xvid -3dnow -3dnowext (-altivec) -amr -arts -bidi -bindist -bl -cddb -cdparanoia -custom-cflags -debug -doc -dts -dv -dvb -dvdnav -dvdread -enca -ftp -ggi -gtk -ipv6 -ivtv -jack -joystick -lirc -livecd -lzo -md5sum -mp2 -nas -openal -pnm -radio -rar -real -samba -speex -srt -sse2 -tivo -v4l -v4l2 -x264 -xanim -xinerama -xvmc -zoran" LINGUAS="-bg -cs -da -de -el -es -fr -hu -it -ja -ko -mk -nb -no -pl -pt_BR -ro -ru -sk -sv -tr -uk -zh_CN -zh_TW" VIDEO_CARDS="-mga -s3virge -tdfx -tga -vesa"

Notice that 'vidix' is in there.

After compilation, mplayer -vo help shows xvidix.

But same error, mplayer -v -vo xvidix file.avi shows:
vidixlib: PROBING: /usr/lib/mplayer/vidix/rage128_vid.so
[rage128] Can't find chip
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.

No video, only audio.
Comment 11 Zurd 2007-04-27 00:10:09 UTC
As I said from my comments #4, I changed my old video card, from an ATI Rage Fury to a GeForce2 400MX, the problem with xvidix is still there, I still can't use it. But with this new video card, I now have Direct Rendering with my TV-Out so I can now use xv, x11 gl or gl2 as video output from mplayer and without any video to lag.

So feel free to close this bug as I don't care anymore ;-)
Comment 12 Steve Dibb (RETIRED) gentoo-dev 2007-04-27 01:02:14 UTC
(In reply to comment #11)
> As I said from my comments #4, I changed my old video card, from an ATI Rage
> Fury to a GeForce2 400MX, the problem with xvidix is still there, I still can't
> use it. But with this new video card, I now have Direct Rendering with my
> TV-Out so I can now use xv, x11 gl or gl2 as video output from mplayer and
> without any video to lag.
> 
> So feel free to close this bug as I don't care anymore ;-)
> 

I know upstream has been doing a lot of work on it lately, so hopefully a recent snapshot will fix the issues.
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2007-08-15 06:54:05 UTC
Yet another bump,  1.0.20070814 reopen if issues.