From: Giacomo Comes Subject: xf86-video-intel-2.20.0: Option 'XvMC' does not work Date: Sun, 23 Sep 2012 01:14:57 -0400 Message-ID: <20120923051457.GA24285@monopoli.naic.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailserver.naic.edu (mailserver.naic.edu [192.65.176.45]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C5D99E75F for ; Sat, 22 Sep 2012 22:44:00 -0700 (PDT) Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Hi, I have a laptop with the Pineview GM chipset. With the intel driver 2.20.0 I cannot enable anymore XvMC. Normally I add in the device Section: Option "XvMC" "on" and up to driver ver 2.19.0 in the X log file I find: (**) intel(0): Option "XvMC" "on" (**) intel(0): Intel XvMC decoder enabled (II) intel(0): [XvMC] i915_xvmc driver initialized. But with driver 2.20.0 in log file I find: (==) intel(0): Intel XvMC decoder disabled (WW) intel(0): Option "XvMC" is not used Looking in the source file I have found that in src/intel_option.c and in src/intel_options.h the are some #ifdef INTEL_XVMC statements. When the source file intel_option.c is compiled the symbol INTEL_XVMC is undefined but it is defined if intel.h is included. I have added #include "intel.h" before #include "intel_options.h" in src/intel_options.c and recompiled the driver. With that fix Option "XvMC" "on" is working again. Giacomo