[EMAIL PROTECTED] wrote:

>Can I compile the files in a driver directory alone, without having to do 
>the whole DRI or X11 tree ?   Then grab the driver_dri.so file and throw 
>it in the modules directory and restart X11 for it to take effect ?   
>
>This assumes that the only changes are within the driver directory, and 
>nothing beyond..
>
>In particular I tried giving sis6326 a go, but I get:
>SIS driver : out of video memory
>Fatal errors in sis_dri.so
>when trying gears, even though glxinfo is happy to report direct rendering 
>and everything else.
>Free, encrypted, secure Web-based email at www.hushmail.com
>

All device dependent modules can be recompiled and installed from their 
respective directory (after X has been build once). The device dependent 
modules are:
x_dri.so  (MesaGL device driver), in 
xc/lib/GL/mesa/src/name_of_the_device (do a make and make install)
x_drv.so (XFree86 device driver), in 
xc/programs/Xserver/hw/xfree86/drivers/name_of_the_device (do a make and 
make install)
x.o (kernel module), in 
xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel (do a make -f 
Makefile.linux x.o and insmod ./x.o or directly copy it in your kernel 
modules directory)

but if you want to debug some features in x_dri.so, you might want a 
better support for debugging by adding a built-in device driver in the 
libGL itself, which is less complicated than debugging a driver module. 
Check the options in config/cf/xfree86.

Karl




_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to