Giter Club home page Giter Club logo

Comments (13)

foxlet avatar foxlet commented on May 18, 2024

Those are the hard disk and USB controllers, nothing to do with sound.

from macos-simple-kvm.

idnovic avatar idnovic commented on May 18, 2024

I need to reinstall the vm but as far as i remember sound did not work for me

from macos-simple-kvm.

geckolinux avatar geckolinux commented on May 18, 2024

Hm, OK. Well for me, sound output worked great (microphone didn't work) with basic.sh, but no sound devices under virt-manager.

from macos-simple-kvm.

idnovic avatar idnovic commented on May 18, 2024

So I reinstalled macOS 10.13 and sound did work under virt-manager. But Since i found out that 10.14 just started supporting virt-io I deleted the vm again and I am doing the virt-io setup now :)

from macos-simple-kvm.

ironicbadger avatar ironicbadger commented on May 18, 2024

@idnovic could you elaborate on 'supporting virt-io'? I'm quite familiar with the process of virtio drivers in Winbloze and Linux.

from macos-simple-kvm.

idnovic avatar idnovic commented on May 18, 2024

@idnovic could you elaborate on 'supporting virt-io'? I'm quite familiar with the process of virtio drivers in Winbloze and Linux.

Well since around 10.14.3 macOS includes some virt-io drivers. I can tell you that the qemu-std gpu driver works. Virt-io for block devices does not work for me. Ethernet is still e1000.

https://www.kraxel.org/blog/2019/06/macos-qemu-guest/
https://github.com/foxlet/macOS-Simple-KVM/blob/master/virtio.sh

from macos-simple-kvm.

idnovic avatar idnovic commented on May 18, 2024

about the sound issue:
sound did work for me on 10.13
sound does not work for me on 10.14
both virt-manager
both the same config as suggested/included in this repo

from macos-simple-kvm.

foxlet avatar foxlet commented on May 18, 2024

virtIO can only be used for existing installations, the Installer environment doesn't include Block drivers, only the final install.

from macos-simple-kvm.

idnovic avatar idnovic commented on May 18, 2024

virtIO can only be used for existing installations, the Installer environment doesn't include Block drivers, only the final install.

I can not boot with virtio after install. I just get the grey x at around 50%

from macos-simple-kvm.

foxlet avatar foxlet commented on May 18, 2024

Gray X? There should be no graphics but verbose messages if you're using the proper ESP.

from macos-simple-kvm.

idnovic avatar idnovic commented on May 18, 2024

Gray X? There should be no graphics but verbose messages if you're using the proper ESP.

Yes. I deactivated the verbose output because the vm boots faster without it. It does work with the sata driver. Just not with virtio drive. (after install)

macOS 10.14 installed with apfs even thought I did not choose apfs. I will just wait until virtio is more useable with macOS.

If you want the information I can boot with -v and tell you the problem with virtio hard drive I had.

from macos-simple-kvm.

kode54 avatar kode54 commented on May 18, 2024

It could be the fact that libvirtd sets it up with an hda-duplex device, while basic.sh pairs it with a hda-output device.

Add <codec type='output'/> inside the <sound...> tag block.

Ah, nope, that didn't work, and neither did the sound type 'usb'.

E: I found an alternative: Running shairport-sync on the host, and AirPlaying from the guest.

E2: I think I know why it's not working. Clover is apparently out of date, and can't inject kernel modules?

E3: Welp. I needed to load the latest VoodooHDA from within the VM, after installing it to /Libraries/Extensions, which is the common way to install signed extensions in a normal macOS machine. I guess I was right about Clover being too old. Too bad the latest Clover is busted in Qemu.

from macos-simple-kvm.

eliasailenei avatar eliasailenei commented on May 18, 2024

Sound does work on Virtual Machine Manager and i can show you how. I actually found this out after many days researching with no solution. First, re install mac OS high sierra and don't put the GPU yet. Once done install, put GPU and DO NOT REMOVE THE SPICE YET. Install the driver by putting this in the terminal.
bash <(curl -s https://raw.githubusercontent.com/Benjamin-Dobell/nvidia-update/master/nvidia-update.sh)

Then shutdown don't restart.

Remove the spice, and then launch mac os for the first time.

Shutdown and then add the spice manually and don't modify them. Just modify audio to be ich6.

That's it! It would prioritize your GPU and you have audio.

Only bad thing is that it is from Linux not macOS but audio is audio unless your deaf lmao.

from macos-simple-kvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.