This repo contains systemd files to automatically create and remove gvtg vgpu.
There is a problem that the system cannot suspend if the gvtg_vgpu is on. To deal with this problem, this repo automatically removes the vgpu before suspend or hibernation and recreates the vgpu after waking from suspend or hibernation.
Additionaly, it creates the vgpu after the system is booted.
Install the aur pakage gvtg_vgpu-git.
If you want to package it for other distributions, please let me know. I'll put the information here.
- Move
gvtg_vgpu.service
into/usr/lib/systemd/system/
- Move
gvtg_vgpu.sh
into/usr/lib/systemd/system-sleep/
. - Move
gvtg_vgpu
into/etc/conf.d/
. - Change the value of
gvt_dom
,gvt_pci
,gvt_guid
andgvt_type
ingvtg_vgpu
file to match your own hardware. See ArchWiki for more information.
Enable the systemd service by sudo systemctl enable --now gvtg_vgpu.service
.
GPL2