Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
29 user(s) are online (23 user(s) are browsing Forums)

Members: 1
Guests: 28

skynet, more...

Support us!

Headlines

Forum Index


Board index » All Posts (nikitas)




Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton
Applied your patch and recompiled.
Radeon R7 240 on PCI 0 does not work. I'cant say why, because the host system freezes completely. In pci.1, it works with the same slow VRam <=> RAM issues.

Then I replaced Radeon R7 240 with RadeonRX 550 by attaching it to the uppermost PCIe slot of my host machine.

In pci.1 it falls into the known endless loop. In pci.0 it boots, and I got the best Gfx2DBench results ever with an overall score of 300 (almost!) and FillRect operations/s at 172 instead of the previous RX test in which FillRect operations/s were at 100.

Despite the improved results:
- The gap between this and the expected results is still chaotic.
- Radeon RX 550 is still slower than R7 240 on drawing. R7 240 had 470 operations/s on FillRect (if I remember correctly), in contrast with RX550's 172 FillRect operations/s.
- RadeonRX 550 is very slow but much faster on VRAM <=> RAM operations compared to R7 240.

https://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2816

Does the above mean that the RadeonHD.chip is doing better than RadeonRX.chip in general?

@balaton
Along with the latest patch you've published, should I also apply the previous two patches you posted on this thread and recompile?

@Hans
In order to have a better view, I'd like to know the host machine specifications of those who tried QEMU PegasosII + AmigaOS4.1FE + VFIO'd RX550/R7 240 and got much better Gfx2DBench results than I did.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

Quote:
Can you test this QEMU patch This should fix interrupts on pci.0 while it should make no difference for pci.1 so only could iprove things when using pci.0 and should not break things when using pci.1 (or no bus=pci.0 option as default for pegasos2 is pci.1). You should be able to apply to QEMU git master with git am command.

Once more, thank you for your work and your insistence on improving QEMU PPC. I will try it and I will inform you.

Quote:
In any case si_dpm_init and radeon_pm_init in the Linux backtrace as well as the line before the Oops talking about fan control suggests it's some issue with power management of the card.


What in the world could be happening with my machine... Every power management is disabled in UEFI. And I followed instructions to disable every PCIe power management on Ubuntu 24.04. I'll investigate further though.

In the worst case, I will keep the cards and I'll throw the PC into the sea. I might get one with a Ryzen CPU.

I would like to advise me if you know what mobos + CPUs combinations serve best QEMU/KVM, QEMU PPC, and virtualization in general.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@afxgroup

I found this:
Quote:
"A workaround is available in qemu, by adding the parameter "x-igd-gms=1" to the according IGD device line."


So it could be?
x-vga=on,x-idg-gms=1


You also use:
-display sdl,gl=on

I don't think you need this at all.

For more debugging output you can add:
-d guest_errors,unimp


For getting logs from the guest, I think you can add:
-append "os4_commandline serial debuglevel=3"

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@afxgroup

I don't know about the error, but it seems you forgot to include
RadeonRX.chip in your Kicklayout.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton @Hans

And I can't test it on Debian PPC, because despite recognizing the Radeon R7 GPU when running lspci -nnk, (I have installed the firmware-linux-nonfree package that contains the radeon driver.), during the boot/reboot, it throws an exception (sometimes continues the boot process and I get the terminal but startx doesn't work):

The command:
qemu-system-ppc \
-machine pegasos2 \
-bios pegasos2.rom \
-rtc base=localtime \
-drive if=none,id=CD0,file=debian-8.11.0-powerpc-DVD-1.iso,format=raw -device ide-cd,drive=CD0,bus=ide.1 \
-drive if=none,id=DH0,file=hd.img,format=raw -device ide-hd,drive=DH0,bus=ide.0 \
-vga none \
-device rtl8139,netdev=ETH0 -netdev user,id=ETH0 \
-device vfio-pci,host=01:00.0,x-vga=on,id=vfio0,multifunction=on \
-device vfio-pci,host=01:00.1,id=vfio1 \
-device bochs-display \
-serial stdio


The PegasosII boot:
" /failsafe" io
boot hd
:0 vmlinuz-3.16.0-6-powerpc root=/dev/sda2


The exception during Debian Jessie PPC boot:
[    8.871644radeon 0000:00:02.0enabling device (0000 -> 0003)
[    
8.902604] [drminitializing kernel modesetting (OLAND 0x1002:0x6617 0x1DA2:0xE263).
[    
8.903239] [drmregister mmio base0x80080000
[    8.903355] [drmregister mmio size262144
[    8.905565ATOM BIOSOLAND
[    8.921018radeon 0000:00:02.0VRAM4096M 0x0000000000000000 0x00000000FFFFFFFF (4096M used)
[    
8.921319radeon 0000:00:02.0GTT1024M 0x0000000100000000 0x000000013FFFFFFF
[    8.921587] [drmDetected VRAM RAM=4096MBAR=256M
[    8.921713] [drmRAM width 128bits DDR
[    8.922519] [drmradeon4096M of VRAM memory ready
[    8.927359] [drmradeon1024M of GTT memory ready.
[    
8.927705] [drmLoading OLAND Microcode
[    8.933407radeon 0000:00:02.0firmwaredirect-loading firmware radeon/OLAND_pfp.bin
/dev/sda1fsck[    8.935567radeon 0000:00:02.0firmwaredirect-loading firmware radeon/OLAND_me.bin
[    8.940827radeon 0000:00:02.0firmwaredirect-loading firmware radeon/OLAND_ce.bin
[    8.941847radeon 0000:00:02.0firmwaredirect-loading firmware radeon/OLAND_rlc.bin
[    8.961028radeon 0000:00:02.0firmwaredirect-loading firmware radeon/OLAND_mc2.bin
[    8.961275] [drmradeon/OLAND_mc2.bin31452 bytes
[    8.964061radeon 0000:00:02.0firmwaredirect-loading firmware radeon/OLAND_smc.bin
[    8.964544] [drmInternal thermal controller with fan control
[    8.973876Unable to handle kernel paging request for data at address 0x00000020
[    8.974096Faulting instruction address0xe1c96a7c
[    8.974391OopsKernel access of bad areasig11 [#1]
[    8.974530CHRP
[    8.974646Modules linked inradeon(+) vt8231 snd_hda_codec_hdmi uhci_hcd(+) ehci_hcd snd_via82xx snd_mpu401_uart i2c_viapro snd_rawmidi snd_seq_device snd_via82xx_modem usbcore snd_hda_intel snd_ac97_codec snd_hda_controller bochs_drm ac97_bus gameport usb_common ttm sr_mod snd_hda_codec 8139too drm_kms_helper cdrom snd_hwdep parport_pc parport psmouse snd_pcm 8139cp drm snd_timer via_ircc mii irda snd sg evdev syscopyarea sysfillrect sysimgblt soundcore serio_raw crc_ccitt i8042 atkbd libps2 serio autofs4 ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_generic crct10dif_common ata_generic pata_via
[    8.976159CPU0 PID141 Commsystemd-udevd TaintedG        W     3.16.0-6-powerpc #1 Debian 3.16.56-1+deb8u1
[    8.976399taskdeda4010 tidec36000 task.tidec36000
[    8.976527NIPe1c96a7c LRe3bcbe10 CTR00000000
[    8.976645REGSdec37a10 TRAP0300   TaintedG        W      (3.16.0-6-powerpc Debian 3.16.56-1+deb8u1)
[    
8.976869MSR: 00009032 <EE,ME,IR,DR,RI>  CR82228428  XER00000000
[    8.977055DAR00000020 DSISR40000000 
GPR00
e3bcbe10 dec37ac0 deda4010 dfa70400 dec37b1c 00000000 dcd77ffc 000003fd 
GPR08
: 00008000 df8b6000 00000000 00000003 22228482 20128c8c 00000000 c072ca48 
GPR16
c00a6600 00000000 00000124 dfb982c8 e3c34320 dfb982e4 dcd70000 c06ea4a4 
GPR24
dfb982c0 df8be000 e3c32a68 00007adc dd3c91b0 dd3c8000 00000000 dec37b1c 
[    8.977923NIP [e1c96a7cdrm_pcie_get_speed_cap_mask+0x3c/0x12c [drm]
[    
8.978137LR [e3bcbe10si_dpm_init+0x54/0xfd8 [radeon]
[    
8.978280Call Trace:
[    
8.978353] [dec37ac0] [df8be0000xdf8be000 (unreliable)
[    
8.978537] [dec37ae0] [e3bcbe10si_dpm_init+0x54/0xfd8 [radeon]
[    
8.978733] [dec37b80] [e3b63120radeon_pm_init+0x1a8/0x7c4 [radeon]
[    
8.978942] [dec37bd0] [e3b8f010si_init+0x270/0x83c [radeon]
[    
8.979124] [dec37c10] [e3b030f0radeon_device_init+0x62c/0xaa0 [radeon]
[    
8.979327] [dec37c40] [e3b05cfcradeon_driver_load_kms+0xa0/0x1c4 [radeon]
[    
8.979502] [dec37c60] [e1c941d0drm_dev_register+0xd4/0x130 [drm]
[    
8.979659] [dec37c80] [e1c97270drm_get_pci_dev+0xcc/0x1b8 [drm]
[    
8.979855] [dec37ca0] [e3b014c8radeon_pci_probe+0x110/0x144 [radeon]
[    
8.980018] [dec37cd0] [c02a2b48pci_device_probe+0xb4/0x11c
[    8.980154] [dec37d00] [c035ddd4driver_probe_device+0xc0/0x3c0
[    8.980298] [dec37d30] [c035e218__driver_attach+0xc8/0xcc
[    8.980431] [dec37d50] [c035bab4bus_for_each_dev+0x74/0xc0
[    8.980567] [dec37d80] [c035d244bus_add_driver+0x184/0x264
[    8.980702] [dec37da0] [c035eb30driver_register+0x94/0x13c
[    8.980839] [dec37db0] [c00043c0do_one_initcall+0xd0/0x240
[    8.980977] [dec37e20] [c00a9c88load_module+0x1d08/0x2318
[    8.981146] [dec37ee0] [c00aa490SyS_finit_module+0x9c/0xd8
[    8.981284] [dec37f40] [c00152e8ret_from_syscall+0x0/0x40
[    8.981427] --- Exceptionc01 at 0x1ffe6f50
[    8.981427]     LR 0x1fe14670
[    8.981599Instruction dump:
[    
8.9817299421ffe0 7c0802a6 bfc10018 90010024 39200000 91240000 7c9f2378 812300d0 
[    8.9819332f890000 419e0038 81290008 83c9001c <a13e00202b891106 419e0024 2b891166 
[    8.982303] ---[ end trace 3860cff9fa78db7c ]---



This might indicate an issue with reading/writing in PCI BARs (as always...)
Unable to handle kernel paging request for data at address 0x00000020

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

Hello,

Quote:
That is you need to use both pegasos2.rom and BBoot. To do that copy bboot, bboot.fth and Kickstart.zip to your boot volume where amigaboot.of is and from the pegasos2.rom ok prompt do 'boot hd:0 bboot.fth'

Yes, you had told me about this before, so that's the way I boot the system using pegasos.rom and then blindly typing hd:0 bboot.fth.

Quote:
Don't care about those numbers. QEMU numbers them as the chip has it but on pegasos2 these are used in the opposite order (because on real chip pci.0 is 66MHz and used for the AGP port and pci.1 is 33MHz and used for PCI) and AmigaOS numbers them that way but this does not matter it's still the same bus just numbered differently.

Understood.

Quote:
I don't know why unless you tell what does refuse to work mean. Any errors? Maybe it needs the missing interrupt. The firmware should init a GPU in the AGP port too so running the BIOS should not be a problem.

It does not refuse to work actually. It freezes everything. Even the host system, and I have to hard reset the host. When I first tried with BBoot the host froze and in addition after the hard reset he "kickstart.zip" was "fried". It got corrupted. 0 kilobytes.

Quote:
Any numbers on that so we can compare to the RX benchmark results?

Yes, this is the first thing I tried, but the overall score is misleading because during the Gfx2DBench test, the drawings were interrupted very frequently. When it is drawing, it is faster than RX550. But again, it gets interrupted by something—maybe some other process. So, it took 3 hours with an overall score of 60. But, for example, (as @Hans will notice, I'm sure) FillRect is a lot faster.
This means it is not just my system or QEMU, but it seems RadeonHD.chip performs better than RadeonRX.chip, doesn't it?
https://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2812

Quote:
Does the Invalid write at addr 0xFE000080 / 0x80 show up with bus=pci.0 as well or only with pci.1?

Yes, this message appears regardless of the PCI bus used. I see it very often, and I tend to believe that it is unrelated.


Edited by nikitas on 2024/6/26 20:22:06
Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton @Hans @kas1e

It starts getting very funny. I attached the Radeon R7 240:

- It doesn't work at all with bboot v.07. It works with pegasos.rom.
- The RadeonRX 550 refused to be attached to pci.1 and works only on pci.0. But in AOS4, Ranger reports that it is attached on bus 0x01.
- Now, the Radeon 7 240 refuses to work on pci.0 slot and works only on pci.1. But in AOS4, Ranger reports that it is attached on bus 0x00(!)

Despite being inferior to RadeonRX 550, Radeon R7 240 performs much better(!) but still very slow.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@Hans

I changed the GPU Power Setting from Dynamic to High (on the AOS4.1 guest).

On the host UEFI the ASPM is disabled.
On the host OS (Ubuntu 24.04), I added directives in the grub command that disable any PCIe power-saving mode.

Unfortunately, I don't see any improvement.

Despite using the pci.0 slot in QEMU, the AOS4.1 Ranger shows that the passed-through PCI devices are attached to the 0x01 bus. But I guess you already know this.

At least reading the following gives me a small idea of what I'm seeing in the logs. That's a plus...

https://wiki.osdev.org/PCI
https://wiki.osdev.org/PCI_Express

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton @Hans

Of course, as we already know, when I explicitly define:
bus=pci.0


Then AmigaOS4.1 FE boots normally, but as the thread title says, it's extremely slow.

These are the logs of the successful boot when using pci.0:
BBoot 0.7 (15.4.2024)
/
pci@80000000io fe000000/10000 mem 80000000/40000000
/pci@80000000/host:    0:0.0     11ab:6460 60000 646011ab 0000 7
Added assigned
-addresses
/pci@80000000/isa:    0:c.0     1106:8231 60100 82311106 0000 8
Added assigned
-addresses
/pci@80000000/ide:    0:c.1     1106:0571 1018f 05711106 010e 87
Added assigned
-addresses
  1006110        0 fe001000         0        8  
00000001 00001001
  1006114        0 fe001008         0        4  
00000001 ! 00001009
  
1006118        0 fe001010         0        8  00000001 00001011
  100611c        0 fe001018         0        4  
00000001 ! 00001019
  
1006120        0 fe001020         0       10  00000001 00001021
/pci@80000000/usb:    0:c.2     1106:3038 c0300 30381106 0409 7
Added assigned
-addresses
  1006220        0 fe001040         0       20  
00000001 00001041
/pci@80000000/usb:    0:c.3     1106:3038 c0300 30381106 0409 7
Added assigned
-addresses
  1006320        0 fe001060         0       20  
00000001 00001061
/pci@80000000/other:    0:c.4     1106:8235 68000 82351106 0009 0
Added assigned
-addresses
/pci@80000000/sound:    0:c.5     1106:3058 40100 30581106 0309 4
Added assigned
-addresses
  1006510        0 fe001100         0      100  
00000001 00001101
  1006514        0 fe001030         0        4  
00000001 00001031
  1006518        0 fe001034         0        4  
00000001 00001035
/pci@80000000/pci1106,3068:    0:c.6     1106:3068 78000 30681106 0309 30
Added assigned
-addresses
/pci@c0000000io f8000000/10000 mem c0000000/20000000
/pci@c0000000/host:    0:0.0     11ab:6460 60000 646011ab 0000 7
Added assigned
-addresses
/pci@c0000000/display:    0:1.0     1002:699f 30000 699f1002 01ff 0
Truncated 64 bit BAR 43000810
Truncated 64 bit BAR 43000818
Added assigned
-addressesset interrupt 0109
 
42000810        0 c0000000         0 10000000  0000000c c000000c
 42000818        0 d0000000         0   200000  
0000000c d000000c
  1000820        0 f8001000         0      100  
00000001 00001001
  2000824        0 d0200000         0    40000  
00000000 d0200000
  2000830        0 d0240000         0    20000  
00000000 d0240000
Checking initrd at 0x600000
-0xc4c77e (6604670 bytes)
Found zip with 70 entries
Parsing Kicklayout at 0xc4c77e 
(3367 bytes)
Booting config 1AmigaOS_4.1_Final_Edition
Loading loader
.of
Loading kernel
Loading FastFileSystem
Loading SmartFileSystem
Loading peg2ide
.device.kmod
Loading battclock
.resource.kmod
Loading bootmenu
.kmod
Loading bootimage
Loading CDFileSystem
Loading con
-handler.kmod
Loading console
.device.kmod
Loading diskboot
.kmod
Loading diskboot
.config
Loading diskcache
.library.kmod
Loading dos
.library.kmod
Loading elf
.library.kmod
Loading env
-handler.kmod
Loading FileSystem
.resource.kmod
Loading gadtools
.library.kmod
Loading gameport
.device.kmod
Loading graphics
.library.kmod
Loading hunk
.library.kmod
Loading input
.device.kmod
Loading intuition
.library.kmod
Loading it8212ide
.device.kmod
Loading keyboard
.device.kmod
Loading keymap
.library.kmod
Loading lsi53c8xx
.device.kmod
Loading newlib
.library.kmod
Loading nonvolatile
.library.kmod
Loading nvram
.config
Loading ps2
.resource.kmod
Loading ram
-handler.kmod
Loading ramdrive
.device.kmod
Loading ramlib
.kmod
Loading shell
.kmod
Loading strap
.kmod
Loading timer
.device.kmod
Loading PCIGraphics
.card
Loading RadeonRX
.chip.debug
Loading siliconmotion502
.chip
Loading usbresource
.library
Loading usbsys
.device
Loading hub
.usbfd
Loading bootmouse
.usbfd
Loading bootkeyboard
.usbfd
Loading massstorage
.usbfd
Loading uhci
.usbhcd
Loading ohci
.usbhcd
Loading ehci
.usbhcd
Loading mounter
.library
Starting exec
RadeonRX 
(2): Identified the chipset as: POLARIS12
RadeonRX 
(2): Graphics card name isRadeon RX Polaris12
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:
    
0x699F:0x1DA2:0xE468: <name of board>
    and *
pleasedescribe the problems you are seeing in detail.
graphics.library AltiVec/VMX enabled
graphics
.library PPC74xx optimizations enabled
RadeonRX 
(5): findRXCard called
RadeonRX 
(5): Card 0 (0): 0x10020x699FRadeon RX Polaris12supportedinactive
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): [1m<rxOpen>
[
mRadeonRX (4): Have altivec.
RadeonRX (4): CPU cache line length32
RadeonRX 
(4): PCI device is a graphics card.
RadeonRX (2): Identified the chipset as: POLARIS12
RadeonRX 
(2): Graphics card name isRadeon RX Polaris12
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:
    
0x699F:0x1DA2:0xE468: <name of board>
    and *
pleasedescribe the problems you are seeing in detail.
RadeonRX (4): Obtaining memory and I/O addresses and sizes
RadeonRX 
(4): Video RAM at0xC0000000size is 268435456 bytes
RadeonRX 
(4): Graphics card MMIO range at0x0xD0200000size is 262144 bytes
RadeonRX 
(4): Graphics card doorbell range at0x0xD0000000size 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>
RadeonRX (4): Couldn'
t find root PCIe busassuming existing link is gen 1
RadeonRX 
(4): Couldn't find root PCIe bus; assuming PCIe max link width is current link width
RadeonRX (4): Current link width is: 4
RadeonRX (6): Early init of block <vi_common> done
RadeonRX (6): Early init of block <gmc_v8_0>
RadeonRX (6): Early init of block <gmc_v8_0> done
RadeonRX (6): Early init of block <tonga_ih>
RadeonRX (6): Early init of block <tonga_ih> done
RadeonRX (6): Early init of block <amdgpu_powerplay>
RadeonRX (6): Early init of block <amdgpu_powerplay> done
RadeonRX (6): Early init of block <dce_v11_0>
RadeonRX (6): Early init of block <dce_v11_0> done
RadeonRX (6): Early init of block <gfx_v8_0>
RadeonRX (6): <gfx_v8_0_early_init>
RadeonRX (6): </gfx_v8_0_early_init result="0x00000000">
RadeonRX (6): Early init of block <gfx_v8_0> done
RadeonRX (6): </rxEarlyInit result="0x00000000">
RadeonRX (4): No resident copy of the AtomBIOS found for PCI:1.1.0. Copying the ROM from the graphics card.
RadeonRX (4): Obtaining a copy of the AtomBIOS from the graphics card.
RadeonRX (4): Rom Address:0xC0000000, ROM Physical Address: 0xC0000000, ROM BAR Address: 0x0000000C
RadeonRX (4): The ROM is 131072 bytes in size.
RadeonRX (4): ATOMBIOS detected
RadeonRX (4): The BIOS image is 59392 bytes in size.
RadeonRX (4): Resident AtomBIOS copy created at: 0x6FED6018
RadeonRX (4): ATOMBIOS detected
RadeonRX (5): 0x6FED601C: 0x55AA74E9
RadeonRX (5): 0x6FED6020: 0xA5020000
RadeonRX (5): 0x6FED6024: 0x       0
RadeonRX (5): 0x6FED6028: 0x       0
RadeonRX (5): 0x6FED602C: 0x       0
RadeonRX (5): 0x6FED6030: 0x       0
RadeonRX (5): 0x6FED6034: 0x48020000
RadeonRX (5): 0x6FED6038: 0x    4942
RadeonRX (5): 0x6FED603C: 0x4D2F7C92
RadeonRX (5): 0x6FED6040: 0x       0
RadeonRX (4): ATOM BIOS: 113-2468PSC-U03
RadeonRX (9): atombios requested 00000000 0kb
RadeonRX (4): GPU post is not needed
RadeonRX (4): Default clocks: SCLK: 214MHz, MCLK: 300MHz
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (1): i2c_add_adapter unimplemented
RadeonRX (6): SW init of block <vi_common>
RadeonRX (6): SW init of block <vi_common> done
RadeonRX (6): SW init of block <gmc_v8_0>
RadeonRX (4): vm size is 64 GB, block size is 13-bit
RadeonRX (9): 
RadeonRX (6): <firmwareGet>
RadeonRX (6): Looking up firmware amdgpu/polaris12_mc.bin
RadeonRX (8): Firmware file: polaris12_mc.bin
RadeonRX (6): <getPolarisFWRecord>
RadeonRX (6): polaris12_ firmware of type mc.bin
RadeonRX (6): </getPolarisFWRecord result="0x02105904">
RadeonRX (6): Firmware amdgpu/polaris12_mc.bin found. Has size of 14847 bytes (which will be decompressed to 32608 bytes
RadeonRX (6): </firmwareGet result="0x6FE9D000">
RadeonRX (4): VRAM: 4096M 0x0000000000000000 - 0x00000000FFFFFFFF (4096M used)
RadeonRX (4): GTT: 4096M 0x0000000100000000 - 0x00000001FFFFFFFF
RadeonRX (1): amdgpu_bo_init unimplemented
RadeonRX (4): GART: num cpu pages 1048576, num gpu pages 1048576 (4096 MB
RadeonRX (0): Platform doesn'
t have full memory coherenceDisabling GART.
RadeonRX (6): SW init of block <gmc_v8_0done
RadeonRX 
(6): HW init of block <gmc_v8_0>
RadeonRX (0): No VRAM object for PCIE GART.
RadeonRX (2): GART not availabledisabling
RadeonRX 
(6): HW init of block <gmc_v8_0done
RadeonRX 
(6): SW init of block <tonga_ih>
RadeonRX (4): MSI/MSI-X not enabled
RadeonRX 
(4): amdgpuirq initialized.
RadeonRX (6): SW init of block <tonga_ihdone
RadeonRX 
(6): SW init of block <amdgpu_powerplay>
RadeonRX (4): amdgpupowerplay sw initialized
RadeonRX 
(6): SW init of block <amdgpu_powerplaydone
RadeonRX 
(6): SW init of block <dce_v11_0>
RadeonRX (1): amdgpu_modeset_create_props unimplemented
RadeonRX 
(1): amdgpu_atombios_dp_aux_init unimplemented
RadeonRX 
(4): AMDGPU Display Connectors
RadeonRX 
(4): Connector 0:
RadeonRX (4):   DP
RadeonRX 
(4):   HPD5
RadeonRX 
(4):   DDC0x4868 0x4868 0x4869 0x4869 0x486A 0x486A 0x486B 0x486B
RadeonRX 
(4):   Encoders:
RadeonRX (4):     DFP1INTERNAL_UNIPHY1
RadeonRX 
(4): Connector 1:
RadeonRX (4):   HDMI-A
RadeonRX 
(4):   HPD3
RadeonRX 
(4):   DDC0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877
RadeonRX 
(4):   Encoders:
RadeonRX (4):     DFP2INTERNAL_UNIPHY1
RadeonRX 
(4): Connector 2:
RadeonRX (4):   DVI-D
RadeonRX 
(4):   HPD4
RadeonRX 
(4):   DDC0x4878 0x4878 0x4879 0x4879 0x487A 0x487A 0x487B 0x487B
RadeonRX 
(4):   Encoders:
RadeonRX (4):     DFP3INTERNAL_UNIPHY
RadeonRX 
(1): drm_kms_helper_poll_init unimplemented
RadeonRX 
(6): SW init of block <dce_v11_0done
RadeonRX 
(6): SW init of block <gfx_v8_0>
RadeonRX (9): 
RadeonRX (6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_pfp.bin
RadeonRX 
(8): Firmware filepolaris12_pfp.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type pfp.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x0210591C">
[
mRadeonRX (6): Firmware amdgpu/polaris12_pfp.bin foundHas size of 9032 bytes (which will be decompressed to 17044 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6FEAA000">
[
mRadeonRX (6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_me.bin
RadeonRX 
(8): Firmware filepolaris12_me.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type me.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x02105928">
[
mRadeonRX (6): Firmware amdgpu/polaris12_me.bin foundHas size of 6691 bytes (which will be decompressed to 17044 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6FEAF000">
[
mRadeonRX (6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_ce.bin
RadeonRX 
(8): Firmware filepolaris12_ce.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type ce.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x02105910">
[
mRadeonRX (6): Firmware amdgpu/polaris12_ce.bin foundHas size of 3062 bytes (which will be decompressed to 8852 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6FF61000">
[
mRadeonRX (4): Chained IB support enabled!
RadeonRX (6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_rlc.bin
RadeonRX 
(8): Firmware filepolaris12_rlc.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type rlc.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x0210594C">
[
mRadeonRX (6): Firmware amdgpu/polaris12_rlc.bin foundHas size of 6316 bytes (which will be decompressed to 16660 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6F67C000">
[
mRadeonRX (6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_mec.bin
RadeonRX 
(8): Firmware filepolaris12_mec.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type mec.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x02105934">
[
mRadeonRX (6): Firmware amdgpu/polaris12_mec.bin foundHas size of 28857 bytes (which will be decompressed to 262824 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6F63B000">
[
mRadeonRX (6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_mec2.bin
RadeonRX 
(8): Firmware filepolaris12_mec2.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type mec2.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x02105940">
[
mRadeonRX (6): Firmware amdgpu/polaris12_mec2.bin foundHas size of 29014 bytes (which will be decompressed to 262824 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6F5FA000">
[
mRadeonRX (2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE008cpu addr 0x0xCFFFE008 on ring 0
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE018cpu addr 0x0xCFFFE018 on ring 1
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE028cpu addr 0x0xCFFFE028 on ring 2
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE038cpu addr 0x0xCFFFE038 on ring 3
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE048cpu addr 0x0xCFFFE048 on ring 4
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE058cpu addr 0x0xCFFFE058 on ring 5
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE068cpu addr 0x0xCFFFE068 on ring 6
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE078cpu addr 0x0xCFFFE078 on ring 7
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE088cpu addr 0x0xCFFFE088 on ring 8
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(4): fence driver use gpu addr 0x000000000FFFE09Ccpu addr 0x0xCFFFE09C on ring 9
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GART allocation to VRAM
RadeonRX 
(2): Redirecting GDS allocation to VRAM
RadeonRX 
(2): Redirecting GWS allocation to VRAM
RadeonRX 
(2): Redirecting OA allocation to VRAM
RadeonRX 
(6): SW init of block <gfx_v8_0done
RadeonRX 
(6): HW init of block <vi_common>
RadeonRX (6): HW init of <vi_commondone.
RadeonRX (6): HW init of block <tonga_ih>
RadeonRX (6): HW init of <tonga_ihdone.
RadeonRX (6): HW init of block <amdgpu_powerplay>
RadeonRX (2): Redirecting GART allocation to VRAM
RadeonRX 
(6): [1m<firmwareGet>
[
mRadeonRX (6): Looking up firmware amdgpu/polaris12_smc.bin
RadeonRX 
(8): Firmware filepolaris12_smc.bin
RadeonRX 
(6): [1m<getPolarisFWRecord>
[
mRadeonRX (6): polaris12_ firmware of type smc.bin
RadeonRX 
(6): [1m</getPolarisFWRecord result="0x02105958">
[
mRadeonRX (6): Firmware amdgpu/polaris12_smc.bin foundHas size of 58720 bytes (which will be decompressed to 130388 bytes
RadeonRX 
(6): [1m</firmwareGet result="0x6F5D2000">
[
mRadeonRX (9): SMC
RadeonRX 
(9): size_bytes130388
RadeonRX 
(9): header_size_bytes36
RadeonRX 
(9): header_version_major1
RadeonRX 
(9): header_version_minor0
RadeonRX 
(9): ip_version_major7
RadeonRX 
(9): ip_version_minor2
RadeonRX 
(9): ucode_version0x00221700
RadeonRX 
(9): ucode_size_bytes130132
RadeonRX 
(9): ucode_array_offset_bytes256
RadeonRX 
(9): crc320xAE2B3B78
RadeonRX 
(9): ucode_start_addr131072
RadeonRX 
(7): SMC msg0x0252
RadeonRX 
(7): SMC msg0x0253
RadeonRX 
(7): SMC msg0x0250
RadeonRX 
(7): SMC msg0x0251
RadeonRX 
(7): SMC msg0x0254
RadeonRX 
(2): PHMCan't find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHM: Can'
t find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHMCan't find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHM: Can'
t find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHMCan't find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHM: Can'
t find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHMCan't find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (2): PHM: Can'
t find requested voltage id in vdd_dep_on_sclk table!
RadeonRX (7): SMC msg0x005D
RadeonRX 
(7): SMC msg0x0109
RadeonRX 
(7): SMC msg0x0062
RadeonRX 
(7): SMC msg0x018F
RadeonRX 
(7): SMC msg0x0301
RadeonRX 
(7): SMC msg0x014E
RadeonRX 
(7): SMC msg0x0150
RadeonRX 
(7): SMC msg0x0136
RadeonRX 
(7): SMC msg0x0053
RadeonRX 
(7): SMC msg0x0169
RadeonRX 
(7): SMC msg0x0185
RadeonRX 
(7): SMC msg0x0187
RadeonRX 
(7): SMC msg0x0188
RadeonRX 
(7): SMC msg0x010A
RadeonRX 
(7): SMC msg0x0305
RadeonRX 
(7): SMC msg0x026A
RadeonRX 
(7): SMC msg0x0209
RadeonRX 
(7): SMC msg0x0206
RadeonRX 
(7): SMC msg0x005B
RadeonRX 
(7): SMC msg0x0205
RadeonRX 
(7): SMC msg0x020A
RadeonRX 
(6): HW init of <amdgpu_powerplaydone.
RadeonRX (6): HW init of block <dce_v11_0>
RadeonRX (1): dce_v11_0_hpd_init unimplemented
RadeonRX 
(6): HW init of <dce_v11_0done.
RadeonRX (6): HW init of block <gfx_v8_0>
RadeonRX (4): ring test on 0 succeeded in 0 usecs
RadeonRX 
(4): ring test on 9 succeeded in 0 usecs
RadeonRX 
(4): ring test on 1 succeeded in 1 usecs
RadeonRX 
(4): ring test on 2 succeeded in 0 usecs
RadeonRX 
(4): ring test on 3 succeeded in 1 usecs
RadeonRX 
(4): ring test on 4 succeeded in 1 usecs
RadeonRX 
(4): ring test on 5 succeeded in 1 usecs
RadeonRX 
(4): ring test on 6 succeeded in 0 usecs
RadeonRX 
(4): ring test on 7 succeeded in 1 usecs
RadeonRX 
(4): ring test on 8 succeeded in 1 usecs
RadeonRX 
(6): HW init of <gfx_v8_0done.
RadeonRX (1): pm_runtime_get_sync unimplemented
RadeonRX 
(1): amdgpu_atombios_dp_get_dpcd unimplemented
RadeonRX 
(9): DFP1 disconnected
RadeonRX 
(1): pm_runtime_put_autosuspend unimplemented
RadeonRX 
(4): [CONNECTOR:0:DPstatus disconnected
RadeonRX 
(1): pm_runtime_get_sync unimplemented
RadeonRX 
(9): DFP2 connected
RadeonRX 
(1): pm_runtime_put_autosuspend unimplemented
RadeonRX 
(4): [CONNECTOR:1:HDMI-Astatus connected
RadeonRX 
(9): ELD monitor SAMSUNG
RadeonRX 
(9): HDMIlatency present 0 0video latency 0 0audio latency 0 0
RadeonRX 
(9): ELD size 32SAD count 1
RadeonRX 
(1): pm_runtime_get_sync unimplemented
RadeonRX 
(9): hw_i2c error
RadeonRX 
(9): DFP3 disconnected
RadeonRX 
(1): pm_runtime_put_autosuspend unimplemented
RadeonRX 
(4): [CONNECTOR:2:DVI-Dstatus disconnected
RadeonRX 
(6): [1m<rxSetConnectorLayout>
[
mRadeonRX (8): Connected connector HDMI-(1with encoder oïû˜oï¾ø (3to CRTC0
RadeonRX 
(6): [1m</rxSetConnectorLayout result="0x00000001">
[
mRadeonRX (1): amdgpu_pm_sysfs_init unimplemented
RadeonRX 
(7): SMC msg0x0306
RadeonRX 
(7): SMC msg0x005E
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 203
RadeonRX 
(6): DPM MClk 1750
RadeonRX 
(6): GPU temp 35
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz *
1551Mhz 
2
734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz 
1
625Mhz 
2
1750Mhz *

RadeonRX (6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(6): [1m<gfx_v8_0_late_init>
[
mRadeonRX (1): Unimplemented section of gfx_v8_0_late_init
RadeonRX 
(7): SMC msg0x0281
RadeonRX 
(6): [1m</gfx_v8_0_late_init result="0x00000000">
[
mRadeonRX (1): Unimplemented section of rxLateInit
RadeonRX 
(6): [1m</rxOpen result="0x6FEFB000">
[
mRadeonRX (9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid crtc 5
RadeonRX 
(9): invalid pageflip crtc 5
RadeonRX 
(9): invalid pageflip crtc 5
RadeonRX 
(9): invalid pageflip crtc 5
RadeonRX 
(9): invalid pageflip crtc 5
RadeonRX 
(9): invalid pageflip crtc 5
RadeonRX 
(9): invalid pageflip crtc 5
RadeonRX 
(9): invalid hdp 5
RadeonRX 
(9): invalid me 2
RadeonRX 
(9): invalid me 2
RadeonRX 
(9): invalid me 2
RadeonRX 
(9): invalid me 2
RadeonRX 
(9): Unhandled interrupt src_id231
RadeonRX 
(4): ResolvePixelClockindex50
RadeonRX 
(9): hw_i2c error
RadeonRX 
(9): hw_i2c error
RadeonRX 
(9): hw_i2c error

Video Data Block
SVD
ID 16 (native)

Audio Data Block
SAD
Format=1 NumChannels=2

Speaker Allocation Data Block

Vendor Specific Data Block
RadeonRX 
(4): ResolvePixelClockindex50
peg2ide
.device 53.22 (28.6.2017)

[
peg2ide/dev_initXfer modes forced in $peg2ide_xfer FFFF
[peg2ide/dev_initIRQ modes forced in $peg2ide_irq 1111
[peg2ide/dev_initFound chip #0
[peg2ide/init_port] ---> Port 0
[peg2ide/init_portIOBase 00001000AltBase 0000100A
[peg2ide/init_portbmcr_base 00001020
[peg2ide/init_portMMIOBase 00000000
[peg2ide/init_portConfig not forcedscanning port 0...
[
peg2ide/reg_configassuming device 0 is TYPE_NONE
[peg2ide/reg_configassuming device 1 is TYPE_NONE
[peg2ide/reg_configthere is no device 0 (sc 00 sn 00)
[
peg2ide/reg_configthere is no device 1 (sc 00 sn 00)
[
peg2ide/init_port0 device(son port
[peg2ide/init_port] ---> Port 1
[peg2ide/init_portIOBase 00001010AltBase 0000101A
[peg2ide/init_portbmcr_base 00001028
[
peg2ide/init_portMMIOBase 00000000
[peg2ide/init_portConfig not forcedscanning port 1...
[
peg2ide/reg_configassuming device 0 is TYPE_NONE
[peg2ide/reg_configassuming device 1 is TYPE_NONE
[peg2ide/reg_configthere seems to be a device 0assuming TYPE_UNKN
[peg2ide/reg_configthere seems to be a device 1assuming TYPE_UNKN
[peg2ide/reg_configdevice 0 is ATA
[peg2ide/reg_configdevice 1 is unknown (sc 01 sn 01 cl FF ch FF st 00
[peg2ide/init_port1 device(son port
[peg2ide/port_list]  0 Master 'ATA'
[peg2ide/port_list]  1 Slave  'unknown type'
[peg2ide/init_portStarting 'peg2ide.device - chip 0 port 1' task
[peg2ide/init_unitTrying to configure unit 2
000
0040 3FFF 0000 0010 7E00 0200 003F 0000 
008: 0000 0000 514D 3030 3030 3320 2020 2020 
016
2020 2020 2020 2020 0003 0200 0004 322E 
024
352B 2020 2020 5145 4D55 2048 4152 4444 
032
4953 4B20 2020 2020 2020 2020 2020 2020 
040
2020 2020 2020 2020 2020 2020 2020 8010 
048: 0001 0B00 0000 0200 0200 0007 3FFF 0010 
056
003F FC10 00FB 0110 FFFF 0FFF 0007 0007 
064
0003 0078 0078 0078 0078 4000 0000 0000 
072
0000 0000 0000 0000 0000 0000 0000 0000 
080: 00F0 0016 4021 7400 4000 4021 3400 4000 
088: 203F 0000 0000 0000 0000 6001 0000 0000 
096: 0000 0000 0000 0000 36B0 37E4 0000 0000 
104
0000 0000 6000 0000 0000 0000 0000 0000 
112
0000 0000 0000 0000 0000 0000 0000 0000 
120
0000 0000 0000 0000 0000 0000 0000 0000 
128
0000 0000 0000 0000 0000 0000 0000 0000 
136
0000 0000 0000 0000 0000 0000 0000 0000 
144
0000 0000 0000 0000 0000 0000 0000 0000 
152
0000 0000 0000 0000 0000 0000 0000 0000 
160
0000 0000 0000 0000 0000 0000 0000 0000 
168
0000 0001 0000 0000 0000 0000 0000 0000 
176
0000 0000 0000 0000 0000 0000 0000 0000 
184
0000 0000 0000 0000 0000 0000 0000 0000 
192
0000 0000 0000 0000 0000 0000 0000 0000 
200
0000 0000 0000 0000 0000 0000 0000 0000 
208
0000 0000 0000 0000 0000 0000 0000 0000 
216
0000 0000 0000 0000 0000 0000 0000 0000 
224
0000 0000 0000 0000 0000 0000 0000 0000 
232
0000 0000 0000 0000 0000 0000 0000 0000 
240
0000 0000 0000 0000 0000 0000 0000 0000 
248
0000 0000 0000 0000 0000 0000 0000 0000 
[peg2ide/ata_read_drive_propertiesmulti_count 16
[peg2ide/ata_read_drive_propertiesAdjusting unit 2 to xfer mode 69
[peg2ide/init_unitUnit configuredflags $0187
[
peg2ide/init_unitTrying to configure unit 3
[peg2ide/ata_read_drive_propertiesAfter-reset signature invalid for unit 3
[peg2ide/init_portPort 1 task started
[peg2ide/dev_initAll done
it8212ide
.device 53.22 (28.6.2017)

[
it8212ide/dev_initNothing startedbailing out
lsi53c8xx
.device 53.22 (28.6.2017)

[
lsi53c8xx/dev_initNothing startedbailing out
RadeonRX 
(9): encoder dpms 32 to mode 3devices 00000080, active_devices 00000000
RadeonRX 
(1): drm_crtc_vblank_off unimplemented
RadeonRX 
(9): force priority to high
RadeonRX 
(9): force priority to high
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 268
RadeonRX 
(6): DPM MClk 300
RadeonRX 
(6): GPU temp 32
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz 
1
551Mhz *
2734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz *
1625Mhz 
2
1750Mhz 

RadeonRX 
(6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(9): setting active device to 00000080 from 00000080 00000080 for encoder 2
RadeonRX 
(9): HDMI-ADisplay bpc=0returned bpc=8
RadeonRX 
(9): [CRTC:0:CRTC0]
RadeonRX (9): HDMI-ADisplay bpc=0returned bpc=8
RadeonRX 
(9): encoder dpms 32 to mode 3devices 00000008, active_devices 00000000
RadeonRX 
(9): encoder dpms 30 to mode 3devices 00000200active_devices 00000000
RadeonRX 
(1): drm_crtc_vblank_off unimplemented
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 263
RadeonRX 
(6): DPM MClk 300
RadeonRX 
(6): GPU temp 32
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz 
1
551Mhz *
2734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz *
1625Mhz 
2
1750Mhz 

RadeonRX 
(6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(9): amdgpu_atombios_crtc_program_pllcrtc_id0pll_id23encoder_mode3encoder_id32clock25000ref_div0,  fb_div0frac_fb_div0post_div0bpc8ss_enabled0
RadeonRX 
(9): [ENCODER:2:TMDSset [MODE:640x480]
RadeonRX (9): encoder dpms 32 to mode 3devices 00000080, active_devices 00000080
RadeonRX (9): Enabling AFMT interface @ 0x0300 for encoder 0x20
RadeonRX 
(9): HDMI-ADisabling hdmi deep color for 8 bpc.
RadeonRX (9): Calculated ACR timing N=4096 CTS=25000 for frequency 32000
RadeonRX 
(9): Calculated ACR timing N=7056 CTS=31250 for frequency 44100
RadeonRX 
(9): Calculated ACR timing N=6144 CTS=25000 for frequency 48000
RadeonRX 
(1): drm_crtc_vblank_on unimplemented
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 257
RadeonRX 
(6): DPM MClk 300
RadeonRX 
(6): GPU temp 32
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz 
1
551Mhz *
2734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz *
1625Mhz 
2
1750Mhz 

RadeonRX 
(6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(9): encoder dpms 32 to mode 0devices 00000080, active_devices 00000080
[
mediabootDiskboot is presentSkip mounting static devices.
[
USBINFO "USB stack" "" | ==========
[
USBINFO "USB stack" "" USB System Software Task started
[USBINFO "USB stack" "" Starting HCDs...
[
USBINFO "USB stack" "New Fkt" Attached RootHub Fkt 0x6FF96960 at level -1 on HCD "uhci.usbhcd" unit 0
[USBINFO "USB stack" "New Fkt" Attached Fkt 0x6FF96A00 at level 0 on HCD "uhci.usbhcd" unit 0
[USBINFO "USB stack" "New Fkt" Attached RootHub Fkt 0x6FF96AA0 at level -1 on HCD "uhci.usbhcd" unit 1
[USBINFO "USB stack" "New Fkt" Attached Fkt 0x6FF96B40 at level 0 on HCD "uhci.usbhcd" unit 1
[USBINFO "USB stack" "" | ...HCDs started.
[
USBINFO "USB Fkt Init" "Init Fkt" | [fkt 0x6FF96A00Fkt is {Vendor0x0000Product0x0000, Class: 09.00}
[
USBINFO "USB Fkt Init" "Init Fkt" | [fkt 0x6FF96B40Fkt is {Vendor0x0000Product0x0000, Class: 09.00}
[
USBINFO "USB Fkt Init" "Init Fkt" | [fkt 0x6FF96A00Fkt ("","Rear Roothub (uhci.usbhcd/0)",""initialized
[USBINFO "USB Fkt Init" "Init Fkt" | [fkt 0x6FF96B40Fkt ("","Front Roothub (uhci.usbhcd/1)",""initialized
[USBINFO "hub.usbfd" "HUB" Hub "Rear Roothub (uhci.usbhcd/0)" has TT thinktime of 8 full speed bittimes and protocol 0 (ifc 0x6FEF9E90)
[
USBINFO "hub.usbfd" "HUB" Hub "Front Roothub (uhci.usbhcd/1)" has TT thinktime of 8 full speed bittimes and protocol 0 (ifc 0x6FEF9F90)
[
USBINFO "hub.usbfd" "HUB" All ports are empty (ifc 0x6FEF9E90)
[
USBINFO "hub.usbfd" "HUB" All ports are empty (ifc 0x6FEF9F90)
[
USBINFO "hub.usbfd" "Sys_EndInitialAttachmentPhase" Initial USB Attachment Phase terminated
[bootmenuDetected machine type Pegasos II
[bootmenuNo preferred BootDevice specified
[bootmenuPreferred keyboard device is "keyboard.device" unit 0
[bootmenuPeekQualifier(): LMB is upMMB is upRMB is up
[bootmenuInput handler installed
[bootmenuWaiting 100 ticks for user input
[bootmenuNo user input detected within wait loop
[bootmenuRemoved input handler
[bootmenuPeekQualifier(): LMB is upMMB is upRMB is up
[bootmenuContinuing normal boot sequence
[strapBegin
[strapSkipping non-boot node 0x6FFA83E2 (type 111)
[
strapSkipping non-boot node 0x6FFFD600 (type 0)
[
strapSkipping non-boot node 0x6FFFDA40 (type 0)
[
strapDevice node "DH0" is boot point device
[strapHandover to dos for "DH0"

[DOSStarting DOS 54.112 -- Kernel debug level is 7
[DOSBootnode from expansion->mountlist is device name "DH0" 
[DOS"Initial CLI" process starteddoslib creation task now ending.


[
DOSNOTECliInit()->Dev_Startup() - No handler dn_SegList for "SWAP:"
            
Envec=0x6FF3DA00DosType=0x53574150 [SWAP]

[
RAMHandler has started successfully. [DebugLevel=7]
RadeonRX (4): ResolvePixelClockindex80
RadeonRX 
(4): ResolvePixelClockindex80
RadeonRX 
(4): ResolvePixelClockindex80
RadeonRX 
(4): ResolvePixelClockindex63
RadeonRX 
(4): ResolvePixelClockindex63
RadeonRX 
(4): ResolvePixelClockindex63
RadeonRX 
(4): ResolvePixelClockindex63
RadeonRX 
(4): ResolvePixelClockindex63
RadeonRX 
(4): ResolvePixelClockindex63
RadeonRX 
(4): ResolvePixelClockindex54
RadeonRX 
(4): ResolvePixelClockindex54
RadeonRX 
(4): ResolvePixelClockindex54
RadeonRX 
(4): ResolvePixelClockindex50
RadeonRX 
(4): ResolvePixelClockindex50
RadeonRX 
(4): ResolvePixelClockindex50
RadeonRX 
(4): ResolvePixelClockindex56
RadeonRX 
(4): ResolvePixelClockindex56
RadeonRX 
(4): ResolvePixelClockindex56
RadeonRX 
(4): ResolvePixelClockindex270
RadeonRX 
(4): ResolvePixelClockindex270
RadeonRX 
(4): ResolvePixelClockindex270
RadeonRX 
(4): ResolvePixelClockindex157
RadeonRX 
(4): ResolvePixelClockindex157
RadeonRX 
(4): ResolvePixelClockindex157
RadeonRX 
(4): ResolvePixelClockindex150
RadeonRX 
(4): ResolvePixelClockindex150
RadeonRX 
(4): ResolvePixelClockindex150
RadeonRX 
(4): ResolvePixelClockindex130
RadeonRX 
(4): ResolvePixelClockindex130
RadeonRX 
(4): ResolvePixelClockindex130
RadeonRX 
(4): ResolvePixelClockindex106
RadeonRX 
(4): ResolvePixelClockindex106
RadeonRX 
(4): ResolvePixelClockindex106
RadeonRX 
(4): ResolvePixelClockindex99
RadeonRX 
(4): ResolvePixelClockindex99
RadeonRX 
(4): ResolvePixelClockindex99
RadeonRX 
(4): ResolvePixelClockindex100
RadeonRX 
(4): ResolvePixelClockindex100
RadeonRX 
(4): ResolvePixelClockindex100
RadeonRX 
(4): ResolvePixelClockindex216
RadeonRX 
(4): ResolvePixelClockindex216
RadeonRX 
(4): ResolvePixelClockindex216
RadeonRX 
(4): ResolvePixelClockindex142
RadeonRX 
(4): ResolvePixelClockindex142
RadeonRX 
(4): ResolvePixelClockindex142
RadeonRX 
(4): ResolvePixelClockindex216
RadeonRX 
(4): ResolvePixelClockindex216
RadeonRX 
(4): ResolvePixelClockindex216
RadeonRX 
(4): ResolvePixelClockindex177
RadeonRX 
(4): ResolvePixelClockindex177
RadeonRX 
(4): ResolvePixelClockindex177
RadeonRX 
(4): ResolvePixelClockindex195
RadeonRX 
(4): ResolvePixelClockindex195
RadeonRX 
(4): ResolvePixelClockindex195
RadeonRX 
(4): ResolvePixelClockindex238
RadeonRX 
(4): ResolvePixelClockindex238
RadeonRX 
(4): ResolvePixelClockindex238
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex148
RadeonRX 
(4): ResolvePixelClockindex54
RadeonRX 
(4): ResolvePixelClockindex54
RadeonRX 
(4): ResolvePixelClockindex54
RadeonRX 
(4): ResolvePixelClockindex573
RadeonRX 
(4): ResolvePixelClockindex573
RadeonRX 
(4): ResolvePixelClockindex573
RadeonRX 
(4): ResolvePixelClockindex916
RadeonRX 
(4): ResolvePixelClockindex916
RadeonRX 
(4): ResolvePixelClockindex916
RadeonRX 
(4): ResolvePixelClockindex427
RadeonRX 
(4): ResolvePixelClockindex427
RadeonRX 
(4): ResolvePixelClockindex427
RadeonRX 
(4): ResolvePixelClockindex493
RadeonRX 
(4): ResolvePixelClockindex493
RadeonRX 
(4): ResolvePixelClockindex493
RadeonRX 
(4): ResolvePixelClockindex493
RadeonRX 
(4): ResolvePixelClockindex493
RadeonRX 
(4): ResolvePixelClockindex493
RadeonRX 
(4): ResolvePixelClockindex429
RadeonRX 
(4): ResolvePixelClockindex429
RadeonRX 
(4): ResolvePixelClockindex429
RadeonRX 
(4): ResolvePixelClockindex0
RadeonRX 
(4): ResolvePixelClockindex0
RadeonRX 
(4): ResolvePixelClockindex0
RadeonRX 
(4): ResolvePixelClockindex1151
RadeonRX 
(4): ResolvePixelClockindex1151
RadeonRX 
(4): ResolvePixelClockindex1151
RadeonRX 
(4): ResolvePixelClockindex14
RadeonRX 
(4): ResolvePixelClockindex14
RadeonRX 
(4): ResolvePixelClockindex14
RadeonRX 
(4): ResolvePixelClockindex297
RadeonRX 
(4): ResolvePixelClockindex297
RadeonRX 
(4): ResolvePixelClockindex297
RadeonRX 
(4): ResolvePixelClockindex171
RadeonRX 
(4): ResolvePixelClockindex171
RadeonRX 
(4): ResolvePixelClockindex171
[DOS ELF_LSNOTENo _start() found in file "LIBS:mpega.library" installing dummy_start().
[
USBINFO "USB stack Process" "" USB System Software Process started.
[
USBINFO "USB stack Process" "" Reading FD descriptors...
[
USBINFO "USB stack Process" "" | ...FD infos read
[USBINFO "USB stack Process" "" Starting HCDs...
[
USBINFO "USB stack Process" "" | ...HCDs started.
[
USBINFO "USB stack Process" "Sys_EndInitialAttachmentPhase" Initial USB Attachment Phase terminated
[USBINFO "USB stack Process" "" USB stack fullbooted
[DOS ELF_LSNOTENo _start() found in file "DEVS:AHI/oxygenhd.audio" installing dummy_start().
No CMI8738 found! :-(
CS4281 DRIVERINIT
No card present
.
[
VIA-AC97Errorsoft resume timed out!
No SOLO_ONE found! :-(
No SB128 found! :-(
No FM801 found! :-(
No Envy24 found! :-(
RadeonRX (9): encoder dpms 32 to mode 3devices 00000080, active_devices 00000080
RadeonRX (9): Disabling AFMT interface @ 0x0300 for encoder 0x20
RadeonRX 
(1): drm_crtc_vblank_off unimplemented
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 214
RadeonRX 
(6): DPM MClk 300
RadeonRX 
(6): GPU temp 31
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz *
1551Mhz 
2
734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz *
1625Mhz 
2
1750Mhz 

RadeonRX 
(6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(9): amdgpu_atombios_crtc_program_pllcrtc_id255pll_id23encoder_mode0encoder_id0clock0ref_div0,  fb_div0frac_fb_div0post_div0bpc0ss_enabled0
RadeonRX 
(9): setting active device to 00000080 from 00000080 00000080 for encoder 2
RadeonRX 
(9): HDMI-ADisplay bpc=0returned bpc=8
RadeonRX 
(9): [CRTC:0:CRTC0]
RadeonRX (9): HDMI-ADisplay bpc=0returned bpc=8
RadeonRX 
(9): encoder dpms 32 to mode 3devices 00000008, active_devices 00000000
RadeonRX 
(9): encoder dpms 30 to mode 3devices 00000200active_devices 00000000
RadeonRX 
(1): drm_crtc_vblank_off unimplemented
RadeonRX 
(9): force priority to high
RadeonRX 
(9): force priority to high
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 214
RadeonRX 
(6): DPM MClk 300
RadeonRX 
(6): GPU temp 31
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz *
1551Mhz 
2
734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz *
1625Mhz 
2
1750Mhz 

RadeonRX 
(6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(9): amdgpu_atombios_crtc_program_pllcrtc_id0pll_id23encoder_mode3encoder_id32clock148500ref_div0,  fb_div0frac_fb_div0post_div0bpc8ss_enabled0
RadeonRX 
(9): force priority to high
RadeonRX 
(9): force priority to high
RadeonRX 
(9): [ENCODER:2:TMDSset [MODE:1920x1080]
RadeonRX (9): encoder dpms 32 to mode 3devices 00000080, active_devices 00000080
RadeonRX (9): Enabling AFMT interface @ 0x0300 for encoder 0x20
RadeonRX 
(9): HDMI-ADisabling hdmi deep color for 8 bpc.
RadeonRX (1): drm_crtc_vblank_on unimplemented
RadeonRX 
(9): force priority to high
RadeonRX 
(9): force priority to high
RadeonRX 
(7): SMC msg0x0145
RadeonRX 
(7): SMC msg0x0146
RadeonRX 
(6): DPM Info:
RadeonRX (7): SMC msg0x0200
RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): DPM SClk 214
RadeonRX 
(6): DPM MClk 300
RadeonRX 
(6): GPU temp 31
RadeonRX 
(7): SMC msg0x0200
RadeonRX 
(6): SClk levels:
0214Mhz *
1551Mhz 
2
734Mhz 
3
980Mhz 
4
1046Mhz 
5
1098Mhz 
6
1124Mhz 
7
1206Mhz 

RadeonRX 
(7): SMC msg0x0201
RadeonRX 
(6): MClk levels:
0300Mhz *
1625Mhz 
2
1750Mhz 

RadeonRX 
(6): PCIe clock levels
0
2.5GBx8 *
12.5GBx8 

RadeonRX 
(9): encoder dpms 32 to mode 0devices 00000080, active_devices 00000080
RadeonRX (4): Truecolour pointer
RadeonRX 
(4): pointer dimensions4646

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

I will answer your questions in detail. But before that.

I have to say wtf...
By enabling the RadeonRX.chip.debug and appending:

-append "serial debuglevel=7"


(Always using pci.1, not pci.0)

My serial output goes crazy by repeating the message below forever.
The frequency at which these two messages are repeatedly printed in my console must be almost every clock cycle! (Okay, that's an arbitrary assumption, but they are printed extremely fast.)
Does this thing probe my GPU so hard?
And that's why I see a 100% load on all Radeontop metrics?
It stays at 100% forever without dropping until I stop the process. Then, all the Radeontop metrics going back to 0%.

Of course, I don't understand what these messages mean. Is there an incompatibility in the guest PCI mapping, maybe?


RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.12,0, because it is not a bridge device.

RadeonRX (2): Cannot enable blind prefetch for PCI:0.12,0, because this device doesn'
t support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.0,0because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.12,0, because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.12,0, because this device doesn'
t support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.0,0because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.12,0, because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.12,0, because this device doesn'
t support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.0,0because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.12,0, because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.12,0, because this device doesn'
t support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.0,0because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.0,0because this device doesn't support it.
RadeonRX (5): RadeonRX (5): Cannot print bridge configuration for PCI:0.12,0, because it is not a bridge device.
RadeonRX (2): Cannot enable blind prefetch for PCI:0.12,0, because this device doesn'
t support it.



I get the same behaviour even after removing some devices and (unneeded) vfio-pci properties, like this:
sudo taskset -c 4 qemu-system-ppc \
-machine pegasos2 \
-m 2G \
-kernel bboot -initrd Kickstart.zip -append "serial debuglevel=7" \
-drive if=none,id=DH0,file=/dev/sda,format=raw -device ide-hd,drive=DH0 \
-device vfio-pci,id=RadeonRX550-VGA-Controller,host=0000:05:00.0 \
-device vfio-pci,id=RadeonRX550-Audio-Controller,host=0000:05:00.1 \
-vga none \
-serial stdio \
-d guest_errors,unimp


I also removed the RX Audio Controller and getting the same behaviour:
sudo taskset -c 4 qemu-system-ppc \
-machine pegasos2 \
-m 2G \
-kernel bboot -initrd Kickstart.zip -append "serial debuglevel=7" \
-drive if=none,id=DH0,file=/dev/sda,format=raw -device ide-hd,drive=DH0 \
-device vfio-pci,id=RadeonRX550-VGA-Controller,host=0000:05:00.0 \
-serial stdio \
-d guest_errors,unimp



After removing the sudo and the taskset -c 4 for command simplicity, though I think they are not playing any role on this, indeed, I get the same behaviour:
qemu-system-ppc \
-machine pegasos2 \
-m 2G \
-kernel bboot -initrd Kickstart.zip -append "serial debuglevel=7" \
-drive if=none,id=DH0,file=/dev/sda,format=raw -device ide-hd,drive=DH0 \
-device vfio-pci,id=RadeonRX550-VGA-Controller,host=0000:05:00.0 \
-serial stdio \
-d guest_errors,unimp

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

Sorry, I overlooked your request for logs.
Is this what you need?


BBoot
sudo taskset -c 4 qemu-system-ppc \
-machine pegasos2 \
-m 2G \
-kernel bboot -initrd Kickstart.zip \
-rtc base=localtime \
-drive if=none,id=DH0,file=/dev/sda,format=raw -device ide-hd,drive=DH0 \
-device vfio-pci,id=RadeonRX550-VGA-Controller,host=0000:05:00.0,bus=pci.1,x-vga=on,multifunction=on,x-pci-vendor-id=4098,x-pci-device-id=27039,x-pci-sub-vendor-id=7586,x-pci-sub-device-id=58472,romfile=vbios-ati.rom \
-device vfio-pci,id=RadeonRX550-Audio-Controller,host=0000:05:00.1,bus=pci.1,x-pci-vendor-id=4098,x-pci-device-id=43744,x-pci-sub-vendor-id=7586,x-pci-sub-device-id=43744 \
-device rtl8139,netdev=ETH0 -netdev user,id=ETH0 \
-vga none \
-serial stdio \
-d guest_errors,unimp


Output:
BBoot 0.7 (15.4.2024)
/
pci@80000000io fe000000/10000 mem 80000000/40000000
/pci@80000000/host:    0:0.0     11ab:6460 60000 646011ab 0000 7
Added assigned
-addresses
/pci@80000000/display:    0:1.0     1002:699f 30000 699f1002 01ff 0
Truncated 64 bit BAR 43000810
Truncated 64 bit BAR 43000818
Added assigned
-addressesset interrupt 0109
 
42000810        0 80000000         0 10000000  0000000c 8000000c
 42000818        0 90000000         0   200000  
0000000c 9000000c
  1000820        0 fe001200         0      100  
00000001 00001201
  2000824        0 90200000         0    40000  
00000000 90200000
  2000830        0 90240000         0    40000  
00000000 90240000
/pci@80000000/pci1002,aae0:    0:2.0     1002:aae0 40300 aae01002 02ff 0
Truncated 64 bit BAR 03001010
Added assigned
-addressesset interrupt 0209
  
2001010        0 90280000         0     4000  00000004 90280004
/pci@80000000/ethernet:    0:3.0     10ec:8139 20000 813910ec 0100 0
Added assigned
-addressesset interrupt 0109
  
1001810        0 fe001300         0      100  00000001 00001301
  2001814        0 90284000         0      100  
00000000 90284000
  2001830        0 902c0000         0    40000  
00000000 902c0000
/pci@80000000/isa:    0:c.0     1106:8231 60100 82311106 0000 8
Added assigned
-addresses
/pci@80000000/ide:    0:c.1     1106:0571 1018f 05711106 010e 87
Added assigned
-addresses
  1006110        0 fe001000         0        8  
00000001 00001001
  1006114        0 fe001008         0        4  
00000001 ! 00001009
  
1006118        0 fe001010         0        8  00000001 00001011
  100611c        0 fe001018         0        4  
00000001 ! 00001019
  
1006120        0 fe001020         0       10  00000001 00001021
/pci@80000000/usb:    0:c.2     1106:3038 c0300 30381106 0409 7
Added assigned
-addresses
  1006220        0 fe001040         0       20  
00000001 00001041
/pci@80000000/usb:    0:c.3     1106:3038 c0300 30381106 0409 7
Added assigned
-addresses
  1006320        0 fe001060         0       20  
00000001 00001061
/pci@80000000/other:    0:c.4     1106:8235 68000 82351106 0009 0
Added assigned
-addresses
/pci@80000000/sound:    0:c.5     1106:3058 40100 30581106 0309 4
Added assigned
-addresses
  1006510        0 fe001100         0      100  
00000001 00001101
  1006514        0 fe001030         0        4  
00000001 00001031
  1006518        0 fe001034         0        4  
00000001 00001035
/pci@80000000/pci1106,3068:    0:c.6     1106:3068 78000 30681106 0309 30
Added assigned
-addresses
/pci@c0000000io f8000000/10000 mem c0000000/20000000
/pci@c0000000/host:    0:0.0     11ab:6460 60000 646011ab 0000 7
Added assigned
-addresses
Checking initrd at 0x600000
-0xc4c776 (6604662 bytes)
Found zip with 70 entries
Parsing Kicklayout at 0xc4c776 
(3329 bytes)
Booting config 1AmigaOS_4.1_Final_Edition
Loading loader
.of
Loading kernel
Loading FastFileSystem
Loading SmartFileSystem
Loading peg2ide
.device.kmod
Loading battclock
.resource.kmod
Loading bootmenu
.kmod
Loading bootimage
Loading CDFileSystem
Loading con
-handler.kmod
Loading console
.device.kmod
Loading diskboot
.kmod
Loading diskboot
.config
Loading diskcache
.library.kmod
Loading dos
.library.kmod
Loading elf
.library.kmod
Loading env
-handler.kmod
Loading FileSystem
.resource.kmod
Loading gadtools
.library.kmod
Loading gameport
.device.kmod
Loading graphics
.library.kmod
Loading hunk
.library.kmod
Loading input
.device.kmod
Loading intuition
.library.kmod
Loading it8212ide
.device.kmod
Loading keyboard
.device.kmod
Loading keymap
.library.kmod
Loading lsi53c8xx
.device.kmod
Loading newlib
.library.kmod
Loading nonvolatile
.library.kmod
Loading nvram
.config
Loading ps2
.resource.kmod
Loading ram
-handler.kmod
Loading ramdrive
.device.kmod
Loading ramlib
.kmod
Loading shell
.kmod
Loading strap
.kmod
Loading timer
.device.kmod
Loading PCIGraphics
.card
Loading RadeonRX
.chip
Loading siliconmotion502
.chip
Loading usbresource
.library
Loading usbsys
.device
Loading hub
.usbfd
Loading bootmouse
.usbfd
Loading bootkeyboard
.usbfd
Loading massstorage
.usbfd
Loading uhci
.usbhcd
Loading ohci
.usbhcd
Loading ehci
.usbhcd
Loading mounter
.library
Starting exec
Invalid write at addr 0xFE000080
size 1region '(null)'reasonrejected
Invalid write at addr 0x80
size 1region '(null)'reasonrejected



Pegasos2.rom
sudo taskset -c 4 qemu-system-ppc \
-machine pegasos2 \
-m 1G \
-bios pegasos2.rom \
-rtc base=localtime \
-drive if=none,id=DH0,file=/dev/sda,format=raw -device ide-hd,drive=DH0 \
-device vfio-pci,id=RadeonRX550-VGA-Controller,host=0000:05:00.0,bus=pci.1,x-vga=on,multifunction=on,x-pci-vendor-id=4098,x-pci-device-id=27039,x-pci-sub-vendor-id=7586,x-pci-sub-device-id=58472,romfile=vbios-ati.rom \
-device vfio-pci,id=RadeonRX550-Audio-Controller,host=0000:05:00.1,bus=pci.1,x-pci-vendor-id=4098,x-pci-device-id=43744,x-pci-sub-vendor-id=7586,x-pci-sub-device-id=43744 \
-device rtl8139,netdev=ETH0 -netdev user,id=ETH0 \
-vga none \
-serial stdio \
-d guest_errors,unimp


Output:
PegasosII Boot Strap (c2002-2003 bplan GmbH
Running on CPU PVR
:80020102
Enable L1 ICache
...                                                    Done.
mv64361_writeUnimplemented register write 0x108 0
Clean
/Flush Block enabled
mv64361_read
Unimplemented register read 0x160
mv64361_write
Unimplemented register write 0x160 3000
Reading W83194 
:                                                       FAILED.
Setting Front Side Bus to 133MHz...                                    FAILED.
Invalid write at addr 0xFE000E43size 1region '(null)'reasonrejected
Invalid write at addr 0xE43
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE000E44
size 1region '(null)'reasonrejected
Invalid write at addr 0xE44
size 1region '(null)'reasonrejected
Invalid read at addr 0xFE000E41
size 1region '(null)'reasonrejected
Invalid read at addr 0xE41
size 1region '(null)'reasonrejected
Invalid read at addr 0xFE000E42
size 1region '(null)'reasonrejected
Invalid read at addr 0xE42
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE000E40
size 1region '(null)'reasonrejected
Invalid write at addr 0xE40
size 1region '(null)'reasonrejected
Configuring DDR
...mv64361_writeUnimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1494 291
mv64361_write
Unimplemented register write 0x1480 300000
mv64361_write
Unimplemented register write 0x10 0
mv64361_write
Unimplemented register write 0x210 0
mv64361_write
Unimplemented register write 0x20 0
mv64361_write
Unimplemented register write 0x220 0
mv64361_write
Unimplemented register write 0x8 0
mv64361_write
Unimplemented register write 0x208 20000000
mv64361_write
Unimplemented register write 0x18 40000000
mv64361_write
Unimplemented register write 0x218 60000000
mv64361_write
Unimplemented register write 0x8 0
mv64361_write
Unimplemented register write 0x10 1fff
mv64361_write
Unimplemented register write 0x208 2000
mv64361_write
Unimplemented register write 0x210 1fff
mv64361_write
Unimplemented register write 0x1400 58200400
mv64361_write
Unimplemented register write 0x1404 24110051
mv64361_write
Unimplemented register write 0x1408 12813330
mv64361_write
Unimplemented register write 0x140c 11b
mv64361_write
Unimplemented register write 0x1414 0
mv64361_write
Unimplemented register write 0x1410 12
mv64361_write
Unimplemented register write 0x1418 5
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x1418 1
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x1420 0
mv64361_write
Unimplemented register write 0x1418 4
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x141c 162
mv64361_write
Unimplemented register write 0x1418 3
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x141c 62
mv64361_write
Unimplemented register write 0x1418 3
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x1418 1
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x1418 2
mv64361_read
Unimplemented register read 0x1418
mv64361_write
Unimplemented register write 0x1418 2
mv64361_read
Unimplemented register read 0x1418
                                                     Done
.
Configuring PCI0...mv64361_writeUnimplemented register write 0xc3c ffffffff
mv64361_read
Unimplemented register read 0x10
mv64361_write
Unimplemented register write 0xc08 0
mv64361_read
Unimplemented register read 0x210
mv64361_write
Unimplemented register write 0xd08 0
mv64361_read
Unimplemented register read 0x20
mv64361_write
Unimplemented register write 0xc0c 0
mv64361_read
Unimplemented register read 0x220
mv64361_write
Unimplemented register write 0xd0c 0
mv64361_write
Unimplemented register write 0xc10 0
mv64361_write
Unimplemented register write 0xd10 0
mv64361_write
Unimplemented register write 0xd18 0
mv64361_write
Unimplemented register write 0xc14 0
mv64361_write
Unimplemented register write 0xd14 0
mv64361_write
Unimplemented register write 0xd1c 0
mv64361_write
Unimplemented register write 0xd20 0
mv64361_write
Unimplemented register write 0xd24 0
mv64361_write
Unimplemented register write 0xd28 0
mv64361_write
Unimplemented register write 0xe00 0
                                                    Done
.
Configuring PCI1...mv64361_writeUnimplemented register write 0xcbc ffffffff
mv64361_read
Unimplemented register read 0x10
mv64361_write
Unimplemented register write 0xc88 0
mv64361_read
Unimplemented register read 0x210
mv64361_write
Unimplemented register write 0xd88 0
mv64361_read
Unimplemented register read 0x20
mv64361_write
Unimplemented register write 0xc8c 0
mv64361_read
Unimplemented register read 0x220
mv64361_write
Unimplemented register write 0xd8c 0
mv64361_write
Unimplemented register write 0xc90 0
mv64361_write
Unimplemented register write 0xd90 0
mv64361_write
Unimplemented register write 0xd98 0
mv64361_write
Unimplemented register write 0xc94 0
mv64361_write
Unimplemented register write 0xd94 0
mv64361_write
Unimplemented register write 0xd9c 0
mv64361_write
Unimplemented register write 0xda0 0
mv64361_write
Unimplemented register write 0xda4 0
mv64361_write
Unimplemented register write 0xda8 0
mv64361_write
Unimplemented register write 0xe80 0
                                                    Done
.
Configuring ETH...mv64361_writeUnimplemented register write 0x2290 3f
mv64361_read
Unimplemented register read 0x10
mv64361_write
Unimplemented register write 0x2204 0
mv64361_write
Unimplemented register write 0x2200 0
mv64361_read
Unimplemented register read 0x210
mv64361_write
Unimplemented register write 0x220c 0
mv64361_write
Unimplemented register write 0x2208 0
mv64361_read
Unimplemented register read 0x20
mv64361_write
Unimplemented register write 0x2214 0
mv64361_write
Unimplemented register write 0x2210 0
mv64361_read
Unimplemented register read 0x220
mv64361_write
Unimplemented register write 0x221c 0
mv64361_write
Unimplemented register write 0x2218 0
mv64361_write
Unimplemented register write 0x2220 0
mv64361_write
Unimplemented register write 0x2224 0
mv64361_write
Unimplemented register write 0x2228 0
mv64361_write
Unimplemented register write 0x222c 0
mv64361_write
Unimplemented register write 0x2290 3f
mv64361_write
Unimplemented register write 0x2000 e0
                                                     Done
.
mv64361_writeUnimplemented register write 0xd9c 1ffff000
mv64361_read
Unimplemented register read 0xcbc
mv64361_write
Unimplemented register write 0xcbc 0
mv64361_write
Unimplemented register write 0xf008 30011
mv64361_write
Unimplemented register write 0x1d00 801f0030
mv64361_read
Unimplemented register read 0xc80
mv64361_write
Unimplemented register write 0xc80 0
mv64361_read
Unimplemented register read 0x1424
mv64361_write
Unimplemented register write 0x1424 1000000
Releasing IDE reset 
...                                                Done.
Configuring Legacy Devices
Initializing KBD
...Invalid write at addr 0xFE0003F0size 1region '(null)'reasonrejected
Invalid write at addr 0x3F0
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE0003F1
size 1region '(null)'reasonrejected
Invalid write at addr 0x3F1
size 1region '(null)'reasonrejected
                                                    Done
.
Invalid write at addr 0xFE000084size 1region '(null)'reasonrejected
Invalid write at addr 0x84
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE000085
size 1region '(null)'reasonrejected
Invalid write at addr 0x85
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE000086
size 1region '(null)'reasonrejected
Invalid write at addr 0x86
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE000088
size 1region '(null)'reasonrejected
Invalid write at addr 0x88
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE00008C
size 1region '(null)'reasonrejected
Invalid write at addr 0x8C
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE00008D
size 1region '(null)'reasonrejected
Invalid write at addr 0x8D
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE00008E
size 1region '(null)'reasonrejected
Invalid write at addr 0x8E
size 1region '(null)'reasonrejected
Testing 10000000 Bytes
Pass00000000 Failed00000000
RAM TEST 
(fill linear)...                                              Done.
FFFFFFFF

SmartFirmware
:
cpu0PowerPC,74x7 CPUClock 1533 Mhz BUSClock 133 Mhz (Version 0x8002,0x0102)
no/bad nvramrc performing default startup script
Invalid write at addr 0xFE0003FB
size 1region '(null)'reasonrejected
Invalid write at addr 0x3FB
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE0003FC
size 1region '(null)'reasonrejected
Invalid write at addr 0x3FC
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE0003F9
size 1region '(null)'reasonrejected
Invalid write at addr 0x3F9
size 1region '(null)'reasonrejected
Invalid write at addr 0xFE0003FA
size 1region '(null)'reasonrejected
Invalid write at addr 0x3FA
size 1region '(null)'reasonrejected
Invalid read at addr 0xFE0003FA
size 1region '(null)'reasonrejected
Invalid read at addr 0x3FA
size 1region '(null)'reasonrejected
channel 1 unit 0 
:   ata QEMU HARDDISK                            2.5+    
ATA device not present or not responding



Welcome to SmartFirmware
(tm) for bplan Pegasos2 version 1.1 (20040405172512)
SmartFirmware(tmCopyright 1996-2001 by CodeGenInc.
All Rights Reserved.
Pegasos BIOS Extensions Copyright 2001-2003 by bplan GmbH.
All Rights Reserved.
entering main read/eval loop...
ok



Both do not show anything on screen.
And as long as I have the process open, the GPU gets crazy - all the metrics of the Radeontop are at 100% load.


Edited by nikitas on 2024/6/25 20:49:19
Edited by nikitas on 2024/6/25 20:52:02
Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

But again, I won't be able to pass through the GPU via pci.1, I suppose. Isn't it?

Has anyone ever managed to successfully pass any GPU using vfio-pci on QEMU Pegasos2 pci.1 slot?

Irrelevant, but by using Evdev:
-object input-linux,id=mouse1,evdev=/dev/input/event3 \
-object input-linux,id=keyboard1,evdev=/dev/input/event4 \


Instead of usb-host:
-device usb-host,vendorid=0x1a2c,productid=0x4094 \
-device usb-host,vendorid=0x1c4f,productid=0x0034 \


In QEMU command, the mouse is not detached from the guest. At least for the 10 minutes that I was testing, both keyboard and mouse worked without detaching.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

Quote:
So in that it could help but for actual usage it may not be much different

You mean that I will have similar drawing problems even if it doesn't (hopefully) have the bottleneck of RX550? I thought that its capabilities would be more than enough to have just the workbench working properly...

Quote:
I suggested to verify that running the Windows guest with -accel tcg and see if it's still faster
.
Yes, I forgot to try this, I'll do.


Quote:
BAR 6 is the ROM which is only mapped by the firware while running it with the BIOS emulator so probably won't be mapped after that or when not using firmware. Or the driver probably maps it while parsing AtomBIOS but unmaps afterwards. The audio part is probably not recognised by a driver so not mapped.


I see... There are also those AC97 devices that are loaded and I don't want them to (if I want to passthrough GPU audio, I suppose)


Edited by nikitas on 2024/6/25 15:25:23
Edited by nikitas on 2024/6/25 15:30:22
Edited by nikitas on 2024/6/25 15:30:40
Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@Hans

I know. I'm not intending to use it for any demanding graphics task. Just to satisfy my "Amiga GPU passing through" growing obsession. I'll take it, I think.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

When attaching GPU on pci.1 it seems that no addresses are assigned to BARs, so it is disconnected so I have no screen:

class VGA controlleraddr 00:01.0pci id 1002:699f (sub 1da2:e468)
bar 0mem at 0xffffffffffffffff [0xffffffe]
bar 2mem at 0xffffffffffffffff [0xfffffe]
bar 4i/o at 0xffffffffffffffff [0xfe]
bar 5mem at 0xffffffffffffffff [0x3fffe]
bar 6mem at 0xffffffffffffffff [0x3fffe]

class 
Audio controlleraddr 00:01.1 pci id 1002:aae0 (sub 1da2:aae0)
bar 0mem at 0xffffffffffffffff [0x3ffe]



When attaching the GPU on pci.0 it seems the CPU gives addresses to the BARs so it can boot and I have screen.

class VGA controlleraddr 00:01.0pci id 1002:699f (sub 1da2:e468)
bar 0mem at 0xc0000000 [0xcffffffff]
bar 2mem at 0xd0000000 [0xd01ffffff]
bar 4i/o at 0x1000 [0x10ff]
bar 5mem at 0xd0200000 [0x3fffe]
bar 6mem at 0xffffffffffffffff [0x3fffe]

class 
Audio controlleraddr 00:01.1 pci id 1002:aae0 (sub 1da2:aae0)
bar 0mem at 0xffffffffffffffff [0x3ffe]


Although VGA controller's BAR 6 is still 0xffffffffffffffff
And Audio controller's BAR 0 is again 0xffffffffffffffff

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@joerg @Hans

I've found a Sapphire VGA R7 240 Boost 4 GB in a local store. I assume it will use the RadeonHD.chip.

Would it be useful to buy and test it?

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

I was experimenting a little with Transparent HugePages and the QEMU's -mem-path -mem-prealloc. But does it have any meaning to do anyway? I don't know.

The results of the GPU test weren't any good. I might have changed some GUI settings in AOS4. But in anyway, in any test I ran, the difference between the performance I get and the performance I should get is chaotic, as @Hans also mentioned in a previous post.

https://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2798


Also I wanted to clarify some things on the CPU Usage on the guest (AOS4).Tequila tool is showing idle.task at 74%.

But I primarily use the CPU_Watcher tool. I have every application and window closed other than CPU_Watcher.

- Without VFIO'd GPU it reports CPU Load at 2% when I'm idle. And stays there.
- With VFIO'd GPU, the minimum CPU Load is 60%, and every (approx.) half of a second, it goes 100% for a moment and then back to 60%, forming a very consistent pattern of 60% --> 100% and 100% --> 60%. Producing a "high frequency" wave diagram.

I never understood why this specific tool (CPU_Watcher) shows a minimum CPU load of 60% with VFIO GPU and a minimum of 2% without.

Lastly, by the time I started this thread, I have tried a tremendous number of combinations (UEFI, Host OS, Qemu parameters, even hardware alterations by moving RX550 upwards), running @Hans tool each time, but I never managed to get a GPU score greater than 250. Irrelevant, but disabling Intel's hyperthreading to utilize a physical core without threads gave the guest a little boost indeed, but not a GPU boost.

The worst thing is that every time I run QEMU with RX550 passed through, by the time I stop the QEMU process, the GPU never actually "returns" to the host. So, I have to reboot my system after every single QEMU/VFIO run.


Edited by nikitas on 2024/6/24 20:37:12
Edited by nikitas on 2024/6/24 20:39:03
Edited by nikitas on 2024/6/24 20:46:19
Edited by nikitas on 2024/6/24 20:47:36
Edited by nikitas on 2024/6/24 20:51:58
Edited by nikitas on 2024/6/24 20:52:19
Edited by nikitas on 2024/6/24 20:53:50
Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

Yes, of course, the command is:

sudo taskset -c 4 qemu-system-ppc \
-machine pegasos2 \
-m 2G \
-kernel bboot -initrd Kickstart.zip \
-rtc base=localtime \
-drive if=none,id=DH0,file=/dev/sda,format=raw -device ide-hd,drive=DH0 \
-device vfio-pci,host=0000:05:00.0,bus=pci.0 \
-device vfio-pci,host=0000:05:00.1,bus=pci.0 \
-device bochs-display \
-device rtl8139,netdev=ETH0 -netdev user,id=ETH0 \
-vga none \
-serial stdio \
-d guest_errors,unimp



The bboot version is v0.7. I downloaded it from the releases, and I did not compile anything. I used the existing binary I found inside.

The above command does not work if I:
- Use bus=pci.1
- Don't use the bus property at all.
- I don't have the "Resize BAR" setting disabled in UEFI.

It only works when I explicitly define bus=pci.0 + having "Resize BAR" UEFI setting disabled.


Edited by nikitas on 2024/6/24 20:48:15
Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@balaton

I tried to apply the 2 patches you posted here. But I got an error on applying patch 3 of 3 on the first patch. Anyway I made the changes by hand (high possible I messed something in the process, but anyway compiled). Now I'm running the GPU test.


@Hans
What does it mean the "Inactive" in the Composition field on Sysmon app?
If I enable GUI --> Composite Effects and at the same time I have Screenmode --> Enable Interupts = checked, then the system freezes at some point while booting AOS4.1.

If I disable Composite effects and maintain Interrupts enabled, then AOS boots, but it is very slow.

If i disable both GUI --> Composite Effects and have ScreenMode --> EnableInterrupts = Unchecked, then I get the best performance I can. Which is slow. But not that slow. Of course in any case I still see workbench windows drawing. Either slow or faster depending on the settings I apply each time.

Go to top


Re: Qemu + VFIO GPU RadeonRX 550 + AmigaOS4 extremely slow
Just popping in
Just popping in


@Hans

Can't say about real hardware. But if you'd like to know about QEMU PegasosII then...

"System doesn't have full memory coherence. Compensating..."

This is reported on the boot time.

You can find it in my first post on this thread...

Go to top



TopTop
« 1 (2) 3 4 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project