Summary: | MythTV 0.21_p17435 MPEG2VIDEO_XVMC unselectable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Barry Williams <barry> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, hasse-gentoobug, rickfharris |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Barry Williams
2008-06-05 17:51:39 UTC
Talk to Rick Harris from bug #220857, I have CC'd him. The latest changes regarding VIA are as per his suggestion. I don't have any VIA hardware to test with so I'm relying on quality user feedback. Every single version bump I do I'm changing something with regard to VIA support and every single version, someone else complains. Basically, everyone needs to get together and figure out what works for them and that's what we're going with. I, of course, am assuming you read the instructions and used eselect xvmc properly before filing this bug. *** Bug 225031 has been marked as a duplicate of this bug. *** I am quite sure that my problem is caused by the ebuild is disabling xvmc-vld. That is what the openchrome.org driver provides for the via chipsets I believe. I will try making an overlyed ebuild with it enabled and report back compiling with --enable-xvmc-vld did the trick for me. This option is probably required for getting working xvmc on the via chipsets This did the trick for me too! My ebuild overlay contains: use xvmc && ! use video_cards_via && \ myconf="${myconf} --enable-xvmc --enable-xvmcw --disable-xvmc-vld" use xvmc && use video_cards_via && \ myconf="${myconf} --enable-xvmc --enable-xvmcw --enable-xvmc-vld" Thanks (In reply to comment #4) > compiling with --enable-xvmc-vld did the trick for me. This option is probably > required for getting working xvmc on the via chipsets > *** Bug 234751 has been marked as a duplicate of this bug. *** *** Bug 238034 has been marked as a duplicate of this bug. *** *** Bug 229929 has been marked as a duplicate of this bug. *** I also have this issue. Selecting to use xvmc in the frontend causes mythtv to just use the MPEG2VIDEO codec rather than MPEG2VIDEO_XVMC. Enabling xvmc_vld in the ebuild (ie. using --enable-xvmc-vld) compiles in support so that you can use MPEG2VIDEO_XVMC_VLD, but doesn't cure the problem where mythfrontend isn't using the xvmcw wrapper (which in turn should use via/openchrome). I have tried this with both the xf86-video-via and xf86-video-openchrome drivers by eselect'ing to no avail. I still have both installed and am willing to do some testing if anyone has any pointers to get to the bottom of this? I've been doing some more testing on this think I realise whats going on. With --disable--xvmc-vld, and Standard XvMC selected, MythTV tries to use idct capabilities from the Openchrome driver (which it doesnt have) and so reverts back to software decoding: 2009-04-29 18:40:31.932 VideoOutputXv: XvMC version: 1.1 2009-04-29 18:40:31.933 XvMCSurfaceTypes::find(w 544, h 576, chroma 1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 56, 560 <=p, port, surfNum) 2009-04-29 18:40:31.944 Trying XvMC port 56 2009-04-29 18:40:31.961 XvMCSurfaceTypes::find(w 544, h 576, chroma 1, vld 0, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 56, 560 <=p, port, surfNum) 2009-04-29 18:40:31.962 Trying XvMC port 56 2009-04-29 18:40:31.963 AFD: InitVideoCodec() 0xa2c04d0 id(MPEG2VIDEO) type (Video). With --enable--xvmc-vld, and Standard XvMC selected, MythTV does the same as above. With --enable--xvmc-vld, and VIA XvMC selected, MythTV attempts to use the VLD functionality of the Openchrome driver (which it does provide): 2009-04-30 20:05:43.812 XvMCSurfaceTypes::find(w 720, h 576, chroma 1, vld 1, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 56, 560 <=p, port, surfNum) 2009-04-30 20:05:43.812 Trying XvMC port 56 2009-04-30 20:05:43.812 Found a suitable XvMC surface 0 2009-04-30 20:05:43.813 VideoOutputXv: Failed to grab xv port 56 2009-04-30 20:05:43.813 VideoOutputXv: No suitable XVideo port found 2009-04-30 20:05:43.814 AFD: InitVideoCodec() 0xa26dd20 id(MPEG2VIDEO_XVMC_VLD) type (Video). Perhaps the confusion is because XvMC consists of iDCT and VLD. Most XvMC drivers provide iDCT functionality. The Openchrome driver doesnt appear to provide iDCT but does provide VLD (http://www.openchrome.org/trac/wiki/Components). So --enable--xvmc-vld is needed to enable the VLD XvMC functionality. Openchrome will still use the XvMCW library to pick the library. Perhaps the option in MythTV is a bit of a misnomer - although only VIA provides VLD support, it should really be named VLD XvMC instead. Please could you add the --enable--xvmc-vld flag back into the ebuild? Added back in mythtv-0.21_p19961-r2. You'll need "via" in VIDEO_CARDS in make.conf |