Poster | Thread |
tlosm
| |
Re: sam460 emulated in qemu Posted on 7-Aug-2019 19:22:46
| | [ #381 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Sidewinder
I do it when workbench start ... in case you can boot without startup sequence add the stack and do loadwb _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 7-Aug-2019 19:28:33
| | [ #382 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| this is my working amigaos install cd qemu-system-ppc64 -M sam460ex -device ide-cd,drive=cd,bus=ide.0 -drive file='/home/gigi/Sam460Install.iso',if=none,id=cd,format=raw -display gtk,gl=on -m 2G -device ide-hd,drive=hd-drive,bus=ide.1 -drive file='/home/gigi/amigaos.img',if=none,id=hd-drive,format=raw
just tested not stack issue... are you using last qemu version? Last edited by tlosm on 07-Aug-2019 at 07:29 PM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Sidewinder
| |
Re: sam460 emulated in qemu Posted on 7-Aug-2019 20:00:38
| | [ #383 ] |
|
|
|
Regular Member |
Joined: 10-Mar-2003 Posts: 152
From: Saint Paul, Minnesota, USA | | |
|
| @tlosm
I'm using qemu-4.1.0-rc3. Should I be pulling from the git master?
|
|
Status: Offline |
|
|
Trekiej
| |
Re: sam460 emulated in qemu Posted on 7-Aug-2019 21:11:45
| | [ #384 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
qemu-system-ppc -machine sam460ex -rtc base=localtime -serial none -drive if=none,id=cd,file=c:\sam460\Sam460InstallCD-53.58.iso,format=raw -device ide-cd,drive=cd,bus=ide.1 _________________ John 3:16 |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 7-Aug-2019 21:53:37
| | [ #385 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Sidewinder
usually i clone and build qemu from david gibson repo https://github.com/dgibson/qemu/tree/ppc-for-4.1 _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 7-Aug-2019 21:54:15
| | [ #386 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Trekiej
try my shared qemu line pls _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Sidewinder
| |
Re: sam460 emulated in qemu Posted on 8-Aug-2019 2:24:34
| | [ #387 ] |
|
|
|
Regular Member |
Joined: 10-Mar-2003 Posts: 152
From: Saint Paul, Minnesota, USA | | |
|
| @tlosm
No joy. I get the same guru using David Gibson's repo. Meditation 80000004, which I think used to mean invalid memory address or something. Not sure how that works with OS4 honestly. |
|
Status: Offline |
|
|
Trekiej
| |
Re: sam460 emulated in qemu Posted on 8-Aug-2019 2:35:53
| | [ #388 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
opengl support disabled
_________________ John 3:16 |
|
Status: Offline |
|
|
kolla
| |
Re: sam460 emulated in qemu Posted on 8-Aug-2019 6:43:08
| | [ #389 ] |
|
|
|
Elite Member |
Joined: 20-Aug-2003 Posts: 3329
From: Trondheim, Norway | | |
|
| @Samurai_Crow
Qemu with PPC emulation on a V4?? Yeah, that sounds very achievable.... _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 8-Aug-2019 22:27:45
| | [ #390 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Trekiej
dont add ,gl=on _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 8-Aug-2019 22:28:42
| | [ #391 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Sidewinder
really strange... what happen if you use -m 512 ? _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Trekiej
| |
Re: sam460 emulated in qemu Posted on 9-Aug-2019 1:11:12
| | [ #392 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
I will try this tomorrow, thanks. edit: I tried it anyway it does not like sdl and now it does not like format = raw.
edit: I downloaded the latest SDL dll for win10 64bit. Where do I need to copy this, I if I need?
Last edited by Trekiej on 09-Aug-2019 at 01:46 AM. Last edited by Trekiej on 09-Aug-2019 at 01:18 AM.
_________________ John 3:16 |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 9-Aug-2019 8:41:02
| | [ #393 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Trekiej
this is a Zoltan Email to me hope helps issues
Your QEMU command lines work but sdl,gl=on may not make much difference as 3D is not emulated so this only decides how the screen is drawn which will be slow anyway due to being rendered by guest (simple framebuffer) so gl proabably does not help much other than introducting potential video card related problems so maybe -sdl is the simplest way.
Also your morphos command line has a few unneded options that could be omitted to simplify it: -cpu G4 is the default so not needed, -net user also not needed for same reason. -device rtl8139 works but the default sungem netowrk card should also work so likely there's no need to use any network options just set up the netowrking correctly. Some people said if it does not boot after installation they've fixed that by booting from CD and copying default network config from CD to EnvArc or something like that, I think it's somewhere in comments on my qemu/amiga page.
Setting the stack 2000000 may not be needed, maybe only for some apps but I don't think it helps with the crash. That seems to be related to how things happen to be in RAM so changing memory size, startup-sequence or using different filesystem or block size when installing may affect it. Stack size indirectly also but only if you can put it in startup sequence and then I'm not sure it's changing startup sequence or the stack option helped maybe other change would have same effect. This crash is mentioined on my page in Known problems #2 but I don't know why it happens and how to fix it. I'd need help from AmigaOS4 developers but they probably need a simple way to reliably reproduce it with the least amount of software running (like during boot) otherwise it's hard to debug. This probably means there's a bug that happens randomly so even if you don't get it during boot it can happen later any time or cause random memory corruption. Unfortunately I don't understand what may cause it so no way for me to fix it.
For building from source no need to build all targets if you only want mac99 and sam460ex so adding --target-list=ppc-softmmu to configure would cut down build time to only build qemu-system-ppc (or use ppc64-softmmu if you want G5 as well but that's not working very well but you may try on Linux with KVM for Linux guest). Also you can disable some thing you don't need such as --disable-gtk --disable-tpm then you don't need to always say -display sdl as that will be the only one compiled in.
As for needed minimum versions my qemu/amiga page clearly says what is the minimum required so I don't know why people even try with 2.x. If that's what their LTE distro gives them update to a newer distro version if they can't compile it.
I've forwarded reports about the Windows serial assert crash to Stefan Weil (I've told people before to report it there but looks like no one bothered) so this should now be fixed in final 4.1.0 release next week. Also QEMU 4.0.0 had some AltiVec bugs so maybe best to use 4.1.0 for mac99. _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Trekiej
| |
Re: sam460 emulated in qemu Posted on 9-Aug-2019 12:34:16
| | [ #394 ] |
|
|
|
Cult Member |
Joined: 17-Oct-2006 Posts: 890
From: Unknown | | |
|
| @tlosm
I guess I will have to wait some more. _________________ John 3:16 |
|
Status: Offline |
|
|
billt
| |
Re: sam460 emulated in qemu Posted on 10-Aug-2019 13:16:09
| | [ #395 ] |
|
|
|
Elite Member |
Joined: 24-Oct-2003 Posts: 3205
From: Maryland, USA | | |
|
| @tlosm
Quote:
what i can see is you dont have gtk gl support virgl support . is better you have it istalled. |
I added GL and virgl, but now get these errors:
qemu_gl_create_compile_shader: compile vertex error 0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
qemu_gl_create_compile_shader: compile fragment error 0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
qemu_gl_create_compile_shader: compile vertex error 0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
qemu_gl_create_compile_shader: compile fragment error 0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
_________________ All glory to the Hypnotoad! |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 5-Sep-2019 8:41:43
| | [ #396 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| New PULL
> * Several powernv patches which were pulled last minute from the > last PULL, now that some problems with them have been sorted out > * A fix for -no-reboot which has been broken since the > pseries-rhel4.1.0 machine type > * Add some host threads information which AIX guests will need to > properly scale the PURR and SPURR > * Change behaviour to match x86 when unplugging function 0 of a > multifunction PCI device > * A number of TCG fixes in FPU emulation > > And a handful of other assorted fixes and cleanups.
git://github.com/dgibson/qemu.git tags/ppc-for-4.2-20190829 _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
billt
| |
Re: sam460 emulated in qemu Posted on 25-Oct-2019 19:06:13
| | [ #397 ] |
|
|
|
Elite Member |
Joined: 24-Oct-2003 Posts: 3205
From: Maryland, USA | | |
|
| Anyone seen this error, trying to compile Qemu 4.1.0?
Quote:
... LINK xtensaeb-softmmu/qemu-system-xtensaeb /usr/bin/ld: target/xtensa/core-test_mmuhifi_c3.o: file not recognized: file truncated collect2: error: ld returned 1 exit status make[1]: *** [Makefile:209: qemu-system-xtensaeb] Error 1 make: *** [Makefile:472: xtensaeb-softmmu/all] Error 2
|
_________________ All glory to the Hypnotoad! |
|
Status: Offline |
|
|
tlosm
| |
Re: sam460 emulated in qemu Posted on 26-Oct-2019 12:55:14
| | [ #398 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @billt
no no issue ... tested on linux x64 and PPC _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
wawa
| |
Re: sam460 emulated in qemu Posted on 26-Oct-2019 13:01:15
| | [ #399 ] |
|
|
|
Elite Member |
Joined: 21-Jan-2008 Posts: 6259
From: Unknown | | |
|
| @billt
has the compile crashed while building and you have restarted it? or something like that? drive full.. anything that results in a truncated object file? in any case i would delete it and simply reissue build commands. Last edited by wawa on 26-Oct-2019 at 01:01 PM.
|
|
Status: Offline |
|
|
Cego
| |
Re: sam460 emulated in qemu Posted on 13-Mar-2020 0:24:05
| | [ #400 ] |
|
|
|
New Member |
Joined: 19-Jul-2012 Posts: 9
From: Unknown | | |
|
| are there any chances that KVM will work on a Debian G4 PPC system within QEMU incl. OpenGL? I really wanna get out the max of Virtualization on my Peg2. And to play some nice games like SimCity4 or Warcraft III would be really fine. |
|
Status: Offline |
|
|