Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
@ 2000-11-25 23:51 Dave Gilbert
  2000-11-26  3:11 ` Christopher C. Chimelis
  2000-11-26  4:13 ` Peter Petrakis
  0 siblings, 2 replies; 13+ messages in thread
From: Dave Gilbert @ 2000-11-25 23:51 UTC (permalink / raw)
  To: axp-list; +Cc: ppetrakis, kbagel, chris

Hi All,
  I've just got DRI working on my LX board with Voodoo 3000 PCI; I had the
same illegal instruction problem.

The problem appears to be that the Glide3 source in
Glide3/swlibs/include/make there is the line at line 55 which says:

GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6

which is fine for all those of you with nice new shiny EV6s but those of
us with ev56 have problems; I changed that to -mcpu=ev56  redid the
configuration completely of the glide code and remade/reinstalled glide3
and everything springs into life.

Boy is sproingies fast :-)

Dave
 
-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on       |  Happy  \ 
\   gro.gilbert @ treblig.org |  Alpha, x86, ARM and SPARC |  In Hex /
 ____________________________|___ http://www.treblig.org  |________/




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-25 23:51 DRI, Glide, and 2+ days of hacktivity (fixed!) Dave Gilbert
@ 2000-11-26  3:11 ` Christopher C. Chimelis
  2000-11-26  4:13 ` Peter Petrakis
  1 sibling, 0 replies; 13+ messages in thread
From: Christopher C. Chimelis @ 2000-11-26  3:11 UTC (permalink / raw)
  To: Dave Gilbert; +Cc: axp-list, ppetrakis, kbagel

On Sat, 25 Nov 2000, Dave Gilbert wrote:

> The problem appears to be that the Glide3 source in
> Glide3/swlibs/include/make there is the line at line 55 which says:
> 
> GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6

I forgot to mention this before and have already changed it to work on my
pca56.  I'm not sure why that is even there...I can't imagine that
anything in there would require ev6 scheduling or instructions (although I
*know* glide can benefit from that).

C




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-25 23:51 DRI, Glide, and 2+ days of hacktivity (fixed!) Dave Gilbert
  2000-11-26  3:11 ` Christopher C. Chimelis
@ 2000-11-26  4:13 ` Peter Petrakis
  2000-11-26  4:42   ` Christopher C. Chimelis
  2000-11-26  6:16   ` Alan Young
  1 sibling, 2 replies; 13+ messages in thread
From: Peter Petrakis @ 2000-11-26  4:13 UTC (permalink / raw)
  To: Dave Gilbert; +Cc: axp-list, kbagel, chris

You don't say? Thank you. I'll start building some RPMS tomorrow.
On a side note I have some patches I got from Jay that made there
way to Chris for Xfree nvidia support which he got working. Hopefully
I can apply those patches to this source tree. I Just need people to 
test it .

FWI 32MB PCI TNT2's can be had for $75 :-) , www.pricewatch.com

Peter

Dave Gilbert wrote:

> Hi All,
>   I've just got DRI working on my LX board with Voodoo 3000 PCI; I had the
> same illegal instruction problem.
> 
> The problem appears to be that the Glide3 source in
> Glide3/swlibs/include/make there is the line at line 55 which says:
> 
> GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6
> 
> which is fine for all those of you with nice new shiny EV6s but those of
> us with ev56 have problems; I changed that to -mcpu=ev56  redid the
> configuration completely of the glide code and remade/reinstalled glide3
> and everything springs into life.
> 
> Boy is sproingies fast :-)
> 
> Dave
>  






^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26  4:13 ` Peter Petrakis
@ 2000-11-26  4:42   ` Christopher C. Chimelis
  2000-11-26  4:56     ` Peter Petrakis
  2000-11-26  6:16   ` Alan Young
  1 sibling, 1 reply; 13+ messages in thread
From: Christopher C. Chimelis @ 2000-11-26  4:42 UTC (permalink / raw)
  To: Peter Petrakis; +Cc: Dave Gilbert, axp-list, kbagel

On Sat, 25 Nov 2000, Peter Petrakis wrote:

> You don't say? Thank you. I'll start building some RPMS tomorrow.
> On a side note I have some patches I got from Jay that made there
> way to Chris for Xfree nvidia support which he got working. Hopefully
> I can apply those patches to this source tree. I Just need people to 
> test it .

If you'd like, I can send you the slimmed-down patch, since some of it was
already committed into the CVS tree.  I also have a few more fixes in
there (to keep the _bus_base() symbols from being undefined).

> FWI 32MB PCI TNT2's can be had for $75 :-) , www.pricewatch.com

Cool:-)

C




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26  4:42   ` Christopher C. Chimelis
@ 2000-11-26  4:56     ` Peter Petrakis
  2000-11-26  6:00       ` Christopher C. Chimelis
  0 siblings, 1 reply; 13+ messages in thread
From: Peter Petrakis @ 2000-11-26  4:56 UTC (permalink / raw)
  To: Christopher C. Chimelis; +Cc: Dave Gilbert, axp-list, kbagel

> 
> 
> If you'd like, I can send you the slimmed-down patch, since some of it was
> already committed into the CVS tree.  I also have a few more fixes in
> there (to keep the _bus_base() symbols from being undefined).


Yes please do send those along sir. thank you.


>> FWI 32MB PCI TNT2's can be had for $75 :-) , www.pricewatch.com
> 
> Cool :-)


Yeah, I think i'm gonna buy that. This and 512MB for my LX are my X-mass 
present for
me this year :-) Have you noticed how CHEAP ram has gotten latley?

Peter




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26  4:56     ` Peter Petrakis
@ 2000-11-26  6:00       ` Christopher C. Chimelis
  0 siblings, 0 replies; 13+ messages in thread
From: Christopher C. Chimelis @ 2000-11-26  6:00 UTC (permalink / raw)
  To: Peter Petrakis; +Cc: Dave Gilbert, axp-list, kbagel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 714 bytes --]


On Sat, 25 Nov 2000, Peter Petrakis wrote:

> Yes please do send those along sir. thank you.

I'm attaching the whole diff that I used for Debian.  Some of the parts
may/may not be needed depending on if you have problems with that
undefined _bus_base() problem.  The patch also enables Jensen support
since it appears that some older motherboards that aren't Jensens are
still returning no dense mem base address when checked by glibc.

> Yeah, I think i'm gonna buy that. This and 512MB for my LX are my X-mass 
> present for
> me this year :-) Have you noticed how CHEAP ram has gotten latley?

Yes.  It really makes me wish I had even a little money :-)  I would like
to beef up my SX to at least 256MB...

C

[-- Attachment #2: Type: TEXT/PLAIN, Size: 10849 bytes --]

--- xc/programs/Xserver/hw/xfree86/SuperProbe/OS_Linux.c~	Fri Nov 10 21:25:57 2000
+++ xc/programs/Xserver/hw/xfree86/SuperProbe/OS_Linux.c	Fri Nov 10 21:26:26 2000
@@ -37,6 +37,9 @@
 #include <sys/mman.h>
 
 #ifdef __alpha__
+
+#include <sys/io.h>
+
 /*
  * The Jensen lacks dense memory, thus we have to address the bus via
  * the sparse addressing scheme.
--- xc/programs/Xserver/hw/xfree86/loader/loadmod.c~	Fri Nov 10 21:26:45 2000
+++ xc/programs/Xserver/hw/xfree86/loader/loadmod.c	Fri Nov 10 21:27:43 2000
@@ -1001,7 +1001,7 @@
 	 * memory before jumping to that code, you may
 	 * do it here.
 	 */
-#ifdef __alpha__
+#if defined(__alpha__) && !defined(linux)
 	istream_mem_barrier();
 #endif
 	return ret;
@@ -1045,7 +1045,7 @@
     TestFree (mod->name);
     TestFree (mod->filename);
     xfree (mod);
-#ifdef __alpha__
+#if defined(__alpha__) && !defined(linux)
 	istream_mem_barrier();
 #endif
 }
--- xc/programs/Xserver/hw/xfree86/xf86cfg/loader.c~	Fri Nov 10 21:28:11 2000
+++ xc/programs/Xserver/hw/xfree86/xf86cfg/loader.c	Fri Nov 10 21:28:44 2000
@@ -31,6 +31,10 @@
 #define LOADER_PRIVATE
 #include "loader.h"
 
+#if defined(__alpha__) && defined(linux)
+# include <sys/io.h>
+#endif
+
 /* XXX beware (or fix it) libc functions called here are the xf86 ones */
 
 #ifdef USE_MODULES
--- xc/config/cf/linux.cf~	Fri Nov 17 15:01:38 2000
+++ xc/config/cf/linux.cf	Fri Nov 17 15:01:39 2000
@@ -506,7 +506,7 @@
 # define OptimizedCDebugFlags	DefaultGcc2AxpOpt
 # define LinuxMachineDefines	-D__alpha__
 # define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
-# define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+# define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64 -DJENSEN_SUPPORT
 # ifdef UseCompaqMathLibrary
 #  define MathLibrary		-lcpml -lm
 # endif
--- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c~	Thu Nov 16 09:25:40 2000
+++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c	Thu Nov 16 09:36:19 2000
@@ -298,7 +298,7 @@
 	if (isJensen) {
 # ifndef JENSEN_SUPPORT
 	  FatalError("Jensen is not supported any more\n"
-		     "If you are interesetd in fixing Jensen support\n"
+		     "If you are interested in fixing Jensen support\n"
 		     "please contact xfree86@xfree86.org\n");
 # else
 	  xf86Msg(X_INFO,"Machine type is Jensen\n");
@@ -558,14 +558,21 @@
 		   strerror(errno));
       }
       /* This requirers linux-0.99.pl10 or above */
-      lnxBase = mmap((caddr_t)0, 0x100000000,
+      lnxBase = mmap((caddr_t)0, 0x100000000, /* 4GB!! */
 		     PROT_READ | PROT_WRITE,
 		     MAP_SHARED, fd,
 		     (off_t) _bus_base());
+#ifdef __alpha__
+      lnxSBase = mmap((caddr_t)0, 0x400000000, /* 16GB!! */
+		      PROT_READ | PROT_WRITE,
+		      MAP_SHARED, fd,
+		      (off_t) _bus_base_sparse());
+#else
       lnxSBase = mmap((caddr_t)0, 0x100000000,
 		      PROT_READ | PROT_WRITE,
 		      MAP_SHARED, fd,
 		      (off_t) _bus_base_sparse());
+#endif
       
       close(fd);
       
@@ -590,6 +597,7 @@
 
     Offset += (unsigned long)Base - (unsigned long)lnxBase;
     shift = (Offset & 0x3) << 3;
+#ifndef __alpha__
       if (Offset >= (1UL << 24)) {
         msb = Offset & 0xf8000000UL;
         Offset -= msb;
@@ -598,6 +606,7 @@
 	msb_set = msb;
 	}
       }
+#endif
 
     result = *(vuip) ((unsigned long)lnxSBase + (Offset << 5));
     result >>= shift;
@@ -612,6 +621,7 @@
 
     Offset += (unsigned long)Base - (unsigned long)lnxBase;
     shift = (Offset & 0x2) << 3;
+#ifndef __alpha__
     if (Offset >= (1UL << 24)) {
         msb = Offset & 0xf8000000UL;
         Offset -= msb;
@@ -620,6 +630,7 @@
 	msb_set = msb;
       }
     }
+#endif
     result = *(vuip)((unsigned long)lnxSBase+(Offset<<5)+(1<<(5-2)));
     result >>= shift;
     return 0xffffUL & result;
@@ -638,6 +649,7 @@
     register unsigned int b = Value & 0xffU;
 
     Offset += (unsigned long)Base - (unsigned long)lnxBase;
+#ifndef __alpha__
     if (Offset >= (1UL << 24)) {
       msb = Offset & 0xf8000000;
       Offset -= msb;
@@ -646,6 +658,7 @@
 	msb_set = msb;
       }
     }
+#endif
     *(vuip) ((unsigned long)lnxSBase + (Offset << 5)) = b * 0x01010101;
     mem_barrier();
 }
@@ -657,6 +670,7 @@
     register unsigned int w = Value & 0xffffU;
 
     Offset += (unsigned long)Base - (unsigned long)lnxBase;
+#ifndef __alpha__
     if (Offset >= (1UL << 24)) {
       msb = Offset & 0xf8000000;
       Offset -= msb;
@@ -667,6 +681,9 @@
     }
     *(vuip)((unsigned long)lnxSBase+(Offset<<5)+(1<<(5-2))) =
       w * 0x00010001;
+#else
+    *(vuip)((unsigned long)lnxSBase+(Offset<<5)+(1<<(5-2))) = w * 0x10001;
+#endif
     mem_barrier();
 
 }
@@ -686,6 +703,7 @@
     register unsigned int b = Value & 0xffU;
 
     Offset += (unsigned long)Base - (unsigned long)lnxBase;
+#ifndef __alpha__
     if (Offset >= (1UL << 24)) {
       msb = Offset & 0xf8000000;
       Offset -= msb;
@@ -694,6 +712,7 @@
 	msb_set = msb;
       }
     }
+#endif
     *(vuip) ((unsigned long)lnxSBase + (Offset << 5)) = b * 0x01010101;
 }
 
@@ -704,6 +723,7 @@
     register unsigned int w = Value & 0xffffU;
 
     Offset += (unsigned long)Base - (unsigned long)lnxBase;
+#ifndef __alpha__
     if (Offset >= (1UL << 24)) {
       msb = Offset & 0xf8000000;
       Offset -= msb;
@@ -714,6 +734,9 @@
     }
     *(vuip)((unsigned long)lnxSBase+(Offset<<5)+(1<<(5-2))) =
       w * 0x00010001;
+#else
+    *(vuip)((unsigned long)lnxSBase+(Offset<<5)+(1<<(5-2))) = w * 0x10001;
+#endif
 }
 
 static void
--- xc/programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c~	Thu Nov 16 09:11:27 2000
+++ xc/programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c	Thu Nov 16 09:23:46 2000
@@ -216,11 +216,25 @@
 
     mmioFlags = VIDMEM_MMIO | VIDMEM_READSIDEEFFECT;
 
+#ifdef __alpha__
+    /* map 8K instead of 4K, so PDIO is subsumed */
+    pNv->riva.PRAMDAC = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
+                                      regBase+0x00680000, 0x00002000);
+#else
     pNv->riva.PRAMDAC = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00680000, 0x00001000);
+#endif
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "- PRAMDAC %x\n", pNv->riva.PRAMDAC));
+#ifdef __alpha__
+    /* map 8K instead of 4K, so PDIO is subsumed */
+    pNv->riva.PFB     = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
+                                      regBase+0x00100000, 0x00002000);
+#else
     pNv->riva.PFB     = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00100000, 0x00001000);
+#endif
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "- PFB %x\n", pNv->riva.PFB));
     pNv->riva.PFIFO   = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00002000, 0x00002000);
@@ -228,11 +242,23 @@
     pNv->riva.PGRAPH  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00400000, 0x00002000);
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "- PGRAPH %x\n", pNv->riva.PGRAPH));
+#ifdef __alpha__
+    /* Done as part of PFB map of 8K (see above) */
+    pNv->riva.PEXTDEV = (U032 *)(((U008 *)pNv->riva.PFB) + 0x1000); /* HACK! SPARSE will fail! */
+#else
     pNv->riva.PEXTDEV = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00101000, 0x00001000);
+#endif
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "- PEXTDEV %x\n", pNv->riva.PEXTDEV));
+#ifdef __alpha__
+    /* Must map 8K or more on Alpha. */
+    pNv->riva.PTIMER  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
+                                      regBase+0x00008000, 0x00002000);
+    pNv->riva.PTIMER  = (U032*)(((U008 *)pNv->riva.PTIMER) + 0x1000);
+#else
     pNv->riva.PTIMER  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00009000, 0x00001000);
+#endif
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "- PTIMER %x\n", pNv->riva.PTIMER));
     pNv->riva.PMC     = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                       regBase+0x00000000, 0x00001000);
@@ -245,12 +271,18 @@
      * These registers are read/write as 8 bit values.  Probably have to map
      * sparse on alpha.
      */
+#ifdef __alpha__
+    /* Done as part of PCRTC map of 8K (see below). */
+    pNv->riva.PCIO = (U008 *)pNv->riva.PCRTC + 0x1000;  /* HACK! SPARSE will fail! */
+    pNv->riva.PDIO = (U008 *)pNv->riva.PRAMDAC + 0x1000; /* HACK! SPARSE will fail! */
+#else
     pNv->riva.PCIO = (U008 *)xf86MapPciMem(pScrn->scrnIndex, mmioFlags,
                                            pNv->PciTag, regBase+0x00601000,
                                            0x00001000);
     pNv->riva.PDIO = (U008 *)xf86MapPciMem(pScrn->scrnIndex, mmioFlags,
                                            pNv->PciTag, regBase+0x00681000,
                                            0x00001000);
+#endif
     pNv->riva.PVIO = (U008 *)xf86MapPciMem(pScrn->scrnIndex, mmioFlags,
                                            pNv->PciTag, regBase+0x000C0000,
                                            0x00001000);
@@ -307,8 +339,14 @@
     mmioFlags = VIDMEM_MMIO | VIDMEM_READSIDEEFFECT;
     pNv->riva.PRAMIN = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                      regBase+0x00710000, 0x00010000);
+#ifdef __alpha__
+    /* map 8K instead of 4K, so PCIO is subsumed. */
+    pNv->riva.PCRTC  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
+                                     regBase+0x00600000, 0x00002000);
+#else
     pNv->riva.PCRTC  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                      regBase+0x00600000, 0x00001000);
+#endif
 
     NVCommonSetup(pScrn);
 }
@@ -328,8 +366,14 @@
     mmioFlags = VIDMEM_MMIO | VIDMEM_READSIDEEFFECT;
     pNv->riva.PRAMIN = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                      regBase+0x00710000, 0x00010000);
+#ifdef __alpha__
+    /* map 8K instead of 4K, so PCIO is subsumed. */
+    pNv->riva.PCRTC  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
+                                     regBase+0x00600000, 0x00002000);
+#else
     pNv->riva.PCRTC  = xf86MapPciMem(pScrn->scrnIndex, mmioFlags, pNv->PciTag,
                                      regBase+0x00600000, 0x00001000);
+#endif
 
     NVCommonSetup(pScrn);
 }

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26  4:13 ` Peter Petrakis
  2000-11-26  4:42   ` Christopher C. Chimelis
@ 2000-11-26  6:16   ` Alan Young
  2000-11-26 15:32     ` Peter Petrakis
  2000-11-27  0:54     ` Rich Payne
  1 sibling, 2 replies; 13+ messages in thread
From: Alan Young @ 2000-11-26  6:16 UTC (permalink / raw)
  To: axp-list; +Cc: Dave Gilbert, Peter Petrakis, kbagel, chris

Hi,
 
I'll second that makefile fix.  I recall having to make that change
to the Glide3-64 makefile back in September.  I guess the change never
made it back into CVS...

FYI 32MB PCI Geforce2 MX's can be had for $157 at www.bunta.com.
I have one running a Pentium MMX machine.  I've tried booting with
it in my LX box and AlphaBIOS 5.70, but it doesn't init the video BIOS
in the card.  The machine still boots though.  The Xfree Nvidia patches
may just be enough for me to finally flash SRM and try the card there.

Alan

Peter Petrakis wrote:
> 
> You don't say? Thank you. I'll start building some RPMS tomorrow.
> On a side note I have some patches I got from Jay that made there
> way to Chris for Xfree nvidia support which he got working. Hopefully
> I can apply those patches to this source tree. I Just need people to
> test it .
> 
> FWI 32MB PCI TNT2's can be had for $75 :-) , www.pricewatch.com
> 
> Peter
> 
> Dave Gilbert wrote:
> 
> > Hi All,
> >   I've just got DRI working on my LX board with Voodoo 3000 PCI; I had the
> > same illegal instruction problem.
> >
> > The problem appears to be that the Glide3 source in
> > Glide3/swlibs/include/make there is the line at line 55 which says:
> >
> > GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6
> >
> > which is fine for all those of you with nice new shiny EV6s but those of
> > us with ev56 have problems; I changed that to -mcpu=ev56  redid the
> > configuration completely of the glide code and remade/reinstalled glide3
> > and everything springs into life.
> >
> > Boy is sproingies fast :-)
> >
> > Dave




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26  6:16   ` Alan Young
@ 2000-11-26 15:32     ` Peter Petrakis
  2000-11-27  2:58       ` Alan Young
  2000-11-27  0:54     ` Rich Payne
  1 sibling, 1 reply; 13+ messages in thread
From: Peter Petrakis @ 2000-11-26 15:32 UTC (permalink / raw)
  To: axp-list

Alan, SRM 5.8 should initialize the card. I've seen this on a Dp264 and 
164LX
with a 8MB TNT2 card. Could you try upgrading to 5.8 and try out that 
Geforce
card again? Just to be sure. 

Peter

Alan Young wrote:

> Hi,
>  
> I'll second that makefile fix.  I recall having to make that change
> to the Glide3-64 makefile back in September.  I guess the change never
> made it back into CVS...
> 
> FYI 32MB PCI Geforce2 MX's can be had for $157 at www.bunta.com.
> I have one running a Pentium MMX machine.  I've tried booting with
> it in my LX box and AlphaBIOS 5.70, but it doesn't init the video BIOS
> in the card.  The machine still boots though.  The Xfree Nvidia patches
> may just be enough for me to finally flash SRM and try the card there.
> 
> Alan
> 
> Peter Petrakis wrote:
> 
>> You don't say? Thank you. I'll start building some RPMS tomorrow.
>> On a side note I have some patches I got from Jay that made there
>> way to Chris for Xfree nvidia support which he got working. Hopefully
>> I can apply those patches to this source tree. I Just need people to
>> test it .
>> 
>> FWI 32MB PCI TNT2's can be had for $75 :-) , www.pricewatch.com
>> 
>> Peter
>> 
>> Dave Gilbert wrote:
>> 
>> 
>>> Hi All,
>>>   I've just got DRI working on my LX board with Voodoo 3000 PCI; I had the
>>> same illegal instruction problem.
>>> 
>>> The problem appears to be that the Glide3 source in
>>> Glide3/swlibs/include/make there is the line at line 55 which says:
>>> 
>>> GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6
>>> 
>>> which is fine for all those of you with nice new shiny EV6s but those of
>>> us with ev56 have problems; I changed that to -mcpu=ev56  redid the
>>> configuration completely of the glide code and remade/reinstalled glide3
>>> and everything springs into life.
>>> 
>>> Boy is sproingies fast :-)
>>> 
>>> Dave
>> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 
> 






^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
@ 2000-11-26 21:07 Greg Meno
  2000-11-27  9:50 ` Dr. David Gilbert
  0 siblings, 1 reply; 13+ messages in thread
From: Greg Meno @ 2000-11-26 21:07 UTC (permalink / raw)
  To: Dave Gilbert; +Cc: axp-list

I rebuilt Glide and now I don't get illegal operations
but I still have no acceleration.

When I try to build Mesa it complains about
libglide3.la not being a lib tool archive...

And when I build X it never builds libGLU.so

What versions of Glide/XFree/Mesa are you using?

TIA
Greg Meno
--- Dave Gilbert <gilbertd@treblig.org> wrote:
> Hi All,
>   I've just got DRI working on my LX board with
> Voodoo 3000 PCI; I had the
> same illegal instruction problem.
> 
> The problem appears to be that the Glide3 source in
> Glide3/swlibs/include/make there is the line at line
> 55 which says:
> 
> GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6
> 
> which is fine for all those of you with nice new
> shiny EV6s but those of
> us with ev56 have problems; I changed that to
> -mcpu=ev56  redid the
> configuration completely of the glide code and
> remade/reinstalled glide3
> and everything springs into life.
> 
> Boy is sproingies fast :-)
> 
> Dave
>  
> -- 
>  ---------------- Have a happy GNU millennium!
> ----------------------   
> / Dr. David Alan Gilbert      | Running GNU/Linux on
>       |  Happy  \ 
> \   gro.gilbert @ treblig.org |  Alpha, x86, ARM and
> SPARC |  In Hex /
>  ____________________________|___
> http://www.treblig.org  |________/
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26  6:16   ` Alan Young
  2000-11-26 15:32     ` Peter Petrakis
@ 2000-11-27  0:54     ` Rich Payne
  1 sibling, 0 replies; 13+ messages in thread
From: Rich Payne @ 2000-11-27  0:54 UTC (permalink / raw)
  To: axp-list

Just something to PLEASE keep in mind:

TNT2 card only appear to work with SRM 5.8, if 5.8 isn't available for
your machine then your out of luck.

I just would hate for people with AS200s or Multias or PC164s etc...to try
this....

(FWIW, I know 5.8 is available for LX, SX and most EV6(7) machines).

--rdp

On Sat, 25 Nov 2000, Alan Young wrote:

> Hi,
>  
> I'll second that makefile fix.  I recall having to make that change
> to the Glide3-64 makefile back in September.  I guess the change never
> made it back into CVS...
> 
> FYI 32MB PCI Geforce2 MX's can be had for $157 at www.bunta.com.
> I have one running a Pentium MMX machine.  I've tried booting with
> it in my LX box and AlphaBIOS 5.70, but it doesn't init the video BIOS
> in the card.  The machine still boots though.  The Xfree Nvidia patches
> may just be enough for me to finally flash SRM and try the card there.
> 
> Alan
> 
> Peter Petrakis wrote:
> > 
> > You don't say? Thank you. I'll start building some RPMS tomorrow.
> > On a side note I have some patches I got from Jay that made there
> > way to Chris for Xfree nvidia support which he got working. Hopefully
> > I can apply those patches to this source tree. I Just need people to
> > test it .
> > 
> > FWI 32MB PCI TNT2's can be had for $75 :-) , www.pricewatch.com
> > 
> > Peter
> > 
> > Dave Gilbert wrote:
> > 
> > > Hi All,
> > >   I've just got DRI working on my LX board with Voodoo 3000 PCI; I had the
> > > same illegal instruction problem.
> > >
> > > The problem appears to be that the Glide3 source in
> > > Glide3/swlibs/include/make there is the line at line 55 which says:
> > >
> > > GLIDE_DEBUG_GCFLAGS = -O2 -mcpu=ev6
> > >
> > > which is fine for all those of you with nice new shiny EV6s but those of
> > > us with ev56 have problems; I changed that to -mcpu=ev56  redid the
> > > configuration completely of the glide code and remade/reinstalled glide3
> > > and everything springs into life.
> > >
> > > Boy is sproingies fast :-)
> > >
> > > Dave
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 

-- 
Rich Payne
rpayne@alphalinux.org			www.alphalinux.org




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26 15:32     ` Peter Petrakis
@ 2000-11-27  2:58       ` Alan Young
  0 siblings, 0 replies; 13+ messages in thread
From: Alan Young @ 2000-11-27  2:58 UTC (permalink / raw)
  To: axp-list

Hi Peter,

I flashed my LX with SRM 5.8-1 (06/21/00 11:29am) and it initializes the
card just fine.  The BIOS version on the card is Nvidia 3.11.00.08.00.

Alan

Peter Petrakis wrote:
> 
> Alan, SRM 5.8 should initialize the card. I've seen this on a Dp264 and
> 164LX with a 8MB TNT2 card. Could you try upgrading to 5.8 and try out
> that Geforce card again? Just to be sure.
> 
> Peter




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-26 21:07 Greg Meno
@ 2000-11-27  9:50 ` Dr. David Gilbert
  2000-11-27 10:56   ` Christian Iseli
  0 siblings, 1 reply; 13+ messages in thread
From: Dr. David Gilbert @ 2000-11-27  9:50 UTC (permalink / raw)
  To: axp-list

On Sun, 26 Nov 2000, Greg Meno wrote:

> When I try to build Mesa it complains about
> libglide3.la not being a lib tool archive...

Hmm not had that one I'm agraid; when you say 'try to build Mesa' - this
isn't something one does separatly; it should just come out of the X
build.

> And when I build X it never builds libGLU.so

Indeed; libGLU and libglut are not distributed with X because they are
licensed under a slightly incompatible license; the source is available
(anyone got pointers to an easy to build set?).

> What versions of Glide/XFree/Mesa are you using?

I'm using the Glide3-64 stuff sucked out of CVS, with XFree 4.0.1f and
using the Mesa that came with XFree.

Dave

-- 
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org            http://www.treblig.org         |
\------------------------------------------------------------------/




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DRI, Glide, and 2+ days of hacktivity (fixed!)
  2000-11-27  9:50 ` Dr. David Gilbert
@ 2000-11-27 10:56   ` Christian Iseli
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Iseli @ 2000-11-27 10:56 UTC (permalink / raw)
  To: axp-list

gilbertd@treblig.org said:
> Indeed; libGLU and libglut are not distributed with X because they are
> licensed under a slightly incompatible license; the source is
> available (anyone got pointers to an easy to build set?). 

I use those of Mesa with no apparent trouble.  I have put an SRPM and RPMs in
ftp://ftp.licr.org/pub/Linux/SRPMS/Mesa-3.2.1-CI.2.src.rpm
ftp://ftp.licr.org/pub/Linux/RPMS/alpha/Mesa-3.2.1-CI.2.alpha.rpm
ftp://ftp.licr.org/pub/Linux/RPMS/alpha/Mesa-gl-3.2.1-CI.2.alpha.rpm
in case you want them.  You probably only want the first two, since the last 
is the GL stuff that's already included in XFree.

Cheers,
					Christian





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2000-11-27 10:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-25 23:51 DRI, Glide, and 2+ days of hacktivity (fixed!) Dave Gilbert
2000-11-26  3:11 ` Christopher C. Chimelis
2000-11-26  4:13 ` Peter Petrakis
2000-11-26  4:42   ` Christopher C. Chimelis
2000-11-26  4:56     ` Peter Petrakis
2000-11-26  6:00       ` Christopher C. Chimelis
2000-11-26  6:16   ` Alan Young
2000-11-26 15:32     ` Peter Petrakis
2000-11-27  2:58       ` Alan Young
2000-11-27  0:54     ` Rich Payne
  -- strict thread matches above, loose matches on Subject: below --
2000-11-26 21:07 Greg Meno
2000-11-27  9:50 ` Dr. David Gilbert
2000-11-27 10:56   ` Christian Iseli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox