Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black Screen then kicked back out to the home screen #14

Open
ghost opened this issue Jun 1, 2022 · 3 comments
Open

Black Screen then kicked back out to the home screen #14

ghost opened this issue Jun 1, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 1, 2022

Hi, I followed your tutorial for the passthrough however as the title says as soon as I start it up it hangs on a black screen for a few seconds then kicks me back out...

This is where the error seems to be in the log however, I have no idea how to fix it.

error.txt

I did look at the other issue but moving the bios did not fix the issue. Any help is greatly appreciated.

@ARandomPerson7
Copy link

Could you also post the logs from /var/log/libvirt/custom_hooks.log.

The following steps have helped me to fix the issue:

  1. Move your vgabios to /usr/username/bios.rom (or whatever your bios is named)
  2. ssh into your computer and run the hook scripts at /bin/vfio-startup.sh and /bin/vfio-teardown.sh. If you get any errors search for these error specificly
  3. Verify that you have removed all spice components
  4. Remove your mainboards usb and audio controller from the virtual machine
  5. start the vm though ssh by running
    sudo virsh start win10 (or whatever the name of your vm is)
  6. If you get a network errer that is something like 'network default is not active' run
    sudo virsh net-list --all
    if it tells you that the network is inactive, activate it using this command
    sudo virsh net-start default
    if the network default does not exist i reccomend you to reinstall libvirt or search for a solution on google.

These steps helped me getting it to work, let me know if it works for you :)

@ghost
Copy link

ghost commented Jun 22, 2022

#9

@polaco1782
Copy link

See #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants