utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.14k stars 1.34k forks source link

Buttons don't work #6753

Closed Sailyyyy closed 1 week ago

Sailyyyy commented 1 month ago

Most buttons, for example keyboard, don't work at all, so I can't boot. Shutdown button only works sometimes. I'm using UTM-HV because regular UTM crashes instantly.

UTM version 4.5.4 iOS 16.1 iPhone SE 2020 Jailbroken with Dopamine 2.2.2 UTM-HV installed with TrollStore

DEBUG LOG (had to force close UTM)

Launching: qemu-system-x86_64 -L /private/var/containers/Bundle/Application/997A8F05-3A09-4B7E-83C5-D7F1363F7ADD/UTM.app/qemu -S -spice unix=on,addr=B63440F6-8BFD-4E99-AB79-5465AC323398.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off -chardev spiceport,name=org.qemu.monitor.qmp.0,id=org.qemu.monitor.qmp -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device rtl8139,mac=0E:A3:38:6C:A2:C5,netdev=net0 -netdev user,id=net0 -device qxl-vga -smp cpus=1,sockets=1,cores=1,threads=1 -machine pc,vmport=off,hpet=off -accel tcg,tb-size=128,split-wx=on -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 512 -audiodev spice,id=audio0 -device AC97,audiodev=audio0 -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device ide-hd,bus=ide.0,drive=drive0,bootindex=0 -drive "if=none,media=disk,id=drive0,file.filename=/private/var/mobile/Containers/Shared/AppGroup/9A4A57D9-A1BE-4449-B20C-9096870E896D/File Provider Storage/Downloads/Windows XP.utm/Data/disk-0.qcow2,discard=unmap,detect-zeroes=unmap" -device ide-cd,bus=ide.1,drive=drive1,bootindex=1 -drive "if=none,media=cdrom,id=drive1,file.filename=/private/var/mobile/Containers/Shared/AppGroup/9A4A57D9-A1BE-4449-B20C-9096870E896D/File Provider Storage/Downloads/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso,file.locking=off,readonly=on" -device virtio-serial -device virtserialport,chardev=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -chardev spiceport,name=org.qemu.guest_agent.0,id=org.qemu.guest_agent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -name "Windows XP" -uuid B63440F6-8BFD-4E99-AB79-5465AC323398 -rtc base=localtime -device virtio-rng-pci 2024-10-16 17:25:10.760 UTM[47615:1708667] [QEMULogging(0x28387b580)] Launching: qemu-system-x86_64 -L /private/var/containers/Bundle/Application/997A8F05-3A09-4B7E-83C5-D7F1363F7ADD/UTM.app/qemu -S -spice unix=on,addr=B63440F6-8BFD-4E99-AB79-5465AC323398.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off -chardev spiceport,name=org.qemu.monitor.qmp.0,id=org.qemu.monitor.qmp -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device rtl8139,mac=0E:A3:38:6C:A2:C5,netdev=net0 -netdev user,id=net0 -device qxl-vga -smp cpus=1,sockets=1,cores=1,threads=1 -machine pc,vmport=off,hpet=off -accel tcg,tb-size=128,split-wx=on -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 512 -audiodev spice,id=audio0 -device AC97,audiodev=audio0 -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device ide-hd,bus=ide.0,drive=drive0,bootindex=0 -drive "if=none,media=disk,id=drive0,file.filename=/private/var/mobile/Containers/Shared/AppGroup/9A4A57D9-A1BE-4449-B20C-9096870E896D/File Provider Storage/Downloads/Windows XP.utm/Data/disk-0.qcow2,discard=unmap,detect-zeroes=unmap" -device ide-cd,bus=ide.1,drive=drive1,bootindex=1 -drive "if=none,media=cdrom,id=drive1,file.filename=/private/var/mobile/Containers/Shared/AppGroup/9A4A57D9-A1BE-4449-B20C-9096870E896D/File Provider Storage/Downloads/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso,file.locking=off,readonly=on" -device virtio-serial -device virtserialport,chardev=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -chardev spiceport,name=org.qemu.guest_agent.0,id=org.qemu.guest_agent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -name "Windows XP" -uuid B63440F6-8BFD-4E99-AB79-5465AC323398 -rtc base=localtime -device virtio-rng-pci Loading qemu-x86_64-softmmu.framework/qemu-x86_64-softmmu 2024-10-16 17:25:10.820 UTM[47615:1708667] [QEMULogging(0x28387b580)] Loading qemu-x86_64-softmmu.framework/qemu-x86_64-softmmu 2024-10-16 14:25:10,900 WARNING GSpice-main-1:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.901 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,900 WARNING GSpice-main-1:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,978 MESSAGE (null)-main channel: opened 2024-10-16 17:25:10.978 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,978 MESSAGE (null)-main channel: opened 2024-10-16 14:25:10,986 WARNING GSpice-usbredir-9:2: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.986 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,986 WARNING GSpice-usbredir-9:2: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,986 WARNING GSpice-usbredir-9:1: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.986 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,986 WARNING GSpice-usbredir-9:1: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,986 WARNING GSpice-usbredir-9:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,987 WARNING GSpice-playback-5:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,987 WARNING GSpice-record-6:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,987 WARNING GSpice-display-2:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,987 WARNING GSpice-cursor-4:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,988 WARNING GSpice-webdav-11:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,988 WARNING GSpice-port-10:1: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,988 WARNING GSpice-port-10:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:10,988 WARNING GSpice-inputs-3:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.986 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,986 WARNING GSpice-usbredir-9:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.987 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,987 WARNING GSpice-playback-5:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.987 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,987 WARNING GSpice-record-6:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.987 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,987 WARNING GSpice-display-2:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.987 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,987 WARNING GSpice-cursor-4:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.988 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,988 WARNING GSpice-webdav-11:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.988 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,988 WARNING GSpice-port-10:1: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.988 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,988 WARNING GSpice-port-10:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 17:25:10.988 UTM[47615:1708765] [QEMULogging(0x28387b580)] 2024-10-16 14:25:10,988 WARNING GSpice-inputs-3:0: could not set sockopt TCP_NODELAY: Operation not supported on socket 2024-10-16 14:25:11,213 WARNING Spice-playback:0 (0x1091ef060): setsockopt failed, Operation not supported on socket 2024-10-16 17:25:11.213 UTM[47615:1708775] [QEMULogging(0x28387b580)] 2024-10-16 14:25:11,213 WARNING Spice-playback:0 (0x1091ef060): setsockopt failed, Operation not supported on socket 2024-10-16 14:25:11,217 WARNING Spice-record:0 (0x1091e5760): setsockopt failed, Operation not supported on socket 2024-10-16 17:25:11.217 UTM[47615:1708775] [QEMULogging(0x28387b580)] 2024-10-16 14:25:11,217 WARNING Spice-record:0 (0x1091e5760): setsockopt failed, Operation not supported on socket Monitor port created2024-10-16 17:25:11.232 UTM[47615:1708765] [QEMULogging(0x28387b580)] Monitor port created Debug JSON recieved <- { QMP = { capabilities = ( ); version = { package = ""; qemu = { major = 7; micro = 0; minor = 2; }; }; }; } 2024-10-16 17:25:11.233 UTM[47615:1708669] [QEMULogging(0x28387b580)] Debug JSON recieved <- { QMP = { capabilities = ( ); version = { package = ""; qemu = { major = 7; micro = 0; minor = 2; }; }; }; } Got QMP handshake: { capabilities = ( ); version = { package = ""; qemu = { major = 7; micro = 0; minor = 2; }; }; } qemuQmpDidConnect2024-10-16 17:25:11.234 UTM[47615:1708669] [QEMULogging(0x28387b580)] Got QMP handshake: { capabilities = ( ); version = { package = ""; qemu = { major = 7; micro = 0; minor = 2; }; }; } 2024-10-16 17:25:11.234 UTM[47615:1708669] [QEMULogging(0x28387b580)] qemuQmpDidConnect Debug JSON send -> { execute = "qmp_capabilities"; } 2024-10-16 17:25:11.234 UTM[47615:1708669] [QEMULogging(0x28387b580)] Debug JSON send -> { execute = "qmp_capabilities"; } Debug JSON recieved <- { return = { }; } 2024-10-16 17:25:11.242 UTM[47615:1708670] [QEMULogging(0x28387b580)] Debug JSON recieved <- { return = { }; } Debug JSON send -> { arguments = { device = drive1; "file-locking-mode" = off; filename = "/private/var/mobile/Containers/Shared/AppGroup/9A4A57D9-A1BE-4449-B20C-9096870E896D/File Provider Storage/Downloads/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso"; }; execute = "blockdev-change-medium"; } 2024-10-16 17:25:11.251 UTM[47615:1708667] [QEMULogging(0x28387b580)] Debug JSON send -> { arguments = { device = drive1; "file-locking-mode" = off; filename = "/private/var/mobile/Containers/Shared/AppGroup/9A4A57D9-A1BE-4449-B20C-9096870E896D/File Provider Storage/Downloads/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso"; }; execute = "blockdev-change-medium"; } Debug JSON recieved <- { data = { device = drive1; id = "/machine/peripheral-anon/device[10]"; "tray-open" = 1; }; event = "DEVICE_TRAY_MOVED"; timestamp = { microseconds = 253197; seconds = 1729088711; }; } Debug JSON recieved <- { data = { device = drive1; id = "/machine/peripheral-anon/device[10]"; "tray-open" = 0; }; event = "DEVICE_TRAY_MOVED"; timestamp = { microseconds = 253383; seconds = 1729088711; }; } 2024-10-16 17:25:11.254 UTM[47615:1708669] [QEMULogging(0x28387b580)] Debug JSON recieved <- { data = { device = drive1; id = "/machine/peripheral-anon/device[10]"; "tray-open" = 1; }; event = "DEVICE_TRAY_MOVED"; timestamp = { microseconds = 253197; seconds = 1729088711; }; } 2024-10-16 17:25:11.254 UTM[47615:1708669] [QEMULogging(0x28387b580)] Debug JSON recieved <- { data = { device = drive1; id = "/machine/peripheral-anon/device[10]"; "tray-open" = 0; }; event = "DEVICE_TRAY_MOVED"; timestamp = { microseconds = 253383; seconds = 1729088711; }; } Debug JSON recieved <- { return = { }; } 2024-10-16 17:25:11.254 UTM[47615:1708669] [QEMULogging(0x28387b580)] Debug JSON recieved <- { return = { }; } Debug JSON send -> { execute = cont; } 2024-10-16 17:25:11.254 UTM[47615:1708667] [QEMULogging(0x28387b580)] Debug JSON send -> { execute = cont; } Debug JSON recieved <- { event = RESUME; timestamp = { microseconds = 255285; seconds = 1729088711; }; } 2024-10-16 17:25:11.255 UTM[47615:1708663] [QEMULogging(0x28387b580)] Debug JSON recieved <- { event = RESUME; timestamp = { microseconds = 255285; seconds = 1729088711; }; } qemuHasResumedDebug JSON recieved <- { return = { }; } 2024-10-16 17:25:11.256 UTM[47615:1708669] [QEMULogging(0x28387b580)] qemuHasResumed 2024-10-16 17:25:11.256 UTM[47615:1708663] [QEMULogging(0x28387b580)] Debug JSON recieved <- { return = { }; } DISPLAY: vmDisplay.displaySize changed 2024-10-16 17:25:11.326 UTM[47615:1708661] [QEMULogging(0x28387b580)] DISPLAY: vmDisplay.displaySize changed DISPLAY: vmDisplay.displaySize changed 2024-10-16 17:25:11.396 UTM[47615:1708765] [QEMULogging(0x28387b580)] DISPLAY: vmDisplay.displaySize changed DISPLAY: vmDisplay.displaySize changed 2024-10-16 17:25:11.396 UTM[47615:1708765] [QEMULogging(0x28387b580)] DISPLAY: vmDisplay.displaySize changed DISPLAY: request window resize to (720.000000, 400.000000) 2024-10-16 17:25:12.399 UTM[47615:1708661] [QEMULogging(0x28387b580)] DISPLAY: request window resize to (720.000000, 400.000000) Switching mouse mode to server:1 for type:0 2024-10-16 17:26:00.313 UTM[47615:1708661] [QEMULogging(0x28387b580)] Switching mouse mode to server:1 for type:0 Debug JSON send -> { execute = "query-mice"; } 2024-10-16 17:26:00.315 UTM[47615:1708834] [QEMULogging(0x28387b580)] Debug JSON send -> { execute = "query-mice"; } Debug JSON recieved <- { return = ( { absolute = 0; current = 0; index = 2; name = "QEMU PS/2 Mouse"; }, { absolute = 0; current = 0; index = 4; name = "QEMU HID Mouse"; }, { absolute = 1; current = 1; index = 3; name = "QEMU HID Tablet"; } ); } 2024-10-16 17:26:00.316 UTM[47615:1708790] [QEMULogging(0x28387b580)] Debug JSON recieved <- { return = ( { absolute = 0; current = 0; index = 2; name = "QEMU PS/2 Mouse"; }, { absolute = 0; current = 0; index = 4; name = "QEMU HID Mouse"; }, { absolute = 1; current = 1; index = 3; name = "QEMU HID Tablet"; } ); } Debug JSON send -> { arguments = { "command-line" = "mouse_set 2"; }; execute = "human-monitor-command"; } 2024-10-16 17:26:00.317 UTM[47615:1708834] [QEMULogging(0x28387b580)] Debug JSON send -> { arguments = { "command-line" = "mouse_set 2"; }; execute = "human-monitor-command"; } Debug JSON recieved <- { return = ""; } 2024-10-16 17:26:00.318 UTM[47615:1708797] [QEMULogging(0x28387b580)] Debug JSON recieved <- { return = ""; } DISPLAY: vmDisplay.displaySize changed 2024-10-16 17:26:00.425 UTM[47615:1708765] [QEMULogging(0x28387b580)] DISPLAY: vmDisplay.displaySize changed DISPLAY: vmDisplay.displaySize changed 2024-10-16 17:26:00.426 UTM[47615:1708765] [QEMULogging(0x28387b580)] DISPLAY: vmDisplay.displaySize changed DISPLAY: request window resize to (720.000000, 396.000000) 2024-10-16 17:26:01.439 UTM[47615:1708661] [QEMULogging(0x28387b580)] DISPLAY: request window resize to (720.000000, 396.000000) 2024-10-16T17:26:14+0300 info com.utmapp.UTM : Entering background 2024-10-16 17:26:14.549 UTM[47615:1708661] [QEMULogging(0x28387b580)] 2024-10-16T17:26:14+0300 info com.utmapp.UTM : Entering background 2024-10-16T17:26:14+0300 info com.utmapp.UTM : Saving snapshot 2024-10-16 17:26:14.550 UTM[47615:1708661] [QEMULogging(0x28387b580)] 2024-10-16T17:26:14+0300 info com.utmapp.UTM : Saving snapshot 2024-10-16T17:26:14+0300 info com.utmapp.UTM : [UTM] Entering background 2024-10-16T17:26:14+0300 info com.utmapp.UTM : [UTM] Saving snapshot Debug JSON send -> { arguments = { "command-line" = "savevm suspend"; }; execute = "human-monitor-command"; }

osy commented 1 week ago

Duplicate of #6178