[MPlayer-users] -vo gl not working

Kevin DeKorte kdekorte at gmail.com
Thu Apr 11 15:48:37 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have two versions of mplayer installed

MPlayer SVN-r35887-4.7.2

MPlayer SVN-r36169-4.7.2

Both have been built on the same machine, the problem is that for the
older one the -vo gl option works fine, but on the newer one -vo gl
crashes. It happens for multiple video formats and is very consistent.

Switching the vo to x11, xv, gl2, gl_tiled, or vdpau all allow the
video to play.

Video driver is the r600 driver with mesa from the Fedora repo
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV635
OpenGL version string: 2.1 Mesa 9.1
OpenGL shading language version string: 1.30

it also has the same problem with mesa from git

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV635
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0
(git-cb12bf7)
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)



logs

gdb ./mplayer
GNU gdb (GDB) Fedora (7.5.1-37.fc18)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/kdekorte/svn/mplayer/mplayer...done.
(gdb) run -vo gl ~/Videos/harrypotterandthehalfbloodprince-tlr1_h480p.mov
Starting program: /home/kdekorte/svn/mplayer/mplayer -vo gl
~/Videos/harrypotterandthehalfbloodprince-tlr1_h480p.mov
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
MPlayer SVN-r36169-4.7.2 (C) 2000-2013 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing
/home/kdekorte/Videos/harrypotterandthehalfbloodprince-tlr1_h480p.mov.
libavformat version 55.2.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  848x352  24bpp  23.976 fps  2105.3 kbps (257.0 kbyte/s)
Clip info:
 major_brand: qt
 minor_version: 537199360
 compatible_brands: qt
 creation_time: 2008-08-06 22:07:14
 comment: Encoded and delivered by apple.com/trailers/
 comment-eng: Encoded and delivered by apple.com/trailers/
 copyright: © 2008 Warner Bros. Pictures. All Rights Reserved
 copyright-eng: © 2008 Warner Bros. Pictures. All Rights Reserved
 title: Harry Potter and The Half-Blood Prince
 title-eng: Harry Potter and The Half-Blood Prince
 timecode: 01:09:01:00
Load subtitles in /home/kdekorte/Videos/
[New Thread 0x7fffde4bf700 (LWP 29247)]
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.2.100 (internal)
[New Thread 0x7fffddaba700 (LWP 29248)]
[New Thread 0x7fffdd2b9700 (LWP 29249)]
[New Thread 0x7fffdcab8700 (LWP 29250)]
[New Thread 0x7fffdc2b7700 (LWP 29251)]
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, floatle, 450.6 kbit/4.89% (ratio: 56326->1152000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
Audio))
==========================================================================
[New Thread 0x7fffd7ab5700 (LWP 29252)]
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [gl] 848x352 => 848x352 Planar YV12
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffddaba700 (LWP 29248)]
dri2SetSwapInterval (pdraw=0x0, interval=1) at dri2_glx.c:908
908	   xcb_connection_t *c = XGetXCBConnection(pdraw->psc->dpy);
Missing separate debuginfos, use: debuginfo-install
SDL-1.2.15-3.fc18.x86_64 a52dec-0.7.4-16.fc17.x86_64
aalib-libs-1.4.0-0.21.rc5.fc18.x86_64 alsa-lib-1.0.26-2.fc18.x86_64
bzip2-libs-1.0.6-7.fc18.x86_64 dbus-libs-1.6.8-2.fc18.x86_64
dirac-libs-1.0.2-9.fc18.x86_64 enca-1.13-4.fc18.x86_64
expat-2.1.0-4.fc18.x86_64 faac-1.28-4.fc17.x86_64
faad2-libs-2.7-2.fc17.x86_64 flac-1.2.1-10.fc18.x86_64
fontconfig-2.10.2-2.fc18.x86_64 freeglut-2.8.0-7.fc18.x86_64
freetype-2.4.10-4.fc18.x86_64 fribidi-0.19.4-1.fc18.x86_64
giflib-4.1.6-6.fc18.x86_64 glib2-2.34.2-2.fc18.x86_64
glibc-2.16-30.fc18.x86_64 gnutls-2.12.23-1.fc18.x86_64
gpm-libs-1.20.6-26.fc18.x86_64 graphite2-1.1.1-4.fc18.x86_64
gsm-1.0.13-7.fc18.x86_64 harfbuzz-0.9.12-2.fc18.x86_64
json-c-0.10-2.fc18.x86_64 lame-libs-3.99.5-1.fc18.x86_64
lcms-libs-1.19-7.fc18.x86_64 libICE-1.0.8-2.fc18.x86_64
libSM-1.2.1-2.fc18.x86_64 libX11-1.5.0-3.fc18.x86_64
libXScrnSaver-1.2.2-2.fc18.x86_64 libXau-1.0.6-4.fc18.x86_64
libXcursor-1.1.13-2.fc18.x86_64 libXdamage-1.1.3-4.fc18.x86_64
libXext-1.3.1-2.fc18.x86_64 libXfixes-5.0-3.fc18.x86_64
libXi-1.6.2-1.fc18.x86_64 libXinerama-1.1.2-2.fc18.x86_64
libXrender-0.9.7-2.fc18.x86_64 libXtst-1.2.1-3.fc18.x86_64
libXv-1.0.7-2.fc18.x86_64 libXvMC-1.0.7-2.fc18.x86_64
libXxf86dga-1.1.3-2.fc18.x86_64 libXxf86vm-1.1.2-2.fc18.x86_64
libass-0.10.1-2.fc18.x86_64 libasyncns-0.8-4.fc18.x86_64
libbluray-0.2.3-1.fc18.x86_64 libbs2b-3.1.0-5.fc18.x86_64
libcaca-0.99-0.15.beta17.fc18.x86_64 libcdio-0.83-5.fc18.x86_64
libdca-0.0.5-6.fc17.x86_64 libdrm-2.4.42-1.fc18.x86_64
libdv-1.0.0-14.fc18.x86_64 libffi-3.0.10-3.fc18.x86_64
libgcc-4.7.2-8.fc18.x86_64 libgcrypt-1.5.0-8.fc18.x86_64
libgpg-error-1.10-3.fc18.x86_64 libicu-49.1.1-8.fc18.x86_64
libjpeg-turbo-1.2.90-1.fc18.x86_64 libmng-1.0.10-8.fc18.x86_64
libmp4v2-1.5.0.1-13.fc18.x86_64 libmpg123-1.14.4-1.fc18.x86_64
libogg-1.3.0-2.fc18.x86_64 libpng-1.5.13-1.fc18.x86_64
librtmp-2.4-0.2.20110811gitc58cfb3e.fc17.x86_64
libsndfile-1.0.25-4.fc18.x86_64 libstdc++-4.7.2-8.fc18.x86_64
libtasn1-2.14-1.fc18.x86_64 libtheora-1.1.1-4.fc18.x86_64
libtool-ltdl-2.4.2-7.fc18.x86_64 libtxc_dxtn-1.0.0-2.fc17.x86_64
libuuid-2.22.2-6.fc18.x86_64 libvdpau-0.5-1.fc18.x86_64
libvorbis-1.3.3-3.fc18.x86_64 libvpx-1.2.0-1.fc18.x86_64
libxcb-1.9-1.fc18.x86_64 libxml2-2.9.0-3.fc18.x86_64
lirc-libs-0.9.0-10.fc18.x86_64 lzo-2.06-4.fc18.x86_64
mesa-libGLU-9.0.0-1.fc18.x86_64
ncurses-libs-5.9-7.20121017.fc18.x86_64 opus-1.0.2-1.fc18.x86_64
p11-kit-0.14-1.fc18.x86_64 pulseaudio-libs-2.1-6.fc18.x86_64
slang-2.2.4-5.fc18.x86_64 speex-1.2-0.15.rc1.fc18.x86_64
systemd-libs-197-1.fc18.2.x86_64 tcp_wrappers-libs-7.6-70.fc18.x86_64
x264-libs-0.128-2.20121118gitf6a8615.fc18.x86_64
xvidcore-1.3.2-3.fc17.x86_64 xz-libs-5.1.2-2alpha.fc18.x86_64
zlib-1.2.7-9.fc18.x86_64
(gdb) bt
#0  dri2SetSwapInterval (pdraw=0x0, interval=1) at dri2_glx.c:908
#1  0x00007fffeff25cde in __glXSwapIntervalSGI (interval=1) at
glxcmds.c:1702
#2  0x00005555556adce1 in initGl ()
#3  0x00005555556ae5e4 in config ()
#4  0x0000555555698436 in config_video_out ()
#5  0x000055555575847f in config ()
#6  0x0000555555722af5 in vf_config_wrapper ()
#7  0x000055555571f1a6 in mpcodecs_config_vo ()
#8  0x00005555558108a4 in init_vo ()
#9  0x0000555555811307 in get_format ()
#10 0x0000555555a9e356 in decode_slice_header ()
#11 0x0000555555aa4756 in decode_frame ()
#12 0x0000555555cb4a76 in frame_worker_thread ()
#13 0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#14 0x00007fffeee0148d in clone () from /lib64/libc.so.6
(gdb) info threads
  Id   Target Id         Frame
  7    Thread 0x7fffd7ab5700 (LWP 29252) "threaded-ml"
0x00007fffeedf89ad in poll () from /lib64/libc.so.6
  6    Thread 0x7fffdc2b7700 (LWP 29251) "mplayer" 0x00007ffff67885e5
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  5    Thread 0x7fffdcab8700 (LWP 29250) "mplayer" 0x00007ffff67885e5
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  4    Thread 0x7fffdd2b9700 (LWP 29249) "mplayer" 0x00007ffff67885e5
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
* 3    Thread 0x7fffddaba700 (LWP 29248) "mplayer" dri2SetSwapInterval
(pdraw=
    0x0, interval=1) at dri2_glx.c:908
  2    Thread 0x7fffde4bf700 (LWP 29247) "mplayer" 0x00007ffff67885e5
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  1    Thread 0x7ffff7fa0780 (LWP 29243) "mplayer" 0x00007ffff67885e5
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) thread apply all bt

Thread 7 (Thread 0x7fffd7ab5700 (LWP 29252)):
#0  0x00007fffeedf89ad in poll () from /lib64/libc.so.6
#1  0x00007fffefad6d5f in poll_func () from /lib64/libpulse.so.0
#2  0x00007fffefac82bc in pa_mainloop_poll () from /lib64/libpulse.so.0
#3  0x00007fffefac8919 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#4  0x00007fffefac89d0 in pa_mainloop_run () from /lib64/libpulse.so.0
#5  0x00007fffefad6d0f in thread () from /lib64/libpulse.so.0
#6  0x00007fffea9cfc63 in internal_thread_func ()
   from /usr/lib64/pulseaudio/libpulsecommon-2.1.so
#7  0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fffeee0148d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffdc2b7700 (LWP 29251)):
#0  0x00007ffff67885e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x0000555555cb4adf in frame_worker_thread ()
#2  0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fffeee0148d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffdcab8700 (LWP 29250)):
#0  0x00007ffff67885e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x0000555555cb4adf in frame_worker_thread ()
#2  0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fffeee0148d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffdd2b9700 (LWP 29249)):
#0  0x00007ffff67885e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x0000555555cb4adf in frame_worker_thread ()
#2  0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fffeee0148d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffddaba700 (LWP 29248)):
#0  dri2SetSwapInterval (pdraw=0x0, interval=1) at dri2_glx.c:908
#1  0x00007fffeff25cde in __glXSwapIntervalSGI (interval=1) at
glxcmds.c:1702
#2  0x00005555556adce1 in initGl ()
#3  0x00005555556ae5e4 in config ()
#4  0x0000555555698436 in config_video_out ()
#5  0x000055555575847f in config ()
#6  0x0000555555722af5 in vf_config_wrapper ()
- ---Type <return> to continue, or q <return> to quit---
#7  0x000055555571f1a6 in mpcodecs_config_vo ()
#8  0x00005555558108a4 in init_vo ()
#9  0x0000555555811307 in get_format ()
#10 0x0000555555a9e356 in decode_slice_header ()
#11 0x0000555555aa4756 in decode_frame ()
#12 0x0000555555cb4a76 in frame_worker_thread ()
#13 0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#14 0x00007fffeee0148d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffde4bf700 (LWP 29247)):
#0  0x00007ffff67885e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00007fffdebe94eb in pipe_semaphore_wait (sema=0x555556c17f68)
    at ../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0x555556c17d70) at
radeon_drm_winsys.c:532
#3  0x00007ffff6784d15 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fffeee0148d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7fa0780 (LWP 29243)):
#0  0x00007ffff67885e5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x0000555555cb5984 in ff_thread_decode_frame ()
#2  0x0000555555d5de69 in avcodec_decode_video2 ()
#3  0x0000555555810b9e in decode ()
#4  0x000055555571ae10 in decode_video ()
#5  0x000055555568e4fb in update_video ()
#6  0x0000555555681551 in main ()



- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFmvzUACgkQ6w2kMH0L1dFqeQCdFBJQqH7ZYUq/phXXCvVtQ9Mh
JrMAnjL7Y4RhuPhN1ZFdaq2r6BuXOrKr
=ycIh
-----END PGP SIGNATURE-----


More information about the MPlayer-users mailing list