English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 03 March 2021, 17:37   #4381
matt3k
Registered User
 
Join Date: Aug 2018
Location: NY / USA
Posts: 290
@Torsti
I hope we get this resolved! I know Hedeon has a Ragnarok running in his AA3000+ so we should get this figured out.
matt3k is offline  
Old 03 March 2021, 18:06   #4382
Timtheloon
Registered User
 
Timtheloon's Avatar
 
Join Date: Dec 2017
Location: Portsmouth / United Kingdom
Posts: 302
Quote:
Originally Posted by matt3k View Post
@Torsti
I hope we get this resolved! I know Hedeon has a Ragnarok running in his AA3000+ so we should get this figured out.
Well Hedeon has worked wonders getting PPC's to work via PCI, something that was original promised "sharkPPC" but never materialised. I bet this takes a lot of Hedeons free time because just testing and trialling my card takes forever with all the trying this setting and seeing the results, he also has the programming side of it, you could say we are his BETA testers

What you are doing here is giving him results on a different hardware setup

I think he'll crack it

@Hedeon I have a question ref this Beta lib for the Prometheus bus-boards will this be compatible for both mediator and Prometheus or will you keep them separate
Timtheloon is offline  
Old 03 March 2021, 18:11   #4383
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
Any hits outside of the standard memory being present in the memory list gives a DSI hit. So also 00000004 which is....the exec library base. I guess I have to remove that from the hit list from the debug version (which you have).

It would be nice to see the version of the powerpc library you are using @torsti76. Also, try with the latest asm version if you have a Mediator. The C version was made to make it easy to add stuff as the asm version was becoming unmaintainable.
Hedeon is offline  
Old 03 March 2021, 19:47   #4384
Wrangler
Registered User
 
Join Date: Sep 2015
Location: London, UK
Posts: 414
If @torsti76 and @matt3k are using the debug version of the library, there might be sense in plugging in a null modem cable to a PeeCee and capturing the serial output - see what that says.
Wrangler is offline  
Old 03 March 2021, 20:00   #4385
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Quote:
Originally Posted by Wrangler View Post
If @torsti76 and @matt3k are using the debug version of the library, there might be sense in plugging in a null modem cable to a PeeCee and capturing the serial output - see what that says.
I already did. Can post the complete output later on.

Nothing mighty suspicious though, just the DSI hit message above.
torsti76 is offline  
Old 03 March 2021, 20:56   #4386
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
@Hedeon first of all I wanted to say that I really appreciate what you accomplished with the Sonnet library. And I'm very grateful that you push it even further with the new C library.
What's more, this is all done open source which rarely happens on such a level in the Amiga software world.

That said, I really see myself as a tester, alpha, beta, I don't mind. I built an AA3000+ in full knowledge that this is an experimental machine. I like what's been accomplished within about a year of its incarnation - getting it to run with the Firestorm firmware and awakening the DSP. I'd like to help piecing together more of this great puzzle.

So, since I'm not interested in the Mediator atm but rather in getting the PPC cards to work in the AA3000+, the asm library is not an option.

I am using the prometheus.library and PowerPC.library from the testlibs.lha you shared here several days ago.

As said, the Apocalypse basically works. All test routines and software besides the Warp3D stuff work as intended.

Only when I start any Warp3D stuff, the graphics output immediately freezes. If it's something with sound, the sound just plays fine, only the graphics output is trashed. I've tried both my trusted Voodoo3 2000 and a spare Voodoo3 3000. Same result.
I tried numerous versions of P96. I did all the suggested MMUlib setup, I tried both OS 3.1.4 and 3.9 + Boingbags. Nothing helps.

68k Warp3D stuff works fine, btw. I'm using the 4.2a from aminet.

What else could I try?

What debug levels/outputs could be helpful?

Thanks!
torsti76 is offline  
Old 03 March 2021, 22:14   #4387
grelbfarlk
Registered User
 
Join Date: Dec 2015
Location: USA
Posts: 2,910
Just a shot in the dark, but have you guys verified your P96 settings? GrantDirectAccess or BorderBlank caused some crashiness for me in the past.
grelbfarlk is offline  
Old 03 March 2021, 22:15   #4388
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Just checked:

Code:
version full libs:powerpc/powerpc.library
powerpc.library 17.14 beta (20.01.2021)
I saw that there happened several commits to the PowerPC github since then, among them fixes for Voodoo setup and MMU.

I just can't seem to be able to cross-compile the new lib on linux like I could with the SonnetAmiga repo.

Would it make sense to try a more recent build?

Last edited by torsti76; 03 March 2021 at 22:20.
torsti76 is offline  
Old 03 March 2021, 22:23   #4389
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Quote:
Originally Posted by grelbfarlk View Post
Just a shot in the dark, but have you guys verified your P96 settings? GrantDirectAccess or BorderBlank caused some crashiness for me in the past.
Thanks, just set GrantDirectAccess and BorderBlank explicitly to "No". Unfortunately, no change.
torsti76 is offline  
Old 03 March 2021, 22:34   #4390
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Output after "StartPPC" with debug=1 in ENV:sonnet

Code:
Started Library Init routine
Version: $VER: powerpc.library 17.14 beta (20.01.21)

Detected Firestorm/Firebird PCI bridge
Opening of support libraries completed
3DFX card detected, Gfx address at 60000000, config address at 62000000
Size of Gfx card in PCI memory is 02000000
Detected Harrier based PPC PCI card
Setting PMEP base at 64050000
Setting up Harrier config base at 64051000
Setting up Harrier PIC base at 64000000
Done setting up PPC memory at address 68000000 with size 08000000
Waiting on PPC card to respond
Accessible PPC memory set up with header at 68410000
Inserted PPC memory into Exec memory list
Library base set up at 6FF76CB0
Copied PPC kernel code into place
Gort 68K interrupt now running at 07E699D4
MasterControl now running at 07ED8950
Completed adding various patches to Exec library
ramlib_PPC -> CreateTaskPPC(07EFC9A0)
ramlib_PPC -> SetCache(0000000B, 68410040, 00000100)
ramlib_PPC -> SetCache(0000000B, 68410180, 00000040)
ramlib_PPC -> SetCache(0000000B, 68410200, 00000018)
ramlib_PPC -> SetCache(0000000B, 68410260, 00000007)
ramlib_PPC -> SetCache(0000000B, 684102A0, 00000018)
ramlib_PPC -> SetCache(0000000B, 68410300, 00010000)
ramlib_PPC -> SetCache(0000000B, 68420340, 00000018)
ramlib_PPC -> SetCache(0000000B, 68420380, 00000448)
ramlib_PPC -> SetCache(0000000B, 68420820, 00000018)
ramlib_PPC -> SetCache(0000000B, 68420860, 00000064)
ramlib_PPC -> InitSemaphorePPC(68420890)
ramlib_PPC -> SetCache(0000000B, 68420900, 00000020)
ramlib_PPC -> InitSemaphorePPC() = FFFFFFFF
ramlib_PPC -> SetCache(0000000B, 68420960, 000003A0)
ramlib_PPC -> SetCache(0000000B, 68420D40, 00000012)
ramlib_PPC -> CreateTaskPPC() = 68410040
Started Kryten PPC cleanup task
Now starting VoxelSpace:

Code:
voxelspace_PPC -> CreatePoolPPC(04002001, 00080200, 00040020)
voxelspace_PPC -> SetCache(0000000B, 68420EA0, 0000002C)
voxelspace_PPC -> CreatePoolPPC() = 68420EA0
voxelspace_PPC -> SetCache(0000000B, 68445140, 00200060)
voxelspace_PPC -> CreatePoolPPC(04012001, 00080200, 00040020)
voxelspace_PPC -> Signal68K(07E8ACA8, 40000000)
voxelspace_PPC -> SetCache(0000000B, 6866A980, 0000002C)
voxelspace_PPC -> CreatePoolPPC() = 6866A980
voxelspace_PPC -> SetCache(0000000B, 6866B1C0, 00080220)
voxelspace_PPC -> Signal68K(07E8ACA8, 40000000)
voxelspace_PPC -> SetCache(0000000B, 6871D200, 00041060)
Closing it:

Code:
Kryten -> DeletePoolPPC(6866A980)
Kryten -> DeletePoolPPC(68420EA0)
Starting "gearsppc_small":

Code:
gearsppc.exe_PPC -> CreatePoolPPC(00012000, 00080200, 00040020)
gearsppc.exe_PPC -> SetCache(0000000B, 68421080, 0000002C)
gearsppc.exe_PPC -> CreatePoolPPC() = 68421080
gearsppc.exe_PPC -> SetCache(0000000B, 6846D540, 00080220)
gearsppc.exe_PPC -> CreatePoolPPC(00002000, 00080200, 00040020)
gearsppc.exe_PPC -> SetCache(0000000B, 68421100, 0000002C)
gearsppc.exe_PPC -> CreatePoolPPC() = 68421100
gearsppc.exe_PPC -> SetCache(0000000B, 684ED7A0, 00080220)
Detected DSI hit outside of memory bounds at 00000004
ramlib_PPC -> CreatePoolPPC(00002000, 00080200, 00040020)
ramlib_PPC -> SetCache(0000000B, 684213E0, 0000002C)
ramlib_PPC -> CreatePoolPPC() = 684213E0
ramlib_PPC -> SetCache(0000000B, 68585E80, 00080220)
ramlib_PPC -> CreatePoolPPC(00012000, 00080200, 00040020)
ramlib_PPC -> SetCache(0000000B, 68421460, 0000002C)
ramlib_PPC -> CreatePoolPPC() = 68421460
ramlib_PPC -> SetCache(0000000B, 6866ADE0, 00080220)
Detected DSI hit outside of memory bounds at 00000004
Detected DSI hit outside of memory bounds at 00000004
ramlib_PPC -> InitSemaphorePPC(6866B220)
ramlib_PPC -> SetCache(0000000B, 686062C0, 00000020)
ramlib_PPC -> InitSemaphorePPC() = FFFFFFFF
ramlib_PPC -> InitSemaphorePPC(6866B2C0)
ramlib_PPC -> SetCache(0000000B, 6860AE60, 00000020)
ramlib_PPC -> InitSemaphorePPC() = FFFFFFFF
ramlib_PPC -> InitSemaphorePPC(6866B360)
ramlib_PPC -> SetCache(0000000B, 6860AEC0, 00000020)
ramlib_PPC -> InitSemaphorePPC() = FFFFFFFF
ramlib_PPC -> InitSemaphorePPC(6866B400)
ramlib_PPC -> SetCache(0000000B, 6860AF60, 00000020)
ramlib_PPC -> InitSemaphorePPC() = FFFFFFFF
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
gearsppc.exe_PPC -> SetSignalPPC(00000000, 00001000)
gearsppc.exe_PPC -> SetSignalPPC() = 00000000
Then it freezes...
torsti76 is offline  
Old 03 March 2021, 23:01   #4391
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
Yeah, one of the errors I saw was that the gfx memory is at 0x62000000 and the config at 0x60000000 really (and not the other way around like in your output). That was fixed.
Hedeon is offline  
Old 03 March 2021, 23:18   #4392
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Quote:
Originally Posted by Hedeon View Post
Yeah, one of the errors I saw was that the gfx memory is at 0x62000000 and the config at 0x60000000 really (and not the other way around like in your output). That was fixed.
Yes, that's one of the commits that got my attention. :-)

If I setup vbcc, vasm, etc., and GNU make on the Amiga, will the C library compile with the included makefile?
torsti76 is offline  
Old 04 March 2021, 01:03   #4393
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
Quote:
Originally Posted by torsti76 View Post
Yes, that's one of the commits that got my attention. :-)

If I setup vbcc, vasm, etc., and GNU make on the Amiga, will the C library compile with the included makefile?
The makefile depends on CubicIDE so you need to adapt it probably. Also you need the prometheus includes and mediator includes i think.

I would compile it for you, but I need to assemble my AA3000+ first for that.
Hedeon is offline  
Old 04 March 2021, 01:30   #4394
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
Well... here you go.

It works on my machine.
Attached Files
File Type: lha powerpclib_nodebug.lha (45.1 KB, 60 views)
Hedeon is offline  
Old 04 March 2021, 01:54   #4395
matt3k
Registered User
 
Join Date: Aug 2018
Location: NY / USA
Posts: 290
Thanks Hedeon, I will give it a try soon!

Really appreciate all the time and help to get this going.
matt3k is offline  
Old 04 March 2021, 03:59   #4396
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Quote:
Originally Posted by Hedeon View Post
Well... here you go.



It works on my machine.
Thank you very much! Will try today.
torsti76 is offline  
Old 04 March 2021, 04:18   #4397
matt3k
Registered User
 
Join Date: Aug 2018
Location: NY / USA
Posts: 290
I gave it a quick test with the same results, didn't work.

Good luck Torsti, maybe it will work for you... Interesting that voxel space doesn't run that fast like you encountered.
matt3k is offline  
Old 04 March 2021, 06:47   #4398
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
Quote:
Originally Posted by matt3k View Post
I gave it a quick test with the same results, didn't work.

Good luck Torsti, maybe it will work for you... Interesting that voxel space doesn't run that fast like you encountered.
What's your VoxelSpace framerate?
torsti76 is offline  
Old 04 March 2021, 09:59   #4399
torsti76
Registered User
 
Join Date: May 2018
Location: Germany, Baden-Wuerttemberg
Posts: 387
So far, it still doesn't work for me. Tried with a minimal startup-sequence to no avail.

Now playing a bit with the P96 tooltypes and envvars.
torsti76 is offline  
Old 04 March 2021, 10:29   #4400
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
Guys, nothing personal but you really should give more info.

Not like 'it runs half the speed of my CSPPC' or
Not giving the resolution you running at or
Not giving version numbers or
Not going to a basic installation if something does not work etc.
Hedeon is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WANTED: PCI Sound Card VORTEX2 SuperQuard / SQ2500 or Turtlebeach SantaCruz pci card keropi MarketPlace 12 15 March 2017 02:48
Wanted:Sonnet Technologies QuadDoubler 50 (Doubler 4000) kronuz MarketPlace 0 16 June 2013 00:29
eBay : Sonnet Quaddoubler alexh MarketPlace 3 07 May 2013 00:50
Overlay problem on GeForce 7200 Leandro Jardim support.WinUAE 1 10 August 2010 15:50
Prometheus PCI & Voodoo 3 PCI GFX Card Slayer support.Hardware 21 05 September 2006 10:57

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 20:59.

Top

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