XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. cyrus104
    3. Posts
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 52
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Unable to import VMDK file

      @olivierlambert I know it's not a part of this ticket but I'm not able to export ova (vmdk) files and get them to import into anything else. I've tried vmware workstation pro, vmware fusion, and vituralbox.

      I get an OVA or if I download the vmdk from the disk menu but even if I added it to an existing vm they either can't read it or it's corrupt and can't be repaired.

      These VMs boot and work fine on XCP-ng (I haven't tried to reimport an exported one).

      posted in Xen Orchestra
      C
      cyrus104
    • RE: Intel GPU passthrough Question

      @Forza @olivierlambert

      I would like to highlight that this does work but there are some performance issues with the iGPU. I it for transcoding plex and it will transcode a 4K to 1080p which is a huge load on baremetal but when I use the passthrough to the same basic Windows install it says hw transcoding. However, there is a performance hit somewhere in the passthrough as I can't do a 4K transcode.

      FYI

      posted in Compute
      C
      cyrus104
    • RE: Odd issue with pool

      @Darkbeldin
      Seems like the slave still has it registered. When I try to add the slave to XCP-ng Center, it says it's still a part of a pool and I need to connect to that. The master just has no record and can't add the slave back because it's already connected.

      posted in Compute
      C
      cyrus104
    • Odd issue with pool

      I change interfaces on the pool master. There was an eth0 vs eth1 issue which was causing issues in the pool. I am SSH'd into both hosts but the slave thinks it's in the pool but the master doesn't. xe host-list on the master shows only itself. I keep getting, The uuid you supplied was invalid. on the slave no matter the command. I would just install the slave but.. it has a running VM that I would like to migrate but XO can't see.

      Update: Because I have the vm on a shared SR, I was able to shutdown the vm and migrate it over manually. I think maybe due to an issue I clicked forget host. Is there a way to factory reset the host without a full reinstall?

      posted in Compute
      C
      cyrus104
    • RE: Intel GPU passthrough for Plex transcoding

      I setup a Windows 10 VM, changed the passthrough and installed plex server and it's able to do a hardware transcoding. So it looks like the passthrough of the gpu is working but for some reason debian through a docker isn't seeing it properly.

      posted in Compute
      C
      cyrus104
    • Intel GPU passthrough for Plex transcoding

      I'm using XCP-ng with Intel GPU passthrough to a VM that is running a Plex docker. I feel I'm pretty close to having it work, I have seen others get it working but they aren't responding to emails on their blogs. Would love to get some help with this.

      You can see from the post below that I was able to get passthrough setup:
      Intel GPU passthrough using XCP-ng Center

      In my Debian VM I can see the Intel GPU:

      00:05.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630]
      

      I can also see /dev/dri:

      root@docker-2:/var/lib/docker/volumes# ls -al /dev/dri
      total 0
      drwxrwxrwx  3 root root        120 Sep  9 16:42 .
      drwxr-xr-x 18 root root       3320 Sep 10 13:39 ..
      drwxrwxrwx  2 root root        100 Sep  9 16:42 by-path
      crwxrwxrwx  1 root video  226,   0 Sep  9 16:42 card0
      crwxrwxrwx  1 root video  226,   1 Sep  9 16:42 card1
      crwxrwxrwx  1 root render 226, 128 Sep  9 16:42 renderD128
      

      I have plex running in docker with dri passthrough:

          devices:
            - /dev/dri:/dev/dri
      

      Where I'm struggling is getting plex to use the hardware acceleration, I have it enabled in settings transcoder too.

      Sep 10, 2022 14:28:50.687 [0x7f2aec8e2b00] Debug — [Req#17b2/Transcode] Codecs: hardware transcoding: testing API vaapi
      Sep 10, 2022 14:28:50.693 [0x7f2aec8e2b00] Debug — [Req#17b2/Transcode] Codecs: hardware transcoding: testing API vaapi
      Sep 10, 2022 14:28:50.854 [0x7f2aec8e2b00] Debug — [Req#1991/Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
      Sep 10, 2022 14:28:50.854 [0x7f2aec8e2b00] Debug — [Req#1991/Transcode] TPU: hardware transcoding: zero-copy support present
      Sep 10, 2022 14:28:50.854 [0x7f2aec8e2b00] Debug — [Req#1991/Transcode] TPU: hardware transcoding: using zero-copy transcoding
      Sep 10, 2022 14:28:50.854 [0x7f2aec8e2b00] Debug — [Req#1991/Transcode] Codecs: hardware transcoding: testing API vaapi
      Sep 10, 2022 14:28:50.856 [0x7f2aec8e2b00] Debug — [Req#1991/Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
      Sep 10, 2022 14:28:51.130 [0x7f2aec6d4b00] Debug — TPU: hardware transcoding: enabled, but no hardware decode accelerator found
      Sep 10, 2022 14:28:51.130 [0x7f2aec6d4b00] Debug — Codecs: hardware transcoding: testing API vaapi
      Sep 10, 2022 14:28:51.132 [0x7f2aec6d4b00] Debug — TPU: hardware transcoding: final decoder: , final encoder: 
      Sep 10, 2022 14:29:01.362 [0x7f2aec8e2b00] Debug — [Req#1b4a/Transcode/64c67i60wqb62oh7tdwatfv7] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
      Sep 10, 2022 14:29:01.363 [0x7f2aec8e2b00] Debug — [Req#1b4a/Transcode/64c67i60wqb62oh7tdwatfv7] Codecs: hardware transcoding: testing API vaapi
      Sep 10, 2022 14:29:01.372 [0x7f2aec8e2b00] Debug — [Req#1b4a/Transcode/64c67i60wqb62oh7tdwatfv7] TPU: hardware transcoding: final decoder: , final encoder: 
      
      posted in Compute
      C
      cyrus104
    • RE: Cloud-init ConfigDrive

      @olivierlambert
      Thanks, feel free to mark this as solved.

      posted in Xen Orchestra
      C
      cyrus104
    • Cloud-init ConfigDrive

      When I use cloud-init to build a new vm, the 10MB config drive is still there. Can I get rid of that or does that reconfigure the vm at every boot?

      posted in Xen Orchestra
      C
      cyrus104
    • RE: Attaching USB storage via XOA

      @xenoNfluX @olivierlambert

      I would agree this would be great for the Z-wave/Zigbee dongles in Home Automation.

      Right now I'm working on a small homelab that can pass through the intel Quicksync to a Plex server and the USB to support HA.

      Having this in XOA/XOCE, even XO-lite (understandably not really a "lite" feature).

      posted in Xen Orchestra
      C
      cyrus104
    • RE: Intel GPU passthrough Question

      @Forza I spent a few more minutes on the second linked article and while it doesn't actually spell it out, it does say to use XCP-ng Center to make it easier.

      I went to XCP-ng Center, went to properties on the host and then went to GPU and said "This server will not use the integrated GPU" which will take affect after reboot.

      ffc97f7b-a17f-4d10-9ff7-524e76286bb2-image.png

      After reboot:
      5862f0a8-b464-4813-b8b2-8bc1e9155163-image.png

      I can now added this to a VM:
      b702819a-0a51-4620-bfc6-f13b50b89faf-image.png

      We can go ahead and mark this as solved, I'm not sure why it didn't work as expected in the command line so maybe there could be some help testing that out.

      posted in Compute
      C
      cyrus104
    • RE: Intel GPU passthrough Question

      @Forza yeah, I was hoping to pass the iGPU through. Half my lab is XCP-ng and the other half is still ESXi which I am able able to do iGPU passthrough so I just figured it would be doable here too.

      In theory if XCP-ng was not capable of passing the iGPU through because it was needed for console, I waste an m.2 slot and install an m.2 gpu for the console but would still need the Intel iGPU for the quicksync feature.

      https://www.asrockrack.com/general/productdetail.asp?Model=M2_VGA#Specifications

      Edit: article that shows that it seems to have worked for somebody.
      https://jasonloong.com/2020/migrated-a-plex-intel-nuc-to-xcp-ng-xenserver-with-igpu-passthrough/

      posted in Compute
      C
      cyrus104
    • Intel GPU passthrough Question

      I want to passthrough the Intel GPU to enable hardware acceleration in a Plex VM. I am following the instruction here: https://xcp-ng.org/docs/compute.html#pci-passthrough

      In my lspci I have found the intel gpu: 00:02.0
      So I ran: /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:00:02.0)"
      I rebooted and didn't see anything in the: xl pci-assignable-list

      I reran: /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:00:02.0)"
      Then running: /opt/xensource/libexec/xen-cmdline --delete-dom0 xen-pciback.hide
      I rebooted and didn't see anything in the: xl pci-assignable-list

      Thoughts on places to look?
      Thanks

      posted in Compute
      C
      cyrus104
    • RE: XO 6: Console updates?

      @olivierlambert

      I am imagining something like esxi / vsphere where I think it's their guest tool does a resize on window size change. I think I've done it with tightvnc where it can autoscale AND it can auto resize as well. Based on looking protocols like nx, spice, and tigervnc support it as well.

      Understood for the copy paste, is it possible to have another button in current UI next to the copy that is paste (understanding the current UI IS changing). All this button would do is send the keystrokes to the VM either from the text in the console copy field or from the clipboard (I've fine with ctrl+v, the clipboard to the multiline window).

      posted in Xen Orchestra
      C
      cyrus104
    • XO 6: Console updates?

      I'm not sure if this should go in the development thread or here in the XO one so I just put it here. I have been following the XO Lite and XO 6 development and love the design and progress that is being made.

      In the last few updates, I've seen a bunch of updates on the layout and the backend and I wanted to see if the VM Console was being updated.

      Some options like guest screen autoresize (with guest tools) and other options for copy/paste such as sending in keystroke into a console screen. Ideally I would just need this type of access until I can ssh or vnc/rdp into the VM but it's nice to have some of those creature comforts when setting up OSes.

      Thanks and great work!

      posted in Xen Orchestra
      C
      cyrus104
    • HA in XO

      I would like to see if there is a way to enable HA in XO? A way to make an SR a heartbeat and then turn on HA for the cluster.

      That way there would also be a button to disable HA, then do your update/upgrades, then re-enable HA.

      Thanks

      posted in Xen Orchestra
      C
      cyrus104
    • RE: XOSANv2 Trial in XOCE?

      Ok, I'll look into it some more. Right now, I'm just looking for XOCE to be hosted in the XOSTOR to avoid any issues with an NFS in my homelab going down.

      I have a spare M.2 NVME in each host that I can use, I'm pretty sure that my XOCE isn't very big.

      posted in Xen Orchestra
      C
      cyrus104
    • RE: XOSANv2 Trial in XOCE?

      @olivierlambert

      I'll look into this, are there plans for this to be integrated XO for a seamless experience? If so what is the timeline?

      Thanks a bunch.

      posted in Xen Orchestra
      C
      cyrus104
    • XOSANv2 Trial in XOCE?

      @olivierlambert

      I run a small homelab with 3 hosts, I'm using XOCE right now which has been working great. I've been using NFS for all VM storage and would like to test the XOSANv2 with 50GB but would like to stick with XOCE.

      Is this possible?

      posted in Xen Orchestra
      C
      cyrus104