Giter VIP home page Giter VIP logo

Comments (10)

foxlet avatar foxlet commented on May 21, 2024

What version of QEMU are you using? That's an error arising from old versions (2.6+).

from macos-simple-kvm.

LKLAW avatar LKLAW commented on May 21, 2024

I'm using version 3.1.0 (Debian 1:3.1+dfsg-2ubuntu3.1)

from macos-simple-kvm.

aidengilmartin avatar aidengilmartin commented on May 21, 2024

Try removing -device amd-iommu if you haven't already. I tried it with that option and got the same error.

from macos-simple-kvm.

foxlet avatar foxlet commented on May 21, 2024

You don't need an amd-iommu device, that's only for the host.

from macos-simple-kvm.

LKLAW avatar LKLAW commented on May 21, 2024

Ok now I get (display did react though):
WARNING: Image format was not specified for 'BaseSystem.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. qemu-system-x86_64: vfio: Unable to power on device, stuck in D3 qemu-system-x86_64: vfio: Unable to power on device, stuck in D3 qemu-system-x86_64: vfio-pci: Cannot read device rom at 0000:20:00.0 Device option ROM contents are probably invalid (check dmesg). Skip option ROM probe with rombar=0, or load from file with romfile=

Then I added vbios.rom in the project root folder and firmware folder and now I just get a blank screen with just this in the terminal, Qemu-System-x86-64 is open on the desktop though and just says "qemy monitor 3.1.0, type help:
WARNING: Image format was not specified for 'BaseSystem.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions.

from macos-simple-kvm.

foxlet avatar foxlet commented on May 21, 2024

When dumping the ROM from your GPU, make sure to not use a tainted version (the Linux kernel applies changes that cause the ROM to be invalid).

In addition, make sure your GPU doesn't suffer from the PCI Bus Reset bug (which means the card cannot reset itself to a clean state via software, you have to manually restart the host before it will work). If it does, you will have to power cycle every time you use the VM (sometimes sleep works).

from macos-simple-kvm.

LKLAW avatar LKLAW commented on May 21, 2024

Can I also dump the ROM via GPU-Z in windows? Or does it have to be via linux? (I tried to follow the Arch wiki guide but failed badly so I decided just used a techpowerup rom)

from macos-simple-kvm.

foxlet avatar foxlet commented on May 21, 2024

GPU-Z dumps are fine, or from nvflash/atiflash.

from macos-simple-kvm.

LKLAW avatar LKLAW commented on May 21, 2024

Using the GPU'z file I can see that the screen gets wiped, but it stays dark.
Using Virt-Manager, I get a display on my ubuntu screen, and it doesn't see the PCIe card..

from macos-simple-kvm.

LKLAW avatar LKLAW commented on May 21, 2024

Ok now I got something after rebooting: qemu-system-x86_64: vfio:

qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
qemu-system-x86_64: vfio: Unable to power on device, stuck in D3

How would I verify the reset bug? I can't find anything on a 750ti.
Also any idea why my my system won't power down or reboot anymore after enabling this vfio stuff?

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.