Bug 1131

Summary: libvdpau-0.3-1.fc12.x86_64 to 0.4-1.fc12.x86_64 upgrade causes mplayer to crash while exiting
Product: Fedora Reporter: Anand <anandrenake>
Component: mplayerAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED FIXED    
Severity: minor CC: godziller, kwizart
Priority: P5    
Version: 12   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: nvidia-bug-report

Description Anand 2010-03-25 08:01:24 CET
Hi

Last night, libvdpau-0.3-1.fc12.x86_64 was upgraded to 0.4-1.fc12.x86_64 and gmplayer started to crash while exiting with the following error.

MPlayer interrupted by signal 11 in module: uninit_gui

This happens only when vdpau driver is selected.

Further, mplayer crashes with the following error while exiting:
MPlayer interrupted by signal 11 in module: unknown


Versions:
mplayer-gui-1.0-0.111.20091029svn.fc12.x86_64
mplayer-1.0-0.111.20091029svn.fc12.x86_64

libvdpau-0.4-1.fc12.x86_64

Everything was fine with
libvdpau-0.3-1.fc12.x86_64

Thanks,
Anand
Comment 1 Nicolas Chauvet 2010-03-25 17:29:57 CET
Can you attach the output of nvidia-bug-report.sh , and vdpauinfo ?
Comment 2 Anand 2010-03-25 20:49:38 CET
(In reply to comment #1)
> Can you attach the output of nvidia-bug-report.sh , and vdpauinfo ?
> 

Sorry, nvidia-bug-report.sh crashes

_____
Running nvidia-bug-report.sh.../usr/bin/nvidia-bug-report.sh: line 342:  5129 Aborted                 (core dumped) nvidia-settings -q all 2>&1
 complete.
_____

Here is vdpauinfo's output

_____

[root@anandspc ~]# vdpauinfo 
display: :0.0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  190.53  Wed Dec  9 16:28:38 PST 2009

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  8192  2048  2048
MPEG2_SIMPLE          3  8192  2048  2048
MPEG2_MAIN            3  8192  2048  2048
H264_MAIN            41  8192  2048  2048
H264_HIGH            41  8192  2048  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

_____
Comment 3 Nicolas Chauvet 2010-03-25 21:43:13 CET
Re-Assigned to the nvidia driver.

Can you provide :
- your /etc/X11/xorg.conf file
- lspci output.

It sounds like newer libvdpau might need to match newer nvidia driver in some cases. You will have to try the lastest nvidia driver when it will be available in repositories. (in A day or two)
Comment 4 dekker 2010-03-25 23:12:12 CET
Created attachment 396 [details]
nvidia-bug-report

Hi 
have the same bug. the nvidia-bug report also crashes but i attached the part which works. 

Perhaps we should wait for the new nvidia-driver


lspci:

03:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GT (rev a1)




# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder57)  Thu Oct 15 05:21:54 PDT 2009

# Xorg configuration created by livna-config-display

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
    Option         "AIGLX" "on"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbLayout" "de"
    Option         "XkbModel" "pc105"
    Option         "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"

    Identifier     "Videocard0"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Videocard0"
    Monitor        "Monitor0"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"


    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection



vdpauinfo 
display: :0.0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  190.53  Tue Dec  8 20:50:02 PST 2009

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  8192  2048  2048
MPEG2_SIMPLE          3  8192  2048  2048
MPEG2_MAIN            3  8192  2048  2048
H264_MAIN            41  8192  2048  2048
H264_HIGH            41  8192  2048  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y
Comment 5 Nicolas Chauvet 2010-03-25 23:59:59 CET
@dekker, you have a broken xorg.conf,
please rm /etc/X11/xorg.conf && nvidia-config-display enable
and reboot
Then please retest.
Comment 6 Anand 2010-03-26 03:26:31 CET
(In reply to comment #3)
> Re-Assigned to the nvidia driver.
> 
> Can you provide :
> - your /etc/X11/xorg.conf file
> - lspci output.
> 
> It sounds like newer libvdpau might need to match newer nvidia driver in some
> cases. You will have to try the lastest nvidia driver when it will be available
> in repositories. (in A day or two)
> 
Here is my conf file

[anand@anandspc ~]$ cat /etc/X11/xorg.conf
# Xorg configuration created by livna-config-display

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib64/xorg/modules"
EndSection

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        Option      "AddARGBGLXVisuals" "True"
EndSection

Section "Extensions"
        Option      "Composite" "Enable"
EndSection


lspci output -

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9800 GT (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

____

I will wait for the new driver and install it and try to re-produce this bug.
Comment 7 dekker 2010-03-26 17:16:11 CET
@ NicolasChauvet
Thanks that solves the crash from Nvidia-Bug-Report.

But the mplayer bug isnt solved. The best way it to wait for the new nvidia-driver.

bye
Comment 8 Nicolas Chauvet 2010-03-27 16:25:08 CET
You can grab the driver until it goes to the rpmfusion-nonfree-updates-testing repository.

http://buildsys.rpmfusion.org/plague-results/fedora-12-rpmfusion_nonfree/
Comment 9 dekker 2010-03-27 18:40:47 CET
I have installed the new Version

Part of Nvidia-Bug-Report

/proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.15  Thu Mar 11 21:41:46 PST 2010
GCC version:  gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC) 


mplayer output
VO: [vdpau] 624x352 => 624x352 Planar YV12 
A:2438.5 V:2438.5 A-V:  0.000 ct:  0.077 60964/60964  2% 21%  0.7% 0 0                                                                                                                                                                                                              


MPlayer interrupted by signal 11 in module: unknown
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

the best way is back to 0.3

thx


Comment 10 Anand 2010-03-29 23:55:38 CEST
(In reply to comment #8)
> You can grab the driver until it goes to the rpmfusion-nonfree-updates-testing
> repository.
> 
> http://buildsys.rpmfusion.org/plague-results/fedora-12-rpmfusion_nonfree/
> 

Hi

Should I too install the new driver and check. Please suggest.
Comment 11 Nicolas Chauvet 2010-04-26 12:20:26 CEST
Can you give a try on the version in updates-testing along with libvdpau-0.4 ?
Comment 12 dekker 2010-04-26 17:07:59 CEST
My Problem is solved before i upgraded last weekend to FC13 i removed mplayer and some libs libx264 ffmpeg then reinstalled all and now its working.

Comment 13 Nicolas Chauvet 2010-04-26 17:13:58 CEST
There are no difference between libvdpau in F-12 and F-13, 
so I'm closing this as a mplayer already fixed bug.

THX for the report.
Comment 14 Anand 2010-04-29 12:53:06 CEST
Thank you!
mplayer ver 1.0-0.112.20100424svn.fc12 from rpmfusion-free-updates-testing fixed this issue for me.