Welcome, Guest. Please login or register.

Author Topic: OpenPCI Radeon driver  (Read 7009 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
OpenPCI Radeon driver
« on: December 02, 2012, 06:55:27 PM »
http://www.a1k.org/forum/showthread.php?t=35144

mediator (bigbox/z3)
prometheus
amithlon
 

Offline XDelusion

  • Alien Breeder
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 5089
    • Show only replies by XDelusion
    • http://starwarslegacy.net/
Re: OpenPCI Radeon driver
« Reply #1 on: December 03, 2012, 03:02:57 AM »
Grrrrr... must set up Amithlon machine to test this with!!!
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: OpenPCI Radeon driver
« Reply #2 on: December 03, 2012, 03:17:04 AM »
Can I have 250MB gfx mem +6MB shared PCI mem?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: OpenPCI Radeon driver
« Reply #3 on: December 04, 2012, 12:16:05 PM »
Great news :-)
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline slaapliedje

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2010
  • Posts: 843
  • Country: 00
  • Thanked: 1 times
    • Show only replies by slaapliedje
Re: OpenPCI Radeon driver
« Reply #4 on: December 05, 2012, 03:28:03 AM »
Quote from: ChaosLord;717261
Can I have 250MB gfx mem +6MB shared PCI mem?

According to another thread I've been in, the 128MB issue is due to the way the Radeon 92xx's memory banks are set up.  Instead of one bank of 256mb, it's in two different 128mb banks.  

With the Mediator drivers, you'd need to specify the Radeon Memory in the ENV-Arc:Mediator:RadeonMem file to be 15 (for full on resolutions, I don't think any resolution really uses more than that) and then use AddMem to add the second bank of Memory.  I think I had it working at one point, but then reinstalled, and didn't get it working since... gonna have to reinstall again, since I think something got corrupted along the way :(  I keep having stupid lockups in all Radeon resolutions.

Just haven't had the time (or focus) to be able to do it.  Probably will this coming weekend.

But I'm wondering if using this OpenPCI driver will work better...
A4000D: Mediator 4000Di; Voodoo 3, ZorRAM 128MB, 10/100mb Ethernet, Spider 2. Cyberstorm PPC 060/50 604e/420.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: OpenPCI Radeon driver
« Reply #5 on: December 05, 2012, 11:21:32 AM »
AddMeming the 2nd bank of 128MB would cause it to be normal Amiga "fastmem" I would think.

So this means Elbox drivers only support 128MB gfx mem with their drivers. :(

And probably this new OpenPCI driver has same limitation. :(

> u don't need more than 128MB

Yes I do need 200MB or more of gfx card mem.

If there is only 128MB then first of all I have to try to cram all my gfx in there which don't fit.

And I must include lame instructions to turn down your workbench before starting the game.  And to quit all other programs that are running on your gfx card because they are eating to much memory.  Ugh.

I wish Elbox would have just explained this on their website.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline soviet

  • Full Member
  • ***
  • Join Date: Nov 2006
  • Posts: 103
    • Show only replies by soviet
Re: OpenPCI Radeon driver
« Reply #6 on: December 07, 2012, 12:56:46 PM »
This driver can be used on ati 7000 - 7500 pci and agp cards ?.
The 7000 needs 3.3 volts or i can just install it on the prometheus ?
 

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: OpenPCI Radeon driver
« Reply #7 on: December 10, 2012, 11:44:29 AM »
Quote from: ChaosLord;717585
So this means Elbox drivers only support 128MB gfx mem with their drivers. :(

Yes I do need 200MB or more of gfx card mem.

I wish Elbox would have just explained this on their website.


The drivers(s) support more than 128MB.
BUT ... there are different Radeon 256MB designs out there.
Some of them have 256MB in ONE block, others came with 2 parts a 128MB.
P96 is only able to handle linear memory (one block).

So its not a Elbox-radeon or xyz-radeon-driver problem ... P96!



V0.99 limitation to 128MB is only until i changed some code to place the spritegfx at the beginning of memory .. the sprite-pointerregister is only able to adr. 128MB also on oneblock 256MB radeons.

@soviet: R100 is not supported, only R2xx (8500AGP - 9250PCI).
 

Offline soviet

  • Full Member
  • ***
  • Join Date: Nov 2006
  • Posts: 103
    • Show only replies by soviet
Re: OpenPCI Radeon driver
« Reply #8 on: December 10, 2012, 12:32:10 PM »
Quote from: Ratte;718354
The drivers(s) support more than 128MB.
BUT ... there are different Radeon 256MB designs out there.
Some of them have 256MB in ONE block, others came with 2 parts a 128MB.
P96 is only able to handle linear memory (one block).

So its not a Elbox-radeon or xyz-radeon-driver problem ... P96!



V0.99 limitation to 128MB is only until i changed some code to place the spritegfx at the beginning of memory .. the sprite-pointerregister is only able to adr. 128MB also on oneblock 256MB radeons.

@soviet: R100 is not supported, only R2xx (8500AGP - 9250PCI).


Thanks ratte so i have to get a 9200 now, and do some kind of volt mod the prometheus doesn't have 3.3 volts
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: OpenPCI Radeon driver
« Reply #9 on: December 10, 2012, 05:35:13 PM »
Quote from: Ratte;718354

So its not a Elbox-radeon or xyz-radeon-driver problem ... P96!


I bet CGX has the exact same limitation. :)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline Heiroglyph

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: OpenPCI Radeon driver
« Reply #10 on: December 12, 2012, 06:37:17 AM »
The Prometheus open sourced and this too!  Very good timing.

I need to do a voltage mod on the Prometheus and replace that hot voodoo card.

Good work!
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: OpenPCI Radeon driver
« Reply #11 on: December 12, 2012, 08:57:10 AM »
Works here with my old Prometheus :-)

If you use an ATX PSU it's quite easy to get 3.3v line and connect it to a pci-riser so you don't have to risk your dear prometheus/graphic cards too :-)
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline DJS

  • Newbie
  • *
  • Join Date: Apr 2003
  • Posts: 36
    • Show only replies by DJS
    • http://www.elbox.com
Re: OpenPCI Radeon driver
« Reply #12 on: December 19, 2012, 06:38:43 PM »
Hello,

It is just the copy of my post on amigaworld.net:


Two weeks ago I read on a1k.org that two people - MastaTabs and Ratte -- made available OpenPCI driver for the Radeon gfx cards.

I was a bit surprised that they made a driver for exactly the same ATI chipsets, which are just supported by Elbox Radeon driver. There are so many other gfx cards around...

I looked into the openpci driver code to check the name of its author but found that there isn't any copyright info inside. Nobody signed this driver. It seemed to me a little suspicious because developers who spend many weeks or months on such a project usually sign their code.

I sent the archive with this driver to Pawel Stypula - author of the Elbox driver for the Radeon gfx cards. He is a very busy man but promised to make a look into it as soon as has a moment of a spare time.

I just received his response. He is totally shocked. More than 90% of our Radeon related code was directly copied from our Radeon.card driver (ver. 2.12 from 09 Sep 2010) to the openpci Radeon.card driver. Almost all functions were taken from our driver and inserted by simple "copy and past" to this "new" driver. Many of the procedures were taken without changing even single line of the code. The only actual change that has been made in the code of functions taken from our driver was removing these parts of code, which are related to Mediators for A1200.

The blocks of the code taken from our driver without altering even one byte in them are so big as several hundreds of processor opcodes! There are over a dozen of such big directly copied blocks of code. The biggest one has 637 assembler lines (1898 bytes of the driver code)!
 
I'm really surprised that someone decided to make an almost 1:1 copy of our code, inserted it as an essential part of his driver and announced it as his work.

The development of our Radeon driver took months of work in 2007 and 2008. This was a first support for any ATI Radeon gfx cards in Classic Amigas. There were many undocumented Radeon issues which had to be solved in the code of this driver. Solving them required many time and hard work.

Nobody wants their work being stolen, we too. If somebody wants to use our code he should contact us for the license. Using our copyrighted code without our permission is illegal.

The driver released by MastaTabs and Ratte is clearly illegal as containing the stolen code.

Best regards,
Darek Smietana
ELBOX COMPUTER

Postscriptum:
It is just the removal of checks on which Mediator (A1200 or ZIII Amiga) and in what mode (MMU / NOMMU) driver is working what results in the slight increase in speed tests measured by P96speed.
« Last Edit: December 19, 2012, 10:10:18 PM by DJS »
 

Offline kedawa

  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 700
    • Show only replies by kedawa
Re: OpenPCI Radeon driver
« Reply #13 on: December 20, 2012, 01:20:54 AM »
It's a shame that they weren't honest about the source of the code, but at least it's free.
 

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: OpenPCI Radeon driver
« Reply #14 on: December 24, 2012, 12:06:20 PM »
« Last Edit: December 24, 2012, 12:10:32 PM by Ratte »