Skip to contentSkip to conversation

How to get up-to-speed on the 3D / DRI in Rage 128

DISCUSSION Kevin B. Hendricks 4 participants 7 messages Aug 8, 2000 – Aug 9, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

I am about to start the Java 3D port to ppc and wanted to get some accelerated 3D capabilities for rage 128 going first.

I have noticed a few patches fly by recently on exactly this issue (also fixes to panning, etc).

What is the best way to get up to speed quickly here?

I have the xf 401 src tar archives and I can get a hold of ani's cvs of the xfree86 tree.

What other patches/fixes do I need to get going?

- aty128fb.c patches for panning?
- DRI patches?
- etc

Any quick pointers would be greatly appreciated.

BTW: We really do need a developers searchable patch archive for major systems like XFree 4.0, the kernel, drivers, gcc, binutils, glibc, etc

Thanks

Kevin

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

#1 lore raw
Quoted 2 lines · Kevin B. Hendricks

I have the xf 401 src tar archives and I can get a hold of ani's cvs of the xfree86 tree.

I haven't used Ani's patches, and I seem to be the only one running DRI successfully so far. Maybe better try without them first.

Quoted 3 lines

What other patches/fixes do I need to get going?

- aty128fb.c patches for panning?

Not needed, you can use the full screen.

Quoted 1 line

- DRI patches?

Yep. What I'm running is the DRI CVS trunk (which is basically X 4.0.1 and some DRI changes) and a patch that I've posted to dri-devel. If you can't get it from there, I can send it to you privately or put it up for HTTP download.

(Jack Howarth should have it as well)

Quoted 1 line

- etc

That's all I can think of ATM.

Good luck Kevin,

Michel

--
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/

#2 lore raw
Quoted 5 lines · Michel Dänzer
Quoted 2 lines · Kevin B. Hendricks

I have the xf 401 src tar archives and I can get a hold of ani's cvs of the xfree86 tree.

Hi Michel,

Quoted 5 lines
Quoted 1 line

- DRI patches?

Yep. What I'm running is the DRI CVS trunk (which is basically X 4.0.1 and some DRI changes) and a patch that I've posted to dri-devel. If you can't get it from there, I can send it to you privately or put it up for...

Yes, I found patches named drm-r128.diff and drm_panning.patch you posted recently to the dev list.

Where or how do I go about getting the DRI CVS trunk? Is this a project on sourceforge? Is there anonymous cvs access?

Quoted 1 line

That's all I can think of ATM.

Great.

Thanks Michel

Kevin

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

#3 lore raw
Quoted 8 lines · Kevin B. Hendricks
Quoted 5 lines
Quoted 1 line

- DRI patches?

Yep. What I'm running is the DRI CVS trunk (which is basically X 4.0.1 and some DRI changes) and a patch that I've posted to dri-devel. If you can't get it from there, I can send it to you privately or put it up for...

Yes, I found patches named drm-r128.diff and drm_panning.patch you posted recently to the dev list.

The second one is just for aty128fb's panning and not directly related to DRI.

The first one is to get the DRM kernel module working, but you can also build that from the DRI tree - read below ...

Quoted 2 lines

Where or how do I go about getting the DRI CVS trunk? Is this a project on sourceforge? Is there anonymous cvs access?

The great news is that I've just been added to the DRI project at sourceforge
(http://dri.sourceforge.net). I'll start a PPC branch which you should be able to just checkout and build and it should work (and which will eventually be integrated into the trunk of course :).

I'll post the announcement for that branch to this list as well.

Michel

--
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/

#4 lore raw
Quoted 7 lines · Michel Dänzer
Quoted 2 lines

Where or how do I go about getting the DRI CVS trunk? Is this a project on sourceforge? Is there anonymous cvs access?

The great news is that I've just been added to the DRI project at sourceforge (http://dri.sourceforge.net). I'll start a PPC branch which you should be able to just checkout and build and it should work (and which will eventually be integrated into the trunk of course :).

Unfortunately, it takes some time for my write access to the repository to take effect (until some cron job at sourceforge adds me to group dri ;) .

I've put a diff of the modifications I made up here for the impatient:

http://n.ethz.ch/student/daenzerm/download/XFree86/dri.diff.bz2

Checking out the DRI CVS trunk and applying this patch should enable you to do 'make World; make install' and use DRI. YMMV :)

Michel

--
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/

#5 lore raw
In reply to Michel D�nzer
Quoted 19 lines
Quoted 3 lines

I have the xf 401 src tar archives and I can get a hold of ani's cvs of the xfree86 tree.

I haven't used Ani's patches, and I seem to be the only one running DRI successfully so far. Maybe better try without them first.

Quoted 3 lines

What other patches/fixes do I need to get going?

- aty128fb.c patches for panning?

Not needed, you can use the full screen.

Quoted 1 line

- DRI patches?

Yep. What I'm running is the DRI CVS trunk (which is basically X 4.0.1 and some DRI changes) and a patch that I've posted to dri-devel. If you can't get it from there, I can send it to you privately or put it up for HTTP download.

Quoted 5 lines

(Jack Howarth should have it as well)

Quoted 1 line

- etc

That's all I can think of ATM.

Please let me understand... I d/l the latest X + DRI patches and I compile them. If all goes right I get a working X, but how can I use the 3D acceleration ? Do I need a patched version of Mesa too, or what ?

Bye.

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

#6 lore raw
Quoted 3 lines · Giuliano Pochini

Please let me understand... I d/l the latest X + DRI patches and I compile them. If all goes right I get a working X, but how can I use the 3D acceleration ?

For the user aspects of DRI, check the DRI user guide at sourceforge and/or the dri-user mailing list there.

Quoted 1 line

Do I need a patched version of Mesa too, or what ?

No, the needed libGL is included.

Michel

--
Why drink & drive when you can smoke and fly???
______________________________________________________________________________
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/