All of lore.kernel.org
 help / color / mirror / Atom feed
* xf86-video-intel-2.20.0: Option 'XvMC' does not work
@ 2012-09-23  5:14 Giacomo Comes
  2012-09-23  8:00 ` Chris Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Giacomo Comes @ 2012-09-23  5:14 UTC (permalink / raw)
  To: intel-gfx

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-23  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-23  5:14 xf86-video-intel-2.20.0: Option 'XvMC' does not work Giacomo Comes
2012-09-23  8:00 ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.