Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[UNSOLVED] Cannot use xvidix with mplayer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
zurd
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 228
Location: Canada, Montreal

PostPosted: Tue Jul 25, 2006 3:10 pm    Post subject: [UNSOLVED] Cannot use xvidix with mplayer Reply with quote

Hi, I'm about to submit a bug to bugs.gentoo.org, I just wanted to see first if someone had an answer or could provide me for any more information to submit to bugs.gentoo.org

The problem is quite simple, I cannot use xvidix with mplayer if it is compiled by portage, but if I compile mplayer by myself with the one on the mplayer official website, xvidix works.

Information :
mplayer from the portage tree : media-video/mplayer-1.0_pre8-r1
mplayer from the official website : MPlayer-1.0pre8.tar.bz2
USE FLAGS : USE="X aac aalib alsa arts dga directfb dvd encode esd fbcon gif jpeg libcaca mad mmx mmxext opengl oss png real rtc sdl sse svga tga theora truetype unicode v4l v4l2 vorbis win32codecs xmms xv xvid -3dfx -3dnow -3dnowext -amr -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -doc -dts -dv -dvb -dvdread -enca -ggi -gtk -iconv -ipv6 -jack -joystick -lirc -live -livecd -lzo -matrox -musepack -nas -openal -samba -speex -sse2 -x264 -xanim -xinerama -xvmc"
ACCEPT_KEYWORDS="~x86"
CFLAGS="-O3 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387"
VIDEO_CARDS="fbdev"
Note that my system cannot be more up-to-date, I've done emerge sync, emerge -Du world, emerge metadata, fixpackages, revdep-rebuild, perl-cleaner, modules-update
After each installation of mplayer, I do a chmod 4755 mplayer so that my user can use it, I do not use the svgalib_helper module.

Here's the error that shows when trying mplayer from portage, :
Code:
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.

I'm running : mplayer -v -vo xvidix file.avi and mplayer -vo help do shows "xvidix X11 (VIDIX)"

I also modified /usr/portage/media-video/mplayer-1.0_pre8-r1.ebuild and changed this line :
myconf="${myconf} --disable-external-vidix"
to :
myconf="${myconf}"
But xvidix still doesn't work, same error.

Then I created 2 files, one for the ./configure of mplayer from the portage tree and another one for the mplayer official website, here's the diff of these two files, seems like the only things differents between the two are not relevant to vidix.

Code:
diff mplayer-gentoo mplayer-website
24c24
< Checking for language ... using en (man pages:  en en)
---
> Checking for language ... using en (man pages:  en)
77c77
< Checking for Samba support (libsmbclient) ... no
---
> Checking for Samba support (libsmbclient) ... yes
83,85c83,85
< Checking for DirectFB headers presence ... yes (using -I/usr/include/directfb)
< Checking for DirectFB ... yes (925)
< Checking for X11 headers presence ... yes (using -I/usr/X11R6/include)
---
> Checking for DirectFB headers presence ... not found
> Checking for DirectFB ... no
> Checking for X11 headers presence ... yes (using /usr/X11R6/include)
90c90
< Checking for Xinerama ... no
---
> Checking for Xinerama ... yes
103a104
> Checking for DVB HEAD ... yes
120c121
< Checking for aRts ... yes
---
> Checking for aRts ... no
133,134c134,135
< Checking for cdparanoia ... no
< Checking for libcdio ... yes
---
> Checking for cdparanoia ... yes
> Checking for libcdio ... auto (using cdparanoia)
137c138
< Checking for fribidi with charsets ... no
---
> Checking for fribidi with charsets ... yes
141c142
< Checking for external liblzo support ... no
---
> Checking for external liblzo support ... yes
150c151
< Checking for libdts support ... no
---
> Checking for libdts support ... yes
161,162c162,163
< Checking for RealPlayer DLL ... yes (using /opt/RealPlayer/codecs)
< Checking for LIVE555 Streaming Media libraries ... no
---
> Checking for RealPlayer DLL ... yes (using /usr/lib/real)
> Checking for LIVE555 Streaming Media libraries ... yes (using /usr/lib/live)
178,180c179
< Checking for libmp3lame (for mencoder) ... yes
< Checking for DivX4linux encore (for mencoder) ... no
< Checking for mencoder ... yes
---
> Checking for mencoder ... no
192c191
< Checking for OSD menu ... yes
---
> Checking for OSD menu ... no
195,196c194,195
< Checking for XMMS inputplugin support ... yes
< Checking for inet6 ... no
---
> Checking for XMMS inputplugin support ... no
> Checking for inet6 ... yes
198a198
> Checking for iconv program ... yes


Finally, there's also in the ebuild, this code :
Code:
        if use svga
        then
                myconf="${myconf} --enable-svga"
        else
                myconf="${myconf} --disable-svga --disable-internal-vidix"
        fi

But since I'm using SVGA, I never tried to bother to modifed it for testing.

Is there anything else for me to try or should I go right ahead and submit this to bugs.gentoo.org?

EDIT 1 :
I just tried compiling mplayer with every USE flags that exist with it, still no luck, same error!
Code:
[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


EDIT 2 :
Now I modified /usr/portage/media-video/mplayer/mplayer-1.0_pre8-r1.ebuild, I included in it
einfo "myconf = ${myconf}" so that it can print the .configure line it is using and I used that line to compile mplayer by myself with the package on the official mplayer website. But I had to removed these :
--disable-xinerama --disable-cdparanoia --disable-x264 --disable-liblzo --disable-smb --disable-live --disable-libdts
Because they were giving me compilation error after"make". After removing them, running "make" and "make install", I could play any video with xvidix.

So why can't I use xvidix even if I compile mplayer by myself with almost the same ./configure line of Gentoo ?!?
This is really puzzling me! :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum