# Feedback, Intel VT-d and kRDP

**URL:** https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440
**Category:** Bluefin
**Created:** [August 7, 2024, 10:09am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440 "2024-08-07T10:09:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ToS\_Maverick](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/tos_maverick/32/2940_2.png) [@ToS\_Maverick](https://universal-blue.discourse.group/u/ToS_Maverick)
#### Post date: [August 7, 2024, 10:09am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440/1 "2024-08-07T10:09:00Z")

</div>

Hi everyone!

After watching Jorge’s YT videos I decided to jump from Endeavour OS to Aurora DX on my backup machine. My main machine is a MacBook Pro but I also like to use my backup machine (HP EliteBook 830 G5) for Linux tests and travelling.

So far the out-of-the-box experience is nice! I had to fix the [permissions for virt-manager](https://github.com/ublue-os/bluefin/issues/1273) but besides that, everything working great!  
Even my headphone EQ works with “Easy Effects” as flatpak. I had that running as a normal package and was not aware that it works as a flatpak as well!

My wishlist now would be to:

1. Enable Intel iGPU passthrough to VMs (out-of-the-box or maybe someone can help to get this going)
2. Add [krdp](https://quantumproductions.info/articles/2024-06/krdp-plasma-61) to the settings menu. I was able to overlay it to the image and it runs from the commandline, but as far as I understand it should also show up in the setting menu.

Thanks again and maybe someone could help!

---

<div class="post-metadata">

### Author: ![ToS\_Maverick](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/tos_maverick/32/2940_2.png) [@ToS\_Maverick](https://universal-blue.discourse.group/u/ToS_Maverick)
#### Post date: [August 7, 2024, 10:09am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440/2 "2024-08-07T10:09:43Z")

</div>

Since I can only add 2 links for now, here are the iGPU passthrough references:  
[https://wiki.archlinux.org/title/Intel\_GVT-g](https://wiki.archlinux.org/title/Intel_GVT-g)

> **[Proxmox VE 8.2: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake -](https://www.derekseaman.com/2024/07/proxmox-ve-8-2-windows-11-vgpu-vt-d-passthrough-with-intel-alder-lake.html)**
>
> Using Proxmox 8.2 and want to share your Intel GPU with several Windows 11 VMs? Find out how to configure Intel VT-d and share the GPU with up to 7 VMs.

---

<div class="post-metadata">

### Author: ![ToS\_Maverick](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/tos_maverick/32/2940_2.png) [@ToS\_Maverick](https://universal-blue.discourse.group/u/ToS_Maverick)
#### Post date: [September 1, 2024, 11:33am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440/3 "2024-09-01T11:33:15Z")

</div>

Just wanted to chime in again with an update!

I switched from Aurora to Bluefin. This resolved the RDP issue but I had to work around two issues:

1. You have to Switch SELinux to permissive mode on the server and try connecting the client:

```auto
sudo setenforce 0

```

1. On the Mac Client you have to change `use redirection server name:i:1` in the RDP file.

Links:

> **[Permanent Gnome Remote desktop access solution in Silverblue?](https://discussion.fedoraproject.org/t/permanent-gnome-remote-desktop-access-solution-in-silverblue/118932)**
>
> I was initially able to briefly enable remote desktop using this solution, but either it doesn’t stick between reboots (or maybe system updates), or something due to getting locked out of sudo for a few days is preventing that solution from...

> **[GNOME remote desktop fails with authentication error, while desktop sharing...](https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/215)**
>
> Host: Fedora 40 WS Edition, Linux 6.9.5-200.fc40.x86\_64, gnome-remote-desktop46.2-1.fc40 Client: MacOS Sonoma, Microsoft Remote Desktop 10.9.8 (2217) Remote login fails with authentication error that doesn't make...

---

<div class="post-metadata">

### Author: ![ToS\_Maverick](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/tos_maverick/32/2940_2.png) [@ToS\_Maverick](https://universal-blue.discourse.group/u/ToS_Maverick)
#### Post date: [September 1, 2024, 11:39am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440/4 "2024-09-01T11:39:42Z")

</div>

Regarding iGPU passthrough I was successful as well!  
Below is my initial config followed by two guides that should get you going!

## Virt-Manager

```bash
# Setup groups
ujust dx-group

# Fix permissions
sudo restorecon -rv /var/lib/libvirt/
sudo restorecon -rv /var/log/libvirt/

# Enable kvmfr for looking-glass
ujust configure-vfio kvmfr

```

## Intel GVT-g iGPU passthrough

```bash
# Check kernel args
sudo rpm-ostree kargs

sudo rpm-ostree kargs \
  --append-if-missing="i915.enable_gvt=1" \
  --append-if-missing="i915.enable_fbc=0" \
  --reboot

```

### Loading the GVT-g modules at boot

Use your favorite text editor to create a file called `/etc/modules-load.d/kvm-gvt-g.conf` and place the following content in it:

```auto
kvmgt
vfio-iommu-type1
vfio-mdev

```

## Creating the virtual GPU

Follow this guide for creating and persisting the GPU:

> **[Tutorial: Passing an Intel GPU to a Linux/KVM Virtual Machine – Interesting...](https://blog.tmm.cx/2020/05/15/passing-an-intel-gpu-to-a-linux-kvm-virtual-machine/)**

## Edit XML of your VM to add the shared memory

```bash
sudo EDITOR=nano virsh edit Win11

# change domain
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>

# add commandline options for shared memory
<qemu:commandline>
  <qemu:arg value='-device'/>
  <qemu:arg value='{"driver":"ivshmem-plain","id":"shmem0","memdev":"looking-glass"}'/>
  <qemu:arg value='-object'/>
  <qemu:arg value='{"qom-type":"memory-backend-file","id":"looking-glass","mem-path":"/dev/kvmfr0","size":33554432,"share":true}'/>
</qemu:commandline>

```

## Build looking-glass-client

[https://universal-blue.discourse.group/docs?topic=956](https://universal-blue.discourse.group/docs?topic=956)

---

<div class="post-metadata">

### Author: ![ToS\_Maverick](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/tos_maverick/32/2940_2.png) [@ToS\_Maverick](https://universal-blue.discourse.group/u/ToS_Maverick)
#### Post date: [September 1, 2024, 11:40am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440/5 "2024-09-01T11:40:39Z")

</div>

Here’s a must-see video how this is done on Ubuntu 20.04:

[![](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/2X/1/142233fb19461d4766b53751d1d102a4721be6df.jpeg "Single GPU passthrough guide for Intel iGPUs with GVT-g on Ubuntu 20.04") ](https://www.youtube.com/watch?v=6-RjFl00QSk)

I think that was all. Let me know if I missed anything or if you have questions!

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/2X/e/e39f7d1952979cf23b0f8d634e025fb38da50026.png) [@system](https://universal-blue.discourse.group/u/system)
#### Post date: [November 30, 2024, 11:41am UTC](https://universal-blue.discourse.group/t/feedback-intel-vt-d-and-krdp/3440/6 "2024-11-30T11:41:08Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
