[MPlayer-advusers] X11 error width -vo gl on ppc
Marco Graf
grafmar at ee.ethz.ch
Tue Nov 8 14:42:07 CET 2005
Hi,
Another bug with -vo gl on powerpc. No problem with -vo gl2, x11 or null.
It's on an old powerbook g3 wallstreet.
--8<--
(gdb) run -v -vo gl 24747Mav_fire_breathing.avi
Starting program: /usr/local/bin/mplayer -v -vo gl
24747Mav_fire_breathing.avi
[Thread debugging using libthread_db enabled]
[New Thread 805485408 (LWP 6558)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/stow/mplayer20051108/share/locale
MPlayer dev-CVS-051108-10:08-4.0.2 (C) 2000-2005 MPlayer Team
CPU: PowerPC
CommandLine: '-v' '-vo' 'gl' '24747Mav_fire_breathing.avi'
init_freetype
get_path('font/font.desc') -> '/home/grafmar/.mplayer/font/font.desc'
font: can't open file: /home/grafmar/.mplayer/font/font.desc
font: can't open file:
/usr/local/stow/mplayer20051108/share/mplayer/font/font.des
c
Using Unoptimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (it should be readable by the
user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/grafmar/.mplayer/input.conf'
Can't open input config file /home/grafmar/.mplayer/input.conf: No such
file or di
rectory
Can't open input config file
/usr/local/stow/mplayer20051108/etc/mplayer/input.con
f: No such file or directory
Falling back on default (hardcoded) input config
get_path('24747Mav_fire_breathing.avi.conf') ->
'/home/grafmar/.mplayer/24747Mav_f
ire_breathing.avi.conf'
Playing 24747Mav_fire_breathing.avi.
get_path('sub/') -> '/home/grafmar/.mplayer/sub/'
[file] File size is 281466 bytes
STREAM: [file] 24747Mav_fire_breathing.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x192
======= AVI Header =======
us/frame: 1000 (fps=1000.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 3317 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 320 x 240
==========================
list_end=0x120
==> Found video stream: 0
====== STREAM Header =====
Type: sdiv FCC: XVID (58564944)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 1000/1 = 1000.000
Start: 0 Len: 3317
Suggested BufferSize: 16811
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 320
biHeight 240
biPlanes 1
biBitCount 24
biCompression 1482049860='XVID'
biSizeImage 230400
===========================
Regenerating keyframe table for MPEG4 video
======= Video Properties Header =======
Format: 0 VideoStandard: 0
VRefresh: 1000 HTotal: 320 VTotal: 240
FrameAspect: 4:3 Framewidth: 320 Frameheight: 240
Fields: 1
== Field 0 description ==
CompressedBMHeight: 240 CompressedBMWidth: 320
ValidBMHeight: 240 ValidBMWidth: 320
ValidBMXOffset: 0 ValidBMYOffset: 0
VideoXOffsetInT: 0 VideoYValidStartLine: 0
=======================================
list_end=0x192
==> Found audio stream: 1
====== STREAM Header =====
Type: sdua FCC: (55)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0 Len: 61440
Suggested BufferSize: 418
Quality 0
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=256
mp3.fdwFlags=0x2000000
mp3.nBlockSize=41473
mp3.nFramesPerBlock=256
mp3.nCodecDelay=0
===========================
list_end=0x1BE
hdr=Software size=23
Software : MEncoder 1.0pre5-3.2.3
list_end=0x372F2
Found movie at 0x100C - 0x372F2
Reading INDEX block, 3464 chunks for 3317 frames (fpos=0x104c0000)
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x1AE)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=132730 (3317) audio size=61440 (61440)
VIDEO: [DIVX] 320x240 24bpp 1000.000 fps 320.1 kbps (39.1 kbyte/s)
[V] filefmt:3 fourcc:0x58564944 size:320x240 fps:1000.00 ftime:=0.0010
Clip info:
Software: MEncoder 1.0pre5-3.2.3
get_path('sub/') -> '/home/grafmar/.mplayer/sub/'
get_path('default.sub') -> '/home/grafmar/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
^MMPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16be, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
[gl] Using 4 as slice height (0 means image height).
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[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 LAYER FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16be -> 0Hz/0ch/s8...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
ao2: 44100 Hz 2 chans s16be
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16be (requested: s16be)
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
AO: [oss] 44100Hz 2ch s16be (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
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 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 24-bit special converter
REQ: flags=0x437 req=0x0
VO: [gl] 320x240 => 320x240 BGR 24-bit
VO: Description: X11 (OpenGL)
VO: Author: Arpad Gereoffy <arpi at esp-team.scene.hu>
[gl] Creating 512x256 texture...
[gl] Resize: 320x240
*** [vo] Allocating mp_image_t, 320x240x24bpp BGR packed, 230400 bytes
*** [scale] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar,
115200 bytes
X11 error: GLXUnsupportedPrivateRequest
Type: 0, display: 10578628, resourceid: 1, serial: 4b
Error code: a4, request code: 90, minor code: 10
Program received signal SIGABRT, Aborted.
[Switching to Thread 805485408 (LWP 6558)]
0x0f629590 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0 0x0f629590 in raise () from /lib/tls/libc.so.6
#1 0x0f62af8c in abort () from /lib/tls/libc.so.6
#2 0x10039c24 in x11_errorhandler (display=Variable "display" is not
available.
) at x11_common.c:214
#3 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#4 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#5 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#6 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#7 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#8 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#9 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#10 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#11 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#12 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#13 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#14 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#15 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#16 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#17 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#18 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
#19 0x0fa1f23c in _XError () from /usr/X11R6/lib/libX11.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb) quit
-->8--
MPlayer dev-CVS-051108-10:08-4.0.2
debian:
#> cat /etc/debian_version
testing/unstable
#> uname -a
Linux powermga 2.6.11-mga #8 Tue Apr 19 14:55:08 CEST 2005 ppc GNU/Linux
#> ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1218504 2005-08-30 03:10 /lib/libc-2.3.5.so
lrwxrwxrwx 1 root root 13 2005-11-01 15:58 /lib/libc.so.6 ->
libc-2.3.5.so
#> X -version
X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-7 20050912175701
root at voltaire.debian.org)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.4.29-rc1-voltaire ppc [ELF]
Current Operating System: Linux powermga 2.6.11-mga #8 Tue Apr 19
14:55:08 CEST 2005 ppc
Build Date: 12 September 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.11-mga (root at powermga) (gcc version 3.3.5
(Debian 1:3.3.5-8)) #8 Tue Apr 19 14:55:08 CEST 2005
#> gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk-default --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-softfloat
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--disable-werror --enable-checking=release powerpc-linux-gnu
Thread model: posix
gcc version 4.0.2 (Debian 4.0.2-2)
#> ld -v
GNU ld version 2.16.1 Debian GNU/Linux
#> as --version
GNU assembler 2.16.1 Debian GNU/Linux
Copyright 2005 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 `powerpc-linux-gnu'.
#> cat /proc/cpuinfo
processor : 0
cpu : 740/750
temperature : 83-85 C (uncalibrated)
clock : 291MHz
revision : 2.2 (pvr 0008 0202)
bogomips : 581.63
machine : PowerBook
motherboard : AAPL,PowerBook1998 MacRISC
detected as : 50 (PowerBook Wallstreet)
pmac flags : 00000009
L2 cache : 1024K unified pipelined-syncro-burst
memory : 128MB
pmac-generation : OldWorld
- mga
--
_____________________________________________________________________________
___ ___ ___ _____
/ __\/__ \ / __/_ /___ \ Marco Graf marco.graf at schweiz.org
/ / / / / // /_/ / / _ / Heldaustr. 18 http://redirect.to/mga
/_/ /_/ / / \__/ / /___/_/ 9470 Buchs SG ICQ: 23012328
/___/ +41-81-7565109 mobile: +41-78-6030045
More information about the MPlayer-advusers
mailing list