Opened 10 years ago

Closed 5 years ago

#41435 closed defect (fixed)

qemu @1.6.1 +target_sparc: Cocoa UI doesn't work for SPARC emulator.

Reported by: d0wntime Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: upstream Cc:
Port: qemu

Description

The native Cocoa UI support doesn't work in Qemu for the Sparc system target. I suspect an upstream problem, but wanted to advise. See attached screenshot of what shows up ...

Attachments (2)

qemu.png (36.7 KB) - added by d0wntime 10 years ago.
qemu-1.7.0.png (47.7 KB) - added by raimue (Rainer Müller) 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by d0wntime

Attachment: qemu.png added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to raimue@…

In the future, please Cc the port maintainers (port info --maintainers qemu).

Changed 10 years ago by raimue (Rainer Müller)

Attachment: qemu-1.7.0.png added

comment:2 Changed 10 years ago by raimue (Rainer Müller)

Please try again with qemu @1.7.0_0+target_sparc. The Cocoa GUI works for me, but the emulation hangs at the firmware stage (or I am doing something wrong?).

This is the command I am trying:

$ qemu-system-sparc -cdrom ~/src/img/debian/debian-7.1.0-sparc-netinst.iso -boot d

I get to this point, then it just hangs:

comment:3 Changed 10 years ago by d0wntime

I'm trying to boot Solaris with it, and a different ROM (from a SparcStation 5) ... here's the command I'm running:

sudo qemu-system-sparc -m 256 -M SS-5 -bios /home/img/ROMs/sun/ss5-170.bin \

-g 1024x768x24 \ -drive file=/home/doc/VMs/slagheap/sd0.raw,if=scsi,bus=0,unit=3 \ -drive file=/home/doc/VMs/slagheap/sd1.raw,if=scsi,bus=0,unit=1 \ -drive file=/home/doc/VMs/slagheap/sd2.raw,if=scsi,bus=0,unit=2 \ -net nic,macaddr=DE:EE:DD:FF:EE:DD,model=lance \ -net tap,ifname=tap0,script=/home/doc/VMs/slagheap/ifup,downscript=/home/doc/VMs/slagheap/ifdown

qemu-system-sparc is supposed to emulate a TCX card (24-bit frame buffer) ... with version 1.7.0, I still get the same problem.

comment:4 Changed 10 years ago by raimue (Rainer Müller)

Thank you for the details, that allowed me to reproduce the problem with -bios ss5-170.bin. I also built a custom qemu with gcc-mp-4.8 (requires some patching in ui/cocoa.m) in order to check whether it's another problem of compiling with clang. But this version also got stuck with the same symptom. I even tried with QEMU on a Linux machine, but couldn't get past the black screen either.

Sorry, but I won't get any further at this point. Could you please report this issue upstream to the QEMU developers?

comment:5 Changed 10 years ago by d0wntime

Yeah, this happened to me building with a number of compilers, directly from source by hand as well ... was wondering if compiling w/ SDL support (from MacPorts) would be a way around this, but I can't get Qemu to compile w/ SDL support, and config.log isn't very helpful for figuring out why ... or I'm missing something.

Done. Reported Qemu bug ID #1260555.

comment:6 Changed 8 years ago by raimue (Rainer Müller)

Keywords: upstream added

comment:7 Changed 5 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Upstream: https://bugs.launchpad.net/qemu/+bug/1260555

As the upstream bug was closed, I assume this has already been resolved a long while ago.

Note: See TracTickets for help on using tickets.