just as a follow up, I got the DRM to build under 2.4.24, (redhat uses 2.6 MM in rh9). Unfortunately, I can't get pcmcia to work for me in 2.4.24, so I can either hack on the savage driver or have network access, depending on which kernel I boot. I need to get that sorted out. anyone hear of any problems with rh9 and pcmcia with vanilla kernels?
I tested the driver on my savage4 and I see the 2D corruption maximo was talking about with tile mode enabled. everything is fine with tilemode disabled. However, 3D doesn't seem to work in either mode. With or without tilemode disabled I get random black and white moving rectangles in the glxgears window. Also 3D only seems to work at 16 bpp. at 24 bpp, the drm complains about dma (I forget the exact message; something about savage_dma.c). I also gave it a try on my savage IX based card. Opening the drm fails so direct rendering is never enabled. Also I'm going to need to re-add the "crtonly" option (from tim's driver) since these cards seem to think there is a 640x480 flatpanel attached, so modes are limited to 640x480. Alex --- Felix Kühling <[EMAIL PROTECTED]> wrote: > 2.4.24 is probably rather too new than too old. I compiled the DRM > successfully on 2.4.21. See the workaround that I added for 2.6 > kernels. > It disables the driver-specific ioctls completely as I didn't want to > bother figuring out a real solution at that time, knowing that the > DRM > driver would be completely rewritten sooner or later anyway. The > driver > has only three driver ioctls and they are only used for PCI cards. > > Felix > > On Wed, 7 Jan 2004 11:53:49 -0800 (PST) > Alex Deucher <[EMAIL PROTECTED]> wrote: > > > Felix, I'm having trouble getting the savage DRM to build. Perhaps > my > > kernel is too old. As I recall remap_page_range() changed. > perhaps > > that's the problem. any idea how I can get it working with my > current > > kernel? I'm having trouble getting 2.4.24 working properly for my > set > > up. > > > > Alex > > > > gcc > > > -I/data/savage/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel > > -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall > > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing > -fno-common > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 > > -DMODULE -DMODVERSIONS -include > > /usr/src/linux-2.4.20-8/include/linux/modversions.h > > -DREMAP_PAGE_RANGE_5_ARGS -nostdinc -iwithprefix include > > -DKBUILD_BASENAME=savage_drv -c -o savage_drv.o savage_drv.c > > savage_drv.c: In function `savage_alloc_continuous_mem': > > savage_drv.c:83: warning: int format, long unsigned int arg (arg 2) > > savage_drv.c:106: warning: passing arg 1 of `remap_page_range' > makes > > pointer from integer without a cast > > savage_drv.c:106: incompatible type for argument 4 of > > `remap_page_range' > > savage_drv.c:106: too few arguments to function `remap_page_range' > > savage_drv.c: In function `savage_get_physics_address': > > savage_drv.c:170: warning: implicit declaration of function > > `pte_offset' > > savage_drv.c:170: warning: assignment makes pointer from integer > > without a cast > > make[2]: *** [savage_drv.o] Error 1 > > make[2]: Leaving directory > > > `/data/savage/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel' > > make[1]: *** > > > [_mod_/data/savage/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel] > > Error 2 > > make[1]: Leaving directory `/usr/src/linux-2.4.20-8' > > make: *** [modules] Error 2 > > > > > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel