Changes
Jump to navigation
Jump to search
./looking-glass-client -f /dev/kvmfr0 -c **Your_Proxmox_Host_IP** -p **spice port specified**
</syntaxhighlight>
=== Using vGPU merged driver to run Looking Glass on Proxmox Host ===
This currently only work for Windows guest, as Looking Glass Linux Host is immature at the moment.
You can simplify the guest set up by replacing the IVSHMEM settings in <code>args</code> with the following line:
<syntaxhighlight lang=bash>
ivshmem: size=32
</syntaxhighlight>
This will create a 32M IVSHMEM file under <code>/dev/shm/pve-shm-**YOUR-WINDOWS-VM-ID**</code>. You will need to point <code>app:shmFile</code> to this file when launching LG client.
Additionally you can use UNIX socket for SPICE instead of opening another port on Proxmox:
<syntaxhighlight lang=bash>
-spice unix=on,addr=/run/lg**YOUR-WINDOWS-VM-ID**.socket,disable-ticketing=on
</syntaxhighlight>
However, those 2 files will be created as root-owned. You will need to create a hook script to set the correct permissions for them (/etc/tmpfile.d was having reliability issue on my machine for IVSHMEM file, and it cannot override socket file's ownership at all). This script will be uploaded later after some clean up.