From: "Daniel Plominski" <dpl@ass.de>
To: "Proxmox VE user list" <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] windows remote desktop services as VM on proxmox
Date: Thu, 20 Jan 2022 06:26:36 +0000 [thread overview]
Message-ID: <eme06285ec-338e-4676-b760-312a835e1fdd@1982bcd5.com> (raw)
In-Reply-To: <1103806153.136951.1642619564206.JavaMail.zimbra@numberall.com>
Hello Daniel Bayerdorffer,
Long story briefly explained on the example of an AMD server with NVIDIA
graphics card (on Proxmox 6.4 / 7):
1. activate IOMMU, deactivate framebuffer
root@assg25:~# cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs amd_iommu=on iommu=pt video=efifb:off
root@assg25:~#
root@assg25:~# update-initramfs -u -k all
2. deactivate (nativ) Kerneldrivers
root@assg25:~# cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist snd_hda_intel
root@assg25:~#
3. load vfio drivers
root@assg25:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
# EOF
root@assg25:~#
4. search for the appropriate graphics card entry
root@assg25:~#
root@assg25:~# lspci -v > /tmp/GPU_INFO
root@assg25:~#
root@assg25:~# grep -A 30 "Quadro P1000" /tmp/GPU_INFO
root@assg25:~# lspci -n -s 27:00
27:00.0 0300: 10de:1cb1 (rev a1)
27:00.1 0403: 10de:0fb9 (rev a1)
root@assg25:~#
5. configure vfio.conf
root@assg25:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1cb1,10de:0fb9 disable_vga=1
root@assg25:~#
6. host reboot
sync
update-initramfs -u -k all
proxmox-boot-tool refresh
sync; reboot
7. create a windows vm in ovmf (uefi) mode, machine type: pc-q35-5.2,
cpu with hidden and hv-vendor-id flag and gpu (hostpci) passthrough
root@assg25:/etc/pve/qemu-server# cat 216.conf
#
#term41gpu
#
#GPU - PCIe 27%3A00
#
agent: 1,type=virtio
balloon: 0
bios: ovmf
boot: order=virtio0;net0
cores: 12
cpu: host,hidden=1,hv-vendor-id=proxmox
efidisk0: local-zfs:vm-216-disk-1,size=1M
hostpci0: 27:00,pcie=1
machine: pc-q35-5.2
memory: 73728
name: term41gpu
net0: virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr107,firewall=1
numa: 1
ostype: win10
scsihw: virtio-scsi-single
smbios1: uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
sockets: 2
startup: order=116
virtio0: local-zfs:vm-216-disk-0,iothread=1,size=256G
vmgenid: XXXXXXX-XXXX-XXXX-XXXXXXXXXXXX
root@assg25:/etc/pve/qemu-server#
8. install the windows server drivers from nvidia
https://www.nvidia.de/Download/driverResults.aspx/176988/de
9. activate the necessary RemoteFX settings using the active-directory
group policies (or the local ones)
https://www.leadergpu.com/articles/483-how-to-enable-gpu-rendering-for-microsoft-remote-desktop-on-leadergpu-servers
ASS - Der Bildungseinrichter GmbH
Mit freundlichen Grüßen
DANIEL PLOMINSKI
Leitung IT | Head of IT
Telefon 09265 808-151 | Mobil 0151 58026316 | dpl@ass.de
PGP Key: https://pgp.ass.de/dpl@ass.de.asc
PGP Fingerprint: 74DBC06BD9F63187C4DF8934C96585A89CFC10B3
Company Logo
ASS-Einrichtungssysteme GmbH
ASS-Adam-Stegner-Straße 19 | D-96342 Stockheim
Geschäftsführer: Matthias Stegner, Michael Stegner, Ralph Müller
Amtsgericht Coburg HRB 3395 | Ust-ID: DE218715721
Bottom_Line
next prev parent reply other threads:[~2022-01-20 6:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 13:02 mj
2022-01-18 13:27 ` Daniel Plominski
2022-01-18 13:39 ` Daniel Plominski
2022-01-19 14:29 ` mj
[not found] ` <1103806153.136951.1642619564206.JavaMail.zimbra@numberall.com>
2022-01-20 6:26 ` Daniel Plominski [this message]
2022-01-20 7:10 ` Daniel Plominski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eme06285ec-338e-4676-b760-312a835e1fdd@1982bcd5.com \
--to=dpl@ass.de \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal