Created attachment 323502 [details] patch, works fine for me Please make x11-libs/libXvMC optional: xvmc does not support h264 and vp8 and is useless for me. I consider xvmc obsolete and do not want to have anything related to it in my systems. Attached patch works fine for me: KDE session restarts, watching video with mplayer2 works. P.S. Seems there is missing sys-fs/udev RDEPEND and possibly udev USE. Also what about adding debug, dga, kms-only, xaa USE flags? Not sure about "userptr" and "async-swap" options. $ grep 'AS_HELP_STRING(\[--' configure.ac -A1 AS_HELP_STRING([--with-builderstring=BUILDERSTRING], [Additional builder string (default: use git describe)]), -- AS_HELP_STRING([--with-xorg-module-dir=DIR], [Default xorg module directory [[default=$libdir/xorg/modules]]]), -- AC_ARG_ENABLE(dri, AS_HELP_STRING([--disable-dri], [Disable DRI support [[default=auto]]])) -- AC_ARG_ENABLE(xvmc, AS_HELP_STRING([--disable-xvmc], [Disable XvMC support [[default=yes]]]), -- AC_ARG_ENABLE(kms-only, AS_HELP_STRING([--enable-kms-only], [Assume KMS support [[default=no]]]), -- AS_HELP_STRING([--enable-sna], [Enable SandyBridge's New Acceleration (SNA) [default=auto]]), -- AS_HELP_STRING([--enable-uxa], [Enable Unified Acceleration Architecture (UXA) [default=yes]]), -- AS_HELP_STRING([--enable-glamor], [Enable glamor, a new GL-based acceleration [default=no]]), -- AS_HELP_STRING([--enable-xaa], [Enable legacy X Acceleration Architecture (XAA) [default=auto]]), -- AS_HELP_STRING([--enable-dga], [Enable legacy Direct Graphics Access (DGA) [default=auto]]), -- AS_HELP_STRING([--with-default-accel], [Select the default acceleration method [default=uxa if enabled, otherwise sna]]), -- AS_HELP_STRING([--enable-userptr], [Enable use of userptr (experimental) [default=no]]), -- AS_HELP_STRING([--enable-async-swap], [Enable use of asynchronous swaps (experimental) [default=no]]), -- AS_HELP_STRING([--enable-debug], [Enables internal debugging [default=no]]), $ git describe 2.20.7-4-gbc73acb
Seems reasonable. I don't want to expose all those other options though.
On it.
Fixed in portage and x11 overlay. FTR, XvMC support is really small, and though I know it's only useful for MPEG-2, we forced it in for everyone since its deps were really limited. The USE flag is indeed a nice improvement. I want to thank you for a very nice and clean patch, it makes our job a whole lot easier. :) Cheers
Please look at bug #434794