XGI Linux DRI Driver Package User Installation Guide

Decemeber 19, 2005  by Jill Wang (xgi0133)

Contents

1.System Requirement
2.Files
3.Installation
	3.1. Before Installation
	3.2. Install XGI Volari driver package
	3.3. Installation action 
4.Start Running
5.Uninstall
    5.1. Before Installation
    5.2 Uninstall XGI Volari driver package
    5.3 Uninstallation action
     
===========================================
1.System Requirement
===========================================

Supported Linux Distribution:
    Red Hat 9
    Red Hat Enterprise Linux 3 U1
    Red Hat Enterprise Linux 4 U1
    Red Hat Enterprise Linux 4 U2
    
    Mandrake 9.2

Kernel Version:
    2.4.18-14 (RH 8)
    2.4.19
    2.4.20
    2.4.20-8 (RH 9)
    2.4.21
    2.4.21-4.EL
    2.4.22
    2.4.22-10mdk (Mandrake 9.2)
    (Suppose 2.4.18~2.4.22 are OK)
    
    2.6.9-11 (RHEL4 U1)
    2.6.9-22 (RHEL4 U2)

XFree86 Version:
    4.4.0
    
XOrg Version:
	6.8.2
	
Other Feature:
    Need AGP support in Kernel
    
===========================================
2.Files
===========================================
this package contains follwing files:

    1. FB.tgz -- an archive contains FrameBuffer Device Driver source code
    2. DRM.tgz -- an archive contains 3D kernel module source code
    3. xgiv_drv.o -- XFree86 4.4 2D Module
    4. install.sh -- install script
    5. README


===========================================
3.Installation
===========================================
**
* 3.1. Before Installation
**
Before installing XGI driver package, there are something to be noticed.

    a. The user must login as root.
    b. Please make sure to switch in console mode. 
       The user can chech if the run-level is 3 (id:3:initdefault:) in the file /etc/inittab.
       If not, please modify it to 3 and restart the computer.     
       

**
* 3.2. Install XGI Volari driver package
**        
	a. Uncompress the package xgipkg_Xorg_K26_i386.tgz if the kernel is Xorg:
        
        $ tar -zxvf xgipkg_Xorg_K26_i386.tgz
	
	b. Execute the install script:
	    
	    $ sh install.sh

**
* 3.3. Installation action 
**    
    a. Compile and load XGI FB module.
    b. Compile and load XGI DRM module 
	c. Copy xgiv_drv.o to ${X11R6}/lib/modules/drivers for driver of XFree86
	d. (Before kernel version 2.6)Add the command to load agpgart, module, XGI FB module, and XGI drm module in the /etc/rc.d/rc.local on boot.
	   (After kernel version 2.6)Add the command to load XGI FB module and XGI drm module in the /etc/rc.d/rc.local on boot.
 

===========================================
4.Start Running
===========================================
 
After config XF86Config and use "insmod" to load driver modules 
(as decribe in sec. 4) 

start or restart X-window to take effect.
(driver modules must be loaded before X-Window Starts)

use 'lsmod' to make sure that xgi, xgifb, and agpgart are loaded and used.

**for Mandrake 9.2
Mandrake 9.2 set VGA mode at boot time. you must select "linux-nonfb"
in boot loader, or you will encounter problems when run 3D app.
or you can modify lilo.conf to disable VGA setting.

===========================================
 5. Uninstall
===========================================	
**
* 5.1. Before Installation
**
Before uninstalling XGI driver package, there are something to be noticed.

    a. The user must login as root.
    b. Please make sure to switch in console mode. 
       The user can chech if the run-level is 3 (id:3:initdefault:) in the file /etc/inittab.
       If not, please modify it to 3 and restart the computer.     
       
*
* 5.2 Uninstall XGI Volari driver package
* 
    a. logout from X-Window
    b. go to the folder of the driver package source which has been uncompressed.
    c. Execute uninstall command

        $ sh install.sh uninstall
    
    d. Restart the computer to take effect

        $ reboot
        
*
* 5.3 Uninstallation action
*
Uninstall will remove and restore all the modules & files we installed
you still have to modify XF86Config manully.

	a. Remove xgiv_drv.o from ${X11R6}/lib/modules/drivers for driver of XFree86/Xorg
	b. Remove XGIfb.ko for Xorg and XGIfb.o for XFree86 under /lib/modules/$KERNEL_VER/kernel/drivers/video
	c. Remove xgi.ko for Xorg and xgi.o for XFree86under /lib/modules/$KERNEL_VER/kernel/drivers/char/drm
	d. Recover /etc/rc.d/rc.local to recover the original status. 
	f. Edit /etc/X11/XF86Config(or xorgconf for Xorg) to use vesa driver, not xgi in the Device section.
    
