Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924544 - app-emulation/open-vm-tools-12.2.5 ~arm64 keywording
Summary: app-emulation/open-vm-tools-12.2.5 ~arm64 keywording
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks:
 
Reported: 2024-02-14 11:01 UTC by flysideways
Modified: 2024-04-25 07:25 UTC (History)
1 user (show)

See Also:
Package list:
app-emulation/open-vm-tools ~arm64 x11-drivers/xf86-video-vmware ~arm64
Runtime testing required: ---
nattka: sanity-check-


Attachments
The ::gentoo ebuild with ~arm64 added (open-vm-tools-12.2.5.ebuild,3.06 KB, application/vnd.gentoo.ebuild)
2024-03-21 02:30 UTC, flysideways
no flags Details
The ::gentoo ebuild with ~arm64 added (xf86-video-vmware-13.4.0.ebuild,358 bytes, application/vnd.gentoo.ebuild)
2024-03-21 02:32 UTC, flysideways
no flags Details
The ::gentoo profiles arm64/use.mask with -video_cards_vmware added (use.mask,3.04 KB, text/plain)
2024-03-21 02:38 UTC, flysideways
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description flysideways 2024-02-14 11:01:01 UTC
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
Comment 1 NATTkA bot gentoo-dev 2024-02-15 21:08:20 UTC Comment hidden (obsolete)
Comment 2 NATTkA bot gentoo-dev 2024-02-25 22:08:17 UTC Comment hidden (obsolete)
Comment 3 flysideways 2024-03-21 02:30:08 UTC
Created attachment 888016 [details]
The ::gentoo ebuild with ~arm64 added
Comment 4 flysideways 2024-03-21 02:32:35 UTC
Created attachment 888017 [details]
The ::gentoo ebuild with ~arm64 added
Comment 5 flysideways 2024-03-21 02:38:55 UTC
Created attachment 888018 [details]
The ::gentoo profiles arm64/use.mask with -video_cards_vmware added
Comment 6 flysideways 2024-03-21 02:58:25 UTC
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
Comment 7 NATTkA bot gentoo-dev 2024-03-21 03:00:15 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2024-03-22 03:08:18 UTC Comment hidden (obsolete)
Comment 9 NATTkA bot gentoo-dev 2024-03-23 03:16:16 UTC Comment hidden (obsolete)
Comment 10 NATTkA bot gentoo-dev 2024-04-04 04:48:18 UTC Comment hidden (obsolete)
Comment 11 NATTkA bot gentoo-dev 2024-04-04 16:52:19 UTC Comment hidden (obsolete)
Comment 12 NATTkA bot gentoo-dev 2024-04-10 05:32:20 UTC Comment hidden (obsolete)
Comment 13 NATTkA bot gentoo-dev 2024-04-15 06:06:18 UTC Comment hidden (obsolete)
Comment 14 NATTkA bot gentoo-dev 2024-04-15 18:10:21 UTC Comment hidden (obsolete)
Comment 15 NATTkA bot gentoo-dev 2024-04-24 19:21:18 UTC Comment hidden (obsolete)
Comment 16 NATTkA bot gentoo-dev 2024-04-25 07:25:18 UTC
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]