app-emulation/open-vm-tools-12.2.5 builds and runs in an ~arm64 Fusion guest on an Apple M1 Max MacBook. qlop -mtv open-vm-tools 2024-02-09T12:27:59 >>> app-emulation/open-vm-tools-12.2.5 dmesg | grep vmwgfx [ 2.388683] vmwgfx 0000:00:0f.0: [drm] Register MMIO at 0x0x000000003d000000 size is 4096 kiB [ 2.388688] vmwgfx 0000:00:0f.0: [drm] VRAM at 0x0000000070000000 size is 131072 kiB [ 2.388695] vmwgfx 0000:00:0f.0: [drm] Running on SVGA version 3. [ 2.388698] vmwgfx 0000:00:0f.0: [drm] Capabilities: cursor, cursor bypass, alpha cursor, 3D, pitchlock, irq mask, traces, command buffers, command buffers 2, gbobject, dx, hp cmd queue, no bb restriction, cap2 register, [ 2.388700] vmwgfx 0000:00:0f.0: [drm] Capabilities2: grow otable, intra surface copy, dx2, gb memsize 2, screendma reg, otable ptdepth2, non ms to ms stretchblt, cursor mob, mshint, cb max size 4mb, dx3, frame type, trace full fb, extra regs, lo staging, [ 2.388701] vmwgfx 0000:00:0f.0: [drm] DMA map mode: Caching DMA mappings. [ 2.388745] vmwgfx 0000:00:0f.0: [drm] Legacy memory limits: VRAM = 4096 kB, FIFO = 256 kB, surface = 524288 kB [ 2.388746] vmwgfx 0000:00:0f.0: [drm] MOB limits: max mob size = 1048576 kB, max mob pages = 2097152 [ 2.388747] vmwgfx 0000:00:0f.0: [drm] Maximum display memory size is 262144 kiB [ 2.423454] vmwgfx 0000:00:0f.0: [drm] No GMR memory available. Graphics memory resources are very limited. [ 2.423560] vmwgfx 0000:00:0f.0: [drm] Screen Target display unit initialized [ 2.425047] vmwgfx 0000:00:0f.0: [drm] Using command buffers with DMA pool. [ 2.426044] vmwgfx 0000:00:0f.0: [drm] Available shader model: SM_5_1X. [ 2.448219] [drm] Initialized vmwgfx 2.20.0 20211206 for 0000:00:0f.0 on minor 0 [ 2.451529] vmwgfx 0000:00:0f.0: [drm] fb0: vmwgfxdrmfb frame buffer device emerge --info Portage 3.0.61 (python 3.11.8-final-0, default/linux/arm64/17.0/desktop/gnome, gcc-13, glibc-2.38-r10, 6.7.4-gentoo-dist aarch64) ================================================================= System uname: Linux-6.7.4-gentoo-dist-aarch64-with-glibc2.38 KiB Mem: 40030288 total, 37162976 free KiB Swap: 10485756 total, 10485756 free Timestamp of repository gentoo: Wed, 14 Feb 2024 10:30:01 +0000 Head commit of repository gentoo: b9e73f3a9b0d7d5d7d8c8efb6a27d397a4322378 sh bash 5.2_p26 ld GNU ld (Gentoo 2.41 p5) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.3::gentoo dev-build/libtool: 2.4.7-r2::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.2::gentoo dev-lang/perl: 5.38.2-r1::gentoo dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo dev-lang/rust-bin: 1.75.0::gentoo sys-apps/baselayout: 2.14-r2::gentoo sys-apps/openrc: 0.53::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.41-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240113-r1::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r10::gentoo
Sanity check failed: > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/17.0 (12 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (12 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware]
Sanity check failed: > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/17.0 (8 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (8 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware]
Created attachment 888016 [details] The ::gentoo ebuild with ~arm64 added
Created attachment 888017 [details] The ::gentoo ebuild with ~arm64 added
Created attachment 888018 [details] The ::gentoo profiles arm64/use.mask with -video_cards_vmware added
The process to add the ~arm64 keyword and enable the vmwgfx video driver is as follows; Add ~arm64 to the app-emulation/open-vm-tools ebuild /var/db/repos/gentoo/app-emulation/open-vm-tools/open-vm-tools-12.2.5.ebuild KEYWORDS="amd64 ~arm64 x86" Add ~arm64 to the x11-drivers/xf86-video-vmware ebuild /var/db/repos/gentoo/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.4.0.ebuild KEYWORDS="amd64 ~arm64 x86" Add -video_cards_vmware to arm64/use.mask /var/db/repos/gentoo/profiles/arch/arm64/use.mask # Unmask ARM-only video-cards -video_cards_exynos -video_cards_freedreno -video_cards_lima -video_cards_nouveau -video_cards_panfrost -video_cards_tegra -video_cards_v3d -video_cards_vc4 -video_cards_amdgpu -video_cards_radeon -video_cards_radeonsi -video_cards_vmware In order to enable the vmware-tools service provided by open-vm-tools rc-service vmware-tools -v start rc-update add vmware-tools default
Sanity check failed: > x11-drivers/xf86-video-vmware-13.4.0 > depend ~arm64 stable profile default/linux/arm64/17.0 (8 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (2 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (8 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (2 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/17.0 (8 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (8 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware]
Sanity check failed: > x11-drivers/xf86-video-vmware-13.4.0 > depend ~arm64 stable profile default/linux/arm64/17.0 (9 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (2 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (9 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (2 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/17.0 (9 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (9 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (1 total) > x11-libs/libdrm[video_cards_vmware]
Sanity check failed: > x11-drivers/xf86-video-vmware-13.4.0 > depend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/23.0/hardened (10 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/23.0/hardened (10 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/23.0/hardened (8 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/23.0/hardened (8 total) > x11-libs/libdrm[video_cards_vmware]
Sanity check failed: > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/23.0/hardened (8 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/23.0/hardened (8 total) > x11-libs/libdrm[video_cards_vmware] > x11-drivers/xf86-video-vmware-13.4.0 > depend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/23.0/hardened (10 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/23.0 (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/23.0/hardened (10 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware]
Sanity check failed: > x11-drivers/xf86-video-vmware-13.4.0 > depend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (9 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (9 total) > x11-libs/libdrm[video_cards_vmware]
Sanity check failed: > app-emulation/open-vm-tools-12.2.5 > depend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > x11-libs/libdrm[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (9 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > x11-libs/libdrm[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (9 total) > x11-libs/libdrm[video_cards_vmware] > x11-drivers/xf86-video-vmware-13.4.0 > depend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > depend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 stable profile default/linux/arm64/17.0 (20 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware] > rdepend ~arm64 dev profile default/linux/arm64/17.0/hardened/selinux (12 total) > >=x11-libs/libdrm-2.4.96[video_cards_vmware]
All sanity-check issues have been resolved
arm64 done all arches done