[mythtv-users] Problems setting up XvMC

Greg 'groggy' Lehey grog at lemis.com
Wed Mar 28 05:10:36 UTC 2007


I'm having trouble getting XvMC to start up.  Here's what I've done so
far:

- downloaded the sources from
  http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythtv
- configured with --enable-xvmc
- set the preferred MPEG2 decoder to Standard XvMC (also extra audio
  buffering, as recommended at
  http://www.mythtv.org/wiki/index.php/XvMC).
- Create a file /etc/X11/XvMCConfig with the content
  'libXvMCNVIDIA_dynamic.so.1'

When I try to view a recorded programme, I get the following messages:

----------------------------------------

  2007-03-28 13:02:16.063 Connected to database 'mythconverg' at host: 192.109.197.140
  2007-03-28 13:02:16.624 TV: Attempting to change from None to WatchingPreRecorded
  [mpegts @ 0x28f97460]Parser not found for Codec Id: 94211 !
  [mpegts @ 0x28f97460]Parser not found for Codec Id: 94212 !
  0: start_time: 2860.259 duration: 296.654
  1: start_time: 2860.236 duration: 296.641
  2: start_time: 2860.224 duration: 296.660
  3: start_time: 2860.224 duration: 296.689
  stream: start_time: 31780.265 duration: 3296.545 bitrate=5289 kb/s
  2007-03-28 13:02:20.102 AFD: Opened codec 0x96ba810, id(MPEG2VIDEO_XVMC) type(Video)
  2007-03-28 13:02:20.102 AFD: Opened codec 0x96bac10, id(MP3) type(Audio)
  2007-03-28 13:02:20.455 Opening OSS audio device '/dev/dsp0.0'.
  2007-03-28 13:02:21.314 VideoOutputXv: XvMCTex: Init failed
  2007-03-28 13:02:21.314 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video Texture'
  2007-03-28 13:02:21.855
  XError type: 0
      display: 0x9b030001
    serial no: 36
     err code:
   (BadAccess (attempt to access private resource denied))
     req code:
   minor code:
  resource id: 290
  2007-03-28 13:02:21.856
  XError type: 0
      display: 0x9b03000
    serial no: 36
     err code:
   (BadAccess (attempt to access private resource denied))
     req code:
   minor code:
  resource id: 290
  X Error: BadShmSeg (invalid shared segment parameter) 179
    Major opcode:  149
    Minor opcode:  2
    Resource id:  0x220000c
  2007-03-28 13:02:21.892 VideoOutputXv Error: Failed to create XvMC Buffers.
  2007-03-28 13:02:21.893 VideoOutputXv: Falling back to X11 video output over a network socket.
                                *** May be very slow ***
  2007-03-28 13:02:21.893 VideoOutputXv Error: XCreateImage failed: XJ_disp(0x9b03000) visual(0x9b09000)
                          XJ_depth(24) WxH(1280x720) bpl(3840)
  2007-03-28 13:02:21.894 VideoOutputXv Error: Failed to create X buffers.
  2007-03-28 13:02:21.894 VideoOutputXv Error: Failed to get any video output Exiting playback.
  2007-03-28 13:02:37.312 TV Error: StartPlayer(): NVP is not playing after 20000 msec
  2007-03-28 13:02:37.313 TV: Changing from None to WatchingPreRecorded
  2007-03-28 13:02:37.315 TV: Attempting to change from WatchingPreRecorded to None

----------------------------------------

Tracing the frontend shows that it accesses the
libXvMCNVIDIA_dynamic.so.1 file (many times over), so it's finding the
library.  From googling, it seems that the "Init failed" message is
harmless.  Can anybody point me what to look at next?  I'm quite happy
to build with debugging code or just snoop around myself, if somebody
can tell me what I should be looking for.

Environment:

- FreeBSD 6.2-STABLE
- xorg 6.9
- nVidia GeForce 6200:

nvidia0: <GeForce 6200> mem 0xe4000000-0xe4ffffff,0xd0000000-0xdfffffff,0xe5000000-0xe5ffffff irq 19 at device 0.0 on pci2

nvidia0 at pci2:0:0:       class=0x030000 card=0x01301462 chip=0x022110de rev=0xa1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    class    = display
    subclass = VGA

- nVidia binary driver version 9631.

Greg
--
Finger grog at lemis.com for PGP public key.
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20070328/7995293f/attachment.pgp 


More information about the mythtv-users mailing list