Summary: | =media-video/mplayer-1.1.1-r1[vdpau] with media-libs/mesa[vdpau] segfaults in vlVdpVideoSurfaceClear () from /usr/lib64/vdpau/libvdpau_nouveau.so.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=51291 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2013-07-07 20:35:25 UTC
If I compile mplayer with the debug USE flag and start mplayer via gdb I get: root@impala:/root(20)# gdb mplayer GNU gdb (Gentoo 7.6 p1) 7.6 Copyright (C) 2013 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-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mplayer...done. (gdb) run dvb://ZDF Starting program: /usr/bin/mplayer dvb://ZDF warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". MPlayer 1.1-4.7.3 (C) 2000-2012 MPlayer Team Spiele dvb://ZDF. dvb_tune Freq: 570000000 TS-Dateiformat erkannt! VIDEO MPEG2(pid=545) AUDIO MPA(pid=546) NO SUBS (yet)! PROGRAM N. 0 VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0 kbyte/s) ========================================================================== Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.59.100 (external) Ausgewählter Videocodec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== ========================================================================== Öffne Audiodecoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Ausgewählter Audiocodec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== [New Thread 0x7fffdc652700 (LWP 27087)] AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starte Wiedergabe... [VD_FFMPEG] Versuche pixfmt=0. Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'... Öffne Videofilter: [scale] Der ausgewählte Videoausgabetreiber ist nicht kompatibel mit diesem Codec. Versuche den scale-Filter zu deiner Filterliste hinzuzufügen, z.B. mit -vf spp,scale an Stelle von -vf spp. [VD_FFMPEG] Versuche pixfmt=1. Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'... Öffne Videofilter: [scale] Der ausgewählte Videoausgabetreiber ist nicht kompatibel mit diesem Codec. Versuche den scale-Filter zu deiner Filterliste hinzuzufügen, z.B. mit -vf spp,scale an Stelle von -vf spp. [VD_FFMPEG] Versuche pixfmt=2. Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'... Öffne Videofilter: [scale] Der ausgewählte Videoausgabetreiber ist nicht kompatibel mit diesem Codec. Versuche den scale-Filter zu deiner Filterliste hinzuzufügen, z.B. mit -vf spp,scale an Stelle von -vf spp. Unsupported PixelFormat 53 Film-Aspekt ist 1.78:1 - Vorskalierung zur Korrektur der Seitenverhältnisse. VO: [vdpau] 720x576 => 1024x576 Planar YV12 Program received signal SIGSEGV, Segmentation fault. 0x00007fffe17f72ab in vlVdpVideoSurfaceClear () from /usr/lib64/vdpau/libvdpau_nouveau.so.1 (gdb) /usr/lib64/vdpau/libvdpau_nouveau.so.1 is from mesa-9.1.4: root@impala:/root(22)# qfile -v /usr/lib64/vdpau/libvdpau_nouveau.so.1 media-libs/mesa-9.1.4 (/usr/lib64/vdpau/libvdpau_nouveau.so.1) If I compile also mesa with debug USE flag and run again mplayer via gdm it fails now with: root@impala:/root(27)# gdb mplayer GNU gdb (Gentoo 7.6 p1) 7.6 Copyright (C) 2013 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-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mplayer...done. (gdb) run dvb://ZDF Starting program: /usr/bin/mplayer dvb://ZDF warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". MPlayer 1.1-4.7.3 (C) 2000-2012 MPlayer Team Spiele dvb://ZDF. dvb_tune Freq: 570000000 TS-Dateiformat erkannt! VIDEO MPEG2(pid=545) AUDIO MPA(pid=546) NO SUBS (yet)! PROGRAM N. 0 VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0 kbyte/s) couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable ========================================================================== Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.59.100 (external) Ausgewählter Videocodec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== ========================================================================== Öffne Audiodecoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Ausgewählter Audiocodec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== [New Thread 0x7fffdc4bb700 (LWP 27996)] AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starte Wiedergabe... [VD_FFMPEG] Versuche pixfmt=0. Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'... Öffne Videofilter: [scale] Der ausgewählte Videoausgabetreiber ist nicht kompatibel mit diesem Codec. Versuche den scale-Filter zu deiner Filterliste hinzuzufügen, z.B. mit -vf spp,scale an Stelle von -vf spp. [VD_FFMPEG] Versuche pixfmt=1. Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'... Öffne Videofilter: [scale] Der ausgewählte Videoausgabetreiber ist nicht kompatibel mit diesem Codec. Versuche den scale-Filter zu deiner Filterliste hinzuzufügen, z.B. mit -vf spp,scale an Stelle von -vf spp. [VD_FFMPEG] Versuche pixfmt=2. Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'... Öffne Videofilter: [scale] Der ausgewählte Videoausgabetreiber ist nicht kompatibel mit diesem Codec. Versuche den scale-Filter zu deiner Filterliste hinzuzufügen, z.B. mit -vf spp,scale an Stelle von -vf spp. Unsupported PixelFormat 53 Film-Aspekt ist 1.78:1 - Vorskalierung zur Korrektur der Seitenverhältnisse. VO: [vdpau] 720x576 => 1024x576 Planar YV12 Program received signal SIGSEGV, Segmentation fault. vlVdpVideoSurfaceClear (vlsurf=0x9355c0) at surface.c:359 359 pipe->clear_render_target(pipe, surfaces[i], &c, 0, 0, (gdb) p i $1 = 4 (gdb) p pipe $2 = (struct pipe_context *) 0x9652d0 (gdb) p &c $3 = (union pipe_color_union *) 0x7fffffffa980 (gdb) p surfaces[i] $4 = (struct pipe_surface *) 0x151 What could I else provide? mplayer crashes also playing avi files: rose@impala:/home_impala/rose/Multimedia/Videos(7)$ gdb mplayer GNU gdb (Gentoo 7.6 p1) 7.6 Copyright (C) 2013 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-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mplayer...done. (gdb) run crossing_the_bridge-001.avi Starting program: /usr/bin/mplayer crossing_the_bridge-001.avi warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". MPlayer 1.1-4.7.3 (C) 2000-2012 MPlayer Team Spiele crossing_the_bridge-001.avi. libavformat version 54.29.104 (external) AVI-Dateiformat erkannt! [aviheader] Videostream gefunden, -vid 0 [aviheader] Audiostream gefunden, -aid 1 VIDEO: [XVID] 640x352 24bpp 25.000 fps 2031.9 kbps (248.0 kbyte/s) Clip-Info: Software: transcode-1.1.5 Load subtitles in ./ Load subtitles in /home/rose/.mplayer/sub/ couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable ========================================================================== Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.59.100 (external) Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Ausgewählter Videocodec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Öffne Audiodecoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Ausgewählter Audiocodec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== [New Thread 0x7fffdc120700 (LWP 8449)] AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starte Wiedergabe... Film-Aspekt ist 1.82:1 - Vorskalierung zur Korrektur der Seitenverhältnisse. VO: [vdpau] 640x352 => 640x352 Planar YV12 Program received signal SIGSEGV, Segmentation fault. vlVdpVideoSurfaceClear (vlsurf=0x9187b0) at surface.c:359 359 surface.c: Datei oder Verzeichnis nicht gefunden. (gdb) quit BTW., xine crashes to, vlc works: rose@impala:/home_impala/rose/Multimedia/Videos(8)$ xine crossing_the_bridge-001.avi Dies ist xine (X11 gui) - Ein freier Video-Player v0.99.7. (c) 2000-2010 The xine Team. couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable vo_vdpau: vdpau API version : 1 vo_vdpau: vdpau implementation description : G3DVL VDPAU Driver Shared Library version 1.0 vo_vdpau: maximum video surface size for chroma type 4:2:2 is 8192x8192 vo_vdpau: maximum video surface size for chroma type 4:2:0 is 8192x8192 vo_vdpau: VideoSurface doesn't support yuy2, sorry. libva info: VA-API version 0.33.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/va/drivers/nouveau_drv_video.so libva info: va_openDriver() returns -1 ^C rose@impala:/home_impala/rose/Multimedia/Videos(9)$ vlc crossing_the_bridge-001.avi VLC media player 2.0.7 Twoflower (revision 2.0.6-54-g7dd7e4d) [0xdbb198] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden. @Juergen Rose: Can you try different versions of mesa to see if that helps? @x11: Reassign to media-video@g.o if you deem this to not be a problem with mesa. (In reply to Tom Wijsman (TomWij) from comment #4) > @Juergen Rose: Can you try different versions of mesa to see if that helps? > > @x11: Reassign to media-video@g.o if you deem this to not be a problem with > mesa. I downgraded to mesa-9.1.3 and reemerged mplayer, xine-lib and xine-ui. But mplayer and xine still fails: root@impala:/home/rose/Multimedia/Videos(126)# gdb mplayer GNU gdb (Gentoo 7.6 p1) 7.6 Copyright (C) 2013 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-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mplayer...(no debugging symbols found)...done. (gdb) run crossing_the_bridge-001.avi Starting program: /usr/bin/mplayer crossing_the_bridge-001.avi warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". MPlayer 1.1-4.7.3 (C) 2000-2012 MPlayer Team Spiele crossing_the_bridge-001.avi. libavformat version 54.29.104 (external) AVI-Dateiformat erkannt! [aviheader] Videostream gefunden, -vid 0 [aviheader] Audiostream gefunden, -aid 1 VIDEO: [XVID] 640x352 24bpp 25.000 fps 2031.9 kbps (248.0 kbyte/s) Clip-Info: Software: transcode-1.1.5 Load subtitles in ./ couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable ========================================================================== Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.59.100 (external) Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Ausgewählter Videocodec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Öffne Audiodecoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Ausgewählter Audiocodec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== [New Thread 0x7fffdbf17700 (LWP 28395)] AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starte Wiedergabe... Film-Aspekt ist 1.82:1 - Vorskalierung zur Korrektur der Seitenverhältnisse. VO: [vdpau] 640x352 => 640x352 Planar YV12 Program received signal SIGSEGV, Segmentation fault. 0x00007fffe10f5261 in vlVdpVideoSurfaceClear () from /usr/lib64/vdpau/libvdpau_nouveau.so.1 (gdb) root@impala:/home/rose/Multimedia/Videos(129)# qfile -v /usr/lib64/vdpau/libvdpau_nouveau.so.1 media-libs/mesa-9.1.3 (/usr/lib64/vdpau/libvdpau_nouveau.so.1) And I get the same error with mesa-9.1.5. I filed a separate bug for the xine issue: https://bugs.gentoo.org/show_bug.cgi?id=477704. > libva info: Trying to open /usr/lib64/va/drivers/nouveau_drv_video.so
> libva info: va_openDriver() returns -1
This is unrelated to va/drivers/nouveau_drv_video.so because presumably this file does not even exist on the system. The crash is due to a problem in vlVdpVideoSurfaceClear from /usr/lib64/vdpau/libvdpau_nouveau.so.1 (same as in the upstream bug)
Is this still a problem with a more recent Mesa (try >=10.5.0_rc1)? If so, please let us know (in the other bug report) and then report to upstream. *** This bug has been marked as a duplicate of bug 445590 *** |