linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:38:37 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
Setting up the i810 in Linux under Xfree86 3.3.6
Written By: vvx

These directions assume you are doing everything as root, this will not work as a user.

Okay, first off you need Xfree86 3.3.6 (obviously), glibc 2.1, a 2.2.x kernel, and gcc..

Now, you want to grab the agpgart.o driver off intel's site at http://support.intel.com/support/graphics/intel810/linuxsoftware.htm I used the source rpm, thus my instructions require that.

Install that by doing a:

rpm -i /path/to/I810Gtt-0.2-4.src.rpm

it should leave a I810Gtt-0.2.tar.gz somewhere.. Do a tar zxf of that file somewhere, such as /tmp.. To do it in /tmp,

cd /tmp
tar xvf /path/to/I810Gtt-0.2.tar.gz

That would give you the files agpgart.c, agpgart.h testgart.c README, and Makefile in /tmp. To make the module, you should be able to just type make. If that fails, you are probably missing something like a compiler or libraries.

This should produce an agpgart.o module. Copy that to /lib/modules/KERNEL-VERSION/misc/ where KERNEL-VERSION is your kernel version (2.2.12 in my case.), so I did this.

cp agpgart.o /lib/modules/2.2.12/misc/

Now, you need to mknod a device for this.., so issue this command.

mknod /dev/agpgart c 10 175

Now you can load the module, so do a:

insmod agpgart

Now, that should go without a problem..

Now, setup your card in your favorite X config utility, or if you're brave edit the XF86Config file by hand, but I'm not going to tell you how to do that one. :) I used XF86Setup. Under Card, I chose "Detailed Setup" and selected the svga server. continue to configure everything else such as monitor, keyboard, mouse, and ofcourse mode selection (What mode you want to run in.) I chose 1024x768 with 24bpp, however that's open to personal choice.. Save that, and hopefully it will work. If when X comes up, it's all screwed up, your monitor settings probably are incorrect. Just play around with it a bit, try lower values. You can setup your X settings any other way you want to, the important thing is that you choose the svga server.

Making the module load automatically. You probably don't want to have to insmod the agpgart module everytime you reboot, so here is what you would do to make it load automatically. Assuming your distro uses a /etc/conf.modules (or /etc/modules.conf) file, add a line in it that says:

insmod agpgart

An easy way to do this is to issue the command

echo insmod agpgart >> /etc/modules.conf

Or, if your system has /etc/conf.modules and not modules.conf,

echo insmod agpgart >> /etc/conf.modules

That's it, it should work unless you are terribly unlucky.

Note: If your distribution doesn't support rpm's, you can use "alien" to convert the rpm. I used alien on Debian to convert it to a .deb. If you are installing on debian, ignore the section on getting the module to load on bootup. Instead, just add a line with "agpgart" in it to your /etc/modules file.


Would you like to have your article published online? Send them in to newfiles@linuxnewbie.org

[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif