Skip to content

Commit

Permalink
Fix the graphics FW not loading in the GUIvm
Browse files Browse the repository at this point in the history
- Enable redistributable fw
- ensure correct driver
- enable GuC

Signed-off-by: Brian McGillion <[email protected]>
  • Loading branch information
brianmcgillion committed May 28, 2024
1 parent 7037bc5 commit 9efdb7b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
16 changes: 13 additions & 3 deletions targets/lenovo-x1/guivmExtraModules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,20 @@
};
};

# Open TCP port for the PDF XDG socket
# Enable all firmware for graphics firmware
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};

# Early KMS needed for ui to start work inside GuiVM
boot = {
initrd.kernelModules = ["i915"];
kernelParams = ["earlykms"];
};

# Open TCP port for the PDF XDG socket.
networking.firewall.allowedTCPPorts = [xdgPdfPort];
# Early KMS needed for GNOME to work inside GuiVM
boot.initrd.kernelModules = ["i915"];

microvm.qemu = {
extraArgs =
Expand Down
6 changes: 5 additions & 1 deletion targets/lenovo-x1/netvmExtraModules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
elemen-vmIp = "192.168.100.253";
in {
# For WLAN firmwares
hardware.enableRedistributableFirmware = true;
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};

networking = {
# wireless is disabled because we use NetworkManager for wireless
Expand All @@ -43,6 +46,7 @@
unmanaged = ["ethint0"];
};
};

services = {
dnsmasq.settings = {
# set static IP for IDS-VM
Expand Down

0 comments on commit 9efdb7b

Please sign in to comment.