Git Product home page Git Product logo

Comments (7)

PhilipDeegan avatar PhilipDeegan commented on May 22, 2024

iommu can be a pain to configure, perhaps have a look here https://github.com/RadeonOpenCompute/ROCm_Documentation/blob/master/ROCm_Virtualization_Containers/ROCm-Virtualization-%26-Containers.rst

Here's a sample QEMU launch too RadeonOpenCompute/ROCm_Documentation#15

this helped me

from macos-simple-kvm.

AwlsomeAlex avatar AwlsomeAlex commented on May 22, 2024

@dekken I get to the point where I'm adding the PCI devices with vfio-bind 0000:00:00.0 as shown by lspci -n -d 8086: and the computer screen goes blank. Let me note I am using a laptop with only one GPU, does that make a difference?

from macos-simple-kvm.

PhilipDeegan avatar PhilipDeegan commented on May 22, 2024

I think if you do this with only one GPU you make it impossible to use it outside the guest

I have had a similar experience when I set two GPUs in a two GPU system to use iommu.

from macos-simple-kvm.

AwlsomeAlex avatar AwlsomeAlex commented on May 22, 2024

@dekken That's unfortunate to hear. Is there anything I can do to improve performance inside the VM with graphics?

from macos-simple-kvm.

PhilipDeegan avatar PhilipDeegan commented on May 22, 2024

I can't say, however I did have issues with Windows 10 in virtual box, and apparently the fixes for Meltdown and Specter really slow things down - so adding grub flags to disable the fixes helped, no that I suggest you do that of course

from macos-simple-kvm.

AwlsomeAlex avatar AwlsomeAlex commented on May 22, 2024

@dekken Performance isn't really the issue, it's more like graphics are slow and Hardware Acceleration is non-existent.

from macos-simple-kvm.

ctrl-b avatar ctrl-b commented on May 22, 2024

The only way to increase graphics performance –at least for now, is to pass through a compatible card. On laptops look for a dedicate mode to separate igpu from dgpu into different iommu groups, there's a chance to make it work when that option is available, tbc thought. Otherwise, I think it won't be possible.

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.