[mythtv-users] Can't get XvMC (GeForce4 MX)

Ben bluey at iguanaworks.net
Sat Feb 17 18:00:24 UTC 2007


I've got an AMD Athlon XP with an integrated NVidia GeForce4 MX GPU. I'm
running debian sid with the 2.6.18 kernel. I've got XvMC working fine
under mplayer and xine. But myth can't play video / tv when I have it
use Standard XvMC. I get the same error messages when I use the debian
binaries of 0.20svn (http://www.debian-multimedia.org) or when I compile
the svn myself against the NVidia XvMC (-lXvMCNVIDIA), or when I compile
the 0.20 release. In all cases, when I play a video or watch tv I get
"unable to initialize video" and the relevant error message is, I
think, 

2007-02-17 10:39:50.448 VideoOutputXv Error: Unable to create XvMC
Surfaces
2007-02-17 10:39:50.461 VideoOutputXv Error: Failed to create XvMC
Buffers.

The full error message is below, I've tried the following options in my
xorg.conf:

Option "XvmcUsesTextures" "false"
Option "NVAGP" "1"
Option  "RenderAccel" "1"
 
But they make no difference.

Any ideas?  Thanks,

Ben


2007-02-17 10:38:56.425 Current Schema Version: 1179
2007-02-17 10:38:56.425 mythfrontend version: 0.20.20070124-1
www.mythtv.org
2007-02-17 10:39:49.803 AFD: Stream #0, has id 0x49 codec id MPEG2VIDEO,
type Vi deo, bitrate 15300000 at 0x0x84e08e0
2007-02-17 10:39:49.806 Avg read interval was 196 msec. 64K block size
2007-02-17 10:39:49.810 VideoOutputXv: XvMC version: 1.1
2007-02-17 10:39:49.820 XvMCSurfaceTypes::find(w 1920, h 1080, chroma 1,
vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 90, 900 <=p,
port, surfNum)
2007-02-17 10:39:49.821 Trying XvMC port 90
2007-02-17 10:39:49.821 Found a suitable XvMC surface 0
2007-02-17 10:39:49.822 Avg read interval was 197 msec. 96K block size
2007-02-17 10:39:49.828 VideoOutputXv: @ j=1 Looking for flag[s]:
XvInputMask
2007-02-17 10:39:49.828 VideoOutputXv: Adaptor#0: NV17 Video Overlay has
flag[s] : XvInputMask XvImageMask
2007-02-17 10:39:49.828 XvMCSurfaceTypes::find(w 1920, h 1080, chroma 1,
vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 90, 900 <=p,
port, surfNum)
2007-02-17 10:39:49.828 Trying XvMC port 90
2007-02-17 10:39:49.829 Found a suitable XvMC surface 0
2007-02-17 10:39:49.829 VideoOutputXv: Grabbed xv port 90
2007-02-17 10:39:49.829 VideoOutputXv: XvMC surface found with IDCT
support on p ort 90
2007-02-17 10:39:49.847 VideoOutputXv: Closing XVideo port 90
2007-02-17 10:39:49.848 detectInterlace(Detect Scan, Interlaced Scan,
29.97, 108 8) ->Interlaced Scan
2007-02-17 10:39:49.849 AFD: Looking for decoder for MPEG2VIDEO_XVMC
2007-02-17 10:39:49.849 AFD: Opened codec 0x84e09e0, id(MPEG2VIDEO_XVMC)
type(Vi deo)
"/NoRaid/Down load/Video/Myth/1091_20070212210100.mpg". novideo(0)
2007-02-17 10:39:50.439 VideoOutputXv: ctor
2007-02-17 10:39:50.440 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2007-02-17 10:39:50.441 Display Rect  left: 0, top: 131, width: 1680,
height: 78 7, aspect: 1.33333
2007-02-17 10:39:50.441 Video Rect    left: 0, top: 0, width: 1920,
height: 1080 , aspect: 1.77778
2007-02-17 10:39:50.441 VideoOutputXv: Pixel dimensions: Screen
1680x1050, windo w 1680x1050
2007-02-17 10:39:50.441 VideoOutputXv: Estimated display dimensions:
445x278 mm  Aspect: 1.60072
2007-02-17 10:39:50.441 VideoOutputXv: Estimated window dimensions:
445x278 mm Aspect: 1.60072
2007-02-17 10:39:50.441 VideoOutputXv: XvMC version: 1.1
2007-02-17 10:39:50.443 VideoOutputXv: XvMCTex: Init failed
2007-02-17 10:39:50.443 VideoOutputXv: @ j=1 Looking for flag[s]:
XvInputMask
2007-02-17 10:39:50.443 VideoOutputXv: Adaptor#0: NV17 Video Overlay has
flag[s] : XvInputMask XvImageMask
2007-02-17 10:39:50.443 XvMCSurfaceTypes::find(w 1920, h 1088, chroma 1,
vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 90, 900 <=p,
port, surfNum)
2007-02-17 10:39:50.443 Trying XvMC port 90
2007-02-17 10:39:50.443 Found a suitable XvMC surface 0
2007-02-17 10:39:50.443 VideoOutputXv: Grabbed xv port 90
2007-02-17 10:39:50.443 VideoOutputXv: XvMC surface found with IDCT
support on p ort 90
2007-02-17 10:39:50.444 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video
Overlay'
2007-02-17 10:39:50.448 VideoOutputXv Error: Unable to create XvMC
Surfaces
2007-02-17 10:39:50.448 VideoOutputXv: DiscardFrames(1)
2007-02-17 10:39:50.448 VideoBuffers::DiscardFrames(1): AAAAAAAA
...
2007-02-17 10:39:50.461 VideoBuffers::DiscardFrames(1): AAAAAAAA -- done
2007-02-17 10:39:50.461 VideoOutputXv: DiscardFrames() 3: AAAAAAAA --
done()
2007-02-17 10:39:50.461 VideoOutputXv Error: Failed to create XvMC
Buffers.
2007-02-17 10:39:50.461 VideoOutputXv: Closing XVideo port 90
2007-02-17 10:39:50.461 VideoOutputXv: Falling back to X11 video output
over a n etwork socket.
                              *** May be very slow ***
2007-02-17 10:39:50.461 VideoOutputXv Error: XCreateImage failed:
XJ_disp(0x852e e38) visual(0x852eaf0)
                        XJ_depth(16) WxH(1680x1050) bpl(3360)
2007-02-17 10:39:50.461 VideoOutputXv Error: Failed to create X buffers.
2007-02-17 10:39:50.461 VideoOutputXv: DiscardFrames(1)
2007-02-17 10:39:50.461 VideoBuffers::DiscardFrames(1): 
...
2007-02-17 10:39:50.462 VideoOutputXv Error: Failed to get any video
output Exit ing playback.
2007-02-17 10:40:09.731 TV: StartPlayer(): took 20000 ms to start
player.
2007-02-17 10:40:09.731 TV Error: StartPlayer(): NVP is not playing
after 20000 msec
2007-02-17 10:40:09.732 TV: Changing from None to WatchingPreRecorded
2007-02-17 10:40:09.736 TV Error: nvp->IsPlaying() timed out
2007-02-17 10:40:09.736 TV: Attempting to change from
WatchingPreRecorded to None
2007-02-17 10:40:09.736 TV: StopStuff() -- begin
2007-02-17 10:40:09.736 TV: StopStuff(): stopping ring buffer[s]
2007-02-17 10:40:09.747 TV: StopStuff(): stopping player[s] (1/2)
2007-02-17 10:40:09.747 TV: StopStuff(): stopping player[s] (2/2)




More information about the mythtv-users mailing list