Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
116 user(s) are online (75 user(s) are browsing Forums)

Members: 1
Guests: 115

K-L, more...

Headlines

Forum Index


Board index » All Posts (geennaam)




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


@MartinW

OK, so no other devices in your iommu group?

Go to top


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


@MartinW

It's actually the Linux kernel that does the isolation into MMU groups. So as long as your motherboard and processor support VT-d then you're good to go.


Edited by geennaam on 2023/7/3 20:20:35
Go to top


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


@balaton

I've cross checked the info with a HD4850 and RX 580.


Edited by geennaam on 2023/7/3 20:20:03
Go to top


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


@balaton

Just guessing here. But I think that this would be the os4 kernel itself.

Go to top


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


@balaton

Never mind


Edited by geennaam on 2023/7/2 10:19:24
Edited by geennaam on 2023/7/2 10:37:03
Edited by geennaam on 2023/7/3 20:19:25
Go to top


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


@balaton

Quote:
I'm still looking at sam460 PCIe emulation


Yes, I agree. This is the only way forward.

Go to top


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


@balaton

I will be a Linux guru as well at the end of this thread


Edited by geennaam on 2023/7/3 20:18:06
Go to top


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


@balaton
Quote:

For RadeonHD/RX cards I was suspecting it's a problem with 64 bit BARs and in that case I'm not sure it can be fixed because the pegasos2 is a 32 bit system so there may not be enough space in the memory map to map these even if the PCI controller may support these (which probably it doesn't as I did not expect it to be needed so maybe the Marvell emulation may also need to be checked for this). The X5000 and sam460 may use newer CPUs that at least have larger virtual address spaces which may be needed.


I doubt that this is the issue. I am able to use a Radeon R9 270x in a an old SAM440ep with just a PCI to PCIe bridge.


Edited by geennaam on 2023/7/3 20:17:34
Go to top


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


@balaton

Quote:

I've asked what errors you get if you only have ATI 9250 with x-vga=on and no other VGA in the system, I know that does not work but I'd need the errors to find out why as I think that's how it sohuld work and not how you managed to get past it as then it did not work so that may not be a viable work around if the problem is elsewhere.


It will immediately result in a segmentation fault (core dumped) and then Qemu is terminated . So no qemu serial or monitor output.


Edited by geennaam on 2023/7/3 20:17:04
Go to top


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


@balaton

Radeon 9250 will always result in a segmentation fault. No matter what other display I use (or none at all). And on which bus it is connected.


Edited by geennaam on 2023/6/30 16:25:33
Edited by geennaam on 2023/7/3 20:16:10
Go to top


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


@kas1e

Quote:

Sadly it's uknown why pegasos2 can't handle radeonRX/HD over bridges :( Even mA1 can (which is even older).


I was able to start QEMU with sm501 display while the RX 560 was in passed through.


Edited by geennaam on 2023/7/3 20:14:37
Go to top


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


@balaton

I get the following messages on my terminal:
CS:IP 0000C000:00003555 WRITE ACCESS TO UNEMULATED IOPORT=0000004A DATA=00000000
CS
:IP 0000C000:000038AE READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:000038B2 WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=FFFFFFFF
CS
:IP 0000C000:00003E24 READ ACCESS FROM UNEMULATED IOPORT=0000001C
CS
:IP 0000C000:00003E32 WRITE ACCESS TO UNEMULATED IOPORT=0000001C DATA=C253C031
CS
:IP 0000C000:00003E3E WRITE ACCESS TO UNEMULATED IOPORT=00000024 DATA=00000FF0
CS
:IP 0000C000:00003E43 READ ACCESS FROM UNEMULATED IOPORT=00000018
CS:IP 0000C000:00003E51 WRITE ACCESS TO UNEMULATED IOPORT=00000018 DATA=FC17A9E9
CS
:IP 0000C000:00003E5B WRITE ACCESS TO UNEMULATED IOPORT=00000010 DATA=00000000
CS
:IP 0000C000:00003E65 WRITE ACCESS TO UNEMULATED IOPORT=00000034 DATA=00000037
CS
:IP 0000C000:00003E70 WRITE ACCESS TO UNEMULATED IOPORT=00000030 DATA=0000010D
CS
:IP 0000C000:00003E7B WRITE ACCESS TO UNEMULATED IOPORT=00000034 DATA=FFFFFFFF
CS
:IP 0000C000:00003E86 WRITE ACCESS TO UNEMULATED IOPORT=00000030 DATA=0000010E
CS
:IP 0000C000:00003E8B READ ACCESS FROM UNEMULATED IOPORT=00000014
CS
:IP 0000C000:00003E99 WRITE ACCESS TO UNEMULATED IOPORT=00000014 DATA=1FF40001
CS
:IP 0000C000:00003EA3 WRITE ACCESS TO UNEMULATED IOPORT=00000020 DATA=0000049E
CS
:IP 0000C000:00003EAD WRITE ACCESS TO UNEMULATED IOPORT=00000044 DATA=0000720D
CS
:IP 0000C000:00003EB2 READ ACCESS FROM UNEMULATED IOPORT=0000000C
CS
:IP 0000C000:00003EB7 WRITE ACCESS TO UNEMULATED IOPORT=0000000C DATA=FFFFFFFF
CS
:IP 0000C000:000038AE READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:000038B2 WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=FFFFFFFF
CS
:IP 0000C000:00003675 READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:0000367F WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=00000140
CS
:IP 0000C000:00003CD1 READ ACCESS FROM UNEMULATED IOPORT=0000002C
CS
:IP 0000C000:00003CE2 WRITE ACCESS TO UNEMULATED IOPORT=0000002C DATA=FFF00000
CS
:IP 0000C000:00003711 WRITE ACCESS TO UNEMULATED IOPORT=0000004C DATA=00000000
CS
:IP 0000C000:0000373D READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:00003750 WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=00000140
CS
:IP 0000C000:00003760 WRITE ACCESS TO UNEMULATED IOPORT=0000002C DATA=00000000
CS
:IP 0000C000:00003785 WRITE ACCESS TO UNEMULATED IOPORT=0000005C DATA=00000000
CS
:IP 0000C000:0000378A READ ACCESS FROM UNEMULATED IOPORT=0000001C
CS
:IP 0000C000:0000378E WRITE ACCESS TO UNEMULATED IOPORT=0000001C DATA=FFFFFFFF
CS
:IP 0000C000:000038AE READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:000038B2 WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=FFFFFFFF
CS
:IP 0000C000:00003675 READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:0000367F WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=00000140
CS
:IP 0000C000:00003CD1 READ ACCESS FROM UNEMULATED IOPORT=0000002C
CS
:IP 0000C000:00003CE2 WRITE ACCESS TO UNEMULATED IOPORT=0000002C DATA=FFF00000
CS
:IP 0000C000:00003711 WRITE ACCESS TO UNEMULATED IOPORT=0000004C DATA=00000000
CS
:IP 0000C000:0000373D READ ACCESS FROM UNEMULATED IOPORT=00000028
CS:IP 0000C000:00003750 WRITE ACCESS TO UNEMULATED IOPORT=00000028 DATA=00000140
CS
:IP 0000C000:00003760 WRITE ACCESS TO UNEMULATED IOPORT=0000002C DATA=00000000
CS
:IP 0000C000:00003785 WRITE ACCESS TO UNEMULATED IOPORT=0000005C DATA=00000000
CS
:IP 0000C000:0000378A READ ACCESS FROM UNEMULATED IOPORT=0000001C
CS
:IP 0000C000:0000378E WRITE ACCESS TO UNEMULATED IOPORT=0000001C DATA=FFFFFFFF
CS
:IP 0000C000:00003858 READ ACCESS FROM UNEMULATED IOPORT=00000018


Edited by geennaam on 2023/7/3 20:13:13
Go to top


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


@white


Edited by geennaam on 2023/7/3 20:12:27
Go to top


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


@white


Edited by geennaam on 2023/6/30 13:42:49
Edited by geennaam on 2023/7/3 20:11:14
Go to top


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


@smarkusg

apparently --enable-lto is a gcc option. without it, I can build qemu with CLANG. But so far I do not notice a difference in speed.

Go to top


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


SmartFirmware shows up on my display.

Without the addition VGA device, I have no way to switch to the emulator. CTRL+ALT+G doesn't work


Edited by geennaam on 2023/7/3 20:09:20
Edited by geennaam on 2023/7/3 20:11:36
Go to top


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


@smarkusg


QEMU fails to build with CLANG. Something to do with virtfs-proxy-helper
[891/2623Linking target fsdev/virtfs-proxy-helper
FAILED
fsdev/virtfs-proxy-helper 
clang
-12 -m64 -mcx16  -o fsdev/virtfs-proxy-helper fsdev/virtfs-proxy-helper.p/virtfs-proxy-helper.c.o fsdev/virtfs-proxy-helper.p/9p-marshal.c.o fsdev/virtfs-proxy-helper.p/9p-iov-marshal.c.-flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,--whole-archive -Wl,--start-group libevent-loop-base.a libqom.fa -Wl,--no-whole-archive -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -Wl,--warn-common libqemuutil.a subprojects/libvhost-user/libvhost-user-glib.a subprojects/libvhost-user/libvhost-user.a libqom.fa -lcap-ng -lnuma /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so -pthread -lgmodule-2.0 -lglib-2.0 /usr/lib/x86_64-linux-gnu/libgnutls.so -lm /usr/lib/x86_64-linux-gnu/libpixman-1.so -lgmodule-2.0 -lglib-2.0 -Wl,--end-group
/usr/bin/ldlibqemuutil.aerror adding symbolsarchive has no indexrun ranlib to add one
clang
errorlinker command failed with exit code 1 (use -v to see invocation)


But at least its builds with --enable-lto

Used the following command line:

qemu-system-ppc -L pc-bios -M pegasos2 -accel tcg -cpu apollo7 -m 1024 -bios pegasos2.rom -vga none -drive if=none,id=cd -device ide-cd,drive=cd,bus=ide.1 -drive if=none,id=hd,file=hd.img,format=raw -device ide-hd,drive=hd,bus=ide.0 -device rtl8139,netdev=net0 -netdev user,id=net0 -rtc base=localtime -serial stdio -device VGA,romfile="" -device vfio-pci,host=03:04.0


Cow3d still runs at 26 fps.

But Cube now runs at 30-50 FPS. Even >80fps when staring at a wall.

GFXBench2D performance improved as well: http://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2655

Go to top


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


@kas1e

Cube runs too at about 10 fps.


Edited by geennaam on 2023/7/3 20:08:12
Go to top


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


@MartinW



Edit: Cow3D-os4 runs on a 16bit screen (26 fps). So Warp3D works


Edited by geennaam on 2023/6/29 21:09:36
Edited by geennaam on 2023/7/3 20:05:58
Go to top


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


EUREKA!

All that was needed is a bit of voodoo magic.


Edited by geennaam on 2023/7/3 20:05:18
Go to top



TopTop
« 1 ... 11 12 13 (14) 15 16 17 ... 35 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project