Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
52 user(s) are online (33 user(s) are browsing Forums)

Members: 0
Guests: 52

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 78 79 80 (81)
Re: What the fastest possible x64 emulation way of OS4 today ?
Home away from home
Home away from home


See User information
@Balaton
That expected that your driver only offer 1024x768 and not 1920x1080 ? Not that it currently very important, but will be tasty to have too.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@kas1e
No it should have a lot of resolutions from qemu-edid even higher than 1920x1080. Maybe you have a Devs/Monitors/Radeon icon with tool types that disable DDC and do not define modes? You could either enable DDC in the monitor icon or delete or move it to Stroage so the defaults will be used.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@joerg
Quote:
Did you implement all of the BoardInfo->Blit*() functions in your driver?

No but neither does the sm502 driver and this benchmark specifically seems to excercise BlitRectNoMaskComplete only so only that should matter.

Quote:
AFAIK nearly all BoardInfo functions in a P96 driver can be set to NULL on AmigaOS 4.x and a fallback function in graphics.library is used instead. For example for a very simple framebuffer driver. On real hardware with HW acceleration it's usually slower, but for emulation the graphics.library functions might be faster.

I guess you can test that with setting NOBLITTER in the monitor icon which should disable the driver functions and use the AmigaOS defaults but I did not try that. But especially for larger blits doing it host side with native routines should be faster.
Quote:
IGNOREMASK should be enabled (=YES), no matter if real hardware or emulation, which requires using a matching DEVS:Monitors, or using Kickstart/p96Config (not sure if that's enabled on all systems, or only used on Classic Amigas).

I haven't seen anything using other than 0xFF mask and BlitRectNoMaskComplete cannot even use a mask, plus the docs say that's only used for planar mode which is not implemented in my driver so this should not matter.
Quote:
Might also depend on the AllocCardMem() and/or AllocBitMap() functions, which should return at least 32 bit aligned (or more if the (emulated) gfx hardware requires it) memory.

The defaults seem to allocate with enough alignment for ati-vga which I think is 16 bytes aligned.

Quote:
Simple example of the required VRAM for a FullHD Workbench screen:
1920*1080*4(32 bit)*4(4 images, see below)/1024/1024 = nearly 32 MB VRAM.
1st "image": The screen bitmap itself, i.e. the final result displayed on the monitor.
2nd: The Workbench screen backdrop image.
3rd: The Workbench root window image.
4th: The Workbench drawer window images.

The results from smarkusg does not seem to prove this theory where only one screen is allocated for ati-vga but more than 4 for sm501. There may also be wrong rounding in the displayed value because it says 3 MB for what should be 3.9 MB.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@balaton
I tested the ATI (QEMU) driver for sam460 in QEMU. It doesn't work.
Most likely, the newer version of u-boot is trying to initialize the ATI card for its own purposes.
It works with a custom u-boot (where Radeon initialization is disabled).
It also works with an older version of u-boot for QEMU.
But there are still major issues. WB has compositing disabled.
Sm501 and Voodoo3 work correctly.
Here’s a video—it’s easier for me to post a video than to write and post screenshots.
video- > https://youtu.be/IQSzCMMo9Q8

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@smarkusg
I've tested with amigaone and pegasos2 as that's probably what most people use, did not bother with sam460ex. As the sam460ex U-Boot has an ATI radeon driver it probably tries to init the card which fails without an appropriate ROM and we don't have a ROM that works with the x86emu in sam460ex U-Boot. So maybe you need to add -device ati-vga,romfile="",... and live with only serial output. The driver should still work once AmigaOS starts. I'll watch the video later.

EDIT: So QEMU vgabios does not work and romfile="" also crashes. There are some real card ROMs here with which I get no picture in U-Boot (ROM does not seem to run fully and interrupted by U-Boot) but at least it starts to boot but after the splash screen I got errors that I'm not sure is something wrong with my test image or some other problem.


Edited by balaton on 2026/4/27 23:42:27
Edited by balaton on 2026/4/27 23:42:55
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@balaton
Quote:
So QEMU vgabios does not work and romfile="" also crashes

I’ve been testing these options on a few ROMs I have for the RV100 and 7000. The newer u-boot doesn’t boot with `ati-vga` in QEMU-11.
I had a system image for the sam460ex to hand, so I gave it a go.
No one has reported any issues regarding this – perhaps no one ever will. I suspect few people use the QEMU sam460ex emulation.
You mentioned somewhere that the QEMU sam460ex emulation is to be removed. I won’t bother you with this matter.
It’s just worth noting that this issue occurs in QEMU-11 and ati-vga.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Home away from home
Home away from home


See User information
@balaton
Quote:
I guess you can test that with setting NOBLITTER in the monitor icon which should disable the driver functions and use the AmigaOS defaults
Yes.
Quote:
but I did not try that. But especially for larger blits doing it host side with native routines should be faster.
Depends on how the ati-vga emulation is implemented in QEmu.
If it's using an own thread running in parallel of the CPU and other guest hardware emulation it should be faster.
But if it's executed in the same thread, which seems to be the case for most hardware emulation in QEmu, i.e. stopping the emulated guest code, executing some host code, and restarting the guest CPU emulation, it's probably slower than guest code doing the same.

Go to top

  Register To Post
« 1 ... 78 79 80 (81)

 




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



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project