Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 0
Guests: 55

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 4 5 6 (7)
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Just can't stay away
Just can't stay away


See User information
@smarkusg

That's pretty impressive. You're now using a hybrid NGQmiga

Does the real sound card affect the emulation speed?

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Quite a regular
Quite a regular


See User information
@Maijestro
How do I disable emulation so that the graphics card, sound card, network card, and hard drive work on real hardware? That's certain.
What remains is ‘motherboard emulation’ + ports + drives, etc. I no longer have any free slots in my x86 to test the drive.

Go to top
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Quite a regular
Quite a regular


See User information
@smarkusg
Quote:
Thread closed: Sound Blaster Audigy FX does work with QEMU PCI passthrough.

Maybe you need to be more specific before others think it's really that simple. It works for you but you should mention that if I understood correctly it needs an Intel HDA driver for AmigaOS which is not any more available unless you still have it from before when it was public. Without that it's the same as the HDMI audio that the hardware can be passed through but no driver in AmigaOS for it.

Go to top
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Quite a regular
Quite a regular


See User information
@smarkusg
Quote:
How do I disable emulation so that the graphics card, sound card, network card, and hard drive work on real hardware? That's certain.

I think if no driver is loaded for the via-ac97 (i.e. it's not selected in audio prefs) it should not affect performance as it's not enabled by anything. To make sure, you can move SYS:Devs/AHI/via-ac97.audio and/or SYS:Devs/AudioModes/VIA-AC97 to Storage to disable them. To make really sure you can comment out /* Function 5: AC97 Audio */ in qemu/hw/isa/vt82c686.c::via_isa_realize() and the object_initialize_child(..."ac97"...) in via_isa_init() to completely remove the emulation.

Quote:
What remains is ‘motherboard emulation’ + ports + drives, etc. I no longer have any free slots in my x86 to test the drive.

You forgot the most important affecting performance: CPU emulation. Unless you have a PPC host that can use KVM you can't remove that. For disks you could try passing through a SATA controller but I think virtio-blk or scsi drivers might help this as well. Unfortunately despite Hans who wrote it asked AmigaKit to publish his virtio.library to make it easier for others to write virtio drivers for network/disk/sound/etc. we just got no answer about this from them. If someone at AmigaKit is reading this they could reply my emails...

Go to top
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Quite a regular
Quite a regular


See User information
@balaton
Quote:
To make really sure you can comment out /* Function 5: AC97 Audio */ in qemu/hw/isa/vt82c686.c::via_isa_realize() and the object_initialize_child(..."ac97"...) in via_isa_init() to completely remove the emulation.

This works best - permanently disabling AC97 from emulation. Thanks.
Quote:
If someone at AmigaKit is reading this they could reply my emails.

Forget about it. Their sense of self-worth does not allow them to respond appropriately.
From another thread on this forum, I don't understand people who thank "Makedir" for the update. The guy replaced basic system files with errors and people still thank him for it.
Wouldn't it be easier to restore the files from the official AOS4FE system?

Go to top
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Quite a regular
Quite a regular


See User information
@smarkusg
Quote:
This works best - permanently disabling AC97 from emulation. Thanks.

Have you tested if this makes any difference or do you just mean this is the best way to surely disable it? I think even without removing it if no driver is loaded for it it should not affect speed. I've only seen a difference due to via-ac97 with MorphOS which always runs sound even if nothing is played (maybe to prevent clicks) but AmigaOS seems to only enable it if you play some sound so even with the driver loaded it should not matter if you select a different sound card. If you test this don't forget to report the results back here.
Quote:
Forget about it.

I don't know the reason why they did not reply as I haven't got any answer whatsoever even after sending several emails. I haven't asked for access to virtio-gpu driver but only if they can release the virtio.library which is a common part for all virtio drivers so making at least the interface for it public would help others writing network or block driver and prevent having incompatible versions of it as this is needed for all virtio drivers so if they don't publish it others will write their own or each driver will end up with different versions and bugs in something that is best put in a common library and shared between drivers. Hans (who wrote it) also thinks this is a good idea to release this library but I still could not manage to get any answer, even a simple yes or no.
The other thing I asked for is the souces of the U-Boot versions under GPL which they have to publish as we have discussed here before. I have the binaries so I should also have the sources. It's up to them what they do with virtio.library but not answering about the GPL sources is not acceptable and I won't forget about that. I still hope I will get this sorted out sooner than later.

Go to top
Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Quite a regular
Quite a regular


See User information
@balaton
Quote:
Have you tested if this makes any difference or do you just mean this is the best way to surely disable it? I think even without removing it if no driver is loaded for it it should not affect speed. I've only seen a difference due to via-ac97 with MorphOS which always runs sound even if nothing is played (maybe to prevent clicks) but AmigaOS seems to only enable it if you play some sound so even with the driver loaded it should not matter if you select a different sound card. If you test this don't forget to report the results back here.

I think this is the best way. I don't have to do anything with the files in the AOS4 system.
Additionally, QEMU does not have to initialize “via-ac97”.
I have not tested whether leaving “via-ac97” has any effect on the operation of the system.I'll check and let you know.

Go to top

  Register To Post
« 1 ... 4 5 6 (7)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project