--- George Lengel <[EMAIL PROTECTED]> wrote: > On Saturday 07 February 2004 02:48 pm, Felix K�hling wrote: > > On Fri, 6 Feb 2004 09:36:48 -0800 (PST) > > Alex Deucher <[EMAIL PROTECTED]> wrote: > > > > [snip] > > > > > http://www.botchco.com/alex/savage/savage-20040206.tar.gz > > > > Nice work! I tested 2D and 3D on the savage4. It works as well as > the S3 > > driver and fixes the mode setting problem I reported earlier > (stretching > > 1279 pixesl to 1280). Xv is indeed broken. One more thing I noticed > is > > that the text console is messed up after starting X. It looks like > it's > > showing the wrong part of video memory. At the top of the screen > there > > is still some text, but on the bottom there is just some funky > random > > stuff. And I don't see what I type. > > I am guessing I did something stupid. > > I finally have a good kernel built that is working nicely. I used > 2.4.23. > I pulled the CVS source again and then downlaoded the above source > tarball and > put it in /development/xc/xc/programs/Xserver/hw/xfree86/drivers > since this > is what the tar directory structure looked like to me (and untarred > it). I > then went to /development/xc/xc and did a 'make World' which went on > and on > and when I was through I had a new XFree86 executable and > savage_drm.o > savage_dri.o and some others. I then did 'make install' which copied > > savage_drv.o to /usr/X11R6/lib/modules/drivers. I also copied > savage_drm.o > to /usr/X11R6/lib/modules/dri since I saw the other *_dri.o files > there. I
there are only 3 files you need to worry about: savage_drv.o - 2d driver savage_dri.so - 3d driver savage.o - kernel DRM module > stopped X and restarted it and checked XFree.log and it showed my new > driver > loaded, but still Direct Rendering:No. I confirmed this by running > glxinfo > and it said the same thing. > > As I searched the archives to the list, I saw someone had similar > experience > trying to compile for the ProSavageDDR and Alex said the savage > kernel module > had to be compiled separate. So I went to > /development/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel > and > typed 'make Makefile.linux' but got the message back 'Nothing to be > done for > `Makefile.linux'.'. So, did I unpack the tar package in the wrong > place or am > I still missing something? run 'make -f Makefile.linux' to build the kernel module. you may need to use 'make -f Makefile.linux LINUXDIR=/path/to/kernel/src' if it can't find your kernel source. also make sure you've run at least 'make dep' on the kernel source. > > How close am I? Just about there. once the kernel module is built copy it into your module tree and run 'depmod -a' to update your module dependencies. then load agpgart and savage and start X. Alex __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
