FS#36754 - [mesa][nouveau-dri] Video playback fails using nouveau driver

Attached to Project: Arch Linux
Opened by Lewis Pike (ntwk) - Saturday, 31 August 2013, 15:05 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 18 December 2013, 19:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Video playback fails when using nouveau video driver, mesa 9.2.0, nouveau-dri 9.2.0.

Attempting to playback video using either flashplugin, mplayer, or mpv is unsuccessful.

mplayer outputs the following message before crashing:

Inconsistency detected by ld.so: dl-close.c: 771: _dl_close: Assertion `map->l_init_called' failed!

It looks like the issue is related to the libvdpau_nouveau.so library. As a workaround, removing the library and it's associated symlinks makes video playback work again again:

# rm /usr/lib/vdpau/libvdpau_nouveau.so*

Additional info:

VGA compatible controller:

- NVIDIA Corporation NV44M [GeForce Go 6200] (rev a1)

Software:

- mesa 9.2.0
- mesa-libgl 9.2.0
- nouveau-dri 9.2.0
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Wednesday, 18 December 2013, 19:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa-10.0.1-1
Comment by Giacinto Tavernese (Giarch) - Sunday, 08 September 2013, 08:11 GMT
Confirmed on NVIDIA Corporation NV34[GeForce FX 5200] (rev a1)
* Linux 3.10.10-1-ARCH
* Intel(R) Pentium(R) 4 CPU 3.00GHz
* mesa 9.2.0-1
* mesa-libgl 9.2.0-1
* nouveau-dri9.2.0-1
* libvdpau 0.7-1
Thanks to ntwk: the workaround works!
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 12 September 2013, 15:06 GMT
@Laurent: Maybe instead of removing these files, just split them in a new package (nouveau-dri-vdpau?). Since NV34 and NV40 GPU are legacy and support is not ready. See http://nouveau.freedesktop.org/wiki/VideoAcceleration/
Comment by Balló György (City-busz) - Thursday, 12 September 2013, 15:25 GMT
I agree with Gerardo, GeForce 400 and newer cards should work with nouveau-fw package from AUR, and support for older cards is in progress. So an experimental nouveau-vdpau would be the best solution I think.

And anyway, it's an upstream bug, the VDPAU driver should not be activated if no appropriate hardware or firmware found. So please report this problem to upstream developers:
https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
Comment by Rostislav Krasny (rosti) - Thursday, 12 September 2013, 20:19 GMT
Isn't using VDPAU_DRIVER=va_gl, as described in https://bbs.archlinux.org/viewtopic.php?id=169091 , a better workaround until this problem isn't fixed in the upstream?
Comment by Rostislav Krasny (rosti) - Thursday, 12 September 2013, 20:58 GMT
After updating mesa, mesa-libgl and nouveau-dri 9.2.0 (pacman -Syu) flashplayer works but sometimes crashes on Youtube:

[ 675.060254] plugin-containe[771]: segfault at 0 ip b1396913 sp ad602b40 error 4 in libflashplayer.so[b0bee000+1017000]
[ 676.815317] systemd-journald[102]: Failed to write entry, ignoring: Argument list too long

...

[ 3829.682565] plugin-containe[947]: segfault at fc ip b13967ef sp a8f87f80 error 6 in libflashplayer.so[b0bee000+1017000]
[ 3832.850466] systemd-journald[102]: Failed to write entry, ignoring: Argument list too long

First time when tried to replay and the second time when I tried to scroll forward. Most of the time this problem isn't reproducable.

I have Nvidia FX-5500. I don't remember any such crash with VDPAU_DRIVER=va_gl before the update.

I've EnableLinuxHWVideoDecode=1 in /etc/adobe/mms.cfg
Comment by everytrash (everytrash) - Monday, 16 September 2013, 05:56 GMT
After updating my "archlinux" installation with "pacman -Syu" I can't find the "libvdpau_nouveau.so" anymore.

mplayer and slim are missing this libary.

slim[458]: Failed to open VDPAU backend libvdpau_nouveau.so:

MPlayer SVN-r36285-4.8.1 (C) 2000-2013 MPlayer Team
205 audio & 424 video codecs
Playing big_buck_bunny_720p_surround.avi.
libavformat version 55.7.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO: [FMP4] 1280x720 24bpp 24.000 fps 4001.7 kbps (488.5 kbyte/s)
Clip info:
Software: AVI-Mux GUI 1.17.7, Aug 8 2006 20:59:17
Load subtitles in ./
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.

I had never problems with "vdpau". I use this VGA controller:

0f:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1)

Comment by Martin Peres (MuPuF) - Sunday, 29 September 2013, 17:56 GMT
VDPAU won't work on cards older than nv50. Are you guys sure you are not trying to force using vdpau?

As for flash crashing, does it crash too if you disable hw video decoding?
Comment by hamelg (hamelg) - Wednesday, 18 December 2013, 19:32 GMT
Hello,

My hardware is
G94 [GeForce 9600 GT] (rev a1)

Here, Mesa 10.0 has killed this bug :)

Loading...