Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Peter Andersson
> Please do the following tasks via telnet and report back to the list: > - Copy the Xfree86.0.log to a safe place and post it here. Its attatched to this email. > > - Check if X is still running or not (ps -A | grep X) and point down > it's pid, and if it is do: >- do "gdb " >-

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread José Fonseca
Since my last reply that Yahoo hasn't delivering emails to me and I'm not sure if you'll receive this one or not either. To make things even worse I'll be away for the next couple days and I don't expect to be able to check my mail. I just read some of the replies in the list archive and it se

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Alan Hourihane
On Wed, Apr 24, 2002 at 03:24:17PM -0400, Leif Delgass wrote: > I was looking at the code in glint_dri.c to add the page table thinking > that we could set the DRM_RESTRICTED flag for the descriptor table as is > done there. However, in looking at drmAddBufs and the ioctl, the last arg > is the a

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Frank C . Earl
On Wednesday 24 April 2002 11:31 am, Leif Delgass wrote: > I know you need to flag the final descriptor at the end of the pass by > setting END_OF_LIST_STATUS in BM_COMMAND (third dword of the descriptor). > In Utah-glx, there's also a series of register writes added to end of the > buffer to "go

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Frank C . Earl
On Wednesday 24 April 2002 11:32 am, you wrote: > Regardless of security concerns, the idea was to use this primary buffer > for storing the state update emitted from the DRM. The first entry of > the descriptor table would point to this primary buffer, and the > followings to the client submitte

[Dri-devel] >>>Free investment info.<<

2002-04-24 Thread Judie2335t46
Warning Unable to process data: multipart/mixed;boundary="=_NextPart_000_00E7_14E65D2E.D7854E83"

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Leif Delgass
On 24 Apr 2002, Jose Fonseca wrote: > On Wed, 2002-04-24 at 14:13, Jens Owen wrote: > > ... > > > > Jose, > > > > I don't have a complete answer for you, but here is *some* background > > information that might help. > > > > The drmAddBufs style was created with the origianal DRI infrastructur

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread José Fonseca
On 2002.04.24 19:36 Peter Andersson wrote: >> >> >> Please supply more information about the failure. Is there any message >> on the system log (usually /var/log/messages). Can you access the >> computer trhu network after the hang? >> > Yes, i can access the computer after the hang, via telnet

Re: [Dri-devel] glXGetProcAddress question

2002-04-24 Thread Brian Paul
Ian Romanick wrote: > > On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: > > > Well, you're doing something you're not supposed to do & as a result > > glXGetProcAddress isn't working right. > > > > Do you really need to call your symbol glBegin? How about xyzBegin or > > similar

Re: [Dri-devel] glXGetProcAddress question

2002-04-24 Thread Keith Whitwell
Ian Romanick wrote: > > On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: > > > Well, you're doing something you're not supposed to do & as a result > > glXGetProcAddress isn't working right. > > > > Do you really need to call your symbol glBegin? How about xyzBegin or > > similar

Re: [Dri-devel] Linux DRM update needed (volunteers?)

2002-04-24 Thread Keith Whitwell
Alan Hourihane wrote: > > On Wed, Apr 24, 2002 at 12:19:25PM -0600, Jens Owen wrote: > > Alan, > > > > Mike Mestnik has kindly volunteered to get the 4.2 DRM modules submitted > > to the Linux kernel. I'd forgotten about the tar ball you have on your > > XFree86 page. Do you know if anybody is

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Peter Andersson
> > >Please supply more information about the failure. Is there any message >on the system log (usually /var/log/messages). Can you access the >computer trhu network after the hang? > Yes, i can access the computer after the hang, via telnet and ftp. Although i cannot shut down the computer via t

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread José Fonseca
On 2002.04.24 19:09 Jens Owen wrote: > ... > > Jose, > > I recall hearing that having an AGP vs. PCI bus connection is > independent of whether you can use the GART functionality or not. > Something along the lines of it's possible to plug a Rage128 into a PCI > slot and still have the page mapp

Re: [Dri-devel] Linux DRM update needed (volunteers?)

2002-04-24 Thread Alan Hourihane
On Wed, Apr 24, 2002 at 12:19:25PM -0600, Jens Owen wrote: > Alan, > > Mike Mestnik has kindly volunteered to get the 4.2 DRM modules submitted > to the Linux kernel. I'd forgotten about the tar ball you have on your > XFree86 page. Do you know if anybody is already working on this--I'm > just

Re: [Dri-devel] Linux DRM update needed (volunteers?)

2002-04-24 Thread Jens Owen
Alan, Mike Mestnik has kindly volunteered to get the 4.2 DRM modules submitted to the Linux kernel. I'd forgotten about the tar ball you have on your XFree86 page. Do you know if anybody is already working on this--I'm just trying to make sure we don't duplicate effort. Mike Mestnik wrote: >

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Aaron Holtzman
It would seem that Ian Romanick ([EMAIL PROTECTED]) said: > Doing a quick check on eBay found PCI G200 (and older!) cards, but no G400+ > cards. It also turned up a couple Savage4 PCI cards, a Trident Blade3D > card, and an SiS 6326 card. The other question, that may be more difficult > to answe

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Jens Owen
Jose Fonseca wrote: > > On Wed, 2002-04-24 at 14:13, Jens Owen wrote: > > I believe the r128 driver's PCI support still utilizes GART > > functionality to allow non-contiguous memory to be utilized. Your > > driver may be the first to need true PCI support, and *possibly* the > > last to need i

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Jose Fonseca
On Wed, 2002-04-24 at 18:33, Peter Andersson wrote: > I have applied the patch and recompiled the entire "dri tree" and still This is not necessary. Once you build it once, you just need to go the directory where the change was and make make su -c "make install" unless it's in the kernel dir

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Ian Romanick
On Wed, Apr 24, 2002 at 06:42:21PM +0100, Jose Fonseca wrote: > On Wed, 2002-04-24 at 14:13, Jens Owen wrote: > > I believe the r128 driver's PCI support still utilizes GART > > functionality to allow non-contiguous memory to be utilized. Your > > driver may be the first to need true PCI support,

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Jose Fonseca
On Wed, 2002-04-24 at 14:13, Jens Owen wrote: > ... > > Jose, > > I don't have a complete answer for you, but here is *some* background > information that might help. > > The drmAddBufs style was created with the origianal DRI infrastructure > that supported a partial implementation of the Gamm

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Peter Andersson
I have applied the patch and recompiled the entire "dri tree" and still experience the same problems, eg the computer hangs when i try to use open gl applications. Could this be a result of the program trying to use the "xv" display method? As i have understood there are no hardware accelerate

Re: [Dri-devel] glXGetProcAddress question

2002-04-24 Thread Ian Romanick
On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: > Well, you're doing something you're not supposed to do & as a result > glXGetProcAddress isn't working right. > > Do you really need to call your symbol glBegin? How about xyzBegin or > similar? I have managed to solve this prob

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Jose Fonseca
On Wed, 2002-04-24 at 16:49, Frank C.Earl wrote: > On Wednesday 24 April 2002 06:15 am, you wrote: > > Hi, there! > > > For enabling DMA on Mach64 I'll need to allocate two extra DMA buffers: a > > primary DMA buffer and a decription table buffer. > > All you need for now is a descriptor table.

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Leif Delgass
On Wed, 24 Apr 2002, Frank C. Earl wrote: > On Wednesday 24 April 2002 06:15 am, you wrote: > > Hi, there! > > > For enabling DMA on Mach64 I'll need to allocate two extra DMA buffers: a > > primary DMA buffer and a decription table buffer. > > All you need for now is a descriptor table. The

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Frank C . Earl
On Wednesday 24 April 2002 06:15 am, you wrote: Hi, there! > For enabling DMA on Mach64 I'll need to allocate two extra DMA buffers: a > primary DMA buffer and a decription table buffer. All you need for now is a descriptor table. The buffers that you have already allocated via the DRM's fram

Re: [Dri-devel] Status of tcl branch

2002-04-24 Thread Adam K Kirchhoff
I haven't had much chance to do testing recently, but hopefully tonight. What I have noticed so far (with a Radeon 7500): There are still some rendering anamolies with tuxracer (which I believe someone else also mentioned). Namely, the ice is very blocky. Gltron has some issu

Re: [Dri-devel] How to allocate DMA memory

2002-04-24 Thread Jens Owen
"José Fonseca" wrote: > > For enabling DMA on Mach64 I'll need to allocate two extra DMA buffers: a > primary DMA buffer and a decription table buffer. > > The way most cards (R128,MGA) do this is to map (on the DDX) pieces of AGP > memory for these extra buffers, but this isn't possible with PC

Re: [Dri-devel] Linux DRM update needed (volunteers?)

2002-04-24 Thread Michel Dänzer
On Tue, 2002-04-23 at 19:27, Jens Owen wrote: > > BTW, does anyone know what the dri-4.0 modules are used for? They are > seriously out of date. I think they're intended for use with XFree86 4.0.x where we broke backwards compatibility. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linu

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Michel Dänzer
On Wed, 2002-04-24 at 12:57, Peter Andersson wrote: > > > >Anyway, MACH64_{READ,WRITE} will likely have to be changed to use > >{in,out}_le32 (in mach64_drv.h) for it to work on PPC. > > You are probably right here because although the driver is loaded it > hangs when i try to use OpenGL applica

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread José Fonseca
On 2002.04.24 12:41 Michel Dänzer wrote: > On Wed, 2002-04-24 at 10:52, José Fonseca wrote: > > On 2002.04.24 09:34 Michel Dänzer wrote: > > > ... > > > > > > Anyway, MACH64_{READ,WRITE} will likely have to be changed to use > > > {in,out}_le32 (in mach64_drv.h) for it to work on PPC. > > > > > >

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Michel Dänzer
On Wed, 2002-04-24 at 10:52, José Fonseca wrote: > On 2002.04.24 09:34 Michel Dänzer wrote: > > ... > > > > Anyway, MACH64_{READ,WRITE} will likely have to be changed to use > > {in,out}_le32 (in mach64_drv.h) for it to work on PPC. > > > > As Peter managed to get everything to compile, yesterd

[Dri-devel] How to allocate DMA memory

2002-04-24 Thread José Fonseca
For enabling DMA on Mach64 I'll need to allocate two extra DMA buffers: a primary DMA buffer and a decription table buffer. The way most cards (R128,MGA) do this is to map (on the DDX) pieces of AGP memory for these extra buffers, but this isn't possible with PCI only cards (i.e., without AGP/

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Peter Andersson
> > > >Anyway, MACH64_{READ,WRITE} will likely have to be changed to use >{in,out}_le32 (in mach64_drv.h) for it to work on PPC. > You are probably right here because although the driver is loaded it hangs when i try to use OpenGL applications, so far i have only tried games prboom (doom clone)

[Dri-devel] $10,000 could return $25,000! See how.

2002-04-24 Thread Candi2738o72
Warning Unable to process data: multipart/mixed;boundary="=_NextPart_000_00B7_82D15B6B.D0134E60"

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread José Fonseca
On 2002.04.24 09:34 Michel Dänzer wrote: > ... > > Anyway, MACH64_{READ,WRITE} will likely have to be changed to use > {in,out}_le32 (in mach64_drv.h) for it to work on PPC. > As Peter managed to get everything to compile, yesterday I was looking into this but when looking at r128_drv.h but it

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Michel Dänzer
On Wed, 2002-04-24 at 07:44, Peter Andersson wrote: > > The second problem is that the kernel identifies my graphicsboard as pci > while it is in fact agp. This might be due to a problem i had while > compiling the kernel, agpgart didn´t know what to do with "flush_cache" > for ppc so i had to

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread José Fonseca
On 2002.04.24 07:06 Felix Kühling wrote: > On Wed, 24 Apr 2002 07:44:59 +0200 > Peter Andersson <[EMAIL PROTECTED]> wrote: > > > Okey, i think i have located some of the problems one is that there > > only are 4mb of sdram on my Mach64 graphics board and that the driver > > requests: > > > > (WW

Re: [Dri-devel] Mach64 for ppc xf86-log etc

2002-04-24 Thread Peter Andersson
> > > >I looked at your XFree86-log. It says you're using 32 bit color depth. >Try 16. That will reduce the amount of memory used by 2d and also >increase 3d performance a lot. > You are so right! I set the resolution to 16 bit and everything worked as it should! I now have hardware accalerated 3