[MPlayer-users] mplayer with Nvidia NV43 GeForce 6600 AGP 4x 128MB and xvidix:nvidia - shows green screen or black screen (with nocolorkey)

Maximo Ramos Capillo maximoramos at gmail.com
Mon Apr 16 20:47:14 CEST 2012


Hi!!!

Please help! I have FC16 (Pentium 4 1.6 Ghz), the proprietary nvidia
drivers (295.33) and the agpgart from the kernel (agpgart-intel Intel 845G
Chipset).

The thing is that I can't get video acceleration with mplayer xvidix:nvidia
.. normally I would get a green screen and with nocolorkey a black screen.
What really bothers me is that even with black/green screen mplayer doesn't
seem to be getting any acceleration at all .... cpu goes up to 100% ....
long time ago I used mga_vid driver and you could "feel" the acceleration.
Even -vo xv is faster.

I used the mplayer rpm from atrpms ... but also compiled my own mplayer ...
in both cases I get the exact same results ... I guess 3D acceleration
works because glxgears gets me 700 fps ... (before I couldn't get more than
100 fps).

This is the output from the mplayer I compiled:

# /opt/mplayer/bin/mplayer -V -vo xvidix:nvidia -nocolorkey  El\ Greco\ -\
Alza\ tu\ copa\,\ brindemos\ por\ el\ adios-z57nTMncwVM.flv
MPlayer SVN-r34851-4.6.3 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz (Family: 15, Model: 1, Stepping: 2)
extended cpuid-level: 4
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CMOV
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading optional codecs config file /root/.mplayer/codecs.conf: No such
file or directory
Reading optional codecs config file /opt/mplayer/etc/mplayer/codecs.conf:
192 audio & 399 video codecs
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /opt/mplayer/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Configuration: --prefix=/opt/mplayer --codecsdir=/opt/mplayer/lib/codecs
--disable-mencoder --disable-radio-v4l2 --disable-radio-bsdbt848
--disable-tv --disable-tv-v4l1 --disable-tv-v4l2 --disable-tv-bsdbt848
--disable-pvr --disable-unrarexec --disable-ftp --with-vidix-drivers=nvidia
--disable-matrixview --enable-vdpau --disable-tga --disable-md5sum
--disable-yuv4mpeg --disable-networking --disable-dvdnav
--disable-libdvdcss-internal --disable-dvdread --disable-dvdread-internal
--disable-vcd --disable-pnm --disable-fbdev --disable-xanim
--disable-win32dll --disable-win32waveout --disable-qtx --disable-real
--disable-tremor-internal --disable-dvb --disable-libmpeg2-internal
--disable-mp3lib --disable-v4l2 --disable-ossaudio --disable-inet6
CommandLine: '-V' '-vo' 'xvidix:nvidia' '-nocolorkey' 'El Greco - Alza tu
copa, brindemos por el adios-z57nTMncwVM.flv'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Reading optional input config file /root/.mplayer/input.conf: No such file
or directory
Reading optional input config file /opt/mplayer/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('El Greco - Alza tu copa, brindemos por el
adios-z57nTMncwVM.flv.conf') -> '/root/.mplayer/El Greco - Alza tu copa,
brindemos por el adios-z57nTMncwVM.flv.conf'

Playing El Greco - Alza tu copa, brindemos por el adios-z57nTMncwVM.flv.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 7622552 bytes
STREAM: [file] El Greco - Alza tu copa, brindemos por el
adios-z57nTMncwVM.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.3.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: FLV format
libavformat file format detected.
[flv @ 0x8874a40]All info found
rfps: 29.666667 0.016552
rfps: 29.666667 0.016552
rfps: 29.750000 0.009347
rfps: 29.750000 0.009347
rfps: 29.833333 0.004197
rfps: 29.833333 0.004197
rfps: 29.916667 0.001104
rfps: 30.000000 0.000067
rfps: 30.083333 0.001087
rfps: 30.166667 0.004163
rfps: 30.250000 0.009295
rfps: 30.333333 0.016483
rfps: 30.333333 0.016483
rfps: 59.666667 0.016789
rfps: 59.666667 0.016789
rfps: 59.750000 0.009575
rfps: 59.833333 0.004417
rfps: 59.916667 0.001315
rfps: 29.970030 0.000204
rfps: 59.940060 0.000814
==> Found video stream: 0
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 0
  biBitCount 0
  biCompression 827739206='FLV1'
  biSizeImage 0
===========================
[lavf] stream 0: video (flv), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 22050
avg byte/sec: 8000
Block align: 1
bits/sample: 16
cbSize: 0
==========================================================================
[lavf] stream 1: audio (mp3), -aid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3539812
VIDEO:  [FLV1]  320x240  0bpp  30.000 fps  278.6 kbps (34.0 kbyte/s)
[V] filefmt:44  fourcc:0x31564C46  size:320x240  fps:30.000  ftime:=0.0333
Clip info:
 starttime: 0
 totalduration: 177
 totaldatarate: 344
 bytelength: 7622552
 canseekontime: true
 sourcedata: B4A7DD1A7
Load subtitles in ./
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
vidixlib: PROBING: nvidia
[nvidia_vid] Found chip: NV43 [GeForce 6600/GeForce 6600 GT]
vidixlib: nvidia probed o'k
vidixlib: will use nvidia driver
vidixlib: Attempt to initialize driver at: 0x80983ec
[nvidia_vid] arch 40 register base 0xb68d0000
[nvidia_vid] detected memory size 128 MB
[nvidia_vid] MTRR set up
[nvidia_vid] video mode: 1280x1024 at 32
vidixlib: 'nvidia'successfully loaded
[VO_SUB_VIDIX] Description: NVIDIA RIVA OVERLAY DRIVER.
[VO_SUB_VIDIX] Author: Sascha Sommer <saschasommer at freenet.de>.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.14.101 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "mp3float" init OK!
AUDIO: 22050 Hz, 1 ch, floatle, 64.0 kbit/9.07% (ratio: 8000->88200)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
Building audio filter chain for 22050Hz/1ch/floatle -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 22050Hz/1ch/floatle
[dummy] Was reinitialized: 22050Hz/1ch/floatle
Trying every known audio driver...
alsa-init: requested format: 22050 Hz, 1 channels, 1d
alsa-init: using ALSA 1.0.25
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: opening device in blocking mode
alsa-init: device reopened in blocking mode
alsa-init: got buffersize=96000
alsa-init: got period size 1500
alsa: 48000 Hz/1 channels/4 bpf/96000 bytes buffer/Float 32 bit Little
Endian
AO: [alsa] 48000Hz 1ch floatle (4 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under development
Building audio filter chain for 22050Hz/1ch/floatle ->
48000Hz/1ch/floatle...
[dummy] Was reinitialized: 22050Hz/1ch/floatle
[libaf] Adding filter lavcresample
[libaf] Adding filter format
[format] Changing sample format from little-endian 32-bit float to
little-endian 16-bit signed int
[format] Accelerated little-endian 32-bit float to little-endian 16-bit
signed int conversion
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[libaf] Adding filter format
[format] Changing sample format from little-endian 16-bit signed int to
little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian
32-bit float conversion
[format] Changing sample format from little-endian 32-bit float to
little-endian 16-bit signed int
[format] Accelerated little-endian 32-bit float to little-endian 16-bit
signed int conversion
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to
little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian
32-bit float conversion
Starting playback...
[libaf] Reallocating memory in module format, old len = 0, new len = 23077
[libaf] Reallocating memory in module lavcresample, old len = 0, new len =
50227
[libaf] Reallocating memory in module format, old len = 0, new len = 100383
Increasing filtered audio buffer size from 0 to 100380
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x899f8e0]BICUBIC scaler, from yuv420p to yuyv422 using MMX2
[swscaler @ 0x899f8e0]320x240 -> 320x240
[swscaler @ 0x899f8e0]lum srcW=320 srcH=240 dstW=320 dstH=240 xInc=65536
yInc=65536
[swscaler @ 0x899f8e0]chr srcW=160 srcH=120 dstW=160 dstH=240 xInc=65536
yInc=32768
REQ: flags=0x437  req=0x0
VO: [xvidix] 320x240 => 320x240 Packed YUY2
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
Using colorkey: 1000000
[nvidia_vid] colorkeying disabled
[xvidix] dcx: 4 dcy: 709 dx: 0 dy: 0 dw: 320 dh: 240
[nvidia_vid] setting up a 320x240-4x709 video window (src 320x240), format
0x32595559
vosub_vidix: using 3 buffer(s)
[xvidix] window properties: pos: 4x709, size: 320x240
*** [vo] Allocating mp_image_t, 320x240x16bpp YUV packed, 153600 bytes
*** [scale] Allocating (slices) mp_image_t, 320x256x12bpp YUV planar,
122880 bytes
[xvidix] dcx: 8 dcy: 734 dx: 0 dy: 0 dw: 320 dh: 240
[nvidia_vid] setting up a 320x240-8x734 video window (src 320x240), format
0x32595559
vosub_vidix: using 3 buffer(s)
[xvidix] window properties: pos: 8x734, size: 320x240
A:   0.5 V:   0.0 A-V:  0.454 ct:  0.000   0/  0 ??% ??% ??,?% 0 0
*** [scale] Allocating (slices) mp_image_t, 320x256x12bpp YUV planar,
122880 bytes
A:   7.2 V:   7.2 A-V:  0.000 ct:  0.033   0/  0 10%  2%  1.6% 10 0
[xvidix-fs] dcx: 0 dcy: 32 dx: 0 dy: 32 dw: 1280 dh: 960
[nvidia_vid] setting up a 1280x960-0x32 video window (src 320x240), format
0x32595559
vosub_vidix: using 3 buffer(s)
[xvidix] window properties: pos: 0x32, size: 1280x960
A:   7.6 V:   7.2 A-V:  0.350 ct:  0.033   0/  0 10%  2%  1.6% 10 0
[xvidix-fs] dcx: 0 dcy: 32 dx: 0 dy: 32 dw: 1280 dh: 960
[xvidix] window properties: pos: 0x0, size: 1280x960
A:  13.5 V:  13.5 A-V: -0.000 ct:  0.033   0/  0  8%  2%  1.6% 18 0
[xvidix] dcx: 8 dcy: 734 dx: 0 dy: 0 dw: 320 dh: 240
[nvidia_vid] setting up a 320x240-8x734 video window (src 320x240), format
0x32595559
vosub_vidix: using 3 buffer(s)
[xvidix] window properties: pos: 8x734, size: 320x240
A:  13.9 V:  13.5 A-V:  0.355 ct:  0.033   0/  0  8%  2%  1.6% 18 0
[xvidix] dcx: 8 dcy: 734 dx: 0 dy: 0 dw: 320 dh: 240
[xvidix] window properties: pos: 8x734, size: 320x240
A:  16.6 V:  16.6 A-V: -0.000 ct:  0.033   0/  0  8%  2%  1.6% 27 0
Uninit audio filters...
[libaf] Removing filter format
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
[libaf] Removing filter format
Uninit audio: ffmpeg
Uninit video: ffmpeg
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)

============

The last lines "[nvidia_vid] setting up ...." are generated whenever I
switch from full screen to window mode.

Please help!!

Maximo Ramos


More information about the MPlayer-users mailing list