I bought the ASUS RX 560 card, it works well under AmigaOS 4. Unfortunately, it has one disadvantage, it is initialized only after a hard reset. After a soft reset, I always have only a black screen.
I wrote to Hans, I received the answer that some graphics cards have this and it is an unresolvable problem :(
So I plan to buy another Polaris, but I do not want to risk it.
Therefore, if you have Polars, which works well after a soft reset, please enter here the model and manufacturer of this card.
Sorry. Newer in terms of card manufacture date. The current R7-240's and R7-250 variants were manufactured after currently available R7-250X,R9-270,270X,280 and 280X models. Newer models apart frorm the Polaris ones also seem to have a problem working at all with Sam460ex. Includes R7-240,R7-250(Verde)and R7-370 models .Work with the X5000 but only R7-240 soft reset works .
It's not possible to send a (software) command to the card that "emulate" the needed reset? Come on, it's 2018!
Nope. AFAIK, there's no way to trigger the graphics card's reset line in software... unless you reset the whole board. Maybe some PCIe controllers can do it, but that would be motherboard specific.
A soft reset doesn't actually reset the hardware. Theoretically, running the "ASICInit" routine from the graphics card's ROM should reset it to its default state. However, it doesn't always work. Bear in mind that no other OS does a soft-reset, so this is something that the graphics card manufacturers probably don't test for.
Not that i want to steal your precious coding time, but couldn't that also mean that a change in "our" code dismissed that feature?
If it wasn't there in the first place (in the hardware) but worked...and now it doesn't anymore...in my understanding this strongly points towards the amiga drivers.
What about Linux where you can quit and restart the X11 server (maybe because you changed X configuration). From X11 gfx drivers' point of view that's like a soft reset.
Yes, I had the same idea. Leave the gfx card alone, soft-reset the OS and then send some commands to the gfx card as usual. It should process them as it was not reseted.
Not that i want to steal your precious coding time, but couldn't that also mean that a change in "our" code dismissed that feature?
I didn't change anything in the code. What changed is that we're using newer GPUs that are way more complex than the previous generations.
@Georg Quote:
What about Linux where you can quit and restart the X11 server (maybe because you changed X configuration). From X11 gfx drivers' point of view that's like a soft reset.
AFAIK, the drivers aren't fully unloaded and restarted from scratch. Likewise, the OS is still there. With our soft reset you basically lose all context.
@All I've already spent months trying everything I can think of, including shutting down the display prior to the soft reset. Nothing made the slightest difference. It's NOT worth that much time (imagine if you were personally paying me market rates for that development time...).
My personal preference would be to ditch soft-resets altogether and make hard resets very fast. Soft-resets only exist because we have an OS designed to boot from a ROM that's been patched to load that ROM from disk.
If someone else wants to take a look, be my guest. Maybe you'll find or think of something I missed.
AFAIK, the drivers aren't fully unloaded and restarted from scratch. Likewise, the OS is still there. With our soft reset you basically lose all context.
Kickstart modules are not reloaded on soft reset (only hard reset does that). Also global variables are not automatically reset to their initial values on soft reset either, so if you need to keep some simple data over a soft reset you could just use a global variable.
Kickstart modules are not reloaded on soft reset (only hard reset does that).
It's irrelevant if the code is loaded from disk or remains in memory. The driver state has been lost.
Quote:
Also global variables are not automatically reset to their initial values on soft reset either, so if you need to keep some simple data over a soft reset you could just use a global variable.
I need the whole darn GPU and driver state! For every card...
@Steady Quote:
I agree. Focusing on a faster hard reset would be more productive.
@All I've already spent months trying everything I can think of, including shutting down the display prior to the soft reset. Nothing made the slightest difference. It's NOT worth that much time (imagine if you were personally paying me market rates for that development time...).
I thought you might have, but i didn't know that. Apologies for wasting your time