Intel & AMD Selector small issue #421

Open
opened 2025-12-29 00:26:55 +01:00 by adam · 5 comments
Owner

Originally created by @sickcodes on GitHub (Nov 18, 2022).

May be required to run latest (ventura):

  • AMD:

-e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

  • Intel

-e CPU='host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

For example:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    -e GENERATE_UNIQUE=true \
     -e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on' \
    sickcodes/docker-osx:ventura
Originally created by @sickcodes on GitHub (Nov 18, 2022). May be required to run latest (ventura): - AMD: `-e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'` - Intel `-e CPU='host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'` For example: ``` docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ -e GENERATE_UNIQUE=true \ -e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on' \ sickcodes/docker-osx:ventura ```
adam added the bugdocumentationfollowing upstream developments labels 2025-12-29 00:26:55 +01:00
Author
Owner

@dcarbone commented on GitHub (Nov 18, 2022):

The latest update broke my functioning catalina image 2 hours before a presentation :(

Error message:

Screenshot_20221118_082112

Updating cpu & cpuid flags (the example and the comments above it differ...), ensuring the plist is provided and GENERATE_UNIQUE being set do not effect the error.

I assume this is related to something within this opencore pr...

@dcarbone commented on GitHub (Nov 18, 2022): The latest update broke my functioning catalina image 2 hours before a presentation :( Error message: ![Screenshot_20221118_082112](https://user-images.githubusercontent.com/1392439/202726236-3c4cc260-9d2c-4cca-86bf-171df3aead96.png) Updating cpu & cpuid flags (the example and the comments above it differ...), ensuring the plist is provided and `GENERATE_UNIQUE` being set do not effect the error. I assume this is related to something within [this opencore pr](https://github.com/thenickdude/KVM-Opencore/commit/425b45da388f5303936110ad3f412a47455df0f0)...
Author
Owner

@sickcodes commented on GitHub (Nov 18, 2022):

I apologize for that, it's due to naked being built off old latest, I was building it twice in a row but then had some Docker issue with latest Docker-CE not being backwards compatible for some reason. Rebuilding it now to push. And also my screenshot test failed coz EFI shows in boot menu now and became first boot option

@sickcodes commented on GitHub (Nov 18, 2022): I apologize for that, it's due to naked being built off old latest, I was building it twice in a row but then had some Docker issue with latest Docker-CE not being backwards compatible for some reason. Rebuilding it now to push. And also my screenshot test failed coz EFI shows in boot menu now and became first boot option
Author
Owner

@dcarbone commented on GitHub (Nov 18, 2022):

no worries, man :) this is an awesome project!

@dcarbone commented on GitHub (Nov 18, 2022): no worries, man :) this is an awesome project!
Author
Owner

@sickcodes commented on GitHub (Nov 18, 2022):

Thanks mate!

The issue will solve by using the previous plist:

-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/catalina/config-custom.plist'

I made a catalina branch to hold it there while I update and make sure all the images work

@sickcodes commented on GitHub (Nov 18, 2022): Thanks mate! The issue will solve by using the previous plist: `-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/catalina/config-custom.plist'` I made a catalina branch to hold it there while I update and make sure all the images work
Author
Owner

@MichaelZingman commented on GitHub (Jun 8, 2023):

May be required to run latest (ventura):

  • AMD:

-e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

  • Intel

-e CPU='host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

For example:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    -e GENERATE_UNIQUE=true \
     -e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on' \
    sickcodes/docker-osx:ventura

Did this every get integrated into Ventura as it is needed to perform updates now

@MichaelZingman commented on GitHub (Jun 8, 2023): > May be required to run latest (ventura): > > * AMD: > > `-e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'` > > * Intel > > `-e CPU='host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'` > > For example: > > ``` > docker run -it \ > --device /dev/kvm \ > -p 50922:10022 \ > -v /tmp/.X11-unix:/tmp/.X11-unix \ > -e "DISPLAY=${DISPLAY:-:0.0}" \ > -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ > -e GENERATE_UNIQUE=true \ > -e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on' \ > sickcodes/docker-osx:ventura > ``` Did this every get integrated into Ventura as it is needed to perform updates now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#421