Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running maps #387

Open
adieyal opened this issue Nov 18, 2021 · 7 comments
Open

Issue running maps #387

adieyal opened this issue Nov 18, 2021 · 7 comments

Comments

@adieyal
Copy link

adieyal commented Nov 18, 2021

This issue might be completely unrelated to virtualization but I wanted to rule it out. Big Sur works perfectly, except that Maps and Find My don't show any maps (see screenshot)
Screenshot from 2021-11-18 10-28-12

Is there any chance that it could be related to the container?

OS related issued, please help us identify the issue by posting the output of this

uname -a
; echo "${DISPLAY}"
; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
; grep NAME /etc/os-release
; df -h .
; qemu-system-x86_64 --version
; libvirtd --version
; free -mh
; nproc
; egrep -c '(svm|vmx)' /proc/cpuinfo
; ls -lha /dev/kvm
; ls -lha /tmp/.X11-unix/
; ps aux | grep dockerd
; docker ps | grep osx
; grep "docker|kvm|virt" /etc/group
Linux blackbox 5.10.70-1-MANJARO #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021 x86_64 GNU/Linux
:1
1
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
Filesystem Size Used Avail Use% Mounted on
tmpfs 32G 203M 32G 1% /tmp
QEMU emulator version 6.1.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 7.8.0
total used free shared buff/cache available
Mem: 62Gi 17Gi 16Gi 443Mi 28Gi 44Gi
Swap: 69Gi 4.8Gi 64Gi
24
24
crw-rw-rw- 1 root kvm 10, 232 Nov 18 10:24 /dev/kvm
total 0
drwxrwxrwt 2 root root 60 Nov 12 10:34 .
drwxrwxrwt 26 root root 700 Nov 18 10:30 ..
srwxrwxrwx 1 root xyz 0 Nov 12 10:33 X1
root 1228 0.0 0.0 6735696 40440 ? Ssl Nov12 5:00 /usr/bin/dockerd -H fd://
xyz 587271 0.0 0.0 6496 2312 pts/4 S+ 10:30 0:00 grep dockerd
6c38ef8b1756 sickcodes/docker-osx:big-sur "/bin/bash -c 'sudo …" 2 days ago Up 6 minutes 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp happy_proskuriakova
kvm:x:992:xyz
docker:x:963:xyz
libvirt:x:961:xyz

@sickcodes
Copy link
Owner

There are no GPS devices that I know of that the container could access to locate itself other than IP based and neighboring wifi networks.

Have you tried zooming out? Might not work unfortunately

@adieyal
Copy link
Author

adieyal commented Nov 22, 2021 via email

@sickcodes
Copy link
Owner

Android apparently has is in their hard fork of QEMU https://android.googlesource.com/platform/sdk/+/ics-mr0/emulator/gps/gps_qemu.c

There may be an App Store app that lets you fake the location or some other HID

Does google maps work?

A simple solution for local setups would be a dongle passed thru to the container:

https://forums.ybw.com/index.php?threads/ive-found-a-cheap-usb-gps-dongle-which-works-with-opencpn-on-mac-os-x.455598/

There may be some emulator or Realtek style testing dummy GPS card.

I personally haven't opened maps ever in the container, so I can't rule out host issues on your side.

However this is interesting, perhaps there is a kext available

@prusswan
Copy link

likely related to 3d/gpu hardware acceleration: https://communities.vmware.com/t5/VMware-Fusion-Discussions/Translucent-displays-sluggish-Maps-is-dark/td-p/2832898

@sickcodes Do you know the current 3d capabilities of docker-osx? Is Maps working for anybody or any configuration at all?

@ExpensivePerson
Copy link

Same issue here.

Maps and Find My don't show any maps. Tried to use github.com/seemoo-lab/openhaystack. Big Sur is needed. This app comes with an native app, which also has apple maps included. Here, too, the map is gray.

  • apple maps isn't working
  • openhaystack (using apple maps also) doesn't work.
  • google maps on safari is working fine.

maybe @prusswan is right and it has to do something with the hw acc.

System info:

  • Ubuntu 23.10 x86_64
  • Docker version 25.0.3, build 4debf41
  • QEMU emulator version 8.0.4

but thx for this great project @sickcodes

@aptalca
Copy link

aptalca commented Jul 25, 2024

It's likely an issue with the virtual graphics driver not supporting whatever 3d/hw acceleration the maps and find my apps need.

I have the same issue when I run a hackintosh QEMU VM (Big Sur) with the qemu virtio graphics adapter. Maps and Find My show blank maps. Also in Safari, many web pages display the info for a brief second and then most of the contents become invisible. In that case, if you open another app in the foreground, the contents become visible again.

I believe if you do a gpu passthrough, those issues are resolved, suggesting the culprit is likely the virtual display drivers.

@prusswan
Copy link

I believe if you do a gpu passthrough, those issues are resolved, suggesting the culprit is likely the virtual display drivers.

That's probable. Could someone using gpu passthrough confirm? I suppose the list of supported gpus mentioned here is still applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants