[MPlayer-users] MPlayer - gmplayer -vo gl2 nVIDIA bug!!!

DRAKe mandrake_penguin at interia.pl
Mon Feb 10 23:06:21 CET 2003


Hello!

I have a problem with MPlayer and I can't resolve it, so I send You a 
bugreport ;-)

I run Mandrake Linux 9.0

Linux tux.drake 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 
unknown unknown GNU/Linux

libc 2.2.5

XFree 4.2.1-3mdk

Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--with-slibdir=/lib --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --enable-long-long
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java 
--host=i586-mandrake-linux-gnu
--with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)

GNU ld version 2.12.90.0.15 20020717

GNU assembler 2.12.90.0.15 20020717
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms 
of
the GNU General Public License.  This program has absolutely no 
warranty.
This assembler was configured for a target of `i586-mandrake-linux-gnu'.

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 3
model name      : AMD Duron(tm) Processor
stepping        : 1
cpu MHz         : 697.652
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 mmx fxsr syscall
mmxext 3dnowext 3dnow
bogomips        : 1392.64

nVIDIA RIVA TNT2 Model 64 32MB RAM graphic card with nVIDIA binary 
drivers ver 31.23
VIA 82C686A AC97 Sound card with kernel-inbuild Via82cxxxx_audio driver

When I compiled MPlayer first time everything was OK, I cold run 
gmplayer GUI without problems (with -vo gl2 
t, oo). Yesterday I decided to try NvAGP module, I switched to that, but 
I had TuxRacer stabilty problem ;-), 
so I went back to agpgart again, I launched gmplayer -vo gl2 (just for 
fun ;-) ) and then I saw:


[piotrek at tux piotrek]$ gmplayer -vo gl2
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc3-3.2 (C) 2000-2003 Arpad Gereoffy (zobacz DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Skompilowane dla x86 CPU z rozszerzeniami: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /home/piotrek/.mplayer/config
[cfg] read config file: /home/piotrek/.mplayer/gui.conf
Reading config file /home/piotrek/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local 
display)
Reading /home/piotrek/.mplayer/codecs.conf: can't open 
'/home/piotrek/.mplayer/codecs.conf': No such file or
directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
font: can't open file: /home/piotrek/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/piotrek/.mplayer/input.conf : No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/piotrek/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[x11] NET style stay on top ( layer 0 ). Using state 
_NET_WM_STATE_STAYS_ON_TOP.

Odtwarzam /home/piotrek/fnf.avi
Wykryto format AVI!
VIDEO:  [DIV3]  576x240  24bpp  23,98 fps  717,1 kbps (87,5 kbyte/s)
Informacja o clipie:
 Software: Nandub v1.0rc2
==========================================================================
Otwieram dekoder audio: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Otwieram dekoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 
v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 
48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 
48000Hz/2ch/16bit...
Początek odtwarzania...
VDec: vo config request - 576 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [gl2] 576x240 => 576x240 Planar YV12
[gl2] OpenGL Driver Information:
        vendor: (null),
        renderer (null),
        version (null)
[x11] NET style stay on top ( layer 0 ). Using state 
_NET_WM_STATE_STAYS_ON_TOP.


MPlayer przerwany sygnałem 11 w module: decode_video
[x11] NET style stay on top ( layer 0 ). Using state 
_NET_WM_STATE_STAYS_ON_TOP.
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. For details, see DOCS/bugreports.html#crash.b.
[x11] NET style stay on top ( layer 0 ). Using state 
_NET_WM_STATE_STAYS_ON_TOP.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your 
gcc
  version. If you think it's MPlayer's fault, please read 
DOCS/bugreports.html
  and follow the instructions there. We can't and won't help unless you 
provide
  this information when reporting a possible bug.
[piotrek at tux piotrek]$


Everything is OK when I use mplayer (not gmplayer) -vo gl2:

[piotrek at tux piotrek]$ mplayer -vo gl2 fnf.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc3-3.2 (C) 2000-2003 Arpad Gereoffy (zobacz DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Skompilowane dla x86 CPU z rozszerzeniami: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /home/piotrek/.mplayer/config
Reading /home/piotrek/.mplayer/codecs.conf: can't open 
'/home/piotrek/.mplayer/codecs.conf': No such file or 
directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
font: can't open file: /home/piotrek/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/piotrek/.mplayer/input.conf : No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) input config

Odtwarzam fnf.avi
Wykryto format AVI!
VIDEO:  [DIV3]  576x240  24bpp  23,98 fps  717,1 kbps (87,5 kbyte/s)
Informacja o clipie:
 Software: Nandub v1.0rc2
==========================================================================
Otwieram dekoder audio: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Otwieram dekoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 
v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 
48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 
48000Hz/2ch/16bit...
Początek odtwarzania...
VDec: vo config request - 576 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [gl2] 576x240 => 576x240 Planar YV12
[gl2] OpenGL Driver Information:
        vendor: NVIDIA Corporation,
        renderer RIVA TNT2/AGP/3DNOW!,
        version 1.3.1 NVIDIA 31.23
[gl2] You have an OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is 
ok !)
Using MMX2 for colorspace transform
[gl2] YUV init OK!
[gl2] Creating 1x1 textures of size 1024x256 ...
[gl2] antialiasing off
[gl2] bilinear linear
[gl2] Using image_bpp=32, image_bytes=4, isBGR=0,
        gl_bitmap_format=GL_BGRA, 
gl_bitmap_type=GL_UNSIGNED_INT_8_8_8_8_REV,
        gl_alignment=8, rgb_size=0 (0,0,0), a_sz=0,
        gl_internal_format=GL_RGB8, tweaks=mmx_bpp
[gl2] Resize: 576x240
[gl2] using slice method yuv
No bind found for key MOUSE_BTN0                         %  2,7% 18 0 0%
A:  11,6 V:  11,6 A-V:  0,018 ct:  0,017  278/278  14% 28%  2,6% 18 0 0%
Wychodzę... (Wyjście)
[piotrek at tux piotrek]$


What's the problem? is this a some kind of a GUI bug?

I decided to recompile and reinstall MPlayer and that's what ./configure 
showed to me:

[piotrek at tux piotrek]$ cd tmp
[piotrek at tux tmp]$ cd MPlayer-0.90rc3/
[piotrek at tux MPlayer-0.90rc3]$ ./configure --enable-gui --language=pl 
--disable-sortsub
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2, ok
Checking for CPU vendor ... AuthenticAMD (6:3:1)
Checking for CPU type ...  AMD Duron(tm) Processor
Checking for GCC & CPU optimization abilities ... athlon
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.12.90.0.15) ... ok
Checking for Linux kernel version ... 2.4.19-16mdk, ok
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using pl
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... no
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... yes
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with 
--with-extraincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) 
with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF89a support ... yes
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for ALSA audio ... yes (using alsa 0.9.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by 
libmpdvdkit2
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... yes
Checking for FAAD (AAC) support ... no
Checking for Win32 codec DLL files path ... /usr/lib/win32
Checking for Win32 codec DLL support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (no suitable directory found - see 
DOCS/codecs.html)
Checking for RealPlayer DLL ... yes (using /usr/lib/RealPlayer8/Codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... DivX5linux (with 
libdivxdecore.so)
Checking for libmp3lame (for mencoder) ... yes
Checking for XviD/DivX4linux encore (for mencoder) ... DivX4linux (with 
libdivxencore.so)
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... no
Checking for XMMS inputplugin support ... no
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
Checking for ftello() ... yes
Checking for vidix ... yes
Checking for joystick ... no
Checking for lirc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h
Adding untranslated messages to help_mp.h

Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: Little Endian
  Optimizing for: athlon mmx mmx2 3dnow 3dnowex mtrr

  Enabled optional drivers:
    Input: streaming edl tv cdda mpdvdkit2 vcd
    Codecs: qtx divx5linux libavcodec real dshow/dmo win32 libvorbis
    Audio output: alsa9 esd arts oss sdl mpegpes(file)
    Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev aa 
opengl dga xv x11
  Disabled optional drivers:
    Input: tv-v4l tv-bsdbt848 dvdnav dvdread dvdcss
    Codecs: divx4linux xvid libdv xanim libmad liblzo
    Audio output: sgi sun dxr2 nas win32
    Video output: bl zr dxr3 dxr2 directx svga ggi xmga mga directfb 
tdfxfb 3dfx

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no 
longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 
'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/video.html#mtrr)


Check configure.log if you wonder why an autodetection failed (check 
whether
the development headers/packages are installed).

If you suspect a bug, please read DOCS/bugreports.html.

[piotrek at tux MPlayer-0.90rc3]$


I had no MTRR problems during first compilation fo MPlayer and now after 
switching to NvAGP and back to 
agpgart something is wrong!

I checked the config.log out and there is nothing about problems with 
MTRR 

What do You think about all that stuff?

Any solutions?

Thanks in advance, greets, Peter.



----------------------------------------------------------------------
INTERIA.PL dla zakochanych... >>> http://link.interia.pl/f16d3





More information about the MPlayer-users mailing list