Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
50 user(s) are online (36 user(s) are browsing Forums)

Members: 0
Guests: 50

more...

Headlines

 
  Register To Post  

« 1 2 3 4 (5)
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Quite a regular
Quite a regular


See User information
Originally I've created the frankenstein setup with the sole purpose of "because I can".

However the old systems are still in use today.

The RadeonHD and RadeonRX drivers depend on uboot to init the card before OS4 drivers is loaded.

It looks like the a reason why RX cards are not working with a SAM440 and older systems are because the x86 emulator in their uboot is not capable of running the vbios succesfully.

As far as I understand Atombios, it offers two ways to initialise the GFXcard:
- VBIOS x86 assembly interface wrapper
- AtomBios bytecode interpreter

The sam440 seems to use the generic VBIOS way and therefore needs a x86 emulator in uboot.

So I wonder if it would make sense to create a kernel module with AtomBios bytecode interpretor to initialise the gfx card and run it with a higher priority then the RadeonRX driver.

IIRC Morphos does something similar with their gfx drivers.

Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Just can't stay away
Just can't stay away


See User information
@geennaam
Quote:
The RadeonHD and RadeonRX drivers depend on uboot to init the card before OS4 drivers is loaded.
AFAIK that's wrong.
The old Radeon driver for R100/200 cards (ATIRadeon.chip) depends on the firmware, or on classic Amigas x86emu.resource.kmod, x86 emulator having executed the x86 BIOS rom code to initialize the card.
Hans' Radeon HD/RX drivers don't need that but can initialize the card itself, using the Atom parts.

Quote:
It looks like the a reason why RX cards are not working with a SAM440 and older systems are because the x86 emulator in their uboot is not capable of running the vbios succesfully.
You wont get any gfx output on U-Boot because it's x86 emulator doesn't work with the BIOS rom code of Radeon HD/RX cards. ACube would have to update the Sam440 U-Boot with the Radeon HD/RX changes from the PPC notebook U-Boot.
IIRC the x86 emulator in U-Boot even crashes executing Radeon HD/RX BIOS code and everything stops there, you can't boot AmigaOS at all because of that.
Changing the U-Boot stdout variable from vga to serial, which may skip any U-Boot gfx card initialization, could help. Since you can't have gfx display working in U-Boot anyway that doesn't change much.
After AmigaOS was booted and the Radeon HD/RX driver is used it should work just like on Sam460, using a Radeon RX on the X1000 (requires changing a jumper, no gfx output in the CFE firmware either), etc., unless there are additional problems on the Sam440 the Sam460 doesn't have.

Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Quite a regular
Quite a regular


See User information
@joerg

Quote:
Hans' Radeon HD/RX drivers don't need that but can initialize the card itself, using the Atom parts.


From the QEMU passtrough discussion I am pretty sure that it is the other way around. Otherwise there's no reason why the RadeonHD driver on a sam440 depends on the setting of u-boot x86 emulator.
Same with RadeonRX. Amigaos boots on a sam440 with RX, but the RadeonRX driver fails to complete init.

Iirc this was also part of the RadeonRX soft reset discussion. This couldn't be fixed unless the whole card init procedure was part of the driver. Because the driver expects the card in a certain state.

Quote:
You wont get any gfx output on U-Boot because it's x86 emulator doesn't work with the BIOS rom code of Radeon HD/RX cards. ACube would have to update the Sam440 U-Boot with the Radeon HD/RX changes from the PPC notebook U-Boot.
I do get u-boot output on my sam440 with HD 7000 card.

And it was the other way around. Uboot 2018 for the PPC notebook didn't contain any vbios/atombios code. Therefore they had to port the x86 emulator from the sam460 to the PPC notebook uboot

Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Just can't stay away
Just can't stay away


See User information
@geennaam
Quote:
From the QEMU passtrough discussion I am pretty sure that it is the other way around.
I'm 99% sure it's not, 100% sure for the old ATIReadon.chip, but for HD/RX only Hans can clarify it.

Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Just can't stay away
Just can't stay away


See User information
@geennaam
From
https://www.acube-systems.biz/download/Radeon_QuickGuide_v.1.0.pdf
Quote:
5. Changing the AmigaOS 4 configuration to use a RadeonRX:
...
You also need to add a line in the Kicklayout file like:
MODULE Kickstart/RadeonRX.chip
Make these changes in the first kickstart configuration, as Uboot does not support RX
cards. So, you won't see anything on the monitor until you reach the start of
AmigaOS 4.

...


For the Sam440 make sure you have U-Boot 1.3.1g or newer, from https://www.acube-systems.biz/index.php?page=news&id=143 Quote:
...
Improved support for Radeon HD and Radeon RX graphic cards.
Now you can use a Radeon HD / RX via a PCI to PCI Express adapter. On the Sam440ep flex motherboard, it is recommended to use PCI slot #1 for maximum performance. Please note that full support for Radeon RX is still under development and for this reason, with many models of gfx cards, U-Boot does not show any output, but the card works fine once the operating system is loaded.
...


For using PCIe in an AmigaOne XE check https://www-amigaportal-cz.translate.g ... x_tr_hl=de&_x_tr_pto=wapp


Edited by joerg on 2024/4/16 6:32:41
Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Quite a regular
Quite a regular


See User information
@joerg

Well, then we arrive right back at reason why this topic was started in the first place.

Let's put it this way. A-Cube claims a lot but we users cannot reproduce it. And A-cube doesn't disclose their setup used.

Fact 1: Radeon HD 7000 is initialised by U-BOOT. Shows a U-BOOT screen and the RadeonHD is able to complete init and workbench shows. Warp3D nova works and even Warp3D works with help of Warp3d-SI. But only when I set the U-BOOT x86 emulation (VBIOS) accuracy to Medium or fast. Otherwise I get U-BOOT output but RadeonHD driver fails to init. Now that would be strange if the RadeonHD driver was able to completly init the card with no dependancy on what U-BOOT is doing with VBIOS.

Fact 2: Radeon RX is NOT correctly initialised by U-BOOT. It shows no U-BOOT output. But boots AmigaOS anyways. The RadeonRX driver fails to initialize and halts the system on something called "Early init of block". Despite the claim made by A-Cube for the SAM440 and its 1.3.1g firmware.
Same card boots fine on my X5000 where u-boot is able to init the card properly and even show u-boot output.

Here's my output on a sam440 with latest bios, latest RX driver and RX560:
U-Boot 1.3.1g (Dec  4 2020 17:35:10)

CPU:   AMCC PowerPC 440EP RevC at 799.999 MHz (PLB=133OPB=66EBC=66 MHz)
       
I2C boot EEPROM enabled
       Bootstrap Option H 
Boot ROM Location I2C (Addr 0x52)
       
Internal PCI arbiter enabledPCI async ext clock used
       32 kB I
-Cache 32 kB D-Cache
Board
Sam440ep-flex
I2C
:   ready
DRAM
:  1024 MB
PCI
:   Bus Dev VenId DevId Class Int
        01  04  1013  6005  0401  00
        01  05  1033  0035  0c03  00
        01  05  1033  0035  0c03  00
        01  05  1033  00e0  0c03  00
        02  00  1102  0012  0403  ff
        01  
08  12d8  e111  0604  00
        00  0a  12d8  8150  0604  00
        03  00  1002  67ff  0300  ff
        03  00  1002  aae0  0403  ff
        00  0c  12d8  e111  0604  00
        00  0e  1095  3114  
0180  00
In
:    serial
Out
:   serial
Err
:   serial
Net
:   ppc_4xx_eth0ppc_4xx_eth1
SM502
not found
VGA
:   1
RadeonRX 
(2): Identified the chipset as: POLARIS11
RadeonRX 
(2): Graphics card name isRadeon RX Polaris11
RadeonRX 
(2):   If - and only if - your card does not work or does not work optimally
        please submit a bug report at
:
        
http://www.amiga.org/developer/bugreports
        
Remember to include the driver version, and the following card details:
        
0x67FF:0x1458:0x22FF: <name of board>
        and *
pleasedescribe the problems you are seeing in detail.
graphics.library PPC440ep optimizations enabled
RadeonRX 
(5): findRXCard called
RadeonRX 
(5): Card 0 (0): 0x10020x67FFRadeon RX Polaris11supportedactive
RadeonRX 
(5): Found supported card
RadeonRX 
(5): initRXCard called
RadeonRX 
(5): Initializing card
RadeonRX 
(2): Obtaining ITimer interface
RadeonRX (2): Got ITimer interface
RadeonRX (2): Returning from LibOpen().
RadeonRX (0): RadeonRX.chip 2.12 (24.8.2022)
RadeonRX (6): <rxOpen>
RadeonRX (4): CPU cache line length32
RadeonRX 
(4): PCI device is a graphics card.
RadeonRX (2): Identified the chipset as: POLARIS11
RadeonRX 
(2): Graphics card name isRadeon RX Polaris11
RadeonRX 
(2):   If - and only if - your card does not work or does not work optimally
        please submit a bug report at
:
        
http://www.amiga.org/developer/bugreports
        
Remember to include the driver version, and the following card details:
        
0x67FF:0x1458:0x22FF: <name of board>
        and *
pleasedescribe the problems you are seeing in detail.
RadeonRX (5): RadeonRX (5): PCI_DEVICE_ID0xE111
RadeonRX 
(5): RadeonRX (5): PCI_VENDOR_ID0x12D8
RadeonRX 
(5): RadeonRX (5): PCI_STATUSRadeonRX (5): ECP enableRadeonRX (5): 66 MHz capableRadeonRX (5): Fast back-to-back capableRadeonRX (5): RadeonRX (5): DEVSEL# timing 1, RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_COMMANDRadeonRX (5): I/O space enabledRadeonRX (5): Mem space enabledRadeonRX (5): Bus master enabledRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_CLASS0x60400
RadeonRX 
(5): RadeonRX (5): PCI_REVISION_ID0x2
RadeonRX 
(5): RadeonRX (5): PCI_HEADER_TYPE0x1
RadeonRX 
(5): RadeonRX (5): PCI_LATENCY_TIMER128
RadeonRX 
(5): RadeonRX (5): PCI_CACHE_LINE_SIZE32
RadeonRX 
(5): RadeonRX (5): PCI_SEC_LATENCY_TIMER0
RadeonRX 
(5): RadeonRX (5): PCI_PRIMARY_BUS0
RadeonRX 
(5): RadeonRX (5): PCI_SECONDARY_BUS3
RadeonRX 
(5): RadeonRX (5): PCI_SUBORDINATE_BUS3
RadeonRX 
(5): RadeonRX (5): PCI_SEC_STATUSRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): DEVSEL# timing 0, RadeonRX (5): RadeonRX (5): RadeonRX (5): Received master abort, RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_IO_BASE (full): 0x1000
RadeonRX 
(5): RadeonRX (5): PCI_IO_LIMIT (full): 0x1FFF
RadeonRX 
(5): RadeonRX (5): PCI_MEMORY_BASE (full): 0xA0200000
RadeonRX 
(5): RadeonRX (5): PCI_MEMORY_LIMIT (full): 0xC02FFFFF
RadeonRX 
(5): RadeonRX (5): PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
RadeonRX 
(5): RadeonRX (5): PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xFFFFF
RadeonRX 
(5): RadeonRX (5): PCI_BRIDGE_CONTROLRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): VGA enableRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_INTERRUPT_PIN0x1
RadeonRX 
(2): Cannot enable blind prefetch for PCI:0.12,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.0,0, because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0, because this device doesn'
t support it.
RadeonRX (4): Obtaining memory and I/O addresses and sizes
RadeonRX 
(4): Video RAM at0xB0000000size is 268435456 bytes
RadeonRX 
(4): Graphics card MMIO range at0x0xC0200000size is 262144 bytes
RadeonRX 
(4): Graphics card doorbell range at0x0xC0000000size is 2097152 bytes
RadeonRX 
(1): drm_mode_create_standard_properties unimplemented
RadeonRX 
(0): System doesn't have full memory coherence. Compensating...
RadeonRX (6): <rxEarlyInit>
RadeonRX (6): add ip block number 0 <vi_common>
RadeonRX (6): add ip block number 1 <gmc_v8_0>
RadeonRX (6): add ip block number 2 <tonga_ih>
RadeonRX (6): add ip block number 3 <amdgpu_powerplay>
RadeonRX (6): add ip block number 4 <dce_v11_0>
RadeonRX (6): add ip block number 5 <gfx_v8_0>
RadeonRX (6): add ip block number 6 <uvd_v6_0>
RadeonRX (6): </amdgpu_device_parse_gpu_info_fw result="0x00000000">
RadeonRX (6): Early init of block <vi_common>


RX570 same issue and symptoms:
U-Boot 1.3.1g (Dec  4 2020 17:35:10)

CPU:   AMCC PowerPC 440EP RevC at 799.999 MHz (PLB=133OPB=66EBC=66 MHz)
       
I2C boot EEPROM enabled
       Bootstrap Option H 
Boot ROM Location I2C (Addr 0x52)
       
Internal PCI arbiter enabledPCI async ext clock used
       32 kB I
-Cache 32 kB D-Cache
Board
Sam440ep-flex
I2C
:   ready
DRAM
:  1024 MB
PCI
:   Bus Dev VenId DevId Class Int
        01  04  1013  6005  0401  00
        01  05  1033  0035  0c03  00
        01  05  1033  0035  0c03  00
        01  05  1033  00e0  0c03  00
        02  00  1102  0012  0403  ff
        01  
08  12d8  e111  0604  00
        00  0a  12d8  8150  0604  00
        03  00  1002  67df  0300  ff
        03  00  1002  aaf0  0403  ff
        00  0c  12d8  e111  0604  00
        00  0e  1095  3114  
0180  00
In
:    serial
Out
:   serial
Err
:   serial
Net
:   ppc_4xx_eth0ppc_4xx_eth1
SM502
not found
VGA
:   1
RadeonRX 
(2): Identified the chipset as: POLARIS10
RadeonRX 
(2): Graphics card name isRadeon RX Polaris10
RadeonRX 
(2):   If - and only if - your card does not work or does not work optimally
        please submit a bug report at
:
        
http://www.amiga.org/developer/bugreports
        
Remember to include the driver version, and the following card details:
        
0x67DF:0x1682:0xC570: <name of board>
        and *
pleasedescribe the problems you are seeing in detail.
graphics.library PPC440ep optimizations enabled
RadeonRX 
(5): findRXCard called
RadeonRX 
(5): Card 0 (0): 0x10020x67DFRadeon RX Polaris10supportedactive
RadeonRX 
(5): Found supported card
RadeonRX 
(5): initRXCard called
RadeonRX 
(5): Initializing card
RadeonRX 
(2): Obtaining ITimer interface
RadeonRX (2): Got ITimer interface
RadeonRX (2): Returning from LibOpen().
RadeonRX (0): RadeonRX.chip 2.12 (24.8.2022)
RadeonRX (6): <rxOpen>
RadeonRX (4): CPU cache line length32
RadeonRX 
(4): PCI device is a graphics card.
RadeonRX (2): Identified the chipset as: POLARIS10
RadeonRX 
(2): Graphics card name isRadeon RX Polaris10
RadeonRX 
(2):   If - and only if - your card does not work or does not work optimally
        please submit a bug report at
:
        
http://www.amiga.org/developer/bugreports
        
Remember to include the driver version, and the following card details:
        
0x67DF:0x1682:0xC570: <name of board>
        and *
pleasedescribe the problems you are seeing in detail.
RadeonRX (5): RadeonRX (5): PCI_DEVICE_ID0xE111
RadeonRX 
(5): RadeonRX (5): PCI_VENDOR_ID0x12D8
RadeonRX 
(5): RadeonRX (5): PCI_STATUSRadeonRX (5): ECP enableRadeonRX (5): 66 MHz capableRadeonRX (5): Fast back-to-back capableRadeonRX (5): RadeonRX (5): DEVSEL# timing 1, RadeonRX (5): Signaled target abort, RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_COMMANDRadeonRX (5): I/O space enabledRadeonRX (5): Mem space enabledRadeonRX (5): Bus master enabledRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_CLASS0x60400
RadeonRX 
(5): RadeonRX (5): PCI_REVISION_ID0x2
RadeonRX 
(5): RadeonRX (5): PCI_HEADER_TYPE0x1
RadeonRX 
(5): RadeonRX (5): PCI_LATENCY_TIMER128
RadeonRX 
(5): RadeonRX (5): PCI_CACHE_LINE_SIZE32
RadeonRX 
(5): RadeonRX (5): PCI_SEC_LATENCY_TIMER0
RadeonRX 
(5): RadeonRX (5): PCI_PRIMARY_BUS0
RadeonRX 
(5): RadeonRX (5): PCI_SECONDARY_BUS3
RadeonRX 
(5): RadeonRX (5): PCI_SUBORDINATE_BUS3
RadeonRX 
(5): RadeonRX (5): PCI_SEC_STATUSRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): DEVSEL# timing 0, RadeonRX (5): RadeonRX (5): RadeonRX (5): Received master abort, RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_IO_BASE (full): 0x1000
RadeonRX 
(5): RadeonRX (5): PCI_IO_LIMIT (full): 0x1FFF
RadeonRX 
(5): RadeonRX (5): PCI_MEMORY_BASE (full): 0xA0200000
RadeonRX 
(5): RadeonRX (5): PCI_MEMORY_LIMIT (full): 0xC02FFFFF
RadeonRX 
(5): RadeonRX (5): PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
RadeonRX 
(5): RadeonRX (5): PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xFFFFF
RadeonRX 
(5): RadeonRX (5): PCI_BRIDGE_CONTROLRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): VGA enableRadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5): RadeonRX (5):
RadeonRX (5): RadeonRX (5): PCI_INTERRUPT_PIN0x1
RadeonRX 
(2): Cannot enable blind prefetch for PCI:0.12,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.0,0, because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0, because this device doesn'
t support it.
RadeonRX (4): Obtaining memory and I/O addresses and sizes
RadeonRX 
(4): Video RAM at0xB0000000size is 268435456 bytes
RadeonRX 
(4): Graphics card MMIO range at0x0xC0200000size is 262144 bytes
RadeonRX 
(4): Graphics card doorbell range at0x0xC0000000size is 2097152 bytes
RadeonRX 
(1): drm_mode_create_standard_properties unimplemented
RadeonRX 
(0): System doesn't have full memory coherence. Compensating...
RadeonRX (6): <rxEarlyInit>
RadeonRX (6): add ip block number 0 <vi_common>
RadeonRX (6): add ip block number 1 <gmc_v8_0>
RadeonRX (6): add ip block number 2 <tonga_ih>
RadeonRX (6): add ip block number 3 <amdgpu_powerplay>
RadeonRX (6): add ip block number 4 <dce_v11_0>
RadeonRX (6): add ip block number 5 <gfx_v8_0>
RadeonRX (6): add ip block number 6 <uvd_v6_0>
RadeonRX (6): </amdgpu_device_parse_gpu_info_fw result="0x00000000">
RadeonRX (6): Early init of block <vi_common>


Edited by geennaam on 2024/4/16 14:28:20
Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Just can't stay away
Just can't stay away


See User information
@geennaam
Which PCIe bridge are you using? Apparently PEX 8111/2 ones don't work, P17C9X ones do.
On https://www-amigaportal-cz.translate.g ... x_tr_hl=de&_x_tr_pto=wapp 4 PCIe gfx cards were tested successfully in a Sam440, one didn't work.

Go to top
Re: ACube/AEon - more info about PCIe cards in SAM440, please
Quite a regular
Quite a regular


See User information
@joerg

I would really advise you to read back this whole thread and then you'll discover that I was the one who finally managed to get a HD 7000 card working in a SAM440. With the P17C9X111SL

Then you'll also discover that Sailor (the user who wrote that article that you are linking to) also managed to get the HD 7000 working with my P17C9X111SL solution. (She even mentions me in 3.1 )

And she also did not manage to get a Radeon RX 500 working in her sam440. In her article she mentioned in 3.2 that she has tested a RX480. But that one also didn't work at all. No uboot, no amigaos.

So despite the claims from A-Cube that the 1.3.1g u-boot update will improve compatibility with a RadeonRX, nobody outside A-cube has ever managed to do so.
And the RadeonRX driver cannot manage on its own.


Edited by geennaam on 2024/4/17 8:55:51
Go to top

  Register To Post
« 1 2 3 4 (5)

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project