Alternativ Radeon-Driver for OpenPCI
15 sujets de 1 à 15 (sur un total de 23)
- 1
- 2
-
Bonjour Amiga-Users,
BatteMan helped me to activate my account at AmigaImpact.
I am sorry, but I had never learned french at school.
Last weekend we had an retro-computing-meeting in Niedersachsen (Germany).
On this meeting we had the first « successfull » testrun from our OpenPCI-based Radeon-Driver on a Prometheus.
Mediator4000Di is also working (I am developing on a Mediator4000Di equiped A4000).
Testruns on a G-Rex will follow soon, same for Amithlon (PowerPCI).
http://www.a1k.org/forum/showthread.php?p=441792
The current driver is only working in a very basic framebuffer-mode, no sprite, no blitter .. no speed.
Our target is a flexible initcode for all pci-systems (openpci) and most of the r100-r500 radeons.
Based on the open linux-codes and documented ati-rom-structures.
Our « problem » is that Titans OpensPCI-site is offline since some time and I am unable to get in contact with him.
We need some openpci-improvments for our gfx-driver, we need a function to ask the systen for a already existing dma-memory (important for more than one gfx-card in a computer) and a function to GIVE gfxcard-memory to the openpci-library for DMA-operations, so that other drivers (like sound or network) can allocate it for dma.
If anyone stands in contact to Benjamin Vernoux aka Titan, please help us to get in contact with him.
Thanx in advance.
(Special thanx to BatteMan)
André Pfeiffer aka Ratte (www.a1k.org)
TwinKick,TwinWork,KickTOS,HighGFX,HD720,SwitchControl and more …
For your information, latest OpenPCI is V2.1 beta4 from 2009
http://www.a1k.org/forum/showpost.php?p=288822&postcount=32
(remove the .pdf from the filename .. attachments on a1k.org are sometimes mystery)
Why we used OpenPCI is easy .. supporting Mediator, Prometheus, GRex & Amithlon with only one code.
And .. OpenPCI is coooool stuff!
Oh, I didn’t know there was a newer version.
Maybe some advertising should be done around it
Hi Ratte,
I’m Benjamin Vernoux the author of OpenPCI, I have seen your request by Email from friends (DAN & Cosmos).
About your request in fact DMA memory allocation API already exist since v2.x but support only old GFX card and need an update for new graphic card for Mediator only.
Details of Mediator GFX card DMA memory supported in latest OpenPCI V2.1 beta4:
1) Voodoo Banshee 16MB VendorID/ProductID=0x121a/0x0003
2) Voodoo3/2000-3000 16MB VendorID/ProductID=0x121a/0x0005
3) Voodoo4/5 32MB/64MB VendorID/ProductID=0x121a/0x0009
4) S3 Virge 86C325 2/4MB VendorID/ProductID=0x5333/0x8a01
5) S3 Virge DX 86C375 2/4MB VendorID/ProductID=0x5333/0x5631
Nota: For Mediator the DMA memory allocation is a « hack » and limited to 256KB, because it was not supported by Elbox PCI library and i allocate DMA memory on GFX card below at end of the GFX memory found so it’s crappy but it is better than nothing.
I could update it for you and release it after officially if you can give me feedback.
For other platform supported by OpenPCI like Grex/PCIX, PowerPCI and Prometheus there’s no limitation and dma memory allocation is supported natively.
For more information on OpenPCI 2.x DMA/Logic/Physic conversion see following API:
pci_allocdma_mem()/pci_freedma_mem(), pci_logic_to_physic_addr()/pci_physic_to_logic_addr()
To add support of new GFX card memory in Mediator I need following informations:
PCI Device: VendorID, DeviceID (in hexadecimal 16bits each)
PCI BaseAddress: BaseAddressNumber where memory is accessible and the size of the memory usable as DMA memory.
The best is to send me the log of OpenPCIInfo/OpenPCIDump
You can contact me by Email: bvernoux @ wanadoo.fr
Best Regards
Benjamin
Hi Benjamin,
nice to see, that you are still arround.
If you remember, we allready stand in contact in 2009 and you are so kind to produce your beta4 for the mediator4000di on request.
Our OpenPCI-Radeon driver is in a working beta stage.
It works on the mediator and the prometheus (co-op with « mastatabs » tobias seiler).
G-Rex and PowerPCI/Amithlon are not tested at the moment.
On beta4 you removed the DMA-detection … thats a good solution, because the radeon-driver should support a lot of different memorysetups and chiptypes.
Radeon 7xxx-9xxx / 16 – 256 MB.
It could be nice if you add a api for « giving » dma-memory from the openpci-gfx-driver (here radeon-openpci) to openpci.
The radeon-driver has much code for correct memory-detection for all important radeon-cards and best should be to take 256kb from end of this calculated memory and transfer the result to your library as dma-memory.
How does dma work on other bridges with beta4, can i add dma-memory on the same way?
Or can i make some « allocdma »-mem check?
result = 0 -> adddma mem from radeon
result <> 0 -> dmamem added by pci-system and bypass radeon adddma mem
With the first « real » openpci gfx-driver and a little modified beta4 openpci.lib, i would advice to bump the version to 2.2 (3.0) …
Btw. can i have a a backup of your homepage.
If you like, we can host it on a1k.org.
br
Andre
Ratte a écrit :
Hi Benjamin,
could you please send a mail to:
computer_hobby(at)web(dot)de
I got no responce to the mails I send to you.
(spamfilter?)
Thanx in advance.
André
Benjamin?
Could you contact me?
I think, my emails are rated as spam at your mailaccount.
Thanx.
André
Update:
Driver (framebuffer-mode) has been successfull tested on
– Mediator (4000di)
– Prometheus
– Amithlon
Searching for GRex-Testers …
PIII 700 512MB + Radeon PCI 256MB
Amithlon PowerFB vs. OpenPCI Radeon
Same system same software only different drivers.
:clap:
Good job, incredible.
Amiga 500+, 68010, 2MB chipram, 4MB fastram, IDE68k, HxC Floppy Emulator, Subway USB, Indivision ECS, Rom 3.9
PowerMac 3.5 MorphOS, G4 1.0GHz DP, 1 Go ram, Radeon 9600 128Mo mac, 22" 1680x1050
PowerMac 7.3 MorphOS, G5 2.3GHz DP, 2 Go ram, Radeon 9800 128Mo pc reflashee, 22" 1680x1050
15 sujets de 1 à 15 (sur un total de 23)
- 1
- 2
- Vous devez être connecté pour répondre à ce sujet.
› Forums › AmigaOS, MorphOS et AROS › Général › Alternativ Radeon-Driver for OpenPCI