[MPlayer-users] Dark Bugreport

Bogdán Zaválnij bogdan at renyi.hu
Tue Apr 2 21:11:02 CEST 2002


I have a strange problem. while all the DOCS writes, that the xv driver
can adjust brightness, I cannot do it.. :-(

for some reason for me it is possible to brighten the dull output only in
direct show codecs, which is "quite" slow for my 300MHz cpu..

any help there?


I had one and only hint.. while my kernel DOES supports mtrr, there is NO
/proc/mtrr file, and I can not even create one.. any suggestions?


Thanx:
Bogdan


p.s.: Arpi, is that a correct bugreport, that you're waiting for..? ;-)
-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  vo_x11.c vo_xv.c vo_dga.c vo_gl.c vo_gl2.c vo_fbdev.c vo_png.c vo_vesa.c vesa_lvo.c vo_sdl.c vo_xvidix.c
OPTIONAL_OBJS = vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_fbdev.o vo_png.o vo_vesa.o vesa_lvo.o vo_sdl.o vo_xvidix.o
-------------- next part --------------
/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* use GNU internationalisation */
#undef USE_I18N

/* Runtime Cpudetection */
#define RUNTIME_CPUDETECT 1

#define PREFIX "/usr/local"

/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* Toggles debugging informations */
#undef MP_DEBUG

/* Indicates is Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/local/share/mplayer"
#define CONFDIR "/usr/local/share/mplayer"
#define LIBDIR "/usr/local/lib/mplayer"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#define USE_DIVX

/* Define for using new XviD/DivX4Linux library, instead of open-source OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#define NEW_DECORE 1

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#define HAVE_DIVX4ENCORE 1

/* Indicates if libmp3lame is available
   Note: for mencoder */
#define HAVE_MP3LAME 1

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command-line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your soundcard driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use RTC (/dev/rtc) for video timers (LINUX only) */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

/* DVD navigation support using libdvdnav */
#undef USE_DVDNAV

/* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#define HAVE_ODIVX_POSTPROCESS 1

/* Win32 DLL support */
#define USE_WIN32DLL 1

/* DirectShow support */
#define USE_DIRECTSHOW 1

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* XAnim DLL support */
#undef USE_XANIM
/* Default search path */
#undef XACODEC_PATH

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#define HAVE_NAS 1

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable Video 4 Linux TV interface support */
#define HAVE_TV_V4L 1

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

#define ARCH_X86 1

/* Define this for Cygwin build for win32 */


/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ 686

#define TARGET_LINUX 1

#define HAVE_VCD 1

#ifdef sun
#define	DEFAULT_CDROM_DEVICE	"/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom"
#define DEFAULT_DVD_DEVICE	"/dev/dvd"
#endif


/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
**       --enable/--disable options of the ./configure script!
**       See ./configure --help for details.
**
*---------------------------------------------------------------------------*/

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* libmad support */
#undef USE_LIBMAD

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable FAAD (AAC) support */
#undef HAVE_FAAD

/* enable streaming */
#define STREAMING 1

/* enables / disables vidix usage */
#define CONFIG_VIDIX 1

/* enables / disables new input */
#define HAVE_NEW_INPUT 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* Extension defines */
#define HAVE_3DNOW 1	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#define HAVE_3DNOWEX 1	// only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX 1	// only define if you have MMX (newer x86 chips, not P54C/PPro)
#define HAVE_MMX2 1	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#define HAVE_SSE 1	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#define HAVE_SSE2 1	// only define if you have SSE2 (Intel Pentium 4)

#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif

#undef HAVE_MLIB  // Sun mediaLib, available only on solaris

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#define HAVE_XF86VM 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB

#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA
#undef HAVE_SYNCFB
#define HAVE_FBDEV 1

#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#define HAVE_VESA 1
#define HAVE_XDPMS 1
#undef HAVE_AA

/* used by GUI: */


#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif

#undef __ENABLE_XP

#ifdef __ENABLE_XP
#define __ENABLE_DEC_AHEAD 1
#endif

-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
LIBDIR = /usr/local/lib/mplayer
AR = ar
CC = gcc
AWK = mawk
# OPTFLAGS = -O4   -march=i486 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=i486 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
EXTRA_INC = -I/usr/X11R6/include 
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes

OPENDIVX = no

VO2 = no

PNG = yes
JPEG = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = 
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama  -lnsl
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
SDL_LIB = -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = 
NAS_LIB = -laudio  -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXt
MAD_LIB = 
VORBIS_LIB = -lvorbis -logg
FAAD_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -ldvdread
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl  
DIVX4LINUX = yes
XVID = no
DECORE_LIB = -ldivxdecore opendivx/postprocess.o
MENCODER = yes
ENCORE_LIB =  -lm -ldivxencore -lmp3lame -lvorbis -logg
DIRECTFB_LIB = 
NEW_INPUT_LIB = -Linput -linput

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = yes
TARGET_3DNOWEX = yes
TARGET_SSE = yes

BINUTILS = yes

# --- GUI stuff ---
GTKLIB =  
GLIBLIB =   
GTK_LIBS =   
GUI = no
DEBUG = -DDEBUG

# --- HAZARDOUS STUFF

ENABLE_XP=no

-------------- next part --------------
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Pentium II Klamath/Pentium II OverDrive (Type: 6, Stepping: 4)
Reading /home/bogdan/.mplayer/codecs.conf: 30 audio & 80 video codecs
 '-vc' 'divx4' 'starwars episode 1 - the phantom menace [divx].avi' '-v'
Font /home/bogdan/.mplayer/font/font.desc loaded successfully! (206 chars)
Not an URL!
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:1949696  
list_end=0x146
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 191706   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0xD4
======= STREAM Header =======
Type: vids   FCC: DIV4 (34564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 191706
Suggested BufferSize: 56272
Quality 7500
Sample size: 0
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 522240
===========================
list_end=0x146
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 15963/1 = 15963.000
Start: 0   Len: 122409516
Suggested BufferSize: 7376
Quality -1
Sample size: 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15963
Block align: 1
bits/sample: 0
cbSize: 12
list_end=0x301D03F6
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Pentium II Klamath/Pentium II OverDrive (Type: 6, Stepping: 4)
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!

MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
Opening Video Decoder: [divx4] DivX4Linux lib (divx4 mode)
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0" => local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 60 for hw scaling
[xv] dcx: 116 dcy: 482 dx: 0 dy: 0 dw: 640 dh: 272
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  32/32  (1024 bytes/frag)  free:  32768
Using MMX Optimized OnScreenDisplay
X11 Window 116x482-640x272
X11 Window 116x482-640x272
X11 Window 116x482-640x272
X11 Window 116x482-640x272
[xv] dcx: 116 dcy: 482 dx: 0 dy: 0 dw: 640 dh: 272

*** free_stream() called ***
-------------- next part --------------
X-Video Extension version 2.2
screen #0
  Adaptor #0: "NV04 Video Overlay"
    number of ports: 1
    port base: 60
    operations supported: PutImage 
    supported visuals:
      depth 24, visualID 0x21
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x22
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
    number of attributes: 4
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
    maximum XvImage size: 2046 x 2046
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
-------------- next part --------------
> cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 3
model name	: Pentium II (Klamath)
stepping	: 4
cpu MHz		: 300.687
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov mmx
bogomips	: 599.65


Viper 550, nVidia TNT chip, 16M memory
nVidia 1.0-2802 driver

ESS Solo 1
kernel driver
-------------- next part --------------
Redhat 7.1

> uname -a            
Linux judit 2.4.17 #8 Sun Mar 24 14:03:15 MET 2002 i686 unknown

> ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1236396 Apr  6  2001 /lib/libc-2.2.2.so
lrwxrwxrwx    1 root     root           13 Feb  5 05:51 /lib/libc.so.6 -> libc-2.2.2.so

> X -version          

XFree86 Version 4.0.3 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 16 March 2001
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.17-8smp i686 [ELF] 
Module Loader present

> gcc -v
Reading specs from /contrib/gcc-2.95/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)

> ld -v
GNU ld version 2.11.2 (with BFD 2.11.2)

> as --version
GNU assembler 2.11.2
Copyright 2001 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 `i686-pc-linux-gnu'.


More information about the MPlayer-users mailing list