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,620
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,267
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 online now  
Old 13 May 2024, 21:07   #683
klx300r
Registered User
 
klx300r's Avatar
 
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,620
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,267
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 online now  
Old 26 May 2024, 11:49   #685
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,267
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, 21 views)
Thomas Richter is online now  
Old 26 May 2024, 15:22   #686
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,218
DisasterIncarna is offline  
Old 26 May 2024, 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 26 May 2024, 20:18   #688
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,267
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 online now  
Old 26 May 2024, 20:28   #689
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,025
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; 26 May 2024 at 20:34.
Hedeon is offline  
Old 26 May 2024, 20:59   #690
Magic
Registered User
 
Join Date: Aug 2007
Location: USA
Posts: 365
This is excellent news! Thank you, Thomas, for all of your time and talent!
Magic is offline  
Old 26 May 2024, 23:02   #691
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 2,002
nice!

I will check it out when time permits
abu_the_monkey is offline  
Old 27 May 2024, 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  
Old 30 May 2024, 17:38   #693
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,267
A little update. First, when a hi-color screen was dragged upfront another direct color screen, this other screen showed wrong colors or was just black. This is because I forgot to disable the palette lookup for the back screen then, which is solved. Another nice goodie with the attached version is that it turns the VGA output of the card off if a native screen is shown and the board is in the display chain. In case you use a monitor with two different inputs, this will hopefully convince the monitor to switch the output.

Finally, something about Shapeshifter: Unfortunately, ShapeShifter bangs the video RAM directly. While the driver (and the P96 core) ensures that the aperture is set correctly when the video RAM is initialized, the emulator does not lock the memory once it has it, and then the workbench rendering on its screen may change the aperture again under the feed of the emulator. This is neither a driver nor a P96 bug, it is a matter of how the ShapeShifter and MuEVD operates.

To avoid that, either set "GRANTDIRECTACCESS=Yes" in the monitor driver to disable any aperture changes, or use MuEVD, edit ENVARC:MuEVD.prefs and put there the line "REF=On" to enable forced refresh mode. In this mode, the shape shifter will *not* access the video RAM directly, but only indirectly through MuEVD. In that mode, access to the video RAM will be moderated correctly through P96, and thus, the aperture will be correct.
Attached Files
File Type: lha Voodoo.lha (10.9 KB, 7 views)
Thomas Richter is online now  
Old 30 May 2024, 18:41   #694
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,025
Thomas, seeing that you only use a few pci.library specific functions (FindCard) and that you check specifically for the Mediator with FindConfigDev, what is needed for Prometheus support? I am also willing to help you with it, if needed.
Hedeon is offline  
Old 30 May 2024, 22:40   #695
trixster
Guru Meditating
 
Join Date: Jun 2014
Location: England
Posts: 2,347
Very interesting indeed!

Is there the possibility of getting both gpus on a voodoo 5 working? I can lend one for testing if you’re interested, @Thomas.
trixster is online now  
Old 30 May 2024, 23:20   #696
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,267
Quote:
Originally Posted by trixster View Post
Is there the possibility of getting both gpus on a voodoo 5 working? I can lend one for testing if you’re interested, @Thomas.
First of all, I would be happy to receive confirmation if at least one works. (-;
Thomas Richter is online now  
Old 30 May 2024, 23:26   #697
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,267
Quote:
Originally Posted by Hedeon View Post
Thomas, seeing that you only use a few pci.library specific functions (FindCard) and that you check specifically for the Mediator with FindConfigDev, what is needed for Prometheus support? I am also willing to help you with it, if needed.
This is a longer adventure, and this driver is the beginning, not the end. The issue is that I do not want to support 3 or 4 different PCI APIs because their vendors could not negotiate to a common standard. There is OpenPCI, but there is no maintainer anymore which is neither ideal for what I seek.
Thomas Richter is online now  
Old Yesterday, 01:28   #698
macphreak4evr
DR Chris from YT
 
Join Date: Feb 2019
Location: PA USA
Posts: 7
Send a message via ICQ to macphreak4evr Send a message via AIM to macphreak4evr
Quote:
Originally Posted by Thomas Richter View Post
This is a longer adventure, and this driver is the beginning, not the end. The issue is that I do not want to support 3 or 4 different PCI APIs because their vendors could not negotiate to a common standard. There is OpenPCI, but there is no maintainer anymore which is neither ideal for what I seek.
you sir are a legend. Thank you so much!
macphreak4evr is offline  
Old Yesterday, 14:39   #699
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,023
Send a message via MSN to FOL
I'm having an issue, which I can't seem to track down.

I'm using latest version with my CM4 (Emu68-VC4), it was working fine previously. However now its it just guru error with suspend or reboot.

I have removed P96 latest and Emu68 GFX drivers. I have downloaded fresh copies and tried reinstalling both. Yet get same guru error.

In OS, I get "Program failed (error #80000005)"
on reboot Guru gives "Error: 80000005 Task: 08AAE508"

Been going round in circles trying to find out issue. Everything else works, just when I try to run RTG.
FOL is offline  
Old Yesterday, 21:00   #700
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,267
Well, I'm sorry, I'm not sure what an Emu68-VC4 driver is, and I surely do not maintain it, so you'd better check with its authors, sorry.

Here is a revised voodoo driver - the previous version had the monitor switch done wrong (*sigh*).
Attached Files
File Type: lha Voodoo.lha (10.9 KB, 5 views)
Thomas Richter is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 21:52.

Top

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