Bug 4399

Summary: Source code release of frame buffer device for XGI Volari V5,V8 and V3XT
Product: Drivers Reporter: Jong Lin (jong_lin)
Component: Video(Other)Assignee: drivers_video-other
Status: REJECTED DUPLICATE    
Severity: normal CC: bunk, nacc
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.4 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Source code of FBDev for XGI Volari V5, V8 and V3XT

Description Jong Lin 2005-03-25 01:42:37 UTC
Installation
===========================================

make sure to boot the kernel version you want to install DRI with
and the kernel source code is installed in /usr/src/linux-2.4.x/

if the kernel source is not built before, make sure to run
'make mrproper' & 'make menucofing' (save default setting) & "make dep' 
in kernel directory

Also make sure kernel config is the same as the version currently 
running. 

**If you have install XGI package before, you better uninstall it NOW.
**(see sec. 7 Uninstall)

After Kernel Source is Ready and you login as root , then

'cd XGIPKG'
'sh install.sh'

it will compile needed kernel modules and copy modules to 
Systems Directories.
 
Detail in install.sh:
1.recompile xgifb.o in XGIPKG/FB/ 
  compile log in compile.log
2.recompile xgi.o in XGIPKG/drm/
  compile log in compile.log
3.copy xgifb.o to /lib/modules/2.4.x/kernel/drivers/video/xgi/
  (create directory if not exist)
  copy xgi.o to /lib/modules/2.4.x/kernel/drivers/char/drm/
4.copy xgi_drv.o to /usr/X11R6/lib/modules/drivers/
  copy xgi_dri.so to /usr/X11R6/lib/modules/dri/
  copy libGL.so.1.2 /usr/X11R6/lib/
  (backup original libGL.so.1.2 to libGL.so.1.2.xgi.old)
  link libGL.so  and libGL.so.1 to libGL.so.1.2  (ln -s)
5.modify rc.modules  (backup original to rc.modules.xgi.old)
  which is under /etc in Red Hat distribution
           under /etc/rc.d in Mandrake distribution

  insmod /lib/modules/2.4.x/kernel/drivers/video/xgi/xgifb.o [mode=wxhxd] 
[rate=r] (ex. mode = 1024x768x16 rate=85)
  insmod /lib/modules/2.4.x/kernel/drivers/char/agp/agpgart.o
  insmod /lib/modules/2.4.x/kernel/drivers/char/drm/xgi.o

  if you don't want to modify rc.modules, you can run insmod by yourself
  
**if you don't want any specific step, just remove it from install.sh
Comment 1 Jong Lin 2005-03-25 01:45:10 UTC
Created attachment 4796 [details]
Source code of FBDev for XGI Volari V5, V8 and V3XT
Comment 2 Andrew Morton 2005-03-25 01:55:19 UTC
This isn't how you submit kernel patches.

Please read Documentation/SubmittingPatches and
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt

Then send the driver as a unified diff against the most recent
kernel to Marcelo and to linux-fsdevel@vger.kernel.org

And follow the same procedure if you have a driver for
the 2.6 kernel (you should - not much 2.4 development is
happening now)
Comment 3 Nishanth Aravamudan 2005-04-01 12:06:31 UTC
Since this really isn't a bug, can I reject it (and the partner one for 2.6)?
Comment 4 Adrian Bunk 2005-08-26 15:50:28 UTC

*** This bug has been marked as a duplicate of 4400 ***