English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 13 May 2024, 05:41   #681
klx300r
Registered User
 
klx300r's Avatar
 
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,618
Question

@ Thomas


busy season for work so my testing is going alot slower nowadays but I did notice today that the horizontal bands are much better when I disable Roadshow
klx300r is offline  
Old 13 May 2024, 07:28   #682
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
That does not sound very helpful. The bars appear because the FPGA on the board is not able to prefetch the video RAM contents on time, and thus cannot draw the pixels on time: I can only guess that with RoadShow active, the Roadshow task periodically requires the Zorro bus, and somehow the FPGA needs time to analyze the Zorro cycles - time that is then missing for performing the video RAM fetch.

Anyhow, this should be solvable with the right amount of prefetch (i.e. giving the FPGA more chances to access the video RAM upfront).

Again, please remember that this is not only depending on the DAC mode (chunky, hicolor, truecolor) but also on the horizontal frame width.
Thomas Richter is offline  
Old 13 May 2024, 21:07   #683
klx300r
Registered User
 
klx300r's Avatar
 
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,618
Question

Thanks for the explanation I'm hoping to check every single screen mode to hunt down the perfect prefetch # for each screen mode.

Question: Do I need to reset my 4000 every time I test a different prefetch # on the same screen mode
klx300r is offline  
Old 13 May 2024, 21:46   #684
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
No, of course not. The prefetch is reset to the default value whenever you change a screen mode with intuition (or P96Prefs).
Thomas Richter is offline  
Old Yesterday, 11:49   #685
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
There is news in P96 land. Not yet a new release, yet still something quite relevant. Quite a while ago, I made the bold statement that there would be no support for PCI cards and Elbox solutions, unless somebody would pay for it - by sponsoring an A4000. Oh well... probably that was purely rhetoric as I did not expect to receive this bonus, but... somebody sponsored an A4000!

Ok, so I keep my word. Here we go, a new polished driver for the 3dfx Voodoo 2 Banshee, Voodoo 3 Avenger and Voodoo 4/5 Napalm, unfortunately currently bound to the Mediator as that is what I got.

What do you need for installation? An Amiga with a Mediator (sigh), a voodoo card of the above brands. Ensure that you have the MMU hack turned off on the A1200 Mediator as it is not supported by the driver, and there is neither support for using graphics card RAM as bounce buffers, though /maybe/ it works if you set the monitor tool type "GRANTDIRECTACCESS=Yes" as it will then disable aperture changes. Also note that this driver has a new board ID, thus you need to move the old monitor icon away, install the new one, and recreate the modes for the monitor. The Elbox driver indicates as board type "Prometheus", even though it should probably say "Mediator". I can only guess why... tsk,tsk...

This is tested on the voodoo 3, so maybe there are glitches on voodoo 2 (for which I have documentation, it looks very similar to the 3 except that the peak clock rates are lower), and maybe there are also glitches on the voodoo 4 for which I have not been able to find specifications (but if somebody has, I would be happy to receive it).

What can the driver do? Well, everything the voodoo has to offer. 8 bit chunky, 5-6-5 high-color in big and little endian, 24 bit and 32 bit truecolor. There is unfortunately no support for 555 as its RAMDAC does not offer it, and neither for planar as this would require access to the legacy VGA memory window which I have not yet found out how to realize through PCI, but maybe there is a trick. The card should do it, but P96 offers emulation for it anyhow.

Screen dragging? Yes, it does screen dragging. But only for high-color screens. The voodoo documentation says that it has a line-compare register P96 usually utilizes, but it simply does not work. Thus, I'm using another trick, namely overlays, but they are restricted to high color.

Overlays? Yes, it does high-color "picture in picture" overlays, also available in YUV411 and YUV422. Try the PIP demo in Aminet.

Sprites? But of course. The regular 64x64 VGA sprite with 2 colors, the third color is inversion as usual for VGA.

Blitter? Oh yes, but all of it. It can really accelerate everything P96 allows to accelerate. Rectangle fill, inversion, copy, pattern drawing, text drawing, planar to chunky conversion, line drawing.

What does it more than the Elbox driver? Well, panning works (unlike Elbox's driver), screen dragging works, and hopefully there is no defect with the blitter and masked blits. Oh, and PIP works also for double scan modes.

The chip does not support interlace according to its datasheet. I guess nobody really misses that.

Configuration: There are currently two tooltypes the monitor icon understands. "INTERRUPT=Yes" enables interrupt generation of the card. Whether that works with your configuration I do not know, but it does here on the A4000. Second is "MEMORYCLOCK=xxx" where xxx is the desired memory clock in MHz, ranges from 100 to 220. Please leave alone, the driver should usually take the configuration from the video bios and go with that. On my card, it is around 140Mhz and it works well with that. You should probably also set the tooltype FAKENATIVEMODES as otherwise the monitor connected to the card will stay black when booting with the new drivers as it misses modes. You need to create them with P96Prefs.

What can you do? Testing, of course. In particular, does it work on vodooo2 or voodoo4? Any glitches? Please report.

Will this driver go to Aminet once done? Yes, it will. It was paid for by the community, so it will go back to the community. As simple as that.

What will happen next? Is this final? No, it is not final. Trouble is, I am not at all happy with the segmented market for PCI solutions, and I do not want to create this driver multiple times for GRexx, Meditator, Prometheus... I am looking for a generic solution. That has higher priorities than supporting more cards.
Attached Files
File Type: lha Voodoo.lha (10.9 KB, 9 views)
Thomas Richter is offline  
Old Yesterday, 15:22   #686
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,209
DisasterIncarna is offline  
Old Yesterday, 19:47   #687
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 667
Very nice! Am I right to assume that by Voodoo2 you’re talking about the Banshee? I understood the Voodoo2 specs to say that its framebuffer access is basically converting everything written to 16bit, thus the PCI DMA bounce buffer would not work with a plain Voodoo2.
pipper is offline  
Old Yesterday, 20:18   #688
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
Yes, the Banshee, this is the voodoo2. It should be recognized by the driver, but lacking one, I do not know whether it actually works.
Thomas Richter is offline  
Old Yesterday, 20:28   #689
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,017
Voodoo 2 != Voodoo Banshee. Banshee is kinda Voodoo 2 with extras and minus a texturing unit.

https://www.vogons.org/viewtopic.php?t=43208

Thanks for all the work, Thomas!

Last edited by Hedeon; Yesterday at 20:34.
Hedeon is offline  
Old Yesterday, 20:59   #690
Magic
Registered User
 
Join Date: Aug 2007
Location: USA
Posts: 364
This is excellent news! Thank you, Thomas, for all of your time and talent!
Magic is offline  
Old Yesterday, 23:02   #691
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,988
nice!

I will check it out when time permits
abu_the_monkey is offline  
Old Today, 02:24   #692
gdonner
Ancient Amiga User
 
gdonner's Avatar
 
Join Date: Mar 2018
Location: Elkhart, IN USA
Posts: 208
This is great news indeed! My hat is off to whomever it was who generously donated it--a big thank you on behalf of the Amiga community!

Besides having a faster Amiga (and a backup system), this will at least allow you to more easily develop and test for Zorro III.

As always, thank you for all your time and efforts in the work you do!
gdonner is offline  
 


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
Photon
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
P96: What's the right way to do X? Warty Coders. General 2 21 December 2020 00:00
Providing 2 fire button support / cd32 joypad support amigapd request.Other 0 13 July 2015 17:20
Portaudio support (was: WinUAE support for ASIO drivers) Amiga1992 support.WinUAE 57 28 March 2009 21:15
Classic WB P96 Anubis project.ClassicWB 5 08 May 2006 14:30
amiga-news.de: Collected software-news Paul News 0 14 November 2004 15:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:20.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09058 seconds with 16 queries