Editing Installation on other distributions
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 17: | Line 17: | ||
libXScrnSaver-devel libXrandr-devel dejavu-sans-mono-fonts | libXScrnSaver-devel libXrandr-devel dejavu-sans-mono-fonts | ||
</syntaxhighlight > | </syntaxhighlight > | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Installing Additional Dependencies for Kernel Module Build === | === Installing Additional Dependencies for Kernel Module Build === | ||
Line 50: | Line 31: | ||
zypper install binutils-devel make cmake fontconfig-devel libSDL2-devel libSDL2_ttf-devel spice-protocol-devel libX11-devel libnettle-devel wayland-protocols-devel \ | zypper install binutils-devel make cmake fontconfig-devel libSDL2-devel libSDL2_ttf-devel spice-protocol-devel libX11-devel libnettle-devel wayland-protocols-devel \ | ||
libconfig-devel libXi-devel libXss-devel libwayland-egl-devel nettle | libconfig-devel libXi-devel libXss-devel libwayland-egl-devel nettle | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight > | </syntaxhighlight > | ||
Line 67: | Line 40: | ||
pacman -Syu cmake gcc libgl libegl fontconfig spice-protocol make nettle pkgconf binutils \ | pacman -Syu cmake gcc libgl libegl fontconfig spice-protocol make nettle pkgconf binutils \ | ||
libxi libxinerama libxss libxcursor libxpresent libxkbcommon wayland-protocols \ | libxi libxinerama libxss libxcursor libxpresent libxkbcommon wayland-protocols \ | ||
− | ttf-dejavu | + | ttf-dejavu |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 81: | Line 54: | ||
<!-- Dependencies must match Debian's order, and extra dependencies must be on another line, with a consistent order --> | <!-- Dependencies must match Debian's order, and extra dependencies must be on another line, with a consistent order --> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
− | xbps-install -Syu binutils-devel cmake freefont-ttf fontconfig-devel SDL2-devel SDL2_ttf-devel spice-protocol libX11 | + | xbps-install -Syu binutils-devel cmake freefont-ttf fontconfig-devel SDL2-devel SDL2_ttf-devel spice-protocol libX11-devel nettle-devel \ |
gcc make pkg-config | gcc make pkg-config | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 97: | Line 70: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
emerge sys-devel/binutils dev-util/cmake media-fonts/freefonts media-libs/libsdl2 media-libs/sdl2-ttf app-emulation/spice-protocol \ | emerge sys-devel/binutils dev-util/cmake media-fonts/freefonts media-libs/libsdl2 media-libs/sdl2-ttf app-emulation/spice-protocol \ | ||
− | media-libs/fontconfig dev-libs/nettle | + | media-libs/fontconfig dev-libs/nettle \ |
media-libs/glu | media-libs/glu | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 113: | Line 86: | ||
* A Linux VM with GPU pass-through working (Tested With Ubuntu 21.10) | * A Linux VM with GPU pass-through working (Tested With Ubuntu 21.10) | ||
* Proxmox Host Installed and running on the Windows VM | * Proxmox Host Installed and running on the Windows VM | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Windows VM setup === | === Windows VM setup === | ||
Line 134: | Line 97: | ||
And add the following arguments to the args: line. If the args: line doesn't exist, create it at the top of the config. | And add the following arguments to the args: line. If the args: line doesn't exist, create it at the top of the config. | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
− | -device ivshmem-plain,memdev=ivshmem,bus=pcie.0 -object memory-backend-file,id=ivshmem,share=on,mem-path=/dev/shm/looking-glass,size=32M -device virtio-mouse-pci -device virtio-keyboard-pci -spice 'addr=0.0.0.0,port= | + | -device ivshmem-plain,memdev=ivshmem,bus=pcie.0 -object memory-backend-file,id=ivshmem,share=on,mem-path=/dev/shm/looking-glass,size=32M -device virtio-mouse-pci -device virtio-keyboard-pci -spice 'addr=0.0.0.0,port=5930,disable-ticketing=on' -device virtio-serial-pci -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 |
</syntaxhighlight> | </syntaxhighlight> | ||
The -device virtio-mouse-pci -device virtio-keyboard-pci are not strictly necessary but should reduce input latency. | The -device virtio-mouse-pci -device virtio-keyboard-pci are not strictly necessary but should reduce input latency. | ||
− | |||
− | |||
Boot the Windows VM | Boot the Windows VM | ||
Line 152: | Line 113: | ||
-device ivshmem-plain,memdev=ivshmem,bus=pcie.0 -object memory-backend-file,id=ivshmem,share=on,mem-path=/dev/shm/looking-glass,size=32M | -device ivshmem-plain,memdev=ivshmem,bus=pcie.0 -object memory-backend-file,id=ivshmem,share=on,mem-path=/dev/shm/looking-glass,size=32M | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Boot the Linux VM, and download the latest Looking-glass source from https://looking-glass.io/downloads (Tested with version B5.0.1) | |
− | + | Follow the Official Looking-glass documentation on how to Build Looking-Glass Client - https://looking-glass.io/docs/B5.0.1/build/#building | |
− | Follow the Official Looking-glass documentation on how to Build Looking-Glass Client - https://looking-glass.io/docs/B5.0.1/build/#building | + | Follow the Official Looking-glass documentation on how to install the kernal modual - https://looking-glass.io/docs/B5.0.1/module/ |
− | |||
− | Follow the Official Looking-glass documentation on how to install the | ||
=== Running Looking-Glass === | === Running Looking-Glass === | ||
− | + | Make sure both VMs are running. | |
− | + | On the Linux VM, open a terminal and cd to the looking glass client build folder | |
− | + | Run Looking-Glass with: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
− | + | ./looking-glass-client -f /dev/kvmfr0 -c **Your_Proxmox_Host_IP** -p 5930 | |
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> |