Jack of All Gates
Jack of All Gates
  • 6
  • 5 101
Adding a Desktop Environment with Shared GPU Passthrough in Proxmox LXC (Xubuntu, Vulkan & VA-API)
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/jackofallgates/Proxmox.LXC-Adding.a.Desktop.Environment.with.Shared.GPU.Passthrough/src/branch/main/README.md
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 046

Відео

How to Stream your Live CCTV to TV using FFmpeg | RTSP Stream in your TV | Frigate Part 3
Переглядів 172Місяць тому
In this video, I'll guide you through the process of setting up a service to stream your RTSP CCTV feeds directly to your TV using a Single Board Computer and FFmpeg. You’ll learn how to install and configure FFmpeg on your SBC to seamlessly display live camera footage on your big screen. Whether you’re working with one camera or up to four, I'll cover both secure and root installation methods,...
Google Coral TPU M.2 PCIe Installation in Frigate LXC on Proxmox | Driver Setup | Frigate Part 2
Переглядів 2,1 тис.Місяць тому
The Google Coral TPU (Tensor Processing Unit) is a hardware accelerator designed for Machine Learning Tasks used in AI Models. It’s used in frigate due to its processing power capabilities that help in AI detection in the Frigate software. Allocating only your CPU into detection is heavy work and inefficient, usually you would want to use OpenVINO to reduce the overall usage of the CPU, but wha...
DIY CCTV with AMB82-MINI & Frigate 0.14: Configuration and Review | Frigate Part 1
Переглядів 324Місяць тому
In this video, I’m showing you how I set up a DIY CCTV camera, the AMB82-MINI in Frigate 0.14. Even an old 5-year-old laptop can be used in Proxmox to host Frigate. Unfortunately the camera was already built, and I was not able to show you how I physically built it into the dummy CCTV, basically I bought a dummy camera and placed the AMB82-MINI inside and connected the USB port to a USB Extende...
LanguageTool Installation Guide for Proxmox VE
Переглядів 1522 місяці тому
In this video, I will show you how to install LanguageTool (a Grammarly Alternative) into your local server, whether it's on Proxmox or on Linux you can install this program into your computer and be able to have a writing assistant ready to help you! LanguageTool is your intelligent writing assistant for all common browsers, word processors, Windows, macOS, and iOS. Using state-of-the-art tech...
How to install Perplexica in under a few minutes! Docker Method for Linux
Переглядів 4052 місяці тому
In my first video im going to show you how to install perplexica (quick tutorial) in linux via docker. LINKS Perplexica: github.com/ItzCrazyKns/Perplexica Additional Instructions: github.com/ItzCrazyKns/Perplexica/blob/master/docs/installation/NETWORKING.md Wayback Machine Links (In case the website is down): web.archive.org/web/20240730093900/github.com/ItzCrazyKns/Perplexica web.archive.org/w...

КОМЕНТАРІ

  • @Michaelmaertzdorf
    @Michaelmaertzdorf День тому

    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 День тому

      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!

  • @somerandomguy8564
    @somerandomguy8564 7 днів тому

    Great video. Very detailed. Thank you.

  • @Jaybearno
    @Jaybearno Місяць тому

    Hi, thanks for the video. I'm trying to build a similar project. Could you comment on any issues you had getting the board to be recognized on a Windows 11? I have installed the driver from the manufacturer link (CH341SER.exe). Confirmed it is showing up in system drivers, and tested the usb with another device, but no luck. Tried to see if Fedora 40 might have better driver support but no luck either. I'm about to send it back to the supplier, there's very little support on driver issues.

    • @JackofAllGates
      @JackofAllGates Місяць тому

      Hi, as for your installation issues on the AMB82-MINI there were no issues (specifically the driver) whether I have used Windows or Linux. The issue I only have before was the error uploading code because I was on Linux, it was something do with the serial port. But I fixed it with this:support.arduino.cc/hc/en-us/articles/360016495679-Fix-port-access-on-Linux. Also, this was the beginners guide I followed from Ameba, it might help you: www.amebaiot.com/en/amebapro2-amb82-mini-arduino-getting-started/. Furthermore, when uploading code on the AMB82-MINI it was in upload mode (Red and Blue LED only) and after that I click reset button back to normal mode (Red LED only), I followed this guide from Ameba: ua-cam.com/video/_rLiih5RkXY/v-deo.html Can I also ask if you have changed/used a different USB cable? Because sometimes if you cannot find a driver when programming a microcontroller it's either the driver was not installed or the cable used is not compatible for uploading, and you would need to use a different one (I used a ugreen cable).

    • @Jaybearno
      @Jaybearno 29 днів тому

      @@JackofAllGates Thanks for the response. I've tried two different cables and USB ports, both work with my ESP-32 board. Is it possible the device is bad (even though I get 3 solid lights on powerup, and can enter programming mode?). The issue is that it's not detected by the com port so therefore Arduino cant target for uploading sketches.

  • @jere1023
    @jere1023 Місяць тому

    Just set up proxmox yesterday but cant get the coral working. I did all of the steps but the lspci -nn | grep 089a command does not return anything. I get an error installing gasket-dkms: Error! Bad return status for module build on kernel: 6.8.12-1-pve (x86_64) Consult /var/lib/dkms/gasket/1.0/build/make.log for more information. dpkg: error processing package gasket-dkms (--configure): installed gasket-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: gasket-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

    • @JackofAllGates
      @JackofAllGates Місяць тому

      Hi, thank you for tuning in, let's trace a step back, reading the error it seems gasket-dkms is not installed, doing some research on the Proxmox forum I found a thread with someone having the same issue as you: forum.proxmox.com/threads/coral-tpu-not-working-after-upgrade-to-8-1-3.137282/ The solution leads to LiloBzH solution which we covered in 12:04, I recommend checking the logs if your logs are same as fcorrao (the user who started the thread): cat '/var/lib/dkms/gasket/1.0/build/make.log' Also to clarify when you did lspci -nn | grep 089a was this performed on shell or in your LXC container? Because if there is no output, my current guess is the driver has not loaded properly. Does the driver exist in "sudo lshw"?

    • @jere1023
      @jere1023 Місяць тому

      @@JackofAllGates ok my bad i had removed the self built version of dkms and tried again with the normal one. There is no error from dkms now but still lspci -nn | grep 089a returns nothing, ls /dev/apex_0 says no such file, and i can not find the driver with lshw. I only see ethernet interfaces and the ssd. All of this is done in the shell

    • @JackofAllGates
      @JackofAllGates Місяць тому

      @@jere1023 Hi, if you cannot find the driver in lshw, it could mean 3 possible things: 1. It could be a bad seat, I suggest cleaning the slot with a brush and reseat the Coral TPU. 2. You might have Secure Boot enabled in the bios. I recommend disabling secure boot as this was a solution for some people. 3. Worst case scenario, MSI-X Incompatibility or a malfunctioned Coral TPU which is not our in our favor.

    • @jere1023
      @jere1023 Місяць тому

      @@JackofAllGates Its a new computer and coral and it should be seated correctly but I will have to recheck. Secure boot is disabled. I have the A+E key coral which should work in the slot meant for a wifi card right? Looking through the bios i cant find an option to disable/enable wifi like some have and I also cant see the coral in the pcie configuration where i see nics and the ssd. Im not sure if it should show there but more reason to reseat

    • @JackofAllGates
      @JackofAllGates Місяць тому

      ​@@jere1023 Hello, Yes the A+E key is for the Wi-Fi card slot. After the reseat can you check if the driver is available if you use the command "lscpi -vvv" in your pve shell. Below is the output on mine. Can I also ask what is your motherboard and your linux kernel version? 02:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU (prog-if ff) Subsystem: Global Unichip Corp. Coral Edge TPU Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 17 IOMMU group: 11 Region 0: Memory at a1100000 (64-bit, prefetchable) [size=16K] Region 2: Memory at a1000000 (64-bit, prefetchable) [size=1M] Capabilities: [80] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s, Width x1 TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkCap2: Supported Link Speeds: 2.5-5GT/s, Crosslink- Retimer- 2Retimers- DRS- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [d0] MSI-X: Enable+ Count=128 Masked- Vector table: BAR=2 offset=00046800 PBA: BAR=2 offset=00046068 Capabilities: [e0] MSI: Enable- Count=1/32 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [f8] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?> Capabilities: [108 v1] Latency Tolerance Reporting Max snoop latency: 87040ns Max no snoop latency: 87040ns Capabilities: [110 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=10us PortTPowerOnTime=10us L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=90112ns L1SubCtl2: T_PwrOn=44us Capabilities: [200 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Kernel driver in use: apex Kernel modules: apex

  • @piotrtrabinski7983
    @piotrtrabinski7983 Місяць тому

    I made all steps and still don’t have apex drivers on pve. Any ideas ?

    • @JackofAllGates
      @JackofAllGates Місяць тому

      Hi, can I ask if you are able to do "ls /dev/apex_0" in your shell in your pve and if you see the coral tpu in lshw command? Also if you can send me pictures of any errors you encounter, it could narrow down the problem, thank you!

    • @piotrtrabinski7983
      @piotrtrabinski7983 Місяць тому

      🎉 Finally it’s woks thank you so much. Key points was /home

    • @JackofAllGates
      @JackofAllGates Місяць тому

      ​@@piotrtrabinski7983 Hello, I'm glad things worked out, enjoy! 🥳

  • @Michael-lo3ht
    @Michael-lo3ht Місяць тому

    I just received my AMB82-Mini the other day and love it. Haven't done much other than test different features. I wish we could contact UA-cam creators directly. I wanted to provide a little constructive feedback on the video. Need to relax and slow down. I had to slow the video to 75% of speed. Turn the background music way down or off. To me that is always distracting, especially if it's too loud. Since this is the first in the series I gather then might explain what Frigate is as well. It's hard to remember to explain things if you're too familiar with it when your audience may not have a clue. Of course I searched. I do have a question. In your testing did you notice any delays between the actual movement in front of the camera vs what you see on a screen? I used streaming over wifi and probably not the best way. Just curious. I'm going a different direction, mostly robotic, but also image recognition, categorization, detection, etc. Enjoy.

    • @JackofAllGates
      @JackofAllGates Місяць тому

      Hi! Thank you for your feedback, I will take it into heart and mind! I'm still trying to get a hang on my new microphone and the way I speak, but thank you for letting me know. The quality of the AMB82-MINI is amazing, recently I bought the Raspberry-Pi Zero and bought the 5MP Camera, and all I can say is that the AMB82-MINI is still better in camera quality and power efficiency. In terms of delay in the camera, it's not noticeable if you're RTSP streaming it directly on VLC, FFmpeg, or ffplay (I would say probably 150~300 milliseconds). But if you're streaming it on frigate (which from my understanding the connection starts with go2rtc w/ FFmpeg and it restreams it on frigate with another RTSP URL which is then viewed by other devices), I noticed there is a 1~2 seconds delay in the stream. Factors into play could be my laptop specs or my configuration in frigate, it's pretty much low-end and old, but what I like about this is that it's given a purpose once again.

    • @Michael-lo3ht
      @Michael-lo3ht Місяць тому

      @@JackofAllGates I've played with mine more. So easy to do everything. To me the hardware and software is professionally done. Not to mention far more powerful and better features. I will be sticking with it for my imaging and AI stuff for sure.

  • @fk_tech
    @fk_tech Місяць тому

    Nice vid , I am waiting for amb82-mini details

    • @fk_tech
      @fk_tech Місяць тому

      Please explore more on amb82-mini qs there are very few videos about it. Mostly on how to use it as daily device with a proper case and maybe a heatsink ?

    • @JackofAllGates
      @JackofAllGates Місяць тому

      ​@@fk_tech Hi, unfortunately I only have 1 amb82-mini which is used as a CCTV in this video. When I ordered the amb82-mini on Amazon, there is already a heat sink installed on the AMB82-MINI. Is there any specific information or project you're looking in the amb82-mini?

  • @Ammarsays
    @Ammarsays 2 місяці тому

    Nice video. How is your experience with this self-hosted option? Can it detect complex structural problems in the sentences or is it merely a spell checker?

    • @JackofAllGates
      @JackofAllGates 2 місяці тому

      Hi! In the past week the program works great, I'm able to use it in writing scripts, learn Spanish, and communicate with my family and friends. Unfortunately it does not detect complex structural problems since the self-hosted solution is only the basic version of LanguageTool.

  • @JackofAllGates
    @JackofAllGates 2 місяці тому

    In my first video im going to show you how to install perplexica (quick tutorial) in linux via docker. LINKS Perplexica: github.com/ItzCrazyKns/Perplexica Additional Instructions: github.com/ItzCrazyKns/Perplexica/blob/master/docs/installation/NETWORKING.md Wayback Machine Links (In case the website is down): web.archive.org/web/20240730093900/github.com/ItzCrazyKns/Perplexica web.archive.org/web/20240730181114/raw.githubusercontent.com/ItzCrazyKns/Perplexica/master/docs/installation/NETWORKING.md Ollama Website: ollama.com/ INSTRUCTIONS Prerequisite to install Perplexica: Docker and Ollama Install Ollama just run with this one command: curl -fsSL ollama.com/install.sh | sh Install docker: Debian/Ubuntu: sudo apt install docker.io Fedora: sudo dnf install docker Arch: sudo pacman -S docker CentOS/RHEL: sudo yum install docker OpenSUSE: sudo zypper install docker To install Ollama Models (for this example llama 3.1, it will pull the 8b/lowest model, 4.7 Gb): ollama run llama3.1 /bye MUSIC And so it begins - Artificial Music