All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michel Dänzer <daenzerm@student.ethz.ch>
To: Kostas Gewrgiou <gewrgiou@imbc.gr>
Cc: SteffenH@hyperion-software.de, Iain Sandoe <iain@sandoe.co.uk>,
	takashi oe <toe@unlserve.unl.edu>,
	dri-devel@lists.sourceforge.net, linuxppc-dev@lists.linuxppc.org,
	Benjamin Herrenschmidt <bh40@calva.net>
Subject: Kind of success! (r128 on PPC (Re: LinuxPPC X Server))
Date: Fri, 04 Aug 2000 17:03:51 +0200	[thread overview]
Message-ID: <398ADB57.9ABEDC6F@student.ethz.ch> (raw)
In-Reply-To: Pine.LNX.4.21.0008031541210.6020-100000@idd-01.imbc.gr


[For the linuxppc-dev people: this is about the DRI CVS trunk]

Kostas Gewrgiou wrote:

> > GL clients even seem to attempt direct rendering now, however I get one of
> > two different errors every time:
> >
> > Error: Rage 128 timed out... exiting
> >
> > Error: Could not submit packet... exiting
>
>   From what i see the problem is probably in the R128_READ/WRITE macros in
> r128_drv.h you need byteswapping functions there (and memory barriers as
> usual).

That did it, thanks! I changed those macros to use the same inline functions
which are used for MMIO_{IN,OUT} on PPC, and here we go!


The remaining problems are:

16 bit doesn't work neither with fbdev (colors completely off - does aty128fb
still use 15 bit in fact?) nor without (at least the grey tones are right
there - wrong endianness?)

At 32 bit, it flickers badly on my Pismo, probably because it only has 8 megs
of VRAM. (These messages appear in the log:
(EE) r128(0): Unable to reserve depth buffer
(EE) r128(0): Unable to reserve texture space in frame buffer
) Curious how it works out for people with more...


About performance: It's much better than software rendering (at least for big
windows) of course, however not too fast with lots of polygons. AGP GART would
definitely be a good thing I guess (Ben: hint, hint :)


Still, big kudos to the DRI team for a great work!

Michel


--
Sometimes you have to stride boldly up to life,
 look it straight in the eye, and say "huh?"
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86, Team *AMIGA*, AUGS

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2000-08-04 15:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.21.0008031541210.6020-100000@idd-01.imbc.gr>
2000-08-04 15:03 ` Michel Dänzer [this message]
2000-08-04 17:03   ` Kind of success! (r128 on PPC (Re: LinuxPPC X Server)) Michel Dänzer
2000-08-04 17:50     ` Benjamin Herrenschmidt
2000-08-05 14:35       ` Michel Dänzer
2000-08-05 18:22   ` Kostas Gewrgiou
2000-08-05 18:43     ` Benjamin Herrenschmidt
2000-08-07  7:08       ` [Dri-devel] " Michel Dänzer
2000-08-07 13:31         ` Josh Huber
2000-08-08 12:35           ` Geert Uytterhoeven
2000-08-08 13:13             ` Josh Huber
2000-08-08 13:55               ` Geert Uytterhoeven
2000-08-08 16:54               ` Michael Schmitz
2000-08-09 14:20                 ` Geert Uytterhoeven
2000-08-09 20:20                   ` Michael Schmitz
2000-08-09 21:27                     ` Geert Uytterhoeven
2000-08-05 18:45     ` Gareth Hughes
2000-08-07  7:14     ` Michel Dänzer
2000-08-07 18:09       ` Kostas Gewrgiou
2000-08-07 19:51         ` Sven Goethel
2000-08-08  8:46           ` [Dri-devel] Re: Kind of success! (r128 on PPC (Re: LinuxPPC XServer)) Michel Dänzer
2000-08-08  8:51         ` Michel Dänzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=398ADB57.9ABEDC6F@student.ethz.ch \
    --to=daenzerm@student.ethz.ch \
    --cc=SteffenH@hyperion-software.de \
    --cc=bh40@calva.net \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=gewrgiou@imbc.gr \
    --cc=iain@sandoe.co.uk \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=toe@unlserve.unl.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.