Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

color depth of 4 bit driving me nuts!

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
qwertzy
Posts: 2
Joined: 2006-02-17 13:45

color depth of 4 bit driving me nuts!

#1 Post by qwertzy »

ok. I think this is a well-documented problem. I have an intel 815 integrated graphics motherboard. And GNOME cannot render it properly, instead giving me 4 bit color depth and more headache.

So I went to support.intel.com and downloaded this pretty useful pdf report, supposedly a walkthru on how to solve the graphics problem.
ftp://aiedownload.intel.com/df-support/ ... _linux.pdf

From the pdf report:

Download the agpgart kernel module from support.intel.com. This, when compiled and loaded, adds AGP support to the existing Linux* kernel.

The kernel module must be compiled before it can be installed. This module will need to be recompiled and reinstalled if the kernel on the system is upgraded at a later date, so keep the source in a safe place.

cd /path_to_downloaded_rpm
rpm –recompile I810Gtt-0.2-1.src.rpm


so what I did was to download this *.rpm file, then download rpm via apt-get install rpm, then tried to recompile it.

But it returned me errors:

make: *** [sanity] Error 255
error: Bad exit status from /var/tmp/rpm-tmp65010


And a file was deposited at the root folder:

Code: Select all

Summary: Device driver for i810 GTT for 2.x kernels
Name: I810Gtt
Version: 0.2
Release: 4
Source: I810Gtt-0.2.tar.gz
License: XFree86 License
Group: Drivers

%description

This package installs the i810 gtt device driver to allow access to
the i810 graphics memory management hardware. It has been tested on
2.2 and 2.3 kernels and sets the MTRR settings correctly. It should
also work with 2.0 kernels, but has not been tested there.
Also includes support for the 815 chipset.

%prep
%setup -c

%build
make OPT_CFLAGS="$RPM_OPT_FLAGS"

%install
make RPM_INSTALL="1" install | grep 'INSTALLED:' | awk '{print $2}' > modules-file-list
echo /usr/local/include/agpgart.h >> modules-file-list

%post
if [ "$1" = 1 ]; then
if [ -e /etc/modules.conf ]; then
mconf="/etc/modules.conf"
else
mconf="/etc/conf.modules"
fi
if [ `grep -c agpgart $mconf` = "0" ]; then 
echo "# Added by i810 install" >> $mconf
echo alias char-major-10-175 agpgart >> $mconf
fi
fi

%postun
if [ "$1" = 0 ]; then
if [ -e /etc/modules.conf ]; then
mconf="/etc/modules.conf"
else
mconf="/etc/conf.modules"
fi
if [ -e /lib/modules/`uname -r`/misc/agpgart.o.SAVED ]; then
mv /lib/modules/`uname -r`/misc/agpgart.o.SAVED /lib/modules/`uname -r`/misc/agpgart.o
else
grep -v agpgart $mconf | grep -v i810 > /etc/conf.modules.tmp
mv /etc/conf.modules.tmp $mconf
fi
if [ -e /usr/local/include/agpgart.h.SAVED ]; then
mv /usr/local/include/agpgart.h.SAVED /usr/local/include/agpgart.h
fi
fi
/sbin/depmod -a

%verifyscript
if [ -e /etc/modules.conf ]; then
mconf="/etc/modules.conf"
else
mconf="/etc/conf.modules"
fi
teststring=`grep 'alias char-major-10-175 agpgart' $mconf`; \
if [ -z "$teststring" ]; then
echo "agpgart entry not included in $mconf"
fi

%files -f modules-file-list

%verify(not mode user group) /dev/agpgart
Revisiting the intel pdf, they say:

To verify that the installation has finished correctly, complete the following steps as the root user. If the module was not installed correctly revisit the steps above.

# Test to see if the module is installed in the correct location
ls –l /lib/modules/`uname –r`/misc/agpgart.o
# If a “No such file” error is produced, revisit the steps above.


Ok, so obviously no such file agpgart.o was created. And I am royally stuck. Any advice will be greatly appreciated. Thanks!

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#2 Post by Harold »

su to root and do dpkg-reconfigure xserver-xfree86 (or dpkg-reconfigure xserver-xorg if you have upgraded to Etch). Try the different Intel drivers. Your choices are i128, i740 and i810.

Post Reply