Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
10 user(s) are online (7 user(s) are browsing Forums)

Members: 1
Guests: 9

khayoz, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 3 4 ... 6 »
QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton
@All

I didn't know how to create the topic and I chose this one
Eventually if the moderator / administrator wants to put it in the correct section. Thanks

It seems to work, I guess I will have to change the drivers in Kickstart with Radeon drivers here too

Here is the Boot screen in the second Monitor (TV) :

Resized Image

Qemu AmigaONE

sudo qemu-system-ppc -M amigaone -m 1024 -bios /home/white/Scaricati/u-boot-amigaone.bin -serial stdio -drive media=disk,format=raw,file=/home/white/Scaricati/ONE-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=""

result:
U-Boot 1.1.1 (Mar 3 2005 - 16:42:53), Build: 03/03/05

CPU: MPC7457 v1.2 @ 1150 MHz
Board: AmigaOne
DRAM:
Information for SIMM bank 0:
Number of banks: 2
Number of row addresses: 13
Number of common addresses: 10
SIMM is not registered
Supported burst lengths: 8 4
Supported CAS latencies: CAS 3
RAS to CAS latency: 2
Precharge latency: 2
SDRAM highest CAS latency: 250
SDRAM 2nd highest CAS latency: 120
SDRAM data width: 8
Auto Refresh supported
Refresh time: 782 clocks
Bank 0 size: 256 MB
Bank 1 size: 256 MB


Information for SIMM bank 1:
Number of banks: 2
Number of row addresses: 13
Number of common addresses: 10
SIMM is not registered
Supported burst lengths: 8 4
Supported CAS latencies: CAS 3
RAS to CAS latency: 2
Precharge latency: 2
SDRAM highest CAS latency: 250
SDRAM 2nd highest CAS latency: 120
SDRAM data width: 8
Auto Refresh supported
Refresh time: 782 clocks
Bank 0 size: 256 MB
Bank 1 size: 256 MB

DIMM0_B0_SCR0 = 0x00e78f00
DIMM0_B1_SCR0 = 0x00e78f00
DIMM0_B2_SCR0 = 0x00e78f00
DIMM0_B3_SCR0 = 0x00e78f00
Using CAS 4 (slow)
Using CAS 4 (slow)
DRAM_GCR0 = 0x00000000
Refresh set to 1561 clocks, auto refresh on
DRAM_REFRESH0 = 0x00019619
Mode bank 0: 0x00008042
Mode bank 1: 0x00008042
Mode bank 2: 0x00008042
Mode bank 3: 0x00008042
1024 MB
FLASH: 0 kB
VGA: 0..
In: serial
Out: serial
Err: serial


Edited by white on 2025/4/15 9:14:18
Go to top
Re: QEMU GPU-PCIe AmigaONE
Not too shy to talk
Not too shy to talk


See User information
@white

You still have to define the monitor in "sys:devs\monitor"
If you used sm501 you have "Siliconmotion 502" there. You can use this data in advance.
Upload to ram: rename it to ‘test’. Upload it back to sys:devsmonitor"
Go to prefs/Screenmode. Monitors select ‘TEST.’ Uncheck "Enable interrupts"
Save.
Now something for the fortune teller - I have no idea what the name of your card will be
Dene you have loaded in sys:Keikstart/PCIGraphics.card" (if ES2 doesn't change it to some version)
If you know the name - rename the file "TEST" to for example "Radeon RX"
Also change the name in tooltype of the icon "TEST" from "Silinonmion 502" to what you have.

Once you've done that everything should work

Oh, and to capture the mouse and keyboard use this (be careful because you'll lose access to them in the host)

-usb \n
-device usb-host,vendorid=0x1532,productid=0x0101,id=mouse \n
-device usb-host,vendorid=0x04f2,productid=0x0833,id=keyboard \n

*
-device usb-host,.... these two lines forward the keyboard and mouse from the host to the guest. The vendorid and productid can be found using lsusb in the host.

Now you will have a complete system

If I buy ES2 then my 35 euro Qamiga project will be complete

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@smarkusg
I guess I'm doing something wrong
I moved the RadeonHD RadeonRX files including the debug ones

And then I edited the kickstart file
adding
Module etc etc. for RadeonHD and RadeonRX

here is the result :

Resized Image

HELP

what is ES2 ?

Enhancer Software 2.2 ?

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-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
My Kickstart/Kicklayout that I modified is like this:
example:

MODULE System/Kickstart/ATIRadeonHD.chip
then in the Kickstart folder I have:

RadeonHD.chip

maybe I should rename it to:

ATIRadeonHD.chip ?

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-PCIe AmigaONE
Not too shy to talk
Not too shy to talk


See User information
@white

You do not have the ATIRadeonHD.chip file that is indicated in Kicklayout.
I guess you added the wrong file name to Kicklayout or you don't have the ‘ ATIRadeonHD.chip’ file. Hmm... but you mm have RTX this RadeonHD file you don't need anyway.
Boot the system without gpu passthru with bboot - device sm501 and ‘Kickstart.zip’ for A1 if you have it and see what is going on, add the missing file and fix Kicklayout.

ES2=Enhancer Software 2

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@smarkusg

I am analyzing the installation file not with AmigaOS because it would not be possible to do it quickly.
Although I tried virtual installation with system registry.
To see the steps of the installer.

I also have these drivers ( RadeonHD 2.1 )
I report the "readme" clearly they are old but it is right to have a few things to see in these drivers my GPU is included:

- Radeon R9 270/270X/280/280X

Copyright (C) 2008-2015 by Hans de Ruiter, all rights reserved
hans@hdrlab.org.nz

Distributed under license by A-Eon Technology Ltd.
WARNING: Unauthorised copying and distribution is prohibited by law.

ABOUT
-----

The RadeonHD.chip graphics driver provides full 2D graphics acceleration for
Radeon HD graphics cards. It supports everything from the Radeon HD 2000 series
(R600 chipsets) through to the Radeon HD 7000 series (Southern Islands
chipsets). It also supports some Radeon Rx cards. Older Radeon X1300-X1950
graphics cards (R500 chipsets) are supported as well, although these are not
recommended. The Radeon HD series have much more flexible Graphical Processing
Units (GPU). If you are looking to buy a supported card, then choosing from the
most recent series is recommended.


REQUIREMENTS
------------
- A supported graphics card:
- Radeon X1300-X1950 graphics (not recommended)
- Radeon HD 2000-7000 series graphics card (excluding the Radeon HD 7790)
- Radeon R5 230/235/235X
- Radeon R7 250X/265
- Radeon R9 270/270X/280/280X
- AmigaOS 4.1
- An AmigaOne-X1000 (with the latest firmware), or an AmigaOne-500 (or Sam460ex)


INSTALLATION
------------
Simply run the included installer.

@smarkusg
I sent you a PM.

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-PCIe AmigaONE
Home away from home
Home away from home


See User information
@white
Quote:
My Kickstart/Kicklayout that I modified is like this:
example:

MODULE System/Kickstart/ATIRadeonHD.chip
then in the Kickstart folder I have:

RadeonHD.chip

maybe I should rename it to:

ATIRadeonHD.chip ?
No, fix the wrong Kickstart/Kicklayout line instead and change it to MODULE System/Kickstart/RadeonHD.chip
There may be a System/Kickstart/Kicklayout file as well (all MODULE lines are Kickstart/xyz instead of System/Kickstart/xyz), which is used after installing AmigaOS on a HD partition, in which you have to do the same changes as in Kickstart/Kicklayout.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Joerg

Thanks for your explanations.

I also tried to change the GPU from "AGP" slot to "PCI" slot in the AmigaOS "BIOS AmigaONE" but it doesn't change the error is always the same.


@Balaton
I don't remember because a lot of time has passed if the AmigaONE BIOS keeps the settings once the changes are made ?

@smarkusg
I sent you a pm

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-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Joerg
@Balaton
@smarkusg
@and anyone interested

Ok I modified the CD and everything works
the GPU is recognized and in the DEVS drawer the Radeon Monitor is created automatically.
The system is fast but I wouldn't know how to make a difference with the original.
Compositing is active with transparencies etc. all set by default.

I haven't installed the Enhancer Software 2.2 because I have this problem at the moment.

Now let's talk about problems:

The Workbench installs etc etc.
But when I restart the system and I only start the hard disk
it gives me the problem of the RadeonHD block again.

And yet the modified CD contains exactly the same changes and yet it starts without problems, it recognizes the video card, transparencies etc.

I manually moved the kickstart files etc. from the CD after installation to the virtual Hard Disk so the Hard Disk starts at that point.
But exactly what happens with Pegasos2 happens, the Workbench freezes.

Suggestions
Thanks

HELP

here are the screenshots 32bit etc. :

Resized Image

Resized Image


note:
I think it's doable at this point,
but it takes someone who wants to do it

for example I emulate the playstation 4 to play BloodBorne
even if I have the PS5 and so just order it on Amazon (20 euros).

Personal thought a real machine should cost 600-700
and certainly not 2000 euros.

An AmigaOS lover could spend 600-700 euros.
I would be the first to get the real hardware but 2000 euros plus various software well the cost goes up.

Always with the utmost respect for those who produce and develop for AmigaOS

@Balaton
if I can be of any help
tell me what I could do to help you
I don't know Linux like you.
If you need .log or something else


Edited by white on 2025/4/16 12:23:26
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-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@white
Maybe the CD has different settings and does not enable some settings that cause it to freeze? According to smarkusg you still need the INTERRUPT=no setting to avoid that freeze so this may be related to interrupts. Although interrupt related problems should be fixed now at least on pegasos2 and amigaone always had level sensitive interrupts setting, maybe there's still some issue somewhere with that. If somebody from AmigaOS side could tell what causes the freeze that may help to find out what's not emulated or set correctly. Hans had similar issue on pegasos2 before with virtio-vga related to interrupts but that was fixed a year ago with BBoot 0.7 and QEMU 9.0.0 so if you use newer than that those should not be a problem any more. It could be it's a different problem this time but I don't know what.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton
@Joerg
@smarkusg

In AmigaONE emulation
which audio should I select from those in the AHI list ?

Afterwards I will switch to Pegasos2 and do the various tests.

Otherwise I will get confused

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-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton

for AmigaONE

for AC97 do I have to add some command like
-device AC97 ?
or is it recognized automatically ?


I can't hear audio with AC97 even though the tests work with AHI.

I don't even have to bypass the audio it should be included with the GPU HDMI cable.

Or is there something else to do ?


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-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
I managed to get it all working
I can't hear only the audio

I'll make a video later

Thanks for all the 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-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
I couldn't resist
sorry if the video is a bit rough
All the problems solved but the audio is missing

I did it on the fly with my phone:

with the composite demo

Obviously it doesn't jerk, it's fluid but I had to hold the phone in my hand

https://youtu.be/XIXPSbDdl-Q

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-PCIe AmigaONE
Not too shy to talk
Not too shy to talk


See User information
@white

Quote:
for AC97 do I have to add some command like
-device AC97 ?
or is it recognized automatically ?


With AmigaOne emulation, the soundcard is added by default.
It works - check that you have set everything up correctly in the sound preferences.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@white

Quote:
white wrote:I couldn't resist
sorry if the video is a bit rough
All the problems solved but the audio is missing

I did it on the fly with my phone:

with the composite demo

Obviously it doesn't jerk, it's fluid but I had to hold the phone in my hand



Congratulations, you also made it very nice to see Great little video....Thanks

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: QEMU GPU-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@white
For audio there are several options. The default is via-ac97, it does not need any additional option as it's part of the chipset of amigaone and pegasos2 so should just work. If not, check in sound prefs (and if you have sound prefs replaced by Enhancer maybe revert to the original from the install CD as some people reported problems with the Enhancer versions of things). If you passed through the audio function of the graphics card you could also try that; it may or may not work, probably nobody tested it before and if the INTERRUPT=no setting is needed for the graphics function similar issue could exist for the audio function so who knows. Third option, you could add -device ES1370 which works with the soundblaster128 driver but I don't know if that's any better than via-ac97. It's important to set the right driver in prefs which may not be trivial as there are different units and one of those has to use some audio.device and the others the hardware driver but I forgot which is which so check some AmigaOS docs on how to configure sound. This is not specific to QEMU, the same is true on real machines.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Maijestro
Thanks it's not like a real Amiga but it's fine Emotion has Altivec and YUV acceleration etc.
As soon as I can I'll make a better video.

@smarkusg
@Balaton

I tried 3 HDMI cables but the result doesn't change

I installed everything and it works well and also set the audio as AC97 and the test succeeds but the audio is not heard.
In MIXER the audio is recognized as VIA686B
on OsDepot there are the drivers:
https://os4depot.net/share/driver/audio/via686b_ahi.lha

------------------------------------------------------------
README DRIVER via686b_ahi:

When you're lucky to have an AC'97 audio chip on your
AmigaOne, this driver will let you use the audio connectors
on the back of your motherboard. Only the first batch(es)
of A1's (not microA1's!) contain this chip. You either have
a Sigmatel chip or an empty square left to your AGP slot
under your gfx card.


History:

5.7 (01 May 2006)
- Stephen Brookes: Fixed bug in s/g table which could cause
a crash at the start of playback.
- Stephen Brookes: Fixed 'half-rate' audio problem which could
occur because the AC'97 wasn't always reset properly.


but once unpacked inside there are the AC97 drivers I tried them but the result doesn't change the audio is not heard.

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

@smarkusg
As you did for your GPU did you do the PCI passthrough only for the GPU or also for the audio?
This is important for me to understand.
Why in Linux I only have the AUDIO drivers active for the Nvidia GPU
The Radeon ones are blacklisted and therefore not activated.
in your Radeon what have you put in Blacklist only the GPU or also the audio of the HDMI GPU?

@Balaton
Probably with the Vfio-PCI maybe you will have to make some changes for the audio but only you have the knowledge to evaluate this request.

Because my audio cable is connected to the ASUS TUF GAMING PLUS B550 motherboard and therefore it is not heard.
Even if the HDMI cable connected to the Radeon GPU should pass the audio.

Do you have any suggestions?
Thanks

here my MONITOR with Tooltype:

Resized Image


Edited by white on 2025/4/17 9:27:32
Edited by white on 2025/4/17 9:28:17
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-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton

To test, I just have to remove the Radeon audio from the blacklist and see if Vfio-PCi still passes

That way the Radeon GPU audio will be accessible from qemu
I think it works like this.

@Balaton

Ah I also have two USB Audio that I used with Morphos could I use those to listen to the audio ?
What do you think ?


But I would like to know @smarkusg
what choice did he make in Vfio-PCI for the audio


Edited by white on 2025/4/17 9:36:50
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-PCIe AmigaONE
Not too shy to talk
Not too shy to talk


See User information
@whiteQuote:
As you did for your GPU did you do the PCI passthrough only for the GPU or also for the audio?
This is important for me to understand.
Why in Linux I only have the AUDIO drivers active for the Nvidia GPU
The Radeon ones are blacklisted and therefore not activated.
in your Radeon what have you put in Blacklist only the GPU or also the audio of the HDMI GPU?


On the blacklist I have both GPU and GPU HDMI. Both devices are passthrough.
Video I have connected via DVI port. Sound from the sound card on the motherboard mini-jack.
Everything works fine.

Go to top

  Register To Post
(1) 2 3 4 ... 6 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project