[mythtv-users] XvMC and opengl problems

Jerry Rubinow jerrymr at gmail.com
Tue Feb 7 13:53:35 UTC 2006


On 2/7/06, Mike <stuff at dustsmoke.com> wrote:
> I seem to be having a problem enabling XvMC... It works, but at really
> high cpu load where as normal CPU load is low when it is off. I compiled
> with the latest nvidia drivers and tried with or without the use of
> twinview.
> ./configure --enable-xvmc --enable-opengl-vsync --enable-dvb
>
> Something about this doesn't seem quite right. vsync seems to be dying
> for some reason and I think that is the reason XvMC takes up so much
> CPU. Also, why does it try XvMC 3 times? Is that normal? Anybody have
> any idea's as to what I'm doing wrong?
>
> -Mike
>
> ===================================================================================
> Using XvMC version: 1.0
> 2006-02-07 01:50:02.019 XvMCSurfaceTypes::find(w 480, h 480, chroma 1,
> vld 1, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 222, 2220
> <=p, port, surfNum)
> 2006-02-07 01:50:02.019 Trying XvMC port 222
> 2006-02-07 01:50:02.019 XvMCSurfaceTypes::find(w 480, h 480, chroma 1,
> vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 222, 2220
> <=p, port, surfNum)
> 2006-02-07 01:50:02.020 Trying XvMC port 222
> 2006-02-07 01:50:02.020 XvMCSurfaceTypes::find(w 480, h 480, chroma 1,
> vld 0, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 222, 2220
> <=p, port, surfNum)
> 2006-02-07 01:50:02.020 Trying XvMC port 222
> 2006-02-07 01:50:02.020 Found a suitable XvMC surface 0
> XvMC found and using MC surface
> 2006-02-07 01:50:02.020 Using XV port 222
> 2006-02-07 01:50:02.063 Image size. dispxoff 0, dispyoff: 0, dispwoff:
> 728, disphoff: 548
> 2006-02-07 01:50:02.063 Image size. imgx 10, imgy: 10, imgw: 461, imgh: 461
> 2006-02-07 01:50:02.582 The realtime priority setting is not enabled.
> 2006-02-07 01:50:02.586 XvMC will use bob deinterlacing
> 2006-02-07 01:50:02.586 Using deinterlace method bobdeint
> 2006-02-07 01:50:02.617 Changing from None to WatchingLiveTV
> 2006-02-07 01:50:02.689 nVidiaVideoSync: VBlank ioctl did not work,
> unimplemented in this driver?
> 2006-02-07 01:50:02.689 DRMVideoSync: Could not open device
> /dev/dri/card0, No such file or directory
> 2006-02-07 01:50:02.689 RTCVideoSync: Could not set RTC frequency,
> Permission denied.
> 2006-02-07 01:50:02.690 Set video sync frame interval to 33366
> 2006-02-07 01:50:02.690 Using audio as timebase
> 2006-02-07 01:50:02.690 Video timing method: USleep with busy wait
> 2006-02-07 01:50:02.690 Refresh rate: 16579, frame interval: 33366
> ===================================================================================
>
> XF86Config-4
> ===================================================================================
> Section "ServerLayout"
>     Identifier     "Default Layout"
>     #Screen         "Default Screen" 0 0
>     Screen         "TV Screen" 0 0
>     InputDevice    "Generic Keyboard"
>     InputDevice    "Configured Mouse"
> EndSection
>
> Section "Files"
>                         # local font server
>         # if the local font server has problems, we can fall back on these
>     FontPath        "unix/:7100"
>     FontPath        "/usr/lib/X11/fonts/misc"
>     FontPath        "/usr/lib/X11/fonts/cyrillic"
>     FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
>     FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
>     FontPath        "/usr/lib/X11/fonts/Type1"
>     FontPath        "/usr/lib/X11/fonts/CID"
>     FontPath        "/usr/lib/X11/fonts/Speedo"
>     FontPath        "/usr/lib/X11/fonts/100dpi"
>     FontPath        "/usr/lib/X11/fonts/75dpi"
> EndSection
>
> Section "Module"
>     Load           "bitmap"
>     Load           "dbe"
>     Load           "ddc"
>     #Load          "dri"
>     Load           "extmod"
>     Load           "freetype"
>     Load           "glx"
>     Load           "int10"
>     Load           "record"
>     Load           "speedo"
>     Load           "type1"
>     Load           "vbe"
> EndSection

Version of nvidia's driver past 7676 reportedly have XvMC problems.  Try 7676.

-Jerry


More information about the mythtv-users mailing list