* RE: Radeon DRI support patch
@ 2002-01-24 20:47 daRonin
2002-01-24 21:32 ` Derrik Pates
0 siblings, 1 reply; 7+ messages in thread
From: daRonin @ 2002-01-24 20:47 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I install benh kernel and applied your patches on my new Powerbook Titanium.
Seems to be working, it's nice to get more than 400FPS. Unfortunately it still seems to be a bit flaky.
It does freeze the machine randomly when running GLX apps.
daRonin
> Also... you may need to replace your
> /usr/X11R6/lib/modules/drivers/radeon_drv.o with
> http://www.unixbox.com/~ajoshi/radeon_drv.o.bz2
> ani
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Radeon DRI support patch
2002-01-24 20:47 Radeon DRI support patch daRonin
@ 2002-01-24 21:32 ` Derrik Pates
2002-01-25 4:59 ` Michel Lanners
2002-01-31 0:39 ` daRonin
0 siblings, 2 replies; 7+ messages in thread
From: Derrik Pates @ 2002-01-24 21:32 UTC (permalink / raw)
To: daRonin; +Cc: linuxppc-dev
On Thu, 24 Jan 2002, daRonin wrote:
> I install benh kernel and applied your patches on my new Powerbook Titanium.
>
> Seems to be working, it's nice to get more than 400FPS. Unfortunately it still seems to be a bit flaky.
>
> It does freeze the machine randomly when running GLX apps.
That's the ever-lovely UniNorth AGP adding joy to your day. Ben's still
working on getting the kinks out of supporting it - it's weird.
Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet
dpates@dsdk12.net | District (dsdk12.net) | #linuxOS on OPN
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Radeon DRI support patch
2002-01-24 21:32 ` Derrik Pates
@ 2002-01-25 4:59 ` Michel Lanners
2002-01-25 7:26 ` Tony 'Nicoya' Mantler
2002-01-31 0:39 ` daRonin
1 sibling, 1 reply; 7+ messages in thread
From: Michel Lanners @ 2002-01-25 4:59 UTC (permalink / raw)
To: linuxppc-dev
On 24 Jan, this message from Derrik Pates echoed through cyberspace:
>
> On Thu, 24 Jan 2002, daRonin wrote:
>
>> I install benh kernel and applied your patches on my new Powerbook Titanium.
>>
>> Seems to be working, it's nice to get more than 400FPS. Unfortunately it still seems to be a bit flaky.
>>
>> It does freeze the machine randomly when running GLX apps.
>
> That's the ever-lovely UniNorth AGP adding joy to your day. Ben's still
> working on getting the kinks out of supporting it - it's weird.
By chance, this would not be something comparable to what has been
discovered for the athlon processor under linux recently? Namely cache
coherency problems between processor and AGP.
>From what I understood (which may be wrong ;-) AGP gart is non-coherent
(by design?) . So, if the processor has a _cacheable_ mapping for the
same memory as the AGP card also has, there can be coherency problems if
the (valid) data in the processor's cache is modified by the AGP card
before the processor writes the cache line back to memory.
It was also mentioned that the erronous behaviour was related to
speculative writes, which are also use on the PPC processors.
Just a shot in the dark...
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Radeon DRI support patch
2002-01-25 4:59 ` Michel Lanners
@ 2002-01-25 7:26 ` Tony 'Nicoya' Mantler
0 siblings, 0 replies; 7+ messages in thread
From: Tony 'Nicoya' Mantler @ 2002-01-25 7:26 UTC (permalink / raw)
To: mlan, linuxppc-dev
At 10:59 PM -0600 1/24/02, Michel Lanners wrote:
[...]
>By chance, this would not be something comparable to what has been
>discovered for the athlon processor under linux recently? Namely cache
>coherency problems between processor and AGP.
>
>>From what I understood (which may be wrong ;-) AGP gart is non-coherent
>(by design?) . So, if the processor has a _cacheable_ mapping for the
>same memory as the AGP card also has, there can be coherency problems if
>the (valid) data in the processor's cache is modified by the AGP card
>before the processor writes the cache line back to memory.
>
>It was also mentioned that the erronous behaviour was related to
>speculative writes, which are also use on the PPC processors.
>
>Just a shot in the dark...
It's not the speculative write that kills the athlon, it's the fact that
the incomplete speculative write dirties the otherwise clean cache line,
which then gets written back unmodified somewhere down the road.
Caching non-coherent segments should be safe-ish so long as you:
1: Write a full cache line, and always a full cache line.
2: Always flush sequentially after writing.
3: Always invalidate sequentially before reading.
The athlon's speculative writes would violate rules #1 and #2. If the PPC
dirties the cache line on it's incomplete speculative writes, then it also
violates the same rules. (Does it? Anyone?)
Of course, if the code itself violates these rules, then all hell breaks
loose. :)
Indeed the simple solution is to turn off caching on AGP-mapped pages.
Cheers - Tony 'Nicoya' Mantler :)
--
Tony "Nicoya" Mantler - Renaissance Nerd Extraordinaire - nicoya@apia.dhs.org
Winnipeg, Manitoba, Canada -- http://nicoya.feline.pp.se/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Radeon DRI support patch
2002-01-24 21:32 ` Derrik Pates
2002-01-25 4:59 ` Michel Lanners
@ 2002-01-31 0:39 ` daRonin
1 sibling, 0 replies; 7+ messages in thread
From: daRonin @ 2002-01-31 0:39 UTC (permalink / raw)
To: Derrik Pates; +Cc: linuxppc-dev
On Thu, 24 Jan 2002, Derrik Pates wrote:
> On Thu, 24 Jan 2002, daRonin wrote:
>
> > I install benh kernel and applied your patches on my new Powerbook Titanium.
> >
> > Seems to be working, it's nice to get more than 400FPS. Unfortunately it still seems to be a bit flaky.
> >
> > It does freeze the machine randomly when running GLX apps.
>
> That's the ever-lovely UniNorth AGP adding joy to your day. Ben's still
> working on getting the kinks out of supporting it - it's weird.
Yes, weird would describe it. After running it for a while, even without
it crashing the system, after a while the GLX libs just seem to disappear
from /usr/X11/lib/modules/extensions. No log or console messages, nothing.
Very weird...
daRonin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Radeon DRI support patch
@ 2002-01-22 1:11 Ani Joshi
2002-01-22 19:51 ` Ani Joshi
0 siblings, 1 reply; 7+ messages in thread
From: Ani Joshi @ 2002-01-22 1:11 UTC (permalink / raw)
To: linuxppc-dev, debian-powerpc, yellowdog-general
For those interested in testing Radeon DRI, I've placed a patch located at
http://www.unixbox.com/~ajoshi/radeon-dri.diff which whould patch cleanly
against recent Ben H.'s kernel. You must turn on AGPgart support, PCIgart
isn't done yet.
Also, you will need to replace your
/usr/X11R6/lib/modules/dri/radeon_dri.so with
http://www.unixbox.com/~ajoshi/radeon_dri.so.bz2
This was tested on a G4 Dual800 w/ Radeon AGP 32MB board, your results may
vary, so please include machine specs if you reply.
ani
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Radeon DRI support patch
2002-01-22 1:11 Ani Joshi
@ 2002-01-22 19:51 ` Ani Joshi
0 siblings, 0 replies; 7+ messages in thread
From: Ani Joshi @ 2002-01-22 19:51 UTC (permalink / raw)
To: linuxppc-dev, debian-powerpc, yellowdog-general
Also... you may need to replace your
/usr/X11R6/lib/modules/drivers/radeon_drv.o with
http://www.unixbox.com/~ajoshi/radeon_drv.o.bz2
ani
On Mon, 21 Jan 2002, Ani Joshi wrote:
> For those interested in testing Radeon DRI, I've placed a patch located at
> http://www.unixbox.com/~ajoshi/radeon-dri.diff which whould patch cleanly
> against recent Ben H.'s kernel. You must turn on AGPgart support, PCIgart
> isn't done yet.
>
> Also, you will need to replace your
> /usr/X11R6/lib/modules/dri/radeon_dri.so with
>
> http://www.unixbox.com/~ajoshi/radeon_dri.so.bz2
>
> This was tested on a G4 Dual800 w/ Radeon AGP 32MB board, your results may
> vary, so please include machine specs if you reply.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-01-31 0:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-24 20:47 Radeon DRI support patch daRonin
2002-01-24 21:32 ` Derrik Pates
2002-01-25 4:59 ` Michel Lanners
2002-01-25 7:26 ` Tony 'Nicoya' Mantler
2002-01-31 0:39 ` daRonin
-- strict thread matches above, loose matches on Subject: below --
2002-01-22 1:11 Ani Joshi
2002-01-22 19:51 ` Ani Joshi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).