Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629044 - x11-drivers/nvidia-drivers-384.69 - Broken VDPAU video playback
Summary: x11-drivers/nvidia-drivers-384.69 - Broken VDPAU video playback
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: https://devtalk.nvidia.com/default/to...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2017-08-27 10:05 UTC by Tony
Modified: 2017-09-27 12:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2017-08-27 10:05:57 UTC
x11-drivers/nvidia-drivers-384.69 breaks VDPAU video playback for certain video formats
Below is a list of the video formats I have available to me for testing

Working:
    h264
    wmv3

Non-Working:
    mpeg1video
    mpeg4
    theora
    vp8
    vp9
    vp6f
    wmv1

Non-working videos just display a blank (solid black) screen
All other aspects of the video (audio, seeking, external subtitles, etc.) work properly
With external subtitles, they just get displayed over the blank video

Have tried re-emerging all relevant packages
    sudo emerge --oneshot x11-libs/libvdpau media-video/mpv media-video/smplayer
to no avail

Switching to a different video decoding/rendering system within my media player fixes issue
Ie. Switching from VDPAU to OpenGL or XV
So it's def. a VDPAU issue

Downgrading from
x11-drivers/nvidia-drivers-384.69
back down to
x11-drivers/nvidia-drivers-384.59-r1
fixes playback issues on all video formats


=====
emerge --info below
=====

Portage 2.3.8 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r4, 4.12.9-gentoo x86_64)
=================================================================
System uname: Linux-4.12.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:     8125072 total,   5571976 free
KiB Swap:    9764860 total,   9764860 free
Timestamp of repository gentoo: Sun, 27 Aug 2017 01:45:01 +0000
Head commit of repository gentoo: 90b4b5d2cde9a4b49efe7f161fa738b96e811754
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo                                                                                                                                                                         
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo                                                                                                                                                           
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo                                                                                                                                                    
sys-devel/binutils:       2.28.1::gentoo                                                                                                                                                                          
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo                                                                                                                                                         
sys-devel/gcc-config:     1.8-r1::gentoo                                                                                                                                                                          
sys-devel/libtool:        2.4.6-r4::gentoo                                                                                                                                                                        
sys-devel/make:           4.2.1-r1::gentoo                                                                                                                                                                        
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)                                                                                                                                                       
sys-libs/glibc:           2.25-r4::gentoo                                                                                                                                                                         
Repositories:                                                                                                                                                                                                     
                                                                                                                                                                                                                  
gentoo                                                                                                                                                                                                            
    location: /usr/portage                                                                                                                                                                                        
    sync-type: rsync                                                                                                                                                                                              
    sync-uri: rsync://rsync.uk.gentoo.org/gentoo-portage                                                                                                                                                          
    priority: -1000                                                                                                                                                                                               
                                                                                                                                                                                                                  
steam-overlay                                                                                                                                                                                                     
    location: /var/lib/layman/steam                                                                                                                                                                               
    masters: gentoo                                                                                                                                                                                               
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli cracklib crypt cups curl cxx dbus declarative dri dts dv dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif glamor gmp gpm gstreamer iconv imagemagick imap introspection ipv6 javascript jpeg kde kipi kwallet ladspa lash lcms libnotify libsamplerate libv4l lm_sensors lzma mad mhash mime mmap mng modules mp3 mp4 mpeg mpi mplayer mtp multilib mysql ncurses nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl phonon plasma png policykit postscript ppds pulseaudio python qml qt3support qt4 qt5 quicktime raw readline recode sasl sdl seccomp semantic-desktop session smp sockets sound sox spell ssl startup-notification svg symlink syslog systemd tcpd theora threads tiff timidity truetype udev udisks unicode upower usb v4l vala vdpau vim-syntax vorbis wayland widgets wxwidgets x264 xattr xcb xcomposite xft xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tony 2017-08-27 10:23:00 UTC
Issue is known to nvidia

From here
https://devtalk.nvidia.com/default/topic/1023154/linux/384-69-broke-vdpau/

> Thanks for reporting this. I filed internal bug 1980736.

Can we mask x11-drivers/nvidia-drivers-384.69 until this is fixed by nvidia?

Ta
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-08-31 08:07:44 UTC
(In reply to Tony from comment #1)
> Can we mask x11-drivers/nvidia-drivers-384.69 until this is fixed by nvidia?

It is already masked by keyword.
Comment 3 Manfred Knick 2017-09-25 11:39:15 UTC
(In reply to Tony from comment #1)

> Can we mask x11-drivers/nvidia-drivers-384.69 until this is fixed by nvidia?

(In reply to Jeroen Roovers from comment #2)
> (In reply to Tony from comment #1)

> It is already masked by keyword.

+1:   I'm pretty sure Tony was intending _hard_-mask  :   +1
Comment 4 Manfred Knick 2017-09-25 11:43:43 UTC
# equery list nvidia-drivers

   [IP-] [ ~] x11-drivers/nvidia-drivers-384.69:0/384

# vdpauinfo | grep HEVC

   HEVC_MAIN                      --- not supported ---
   HEVC_MAIN_10                   --- not supported ---
   HEVC_MAIN_STILL                --- not supported ---
   HEVC_MAIN_12                   --- not supported ---
   HEVC_MAIN_444                  --- not supported ---


# grep nvidia /etc/portage/package.mask

=x11-drivers/nvidia-drivers-381.22              # missing 'settings' download

=x11-drivers/nvidia-drivers-384.69:0/384        # broken VDPAU video playback
Comment 5 Manfred Knick 2017-09-27 09:47:18 UTC
     CVE :

Security Bulletin: 
NVIDIA GPU contains multiple vulnerabilities in the kernel mode layer handler
Answer ID 4544
Updated 09/25/2017 10:30 AM

--> Linux
  --> Fixed Version

        GeForce  R384  384.90        <-----
Comment 6 Manfred Knick 2017-09-27 10:29:51 UTC
"Looks like the problem is fixed in 384.90. Thanks."

https://devtalk.nvidia.com/default/topic/1023154/linux/384-69-broke-vdpau/post/5211363/#5211363
Comment 7 Manfred Knick 2017-09-27 11:16:59 UTC
(In reply to Manfred Knick from comment #5)

>         GeForce  R384  384.90        <-----


P.S.:     WORKSFORME


... sorry. I forgot to mention ;-)