[mythtv-users] can't play video after upgrade to 0.23.1 (26863): Could not open XvMC port on GM45

Marc MERLIN marc_mtv at merlins.org
Sun Nov 7 06:52:36 UTC 2010


Hi,

I had 0.23.0 and upgraded 0.23.1: mythfrontend starts but when I attempt to play video, I 
get an error about "Could not open XvMC port"

I got this package:
mythtv-frontend_0.23.1+fixes26863-0ubuntu0+mythbuntu3

gandalfthegrey:~$ \mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version   : 26863
MythTV Branch    : branches/release-0-23-fixes
Network Protocol : 23056
Library API      : 0.23.1.201000710-1
QT Version       : 4.7.0
Options compiled in:
 linux debug using_oss using_alsa using_pulse using_jack using_pulseoutput using_backend using_dvb using_firewire using_frontend using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libudev using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg


gandalfthegrey:~# grep XvMC /var/log/Xorg.0.log
[ 88168.185] (==) intel(0): Intel XvMC decoder enabled
[ 88168.185] (II) intel(0): [XvMC] xvmc_vld driver initialized.

I also have:
(II) Loading extension XVideo-MotionCompensation

I have:
X.Org X Server 1.9.0 | xorg-server 2:1.9.0-0ubuntu7

intel(0): Integrated Graphics Chipset: Intel(R) GM45
intel(0): Chipset: "GM45"

intel(0): [DRI2] Setup complete
intel(0): [DRI2]   DRI driver: i965
intel(0): Tiling enabled
intel(0): SwapBuffers wait enabled
intel(0): VideoRam: 262144 KB
intel(0): Allocated new frame buffer 1920x1200 stride 7680, tiled
UXA(0): Driver registered support for the following operations:
        solid
        copy
        composite (RENDER acceleration)
        put_image
        get_image
intel(0): Backing store disabled
intel(0): Silken mouse enabled
intel(0): Initializing HW Cursor
intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
intel(0): DPMS enabled
intel(0): Intel XvMC decoder enabled
intel(0): Set up textured video
intel(0): [XvMC] xvmc_vld driver initialized.
intel(0): direct rendering: DRI2 Enabled

gandalfthegrey:/var/local# dpkg -L libxvmc1
/usr/lib/libXvMC.so.1.0.0
/usr/lib/libXvMCW.so.1.0.0
/usr/lib/xvmcconfig-standard
/usr/lib/xvmcconfig-standard/XvMCConfig
/usr/lib/libXvMC.so.1
/usr/lib/libXvMCW.so.1
/etc/X11/XvMCConfig


I have
gandalfthegrey:~$ cat /etc/X11/XvMCConfig
libXvMC.so.1

I tried libXvMCW.so.1 in there instead, but it made no difference


Any idea how I'm supposed to debug this further? 
Is the mythbuntu package I got broken?
Can I maybe just disable XvMC? (not sure how to)

Thanks,
Marc


2010-11-06 23:29:57.722 Connected to database 'mythconverg' at host: myth
2010-11-06 23:29:57.732 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/Terra/recordings-ui.xml
2010-11-06 23:29:59.480 MythContext: Connecting to backend server: 192.168.205.61:6543 (try 1 of 1)
2010-11-06 23:29:59.486 Using protocol version 23056
2010-11-06 23:29:59.648 Preview Error: Remote Preview failed, reason given: ERROR_UNKNOWN
2010-11-06 23:30:06.672 TV: Attempting to change from None to WatchingPreRecorded
2010-11-06 23:30:07.369 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.434 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.482 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.482 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.531 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.577 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.577 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.623 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.669 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.670 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.730 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.792 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.793 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:07.854 [mpeg2video @ 0xb658a120]mpeg_decode_postinit() failure
2010-11-06 23:30:09.645 VideoOutputXv Error: Could not open XvMC port...

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

                        You may also wish to verify that
                        /etc/X11/XvMCConfig contains the correct
                        vendor's XvMC library.

2010-11-06 23:30:09.646 AFD: Opened codec 0x99e82a0, id(MPEG2VIDEO_XVMC) type(Video)
2010-11-06 23:30:09.646 AFD: codec AC3 has 6 channels
2010-11-06 23:30:09.648 AFD: Opened codec 0x988c100, id(AC3) type(Audio)
2010-11-06 23:30:09.903 AO: Using resampler. From: 48000 to 44100
2010-11-06 23:30:09.903 Opening audio device 'default'. ch 2(2) sr 44100 (reenc 0)
2010-11-06 23:30:09.903 Opening ALSA audio device 'default'.
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2010-11-06 23:30:09.964 AudioOutput Warning: Mixer attach error -2: No such file or directory
                        Check Mixer Name in Setup: '/dev/mixer'
2010-11-06 23:30:10.019 AO: Using resampler. From: 48000 to 44100
2010-11-06 23:30:10.019 Opening audio device 'default'. ch 2(2) sr 44100 (reenc 0)
2010-11-06 23:30:10.019 Opening ALSA audio device 'default'.
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2010-11-06 23:30:10.022 AudioOutput Warning: Mixer attach error -2: No such file or directory
                        Check Mixer Name in Setup: '/dev/mixer'
2010-11-06 23:30:10.352 AO: Using resampler. From: 48000 to 44100
2010-11-06 23:30:10.352 Opening audio device 'default'. ch 2(2) sr 44100 (reenc 0)
2010-11-06 23:30:10.352 Opening ALSA audio device 'default'.
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2010-11-06 23:30:10.353 AudioOutput Warning: Mixer attach error -2: No such file or directory
                        Check Mixer Name in Setup: '/dev/mixer'
2010-11-06 23:30:10.713 VideoOutputXv Error: Could not find suitable XvMC surface.
2010-11-06 23:30:10.713 VideoOutputXv Error: Failed to initialize buffers for codec MPEG2 XvMC
2010-11-06 23:30:10.735 VideoOutputXv Error: Could not find suitable XvMC surface.
2010-11-06 23:30:10.735 VideoOutputXv Error: Failed to initialize buffers for codec MPEG2 XvMC
2010-11-06 23:30:10.735 VideoOutputXv Error: Failed to get any video output Exiting playback.
2010-11-06 23:30:10.735 VideoBuffers::DiscardFrames(): ERROR, A not in available, pause, or displayed         
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, B not in available, pause, or displayed A       
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, C not in available, pause, or displayed AA      
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, D not in available, pause, or displayed AAA     
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, E not in available, pause, or displayed AAAA    
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, F not in available, pause, or displayed AAAAA   
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, G not in available, pause, or displayed AAAAAA  
2010-11-06 23:30:10.736 VideoBuffers::DiscardFrames(): ERROR, H not in available, pause, or displayed AAAAAAA 
2010-11-06 23:30:10.736 VideoOutput, Error: Not compiled with any useable video output method.
2010-11-06 23:30:10.736 NVP(0), Error: Couldn't create VideoOutput instance. Exiting..
2010-11-06 23:30:10.736 Unable to initialize video.
2010-11-06 23:30:30.366 playCtx, Error: StartDecoderThread() Failed to startdecoder
2010-11-06 23:30:30.406 ScreenSaverX11Private: DPMS Deactivated 1


-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  


More information about the mythtv-users mailing list