[MPlayer-users] [BR] gl2 seems to be broken

Konstantin Isakov ikm at pisem.net
Mon Apr 22 16:00:02 CEST 2002


Hi,

I have installed 0.90-pre1 and found out that gl2 wasn't working anymore.
When I try playing any movie, it plays nice for a second, or a half, but
then crashes with an X11 BadDrawable error.

gl2 was working nicely before, I haven't changed anything in my
configuration, just installed this new version of mplayer, so it seems it
really is broken.

Info & log attached.

-- 
Cheers!
JID: ikm at jabber.ru, ICQ: 21376239
-------------- next part --------------


MPlayer 0.90pre1.1-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 5)
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
CommandLine:Reading /home/ikm/.mplayer/codecs.conf: can't open '/home/ikm/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 31 audio & 81 video codecs
get_path('font/font.desc') -> '/home/ikm/.mplayer/font/font.desc'
 '-v' '-vo' 'gl2' '/mnt/j/lotr.avi'
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Font /home/ikm/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
get_path('input.conf') -> '/home/ikm/.mplayer/input.conf'
Can't open input config file /home/ikm/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed opening lirc support!
You won't be able to use your remote control
Playing /mnt/j/lotr.avi
Can't open IFO file: No such file or directory
File size is 714092636 bytes
Not an URL!
Detected AVI file format!
==> Found video stream: 0
list_end=0x13C
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 256852   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0xD4
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239759/10000 = 23.976
Start: 0   Len: 256852
Suggested BufferSize: 38276
Quality 0
Sample size: 0
Regenerating keyframe table for DIVX 4 video
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 522240
===========================
==> Found audio stream: 1
list_end=0x13C
found 'wf', 20 bytes of 20
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0   Len: 171407152
Suggested BufferSize: 8000
Quality 0
Sample size: 1
Broken chunk?  chunksize=1724  (id=JUNK)
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 16
cbSize: 0
Found movie at 0x80C - 0x2A4C3FF4
list_end=0x2A4C3FF4
Reading INDEX block, 278278 chunks for 256852 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 278278 chunks for 256852 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=536004752
VIDEO:  [DIVX]  640x272  24bpp  23.98 fps  400.3 kbps (48.9 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:640x272  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/ikm/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 5)
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: 418
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
==========================================================================
INFO: libavcodec init OK!
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
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:  16/16  (4096 bytes/frag)  free:  65536
VDec: vo config request - 640 x 272, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x401 (i=0) 
vo_debug: query(Planar I420) returned 0x0 (i=1) 
vo_debug: query(Planar IYUV) returned 0x0 (i=2) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x272->640x272,flags=0,'MPlayer',0x32315659)
VO: [gl2] 640x272 => 640x272 Planar YV12 
VO: Description: X11 (OpenGL) - multiple textures version
VO: Author: Arpad Gereoffy & Sven Goethel
X11 opening display: :0.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.0" => local display)
[gl2] OpenGL Driver Information:
	vendor: NVIDIA Corporation,
	renderer RIVA TNT/AGP,
	version 1.3.0
[gl2] You have an OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok !)
Using MMX for colorspace transform
[gl2] YUV init OK!
[gl2] Creating 1x1 textures of size 1024x512 ...
[gl2] antialiasing off
[gl2] bilinear linear
*** [vo] Exporting mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
[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: 640x272
[gl2] using slice method yuv
A:   0.4 V:   0.0 A-V:  0.372 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
XXX initial  v_pts=0.000  a_pos=8000 (0.500) 
A:   0.4 V:   0.0 A-V:  0.363 ct:  0.004    2/  2   0%  0%  0.0% 1 0 0%
A:   0.4 V:   0.1 A-V:  0.354 ct:  0.008    3/  3   0%  0%  0.0% 2 0 0%
A:   0.5 V:   0.1 A-V:  0.342 ct:  0.013    4/  4   0%  0%  0.0% 3 0 0%
A:   0.5 V:   0.2 A-V:  0.332 ct:  0.017    5/  5   0%  0%  0.0% 4 0 0%
A:   0.5 V:   0.2 A-V:  0.324 ct:  0.021    6/  6   0%  0%  0.0% 4 0 0%
A:   0.6 V:   0.3 A-V:  0.315 ct:  0.025    7/  7   0%  0%  0.0% 5 0 0%
A:   0.6 V:   0.3 A-V:  0.303 ct:  0.029    8/  8   0%  0%  0.0% 6 0 0%
A:   0.6 V:   0.3 A-V:  0.294 ct:  0.033    9/  9   0%  0%  0.0% 7 0 0%
A:   0.7 V:   0.4 A-V:  0.282 ct:  0.038   10/ 10   0%  0%  0.0% 8 0 0%
A:   0.7 V:   0.4 A-V:  0.271 ct:  0.042   11/ 11   0%  0%  0.0% 8 0 0%
A:   0.7 V:   0.5 A-V:  0.257 ct:  0.046   12/ 12  113% 52%  3.5% 9 0 0%
A:   0.7 V:   0.5 A-V:  0.244 ct:  0.050   13/ 13  106% 51%  3.3% 10 0 0%
A:   0.8 V:   0.5 A-V:  0.232 ct:  0.054   14/ 14  100% 51%  3.2% 11 0 0%
A:   0.8 V:   0.6 A-V:  0.222 ct:  0.058   15/ 15  94% 51%  3.1% 11 0 0%
A:   0.8 V:   0.6 A-V:  0.210 ct:  0.063   16/ 16  90% 51%  2.9% 12 0 0%
A:   0.9 V:   0.7 A-V:  0.198 ct:  0.067   17/ 17  86% 51%  2.8% 13 0 0%
A:   0.9 V:   0.7 A-V:  0.184 ct:  0.071   18/ 18  82% 50%  2.8% 13 0 0%
A:   0.9 V:   0.8 A-V:  0.173 ct:  0.075   19/ 19  78% 51%  2.6% 14 0 0%
A:   1.0 V:   0.8 A-V:  0.158 ct:  0.079   20/ 20  75% 50%  2.5% 15 0 0%
A:   1.0 V:   0.8 A-V:  0.145 ct:  0.083   21/ 21  73% 50%  2.5% 15 0 0%
A:   1.0 V:   0.9 A-V:  0.131 ct:  0.088   22/ 22  70% 50%  2.4% 16 0 0%
A:   1.0 V:   0.9 A-V:  0.125 ct:  0.092   23/ 23  68% 51%  2.4% 16 0 0%
A:   1.1 V:   1.0 A-V:  0.110 ct:  0.096   24/ 24  66% 51%  2.3% 17 0 0%
A:   1.1 V:   1.0 A-V:  0.097 ct:  0.100   25/ 25  64% 50%  2.3% 17 0 0%
A:   1.1 V:   1.0 A-V:  0.082 ct:  0.104   26/ 26  62% 50%  2.2% 18 0 0%
A:   1.2 V:   1.1 A-V:  0.086 ct:  0.108   27/ 27  60% 52%  2.2% 18 0 0%
A:   1.2 V:   1.1 A-V:  0.072 ct:  0.113   28/ 28  58% 52%  2.2% 19 0 0%
A:   1.2 V:   1.2 A-V:  0.059 ct:  0.117   29/ 29  57% 52%  2.1% 19 0 0%
Exiting... (X11 error)
X11 error: BadDrawable (invalid Pixmap or Window parameter)
Type: 0, display: 82b9558, resourceid: 0, serial: 3f
Error code: 9, request code: 35, minor code: 0

*** free_stream() called ***
-------------- next part --------------

Debian 2.2, many parts upgraded to unstable

# uname -a
Linux cactus 2.4.18-ikm2 #1 Thu Apr 18 20:06:15 MSD 2002 i686 unknown

(vanilla 2.4.18 + int-patch + evms + win4lin)

# ls -l /lib/libc[.-]* 

-rwxr-xr-x    1 root     root      1171196 Oct 31 01:44 /lib/libc-2.2.4.so
lrwxrwxrwx    1 root     root           14 Jun 15  2001 /lib/libc.so.5 -> libc.so.5.4.46
-rw-r--r--    1 root     root       586720 Feb  9  1999 /lib/libc.so.5.4.46
lrwxrwxrwx    1 root     root           13 Nov 11 15:58 /lib/libc.so.6 -> libc-2.2.4.so

# X -version


This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86 at XFree86.Org and patches submitted
to fixes at XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx August 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)
Build Operating System: Linux 2.4.13 i686 [ELF] 
Module Loader present

# gcc -v

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010319 (Debian prerelease)

# ld -v 

GNU ld version 2.11.92.0.12.3 20011121 Debian/GNU Linux

# as --version

GNU assembler 2.11.92.0.12.3 20011121 Debian/GNU Linux
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 `i386-linux'.

# cat /proc/cpuinfo

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 6
model name	: Celeron (Mendocino)
stepping	: 5
cpu MHz		: 501.150
cache size	: 128 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 pat pse36 mmx fxsr
bogomips	: 999.42

-----------

Video: RIVA TNT AGP 16MB (Creative)

# cat /proc/nv/card0

----- Driver Info ----- 
NVRM Version: NVIDIA NVdriver Kernel Module  1.0.2314  Fri Nov 30 19:33:20 PST 2001
Compiled with: gcc version 2.95.4 20010319 (Debian prerelease)
------ Card Info ------
Model:        RIVA TNT
IRQ:          11
Video BIOS:   02.04.00.57
------ AGP Info -------
AGP status:   Enabled
AGP Driver:   NVIDIA
Bridge:       Intel 440BX
SBA:          Supported [disabled]
FW:           Unsupported [disabled]
Rates:        2x 1x  [2x]
Registers:    0x1f000203:0x00000102

# glxinfo

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.2
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
    GLX_SGIX_swap_group, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: RIVA TNT/AGP
OpenGL version string: 1.3.0
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add, 
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements, 
    GL_EXT_fog_coord, GL_EXT_packed_pixels, GL_EXT_point_parameters, 
    GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_lod_bias, 
    GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_vertex_weighting, 
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square, 
    GL_NV_evaluators, GL_NV_fog_distance, GL_NV_packed_depth_stencil, 
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_SGIS_multitexture
glu version: 1.1 Mesa 3.4.2
glu extensions:
    GL_EXT_abgr

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  0 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x28 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  0 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None

-------

Audio: Creative SB Live! Value with standard OSS driver from kernel



More information about the MPlayer-users mailing list