@smarkusg
Quote:
I found another issue. If I use non-ATI cards on QEMU PEG2 (without QEMU PCI passthrough - sm501,voodoo3), the system won’t boot either.
Here it looks a little different. You can see that the card is initialized (the contents of the QEMU window change), but the system freezes.
There’s nothing in the kernel debug logs.
If you have the opportunity to test a non-ATI/Radeon card on a real Peg2, maybe you could check that as well.
But that probably expected, because sm501/voodoo3 is not real cards on your setup, so how can you passthrough with them ? That the same with original and with new firmware, right ? But yes, i will check with putting any non ATI/AMD card to, just to see if there correct fallback, or if firmware can handle anything else too.
I may try to find some PCI/e and AGP versions of some Nvidia/Voodoo cards, those probably will be good to test.
Quote:
Hmm. Are you using the official Radeon driver or some developer version? Maybe that’s where the problem lies.
I use RadeonRX driver 2.23 on real peg2 which should fit someday in enhancer (if it will ever happens), and i also use beta kernel with peg2 fixes for test, so can use it without BBOOT, but that shouldn't matter, because if the same setup works for you with original firmware on qemu, and simple changing on new firmware cause it to not work, then it mean something changes, and that not related to your components.
Quote:
Does the new pegaso2.rom change anything drastically for Radeon cards?
Nope, it didn't change anything for cards, just simple initialization behind bridge and POST running.
Quote:
Have you also tested with a Radeon HD card?
Not for now, but will do. What version of RadeonHD you use ?
Quote:
Just to clarify everything: a Radeon RX card with QEMU PCI passthrough is capable of booting.
It runs extremely slowly. I didn’t have access to newer kernel releases for PEG2 or Radeon drivers.
So, RadeonRX cars is booting with both original firmware and new one ? Or only with new one ? Can you try plz to boot RadeonRX without BBOOT on this Update3 (and be sure, that Kickstart.zip contain kernel 54.57 in)
Quote:
If I recall correctly, I also didn’t test the Radeon RX card with the UP3 update for QEMU.
But you tested it now with UP3 update, right ? It works both with original and our firmware ?
Anyway, what i want to say mainly now is that if you have update3 installed, and you surely have kernel 54.57 and BBOOT "only" fix 64/32 address issues, you can try to not use BBOOT and it should works without. Try it plz if you can.
Thanks for tests !
@Mlehto
Quote:
WB naturally launches to screen what is set on screenmode prefs.
So agp port primary allways, pcie primary if only pcie available sounds good.
What i found is : The card which i run POST init on the firmware, will be the one taken as the primary by AmigaOS4.
So, i implemented it like this (at least for now): added "primary-vga" environment, which default value is "vga0", meaning the first video card found during PCI scan. The first one usually a PCI one (not AGP one) in the pci probing. So if you have 2 video cards in peg2 , then "vga0" mean pci one, and "vga1" an agp one. If card running alone, then "vga0" will handle any card it find be it agp or pci/pcie.
The good thing is that we don't need removing cards or disconnecting cables, I tested right now with both video cards connected to monitor at the same time : RadeonRX connected via HDMI cable, and Radeon9250 connected via VGA cable to same monitor at the same time, and simple set to "vga0", make firmware outputs to RadeonRX and amigaos4 boots to RadeonRX as the main one, and simple set to "vga1" make Radeon9250 in AGP output on firmware, and amigaos4 take this one as the primary to boot from.