Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 2
Guests: 21

afxgroup, TearsOfMe, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 7 8 9 (10) 11 12 »
Re: QEMU GPU vfio-pci pass through
Not too shy to talk
Not too shy to talk


See User information
@balaton
Quote:
By the way, anybody else managed to get it work following this thread?

I'm working on my idea - firing up AOS4 on X86_64 hardware from 2010-2012.
I had to replace the board and processor. The total cost that came out of it (processor, ram, radeon and board) is 35 euro
Surprisingly the hardware even works well on QEMU without gpu passthrough.
I'm currently testing it under Linux x86_64 with qemu passthrough gpu - works without problems.
I'm missing the driver for AOS4 - ES2 to be precise - but that can wait.
Qemu with qemu passthrough gpu and AOS4 without driver starts up. Of course nothing is displayed but it seems to work.

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


See User information
@white
OK, so you have bochs-display selected there and then you type the " /failsafe" io command blindly in that window. Try with English layout. If successful you should get an ok prompt in the other window where you started QEMU from and got the errors.

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


See User information
@smarkusg
If you have a RadeonHD card the pegasos2 and sam460ex versions come with a RadeonHD light driver that can't do 3D but should be enough to get picture for testing. It seems to be missing from amigaone version though but maybe it's in an update? For RX card I think you need Enhancer (and for fully using an HD card but at least for testing the light driver might be enough until you get a full driver). The RadeonHD lite driver may also need new enough PCIGraphics.card, I don't know if the amigaone version is new enough but the one from sam460ex that works with the sm501 possibly also works with the RadeonHD that comes with the sam460ex install CD.

Go to top
Re: QEMU GPU vfio-pci pass through
Not too shy to talk
Not too shy to talk


See User information
@balaton

I have not seen this. I have an ASUS HD 7750 V2 card
I have a couple of rows removed in Kicklayout - some drivers. I will take a look
Thanks for the information

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:
the keyboard is not Italian and therefore the characters I enter are not correct.
Only relevant difference should be the '/', on Italian keyboards it's the '-' key left to the right shift key, try typing
" -failsafe" io
The '-' key on Italian keyboards is the '/' on English keyboards.

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


See User information
@joerg
Quote:
Only relevant difference should be the '/', on Italian keyboards it's the '-' key left to the right shift key,

Not really as the " is also different. On a US English keyboard it's two keys right from L:
https://en.wikipedia.org/wiki/File:KB_United_States-NoAltGr.svg[/

Go to top
Re: QEMU GPU vfio-pci pass through
Just can't stay away
Just can't stay away


See User information
@balaton
You are right if the Pegasos2 firmware uses US English as default keyboard layout.
I checked the UK English keyboard layout instead, which has the " at shift-2, just like Italian keyboards.

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


See User information
@Balaton

Well my intuition was right with the Italian keyboard it doesn't work.
So I had to put the English layout
and the boot:
hd:0 amigaboot.of
now it works
with " /failsafe" io

have already modified and I moved the "FTH" file to the AmigaOS partition
what command should I give instead of:
hd:0 amigaboot.of ?

Thank you

Resized Image

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
Quite a regular
Quite a regular


See User information
@white
Quote:
have already modified and I moved the "FHT" file to the AmigaOS partition
what command should I give instead of:
hd:0 amigaboot.of

boot hd:0 bboot.fth

But you also need bboot and Kickstart.zip next to bboot.fth on the same volume.

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


See User information
@Balaton

Thank you
I'll try right away

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
@Balaton

this bboot:

\ Example Forth script to use bboot with PegasosII firmware
\ Copyright (c) 2023 BALATON Zoltan
\ SPDX-License-Identifier: GPL-2.0-or-later
600000 constant initrd-start
\ Initrd to load (note: space needed after first quote!)
" hd:0,Kickstart.zip"

open-dev dup 0= if abort" Could not open initrd" then
dup initrd-start swap " load" rot $call-method
dup 0= if
drop close-dev
abort" Could not load initrd"
then
swap close-dev
initrd-start + \ initrd-end
initrd-start
" /chosen" find-device
encode-int " linux,initrd-start" property
encode-int " linux,initrd-end" property
device-end
boot hd:0 bboot

or bboot 0.8 ?
im rename bboot ?

and Kickstart.zip ?

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
@white
No, do not rename anything. You need 3 files on the boot volume:
bboot.fth, bboot binary and Kickstart.zip. The bboot.fth script will load Kickstart.zip and bboot from pegasos2 firmware so you start the fth and that will get bboot and Kickstart.zip from hd:0 as well. The bboot and bboot.fth are in the BBoot archive, just copy it from there unmodified.

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


See User information
@Balaton

I moved them to the main partition they should be fine
I also moved the Radeon 2.1 drivers and the Enchancers 2.2

Resized Image

I'll try now, hopefully

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
@white
Why does bboot appear as a drawer? It should be the bboot binary not the whole directory.

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


See User information
@balaton

Then I didn't understand which bboot I need
where can I find it ?

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


See User information
@white
Within bboot-0.8.tar.xz. Take bboot and bboot.fth from that archive and the Kickstart.zip and copy these three files to the boot volume where amigaboot.of is.

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


See User information
@balaton

found
Thank you

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
@Balaton

I moved the 3 boot files, bboot boot.fth, and Kickstart.zip
In the main AmigaOS disk where amigaboot.of is
it gives me this error:

ok boot hd:0 bboot.fth
error: error while trying to load or boot

Note:
Kickstart.zip
with a capital "K".


Is it possible that I'm doing something wrong ?
Thank you.

Resized Image

sudo qemu-system-ppc -M pegasos2 -m 1024 -bios /home/white/Scaricati/pegasos2.rom -serial stdio -drive media=disk,format=raw,file=/home/white/Scaricati/32gb.raw -drive media=disk,format=raw,file=/home/white/Scaricati/coffin.raw -netdev user,id=net -device rtl8139,netdev=net -vga none -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=06:00.1,bus=pci.0 -device bochs-display,romfile=""


Edited by white on 2025/4/14 13:23:57
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
Not too shy to talk
Not too shy to talk


See User information
@white

Do you have AmigaOne / System emulation?

You will have a simpler, more pleasant and problem-free experience.
You need to boot and even initialize the bios you will see on the gpu-passthrough card (ATI)
The only thing you need is to run QEMU10 ...
qemu-system-ppc -M amigaone -m 1024 -bios u-boot-amigaone.bin
the rest you need to add from your configuration including device vfio-pci . You don't have to start anything or add anything.
just install ES2 on AmigaOne
Simple and nice

have fun

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


See User information
@smarkusg

Yes I also have AmigaONE
what is ES2 ?

could you write me your command line with qemu
so I'll try that too.

I'm currently using:
[white@Amiga ~]$ qemu-system-ppc --version
QEMU emulator version 9.2.93 (v10.0.0-rc3)
Copyright (c) 2003-2025 Fabrice Bellard and the QEMU Project developers

sudo qemu-system-ppc -M amigaone -bios /home/white/Scaricati/u-boot-amigaone.bin -device VGA,romfile=/home/white/Scaricati/VGABIOS-lgpl-latest.bin -m 1024 -serial stdio -vga none -device sm501 -device rtl8139,netdev=mynet0 -netdev user,id=mynet0 -drive media=disk,format=raw,file=/home/white/Scaricati/ONE-32gb.raw

How do I pass GPU with Vfio PCIe ?


Thank you


Edited by white on 2025/4/14 14:07:20
Edited by white on 2025/4/14 14:09:11
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 ... 7 8 9 (10) 11 12 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project