[mythtv-users] XvMC output not working

Gavin Haslett gavin at nodecaf.net
Sun May 22 15:21:01 UTC 2005


I had the exact same problem with my setup running a Geforce MX440 card.
I added the following to my "Device" section in /etc/X11/xorg.conf;

Option   "XvmcUsesTextures" "true"

Double check you're using accelerated nvidia drivers, and make sure your
xmvclibs are up to date. Works like a champ for me, though a little
flaky on my motherboard due to what I suspect are DMA problems (will
report back on that after an upcoming mobo upgrade)

Hope this helps! 

________________________________

From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Mario Limonciello
Sent: Saturday, May 21, 2005 7:51 AM
To: Discussion about mythtv
Subject: [mythtv-users] XvMC output not working


I have yet to get xvmc to work, but really need to since my machine is
getting taxed on 1080i HD playback that has to be downscaled to
1280x1024 (thats as high as my LCD goes).


supermario at supermario ~ $ export | grep DISPLAY && mythfrontend -v
playback
declare -x DISPLAY=":0.0"
2005-05-21 08:42:30.707 New DB connection, total: 1 
Total desktop width=1280, height=1024, numscreens=1
2005-05-21 08:42:30.714 Using screen 0, 1280x1024 at 0,0
2005-05-21 08:42:30.718 mythfrontend version: 0.18.20050504-1
www.mythtv.org <http://www.mythtv.org> 
2005-05-21 08:42:30.718 Enabled verbose msgs : important general
playback
2005-05-21 08:42:30.825 max_width: 1280 max_height: 1024
2005-05-21 08:42:30.876 Switching to square mode (Iulius)
mythtv: could not open config file /home/supermario/.mythtv/lircrc 
mythtv: No such file or directory
Failed to read lirc config /home/supermario/.mythtv/lircrc for mythtv
2005-05-21 08:42:31.780 Joystick disabled.
2005-05-21 08:42:31.808 Registering Internal as a media playback plugin.

Unable to initialize plugin 'mythdvd'.
Unable to initialize plugin 'mythvideo'.
Unable to initialize plugin 'mythweather'.
2005-05-21 08:42:33.326 All Programs
2005-05-21 08:42:33.647 Connecting to backend server: 192.168.10.6:6543
(try 1 of 5)
2005-05-21 08:42:33.655 Using protocol version 16
2005-05-21 08:42:34.374 New DB connection, total: 2
2005-05-21 08:42:34.407 AVFD: Opening Stream #0: codec id 2 
2005-05-21 08:42:34.408 XvMC version: 1.0
2005-05-21 08:42:34.408 XvMCSurfaceTypes::find(w 720, h 480, chroma 1,
vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 177, 1770
<=p, port, surfNum)
2005-05-21 08:42:34.408 Trying XvMC port 177
2005-05-21 08:42:34.409 Found a suitable XvMC surface 0
2005-05-21 08:42:34.409 @ j=1 Looking for flag[s]: XvInputMask
2005-05-21 08:42:34.409 Adaptor: 0 has flag[s]: XvInputMask XvImageMask 
2005-05-21 08:42:34.409 XvMCSurfaceTypes::find(w 720, h 480, chroma 1,
vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 177, 1770
<=p, port, surfNum)
2005-05-21 08:42:34.409 Trying XvMC port 177
2005-05-21 08:42:34.409 Found a suitable XvMC surface 0
2005-05-21 08:42:34.409 XvMC surface found with IDCT support on port 177
2005-05-21 08:42:34.414 Unable to create XvMC Context, status(11):
BadAlloc
2005-05-21 08:42:34.414 Could not open XvMC port...

                        You may wish to verify that your DISPLAY
                        environment variable does not use an external
                        network connection.


Every time I try XvMC, these are the exact same things that happen.  I'm
currently on the latest drivers available on the ~amd64 tree on gentoo,
which happen to be 7174.  I am also on xorg 6.8.2-r1.  I have read a
little bit about needing an /etc/X11/XvMConfig file or so, but no such
file exists (at least on my system).  Also, opengl does work fine for
this card as an opengl sync for myth or for video games.

My Related hardware:
Athlon64 3200+
Asus 68V SE Deluxe
Pny Nvidia 6600GT
Gentoo Linux 2005.0 ~amd64

I do run myth cvs usually, but I have tried 18.1 as well.

This problem isn't myth related because I can reproduce similar problems
with mplayer when trying xvmc.

What could I do to fix it? 



More information about the mythtv-users mailing list