I´m using Xubuntu 15.04 and i try to create a script with the following points.
- Run your system normally
- Use dGPU via DRI_PRIME=1
- Stop X server
- Unload dGPU driver
- Pass GPU to VFIO
- Run X server and VM
- Pass GPU to VM
- Stop VM
- Stop X server
- Unbind GPU from VFIO
- Load driver
- Start X server
- Use dGPU via DRI_PRIME again
How its possible to include point 3 (Stop X server) and point 12 (Start X server)? Someone can help me?
Kind regards