Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
21 user(s) are online (15 user(s) are browsing Forums)

Members: 0
Guests: 21

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 4 (5)
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@white
To quote my qmiga.codeberg.page
"Amiga NG emulation in QEMU is something I did for personal interest and work on it in my (limited) free time. It comes without any support and it's not expected to be complete or do everything one may desire or dream about. It's not a commercial product with a roadmap or any goal and may eternally remain a work in progress which may never get finished. Its future depends on what the open source community makes of it. Keep this in mind when trying this."

All this is experimental. There's nobody who can tell you what would work and what wouldn't as probably nobody tried that before. Just a few weeks ago there was a patch on QEMU devel list to remove vfio-pci from qemu-system-ppc because people didn't know it works as it was never written for that. I've replied and they were surprised to find it working so it will stay but still mostly untested. So cards that have an AmigaOS driver could work but depending on your host machine and its firmware settings it may or may not work.

I think the highest chance to work have cards that were available at the time the machine emulated was used. It is not easy to set up as there are a lot of things that could go wrong and mostly these are undocumented. If you find a card that's known to work on real AmigaOne or PegasosII then you can set it up to work in QEMU for pass-through with a Linux or Windows guest (not host, but guest, forget about AmigaOS and PPC first, just make it work with some guest that's better documented to work with such setup, there should be guides on how to set up GPUs with older Windows guest on Linux host for games). After you have that working you can try AmigaOS but it's still not guaranteed to work. This would be the most likely working way rather than buying the most powerful and newest card that is not even possible to connect to the real machine so it was never tried there and expect that to work on first try. That's just unrealistic expectation, keep more to what has been tested with real machine if you want to get less problems on the way or only buy things if you're ready to experiment and don't mind if it does not work.

Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@balaton
Thanks that's a clear answer.
And I'm glad it was you who said it.
So let's see when I get a chance to try something.
It'll be a way to pass some time.

http://hdrlab.org.nz/projects/amiga-o ... r-hardware-compatibility/

Resized Image


Edited by white on 2025/3/10 15:56:14
Edited by white on 2025/3/10 15:56:45
Edited by white on 2025/3/10 15:57:05
What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Just popping in
Just popping in


See User information
@white

Quote:

It would be useful to know if you only use Radeon cards with SDL and GTK or also NVidia cards.
But I guess answers are not your strong point
It takes too much effort probably.


My only nVidia card isn't available to use for this project. I did try SDL and GTK and it was very snappy. However, my goal isn't just to run qemu emulation but to have a real Radeon card so that I can run things like CANDI and games just for the novelty.

Insulting me for not having time to catch up on forums posts isn't helpful. I'll post my qemu command line soon.

Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@themamboman

Thanks
It was not my intention to insult you, I'm sorry you may have misunderstood.
It was just a note to better understand how to proceed
There are not hundreds of people who are trying qemu+amigaos+ati


So I think it is important to have a minimum exchange of information with those who decide to try this emulation.

Also because the support is almost zero
Apart from @balaton who since the first versions of qemu 3.xx for the "Sam" cards has always been very helpful.

While for WinUAE (4.1FE) I have always had the support of the forum when I asked for help.

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@All
I found this one has a good price:

has anyone ever used it with AmigaOS 4.1 ?

also do I have to get the firmware or is the one I've always used with qemu-pegasos2 ok ?


Thanks.

MSI Radeon R9 270 GAMING 2G 6 pin PCI Express x16 3.0
2-DVI 1-HDMI 1-DISPLAY PORT

https://it.msi.com/Graphics-Card/R9-270-GAMING-2G/Specification

here bench: AmigaOne A1222
https://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2704
here bench: AmigaOne X5000/40
https://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2877

Resized Image


Edited by white on 2025/3/13 15:41:39
Edited by white on 2025/3/13 16:04:00
Edited by white on 2025/3/13 23:42:08
Edited by white on 2025/3/13 23:43:34
What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
These are the drivers I have:
They should be fine (I think).

For:
MSI Radeon R9 270 GAMING 2G 6 pin PCI Express x16 3.0
2-DVI 1-HDMI 1-DISPLAY PORT

Resized Image


Even though the table says
Radeon R9 Series 270
Curacao XT and PRO

What does it mean ?

Thanks for any suggestions

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information

Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@balaton
As always, thanks for the suggestions.
I had already read the PDF, the other table doesn't help me much.
Thank you all the same.

While instead I turn to (ACUBE SYSTEM)

https://shop.acube-systems.biz/softwar ... os-41-for-sam-boards.html

Implementation of the "Cairo" device-independent 2D rendering library

Cairo is a 2D rendering library which adds to the system the ability to output graphics to various targets, like a window on the Workbench. It has the ability to be hardware accelerated, which means that Cairo can gain speed and performance from suitable graphics cards. Modern applications from other operating systems use Cairo as well, like Mozilla Firefox and OpenOffice.

On (ACUBE SYSTEM) it is not specified which graphics card is recommended.

https://acube-systems.biz/index.php?page=hardware&pid=6

On (ACUBE SYSTEM) it is not specified which graphics card is recommended.

ATI RadeonHD 4650 graphic card ??

I have just a 15" inch monitor with VGA input besides the AOC monitor also has a VGA input


Edited by white on 2025/3/14 14:11:13
What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Just can't stay away
Just can't stay away


See User information
@white
Quote:
https://acube-systems.biz/index.php?page=hardware&pid=6

On (ACUBE SYSTEM) it is not specified which graphics card is recommended.

ATI RadeonHD 4650 graphic card ??
By far not the best gfx card supported by AmigaOS, but it's a small, single slot gfx card.
The small Sam4x0 boards are usually built into small cases where bigger gfx cards, for example ones with large fans, don't fit. In some very small cases you even need to use a half-height/low-profile gfx card.
On https://shop.acube-systems.biz/8-graphic-cards ACube has other, probably better gfx cards like the R7 240 (available) and RX550 (out of stock) as well.

Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@joerg
Thanks for the advice,

Never used ati cards except for laptops.

Here is a list with "Polaris Chipset"

https://videocardz.net/gpu/amd-polaris-10

Which one would be the most suitable starting from the one that costs less for the 3.7 drivers of amigaOS "polaris 10-11-12"

If I'm wrong, let me know

Thanks


Edited by white on 2025/3/15 17:51:18
Edited by white on 2025/3/15 17:52:00
What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Just can't stay away
Just can't stay away


See User information
@white
On real hardware the fastest GFX card supported is probably the RX 580, for example http://ns.hdrlab.org.nz/benchmark/gfx ... 2d/OS/AmigaOS/Result/2348

However, with QEmu vfio-pci nobody got a Radeon RX card working with usable speeds yet.
The fastest QEmu results are probably still the ones from @geennaam using a R9 270 gfx card:
https://www.hdrlab.org.nz/benchmark/gf ... 2d/OS/AmigaOS/Result/2773
https://www.amigans.net/modules/newbb/ ... id=147757#forumpost147757

Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@joerg

Yes I had read about his tests
and that's where my interest started but I never understood which ATI 7000HD he was referring to.
What is the exact model he used ? (I don't think AGP)
Personally I'm interested in using Accelerated 2D Composite.
I have no other interests.

In short, what is the card he used?
Because I can't figure it out from his posts.

Did anyone understand which model he was talking about as 7000HD ?
Thanks.

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
Here is a screenshot from @geennaam

Resized Image

Is this the card you used ?

https://www.techpowerup.com/vgabios/221595/221595

Thanks

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
If HDR Lab is reliable these are the specs

Resized Image

Well, I can't do more than ask
hoping that some omnipotent God will answer the question


Even if in the end God said I leave you free will.

Pretend I'm not here


Edited by white on 2025/3/16 17:50:46
What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Just can't stay away
Just can't stay away


See User information
@white
You can check PCI IDs for example on https://pci-ids.ucw.cz/

Vendor ID 0x1002 = Advanced Micro Devices, Inc. [AMD/ATI]
Product ID 0x6810 = Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]
Sub-Vendor ID 0x1462 = Micro-Star International Co., Ltd. [MSI]
Sub-Product ID 0x3030 is not in the PCI IDs database

But I found 1002 6810, 1462 3030 on https://www.techpowerup.com/vgabios/187476/187476
It's a MSI R9 270X with 2 GB RAM.

Not exactly the same as the "MSI Radeon R9 270 GAMING 2G" you linked above, but maybe close enough that that one works as well.


Edited by joerg on 2025/3/16 18:45:23
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@joerg

Thanks if you're kind.

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@geennaam
if you pass by here can you tell me what GPU you used thanks


Resized Image

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Just can't stay away
Just can't stay away


See User information
@white
geennaam wrote in https://www.amigans.net/modules/newbb/ ... id=147748#forumpost147748 and https://www.amigans.net/modules/newbb/ ... id=147752#forumpost147752 that it's a R9 270x gfx card.

From his GfxBench2D results you know the exact model of it:
MSI R9 270X with 2 GB RAM and IDs 0x1002 0x6810 0x1462 0x3030.

What else do you want to know

Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
@joerg
It just arrived but I think it's not the X it's just the MSI R9 270 2gb
price 40 euro

Resized Image

Resized Image

Resized Image

2x dvi 1x hdmi 1x displayport

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU vfio-pci pass through
Quite a regular
Quite a regular


See User information
MSI R9 270 2gb

I'll leave some notes here so I can refer back to it later and maybe get help from someone who can

I also hope that somehow the purchase is right otherwise patience



My goal was to use the rtx 4060 and the Radeon at the same time. Otherwise it becomes impractical to disassemble and assemble in the end everything burns

sudo lspci

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]

sudo lspci -s 03:00.0 -v

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] R9 270 Gaming OC
Flags: bus master, fast devsel, latency 0, IRQ 64, IOMMU group 13
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at fc600000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at fc640000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, IntMsgNum 0
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [270] Secondary PCI Express
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

sudo lspci -s 03:00.0 -k

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
Subsystem: Micro-Star International Co., Ltd. [MSI] R9 270 Gaming OC
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

sudo dmesg | grep -i IOMMU

[ 0.859820] iommu: Default domain type: Translated
[ 0.859820] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.892974] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.893024] pci 0000:00:01.0: Adding to iommu group 0
[ 0.893039] pci 0000:00:01.2: Adding to iommu group 1
[ 0.893059] pci 0000:00:02.0: Adding to iommu group 2
[ 0.893080] pci 0000:00:03.0: Adding to iommu group 3
[ 0.893095] pci 0000:00:03.1: Adding to iommu group 4
[ 0.893115] pci 0000:00:04.0: Adding to iommu group 5
[ 0.893134] pci 0000:00:05.0: Adding to iommu group 6
[ 0.893156] pci 0000:00:07.0: Adding to iommu group 7
[ 0.893171] pci 0000:00:07.1: Adding to iommu group 8
[ 0.893192] pci 0000:00:08.0: Adding to iommu group 9
[ 0.893207] pci 0000:00:08.1: Adding to iommu group 10
[ 0.893234] pci 0000:00:14.0: Adding to iommu group 11
[ 0.893248] pci 0000:00:14.3: Adding to iommu group 11
[ 0.893313] pci 0000:00:18.0: Adding to iommu group 12
[ 0.893327] pci 0000:00:18.1: Adding to iommu group 12
[ 0.893340] pci 0000:00:18.2: Adding to iommu group 12
[ 0.893354] pci 0000:00:18.3: Adding to iommu group 12
[ 0.893368] pci 0000:00:18.4: Adding to iommu group 12
[ 0.893382] pci 0000:00:18.5: Adding to iommu group 12
[ 0.893395] pci 0000:00:18.6: Adding to iommu group 12
[ 0.893409] pci 0000:00:18.7: Adding to iommu group 12
[ 0.893443] pci 0000:01:00.0: Adding to iommu group 13
[ 0.893459] pci 0000:01:00.1: Adding to iommu group 13
[ 0.893475] pci 0000:01:00.2: Adding to iommu group 13
[ 0.893481] pci 0000:02:00.0: Adding to iommu group 13
[ 0.893486] pci 0000:02:08.0: Adding to iommu group 13
[ 0.893490] pci 0000:02:09.0: Adding to iommu group 13
[ 0.893500] pci 0000:03:00.0: Adding to iommu group 13
[ 0.893504] pci 0000:03:00.1: Adding to iommu group 13
[ 0.893508] pci 0000:05:00.0: Adding to iommu group 13
[ 0.893536] pci 0000:06:00.0: Adding to iommu group 14
[ 0.893554] pci 0000:06:00.1: Adding to iommu group 14
[ 0.893568] pci 0000:07:00.0: Adding to iommu group 15
[ 0.893584] pci 0000:08:00.0: Adding to iommu group 16
[ 0.893601] pci 0000:08:00.1: Adding to iommu group 17
[ 0.893620] pci 0000:08:00.3: Adding to iommu group 18
[ 0.893636] pci 0000:08:00.4: Adding to iommu group 19
[ 1.895045] iommu ivhd0: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0000:03:00.0 address=0x1002f0540]
[ 1.895192] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).

script IOMMU.sh

#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;

Result:

IOMMU Group 0:
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 1:
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 2:
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 3:
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 4:
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 5:
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 6:
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 7:
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 8:
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 9:
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 10:
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 11:
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 12:
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0 [1022:1440]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1 [1022:1441]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2 [1022:1442]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3 [1022:1443]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4 [1022:1444]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5 [1022:1445]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6 [1022:1446]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7 [1022:1447]
IOMMU Group 13:
01:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller [1022:43ee]
01:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller [1022:43eb]
01:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port [1022:43e9]
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] [1002:6811]
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [1002:aab0]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
IOMMU Group 14:
06:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1)
06:00.1 Audio device [0403]: NVIDIA Corporation AD107 High Definition Audio Controller [10de:22be] (rev a1)
IOMMU Group 15:
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 16:
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 17:
08:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
IOMMU Group 18:
08:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
IOMMU Group 19:
08:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]


the group

IOMMU Group 13:
01:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller [1022:43ee]
01:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller [1022:43eb]
01:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port [1022:43e9]
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] [1002:6811]
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [1002:aab0]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)

and the group seems divided

IOMMU Group 14:
6:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1)
06:00.1 Audio device [0403]: NVIDIA Corporation AD107 High Definition Audio Controller [10de:22be] (rev a1)

is there some missing step perhaps ?

I think the modification directly to the kernel is missing ?
giving the command:

qemu-system-ppc -M pegasos2 -kernel /home/white/Downloads/bboot-0.7/bboot -initrd /home/white/Downloads/Kickstart.zip -vga none -device VGA,romfile="" -drive if=none,id=cd -m 2048 -device ide-cd,drive=cd,bus=ide.1 -drive if=none,id=hd,file=/home/white/Scaricati/32gb.raw,format=raw -device ide-hd,drive=hd,bus=ide.0 -device rtl8139,netdev=network01 -netdev user,id=network01 -drive if=none,id=hd1,file=/home/white/Scaricati/coffin.raw,format=raw -device ide-hd,drive=hd1,bus=ide.1 -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on -device vfio-pci.host=03:00.1,bus=pci.0 -accel tcg

returns this:

qemu-system-ppc: -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on: vfio 0000:03:00.0: failed to open /dev/vfio/13: No such file or directory


even the old command gives the same error: -cpu 7457 or g3

qemu-system-ppc -cpu g3 -L pc-bios -M pegasos2 -bios /home/white/Scaricati/pegasos2.rom -m 1024 -serial stdio -device sm501 -drive if=none,id=hd,file=/home/white/Scaricati/32gb.raw,format=raw -device ide-hd,drive=hd,bus=ide.1 -netdev user,id=br0 -device rtl8139,netdev=br0 -vga none -drive if=none,id=hd1,file=/home/white/Scaricati/coffin.raw,format=raw -device ide-hd,drive=hd1,bus=ide.1 -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on -device vfio-pci.host=03:00.1,bus=pci.0 -accel tcg

with: boot hd:0 amigaboot.of

returns this:

qemu-system-ppc: -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on: vfio 0000:03:00.0: failed to open /dev/vfio/13: No such file or directory


continue.. on the same post so I don't mix up what I do POST 100

any help is welcome because I'm not a Linux genius


sudo dmesg | grep -i -e DMAR -e IOMMU Result:

[ 1.895045] iommu ivhd0: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0000:03:00.0 address=0x1002f0540]
[ 1.895192] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).

It would be the "address" of the R9 270 2G card

-------------------------------------------------

I'll do the backup tomorrow
and then I can edit the GRUB with peace of mind.
-------------------------------------------------

Yesterday before starting I tried some "Garuda" "PopOS" distributions
but all had problems coexisting with the 4060 and the R9 270 the computer continued to enter "loop"
Whatever I did in the BIOS settings regardless of the BAR enable/disable and also IOMMU on AUTO or ENABLE.
With the "Asus Tuf Gaming Plus B550" I am using the latest "bios" 3611.

So in the end I simply chose Ubuntu 24.10 kernel 6.11.0-19
I had to do a series of steps to make it coexist with Windows 10, I use "Windows 10 LTSC 2021"
Because even in this case it continued to enter "loop" the bios restarted continuously. But in the end I solved it.

So I have to rely on some guide on Ubuntu 24.10 to activate "vfio".

In the meantime I installed KVM
sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils -y
added the users and then
sudo apt install virt-manager -y

so that I have a bit of everything

I put here my /etc/default/grub (not modified yet)

and this is where I have to start modifying.
----------------------------------------------------

# If you change this file or any /etc/default/grub.d/*.cfg file,
# run 'update-grub' afterwards to update /boot/grub/grub.cfg.
# For full documentation of the options in these files, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE/GOP/UGA
# you can see them in real GRUB with the command `videoinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
------------------------------------------------------------

In the meantime I put my old "TV 17" with HDMI input next to my monitor and it works fine.
So:
R9 270 with HDMI
4060 with DisplayPort
(I don't think this is what created the BIOS reboot "loop")

Any help is welcome


Edited by white on 2025/3/18 3:33:08
Edited by white on 2025/3/18 3:34:40
Edited by white on 2025/3/18 3:36:34
Edited by white on 2025/3/18 3:39:11
Edited by white on 2025/3/18 4:24:48
Edited by white on 2025/3/18 4:27:54
Edited by white on 2025/3/18 4:35:29
Edited by white on 2025/3/18 4:36:01
Edited by white on 2025/3/18 5:07:43
Edited by white on 2025/3/18 5:12:12
Edited by white on 2025/3/18 5:55:34
Edited by white on 2025/3/18 6:02:26
Edited by white on 2025/3/18 17:43:03
Edited by white on 2025/3/18 18:09:05
What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
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-2024 The XOOPS Project