intel pixmap sharing bug on i915/kms

Etienne Robillard animelovin at gmail.com
Sun Feb 10 08:49:36 PST 2013


hi, 

why is INTEL_PIXMAP_SHARING defined
by default and not finding the correct PixmapStartDirtyTracking symbol
in src/intel_driver.c? 

I have built xf86-video-intel (2.21.1) with xorg-server (2.12.4) by doing
one small change in src/intel.h:

----[patch start]----
--- ../xf86-video-intel-2.21.2/src/intel.h      2013-01-16 14:26:23.000000000 -0500
+++ src/intel.h 2013-02-10 11:26:02.637639585 -0500
@@ -81,9 +81,14 @@
 #define MONITOR_EDID_COMPLETE_RAWDATA EDID_COMPLETE_RAWDATA
 #endif
 
-#if XF86_CRTC_VERSION >= 5
-#define INTEL_PIXMAP_SHARING 1
-#endif
+/* XXX incompatible with xserver 1.12.4 see intel_driver.c */
+/*
+ * #if XF86_CRTC_VERSION >= 5
+ * #define INTEL_PIXMAP_SHARING 1
+ * #endif
+ */
+/* # undef INTEL_PIXMAP_SHARING */
+
 
 struct intel_pixmap {
        dri_bo *bo;
-----[end of patch]----

configure arguments used for the intel 2.21.1 driver:
./configure --prefix=/usr --sysconfdir=/etc --disable-maintainer-mode --enable-kms-only --enable-static=yes

xserver 1.12.4 configured with dh build:
./configure --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/xorg-server --disable-maintainer-mode --disable-dependency-tracking

cheers
E


More information about the xorg mailing list