Re: Some definite problems with test3 and test4

From: john.cavan@sympatico.ca
Date: Fri Jul 14 2000 - 17:06:26 EST


I'll give it ago. AFAIK, you also need to adjust the versioning info in
the tdfx driver to get X to accept it. The only thing I've noted is that
the new driver code from 3dfx is starting to make use of the AGP bus, so
maybe I'll look at that as well. Time permitting, of course. :o)

John

"David S. Miller" wrote:
>
> Date: Thu, 13 Jul 2000 22:38:41 -0400
> From: john.cavan@sympatico.ca
>
> - The Voodoo3 DRI driver (tdfx.o) from XFree96 4.0.1 (from the DRI
> site) will compile, but is useless with many unresolved
> symbols. The current driver in the kernel source is massively out
> of date and X will not accept it and that causes accelerated 3D to
> be turned off. Interesting catch 22... The driver from the DRI site
> works perfectly fine with test2-ac2.
>
> Actually, I think you might get the 2.4.x-test tdfx driver to work
> with the simple change below. They merely changed the GET_MAGIC drm
> ioctl to be a different value, and I suspect that any driver that does
> not use the DMA buffer management ioctls (which in 4.0.1 changed
> structure sizes, ioctl numbers, etc.) of the drm kernel module (such
> as tdfx, ffb, etc.) will work with 4.0.1 using this change.
>
> At least, it works perfectly fine for me using ffb Creator3D cards.
>
> --- vanilla/linux/drivers/char/drm/drm.h Tue Mar 14 09:27:31 2000
> +++ linux/drivers/char/drm/drm.h Sun Jun 18 00:28:26 2000
> @@ -247,7 +247,7 @@
>
> #define DRM_IOCTL_VERSION DRM_IOWR(0x00, drm_version_t)
> #define DRM_IOCTL_GET_UNIQUE DRM_IOWR(0x01, drm_unique_t)
> -#define DRM_IOCTL_GET_MAGIC DRM_IOW( 0x02, drm_auth_t)
> +#define DRM_IOCTL_GET_MAGIC DRM_IOR( 0x02, drm_auth_t)
> #define DRM_IOCTL_IRQ_BUSID DRM_IOWR(0x03, drm_irq_busid_t)
>
> #define DRM_IOCTL_SET_UNIQUE DRM_IOW( 0x10, drm_unique_t)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:20 EST