blob: d093aed2fde8888e1f80b572fdacfc8c214231c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
other: 0.672
graphic: 0.666
device: 0.666
performance: 0.628
semantic: 0.577
files: 0.525
permissions: 0.488
boot: 0.464
PID: 0.458
network: 0.445
debug: 0.443
vnc: 0.423
socket: 0.360
KVM: 0.155
Cocoa display hangs on macOS 10.15 (Catalina)
I have downloaded the latest stable source tarball 4.1.0 and compiled it (i386-softmmu target).
After opening a black window, QEMU hangs (spinning beach ball).
When building with `--disable-cocoa --enable-sdl`, display seems to work fine.
The same happened when I tried to build QEMU through HomeBrew and MacPorts.
I am also affected by this after upgrading to 10.15 Catalina.
I experience the same behavior using `qemu-system-x86_64`, but I can't confirm whether other systems are also affected.
Building with SDL also fixed it for me so far:
* `brew edit`
* add `depends_on "sdl2"` among other dependencies
* replace `--enable-cocoa` with `--disable-cocoa`
* replace `--disable-sdl` with `--enable-sdl`
* save, quit, and `brew install --build-from-source qemu`
I tried with `--enable-gtk` and it hangs as well.
Using gtk3 build from MacPorts with `+quartz`. Now, this may be a systemwide problem with Gtk, I am yet to test other Gtk apps on Catalina.
Investigation/patches would be welcome. Only one or two active upstream QEMU devs use OSX, and certainly personally I don't propose to upgrade to Catalina for at least six months to a year or so.
Hikaru Nishida kindly wrote a patch which should fix this:
https://<email address hidden>/
This is wonderful! Thank you Peter and Hikaru for this patch. I will try it ASAP and confirm.
Yes, works perfectly!
Hikaru's patch is now in master as commit dff742ad27efa4, and will be in the next QEMU release.
|