Adding a Desktop Environment with Shared GPU Passthrough in Proxmox LXC (Xubuntu, Vulkan & VA-API)

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • In this video I will show you how to create an LXC Container that has a Desktop Environment and also have your Intel GPU fully working and still being shared between LXC Containers. As the problem with having a VM is that it takes full control over a GPU leaving LXC Containers unable to utilize your graphics card.
    The guide is for Intel GPU’s, it can work with AMD or NVIDIA GPU’s, but you need to research/find the correct lines to pass-through in your LXC Configuration (Basically the step from 2:27, you basically don’t follow that along with other intel instructions and find the GPU’s counterpart instructions equivalent to it). If you have any questions please feel free to leave a comment. You could also use ChatGPT to troubleshoot other issues, as I have also used it when I am stuck at specific step.
    Resource
    Full Guide: codeberg.org/j...
    Timestamps
    0:47 Downloading Ubuntu 20 LXC and Creating LXC Container
    2:27 Modifying the LXC Configuration
    3:51 Installing i965 Driver and Tasksel
    4:52 Creating a Root User
    5:43 Downloading and Installing XRDP Script
    7:37 Setting Up RDP Server with Remmina
    9:32 Initial Setup on Ubuntu and Testing the RDP Server’s Audio
    10:39 Additional Package Installation XCFE4
    11:04 Application Menu Setup
    11:18 Making Application Entries Work
    11:32 Modifying Polkit File
    12:17 Squashfuse Installation
    12:28 Installation and Testing with Vainfo and Vulkan-tools
    13:20 Xorg Intel Configuration Setup
    Music
    Intense - Peyruis
    Kevin MacLeod - Backed Vibes

Комментарии • 2

  • @Michaelmaertzdorf
    @Michaelmaertzdorf 3 дня назад +1

    What does not work for 22.04 or 24.04?
    Oh perhaps you can make it an ansible script, so you only need to run the ansible script and it'll deploy it for you.

    • @JackofAllGates
      @JackofAllGates  3 дня назад

      It can work, but the only problem is audio, specifically pulseaudio, i've tried manually building it and have managed to complete the xrdp script, but it just gave new problems, it's a really complex problem. If you're going to do it with Ubuntu 22 or 24, i suggest installing XCFE as your DE and not using -s on the script, but no sound. I'll look into trying an ansible script, thank you!