[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

patch for mkxf86config

Hi all,

It's me & my school with Dell Optiplex GX 150 machines again... I use the 
Knoppix-4.0.2 CD and noticed two problems with the graphics card (Intel 
Corp. 82815 CGC [Chipset Graphics Controller] (rev 02)):

1) There are a lot of pixel errors at the window decorations and menus.
2) Direct rendering is not available.

I solved problem 1 by including the following option in /etc/X11/XF86Config-4
        Option "XaaNoPixmapCache"

Problem 2 can be solved by explicitly loading the module intel-agp.

With the attached patch applied, the Knoppix CD runs like a charm on my 


--- mkxf86config	2006-01-17 20:08:51.000000000 +0100
+++ mkxf86config_patched	2006-01-17 21:14:04.000000000 +0100
@@ -377,6 +377,14 @@
 DEPTH='s|DefaultColorDepth |# DefaultColorDepth |g;'
+# Intel special handling
+if ( lspci -n | grep 8086:1132 > dev/null ); then
+    modprobe intel-agp
+    sed -e 's/Driver      \"@@XMODULE@@\"/Driver      \"@@XMODULE@@\"\n\tOption \"XaaNoPixmapCache\"/g' \
+	/etc/X11/XF86Config-4.in >/etc/X11/XF86Config-4.tmp
+    mv -f /etc/X11/XF86Config-4.tmp /etc/X11/XF86Config-4.in
 # These drivers need the sw_cursor option
 case "$XMODULE" in ati|radeon|nv|trident) SWCURSOR='s|^.*#Option.*"sw_cursor".*$|Option "sw_cursor"|g;';; esac

Reply to: