Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219149 - media-tv/mythtv-0.21_p17100 ebuild does't respect xvmc-opengl on nvidia GPU
Summary: media-tv/mythtv-0.21_p17100 ebuild does't respect xvmc-opengl on nvidia GPU
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 15:03 UTC by Michael Cramer
Modified: 2008-06-02 15:12 UTC (History)
0 users

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 Michael Cramer 2008-04-24 15:03:18 UTC
i emerge mythtv with the following use flags

emerge -pv mythtv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-tv/mythtv-0.21_p17100 [0.21_p16944] USE="aac alsa autostart dvb dvd ieee1394 jack lirc mmx opengl opengl-video opengl-xvmc perl python xvmc (-altivec) -debug -directv -lcd" VIDEO_CARDS="nvidia -via" 0 kB


so the configure command wich is then used is:

>>> Compiling source in /var/tmp/portage/media-tv/mythtv-0.21_p17100/work/mythtv-0.21 ...
 * Running ./configure --prefix=/usr
                --mandir=/usr/share/man
                --libdir-name=lib --enable-libfaad --disable-altivec --enable-opengl-video --enable-xvmc --enable-xvmc-opengl --disable-xvmcw
                --enable-dvb
                --enable-firewire
                --enable-lirc
                --disable-audio-arts
                --disable-directfb
                --dvb-path=/usr/include
                --enable-opengl-vsync
                --enable-xrandr
                --enable-xv
                --enable-x11
                --enable-gpl --enable-mmx --with-bindings=perl,python --compile-type=profile --cpu=native --disable-distcc --disable-ccache

and here is the problem, the configure script has changed between the last version in portage wich works right and enables xvmc-opengl, but now configure throws this Message:

Disabling XvMC-opengl. It is only available when linking against libXvMCNIVIDIA

i debug the configure script, to find out why this now happens. the problem is that it never reaches the point in the configure script where libXvMCNIVIDIA is set to be used. the problem is that xvmc-vld is set to yes statically in the configure script and this one is checked before NVIDIA will be checked. so the ebuild needs for the case when xvmc-opengl, xvmc and nvidia is set to be used an additional configure parameter "--disable-xvmc-vld". when this one is set the configure script then uses the wanted libXvMCNVIDIA library. hope somebody understands what i've written.

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-04-24 15:40:53 UTC
I'm actually more inclined to just nuke this feature from the ebuild entirely. This exposes features in MythTV which upstream says are unstable and generally provide worse performance then the standard configuration. They are aiming to pull this out in future MythTV releases.
Comment 2 Michael Cramer 2008-04-24 17:37:31 UTC
ok if thats the case, that these features will not be supported upstream i remove these useflags. from my point of view removing these useflags should be done.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-04-24 17:42:37 UTC
Do you need them for anything specific? Because there already are warnings about how this configuration sucks for most people or are you just trying to toss on as many USE flags as possible?
Comment 4 Michael Cramer 2008-04-24 21:41:53 UTC
i want to have some accelerated support on my gforce6 in mythtv and so i looked at the use flags and there discription. so i switched these flags on and hadn't any problem with them in the last version. i see that it is nor recommende to use these flags but in the warning says only that performace can be slower, nothing about it doesn't work at all. with the previous version this all works, but not with these new one
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-06-02 15:12:29 UTC
After discussing this with upstream, the Ubuntu packagers, and the Fedora packagers. This option is going away in future MythTV ebuilds