Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-12-06, 11:13 PM   #1
doquar2
Registered User
 
Join Date: Apr 2006
Posts: 1
Unhappy 8756 xvmc

I have a Geforce 6600 and I am using the 64 bit version of the 8756 driver. I still can't seem to get xvmc to work properly. When I try playing a 1080i movie in xine I get:

Code:
xine -V xvmc movie.mpg
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
No accelerated IMDCT transform found
When I try playing the same movie in mplayer:

Code:
mplayer -vo xvmc -vc ffmpeg12mc shuttle.mpg
MPlayer dev-CVS-060217-03:46-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle; Athlon 64 X2 Manchester (Family: 15, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



91 audio & 206 video codecs
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
Playing shuttle.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  20000.0 kbps (2500.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.0
==========================================================================
Forced video codec: ffmpeg12mc
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
vd_ffmpeg: XVMC accelerated codec
Selected video codec: [ffmpeg12mc] vfm: ffmpeg (FFmpeg MPEG-1/2 (XvMC))
==========================================================================
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
VDec: vo config request - 1920 x 1080 (preferred colorspace: MPEG1/2 Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1920x1080 => 1920x1080 MPEG1/2 Motion Compensation and IDCT
vo_xvmc: Port 270 grabed
vo_xvmc: Found matching surface with id=54434449 on 270 port at 0 adapter
vo_xvmc: Allocated Direct Context
vo_xvmc: data_blocks allocated
vo_xvmc: mv_blocks allocated
vo_xvmc: Motion Compensation context allocated - 8 surfaces
vo_xvmc: idct=1 unsigned_intra=0
vo_xvmc: looking for OSD support
    Subpicture id 0x34344149
vo_xvmc: OSD support by additional frontend rendering
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
A:   4.9 V:   4.3 A-V:  0.630 ct:  0.302 130/130 77% 30%  1.2% 50 0

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

aspect: Warning: no suitable new res found!8/148 80% 32%  1.2% 68 0
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!9/219 86% 34%  1.3% 138 0
alsa-uninit: pcm closed 2.271 ct:  0.646 233/233 89% 34%  1.3% 152 0

Exiting... (Quit)
Any suggestions? Thanks.
doquar2 is offline   Reply With Quote
Old 04-13-06, 03:37 AM   #2
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: 8756 xvmc

I have the same problem with the 32-bit version of the previous driver.
I have brought it up some times in different threads but I have never seen an answer, apart from the occasional "it works for me".

I have never been able to play 1080i movies via xvmc. Standard definition movies can be played.
(although the result is ugly because of the lack of de-interlacing, so I normally use software decoding and de-interlacing instead)
pe1chl is offline   Reply With Quote
Old 04-13-06, 03:57 AM   #3
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: 8756 xvmc

I tryed gxine using xvmc as video out on my 7800GTX with a 1080i mpeg2 video and it works fine 17% cpu usage during playback.
edit: but it seems not to do anything usefull using xv I get the same cpu usage 14-17%
cpu : amd opteron 170 (dual core) overclocked to 2.7Ghz
Dragoran is offline   Reply With Quote
Old 04-15-06, 05:13 AM   #4
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: 8756 xvmc

Hello
I noticed this warings when I enabled XVMC debug.
why does it mess around with AGP stuff?
I have PCI-E video card (7800GTX)
Quote:
libmpeg2: output port has XxMC capability
NV-XVMC (WARN): failed to allocate AGP DMA buffer
NV-XVMC (WARN): allocated framebuffer DMA buffer instead
NV-XVMC (WARN): failed to allocate subpicture in AGP memory
video_out_xxmc: Using hardware decoding for this stream.
Warning! Changing xoverlay
NV-XVMC (WARN): failed to allocate subpicture in AGP memory
Dragoran is offline   Reply With Quote
Old 04-15-06, 08:16 AM   #5
Dr. Tyrell
Registered User
 
Dr. Tyrell's Avatar
 
Join Date: Aug 2004
Posts: 100
Default Re: 8756 xvmc

1. Use "xine -V xxmc" after you...
2. Make a file in /etc/X11 named XvMCConfig containing only one line, the path to your nvidia xvmc lib.
[ Mine is /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.8756 ]
Dr. Tyrell is offline   Reply With Quote
Old 04-15-06, 11:21 AM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8756 xvmc

Dragoran, those warnings are appearing because you have a PCI-E videocard, and are likely harmless, assuming that you're not experiencing any functional problems. There is currently a bug open to have them addressed.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 04-16-06, 02:55 AM   #7
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: 8756 xvmc

Quote:
Originally Posted by netllama
Dragoran, those warnings are appearing because you have a PCI-E videocard, and are likely harmless, assuming that you're not experiencing any functional problems. There is currently a bug open to have them addressed.

Thanks,
Lonni
ok thx, I just wondered why it even try this on a PCI-E card.
Dragoran is offline   Reply With Quote
Old 04-17-06, 03:12 AM   #8
mlampard
Registered User
 
Join Date: Apr 2006
Location: South Australia
Posts: 30
Default Re: 8756 xvmc

if XvMCUsesTextures == True in xorg.conf, with the current 8756 drivers, it seems as though XvMC is disabled to some degree. With this option enabled, XVMC_DEBUG=2 produces no output, and CPU utilisation is similar to straight Xv when using xine -Vxxmc. Xine seems to find the XvMC accelerated surface, but neither IDCT or mocmp acceleration is offered by the driver.
Removing that option from xorg.conf seems to bring everything back online.
mlampard is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:34 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.