Giter Site home page Giter Site logo

gpupassthrough's Introduction

Ansible-Role-gpupassthrough

an Ansible playbook to setup gpu passthrough to windows vm on a remote fedora 28 host (can be deployed on localhost with some slight modifcations)

Before running this playbook install windows on its own physical drive. run lspci -nnk to list gpu ids and enable ssh on target. Add the ansible machines keys to the authorized_keys file on target machine. Be sure to update /roles/common/vars/main.yml with you target hosts devices. By default only @virtualization packages are installed, additional packages variables to vars file as well in the tasks file

After playbook is done, open virt-manager attach gpu, keyboard and mouse. Also for best results install virtIO hdd and nic. Then install virtIO drivers.

Before running this please insure IOMMU is enabled in UEFI
Run dnf update on target system prior to running this playbook
For best results install windows 10 on a seperate SSD and use the latest VirtIO drivers
Also Look into CPU pinning for your model CPU
If you are using to Identical GPUS you will have to do some additional setup

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.