Jump to content

onyxdrew

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by onyxdrew

  1. I never ran any VMs when I was using the B450, I also had a Ryzen 3600 in there.

     

    I've only had the 5700G for a short while, bought it 2022-04-18.  The X570 board I've had for a long time, I got that when the 2nd gen Ryzen first came out, had a 2700x in it, then 5800x, now this 5700g (which surprisingly didn't post even tho 5800x worked fine).

  2. I didn't have to mess with syslinux, though I tried the acpi flag when trying to get temp sensors to show up, those still don't work, hoping they will with unraid 6.10 and newer kernel.

     

    image.png.7f18965438a185cd5c0a024a0e05b6cc.png

     

    The bios settings are going to be hard to record, the only thing I know I did for sure was to setup the INIT display to be SLOT 3 (originally SLOT 1) instead of built in GPU, as well as setting to Forced instead of Auto for the APU, as one of the big things I was trying to save PCIE lanes, as the APU only uses 4lanes, and I moved my GPU to SLOT 3 which is also 4lanes.  I am only using it to transcode, so I don't want to waste 16 lanes on it out of 24 total.  I have two NVME drives for cache, 4 each, plus chipset 4, plus APU 4, 10gb fiber card 4, extra GPU 4, 24 total...  Hopefully that's how the CMOS is actually allocating at least, not sure how you check that.  That said, I wasn't seeing the APU port initializing until I set the APU to forced, though that was back when I didn't have anything on the HDMI port when I was booting, as I tested the setup with one monitor, now I have a monitor on both GPUs (I would move monitor back and forth after booting and validating console messages).  I haven't tried disabling that, but also don't see any reason, as I do want that port to come online even if there is no monitor connected.  I will try to remember to look at those settings next time I reboot, but not planning to do that any time soon.

  3. 6 hours ago, tampano said:

    Forgive the absolute newbie questions, but this seems the more relevant thread I found so far...

     

    ...is it possible to perform video card passthrough with a rig made ONLY by a 5600G and NO video card installed in the PCI slot?

    I'm dipping my toes in VM's and trying many things but so far I can only run a VM on VNC...the very moment I start fiddling with video passthrough i think I'm missing some important bits of knowledge and maybe all the tutorials I've found take for granted things that are not that obvious 🙂

     

    So, again, the main questions here are

    1) can I do GPU passthrough having only the integrated graphic of a 5600G?
    2) am i supposed to get the video out of the HDMI? I'm asking because that seems to be taken by the Unraid CLI

    3) (or 2bis) - how do i know passthrough is successful, other than the HDMI out at point 2? Can I still use VNC or RDP to get to a machine which had a successful passthrough?

    Thanks for your patience

    Yes, just look for threads talking about running unraid headless.  I've done this before, but it can be annoying if you run into issues, as obviously you loose access to the console if something goes wrong enough that SSH is inaccessible.

  4. Yeah, I figured I could read them as part of array.  In my case I was cleaning house on my old server when I realized the drives I just removed from the array could not be re-mounted as stand alone devices under assigned devices... I would like to make this clean and clear in the future if I can, as I'm at the right point on new server to make changes/test before I fully cut over!

     

    I did enter a bug report, hopefully this is correct:

    https://forums.unraid.net/bug-reports/stable-releases/4kn-devices-formatted-with-xfs-unraid-reports-the-device-as-512b-at-mkfs-time-and-thats-what-xfs-uses-r1847/

    • Like 1
  5. Thanks for replying, I should have been more clear.  I saw the command to recreate the file system, but I'm not 100% clear how that would work when you're working with an encrypted file system that is encrypted by the array formatting?  I already have the array running, so do I simply recreate the file system?  How do I get unraid to re-encrypt the file system, or do I have to do that manually as well through the command line?  I assume this would usually be done before you add the drive to the array, but luckily I haven't started migrating data to the array as of yet so recreating the file systems will not be a big deal.  I also wonder how this will impact parity?  Maybe I should recreate the array and use an already built file system for the drives that will be non-parity, and let it build parity again from that?

  6. Was there ever a bug report for this?  I'm trying to decide if I should reformat my newly acquired drives?  I just tried to mount some drivers off my old array, and noticed this same error as mentioned

     

    Here is my old array:

     

    RO    RA   SSZ   BSZ   StartSec            Size   Device
    rw   256   512  4096          0  10000831295488   /dev/md1
    rw   256   512  4096          0  10000831295488   /dev/md2
    rw   256   512  4096          0  10000831295488   /dev/md3

     

    But I see the drives listed as 4k:

     

    RO    RA   SSZ   BSZ   StartSec            Size   Device
    rw   256   512   512          0     32080200192   /dev/sda
    rw   256   512   512       2048     32079151616   /dev/sda1
    rw   256  4096  4096          0  10000831348736   /dev/sdb
    rw   256  4096  4096         64  10000831295488   /dev/sdb1
    rw   256  4096  4096          0  10000831348736   /dev/sdc
    rw   256  4096  4096         64  10000831295488   /dev/sdc1
    rw   256  4096  4096          0  10000831348736   /dev/sdd
    rw   256  4096  4096         64  10000831295488   /dev/sdd1
    rw   256  4096  4096          0  10000831348736   /dev/sde
    rw   256  4096  4096         64  10000831295488   /dev/sde1
    rw   256  4096  4096          0  10000831348736   /dev/sdf
    rw   256  4096  4096         64  10000831295488   /dev/sdf1
    rw   256  4096  4096          0  10000831348736   /dev/sdg
    rw   256  4096  4096         64  10000831295488   /dev/sdg1
    rw   256  4096  4096          0  10000831348736   /dev/sdh
    rw   256  4096  4096         64  10000831295488   /dev/sdh1
    rw   256  4096  4096          0  10000831348736   /dev/sdi
    rw   256  4096  4096         64  10000831295488   /dev/sdi1

     

    Then the new array so far:

     

    O    RA   SSZ   BSZ   StartSec            Size   Device
    rw   256   512   512          0     32080200192   /dev/sdb
    rw   256   512   512       2048     32079151616   /dev/sdb1

     

    O    RA   SSZ   BSZ   StartSec            Size   Device
    rw   256   512  4096          0  18000207884288   /dev/md1

     

    What is the process to manually format these so they can be mounted either under unassigned devices, or on another system?  They seem to fail with the same error as above:

     

    kernel: XFS (dm-8): device supports 4096 byte sectors (not 512)

     

    I'm on 6.9.2 when building the new array.

  7. I was able to get my 5700G to pass through, I'm on a Gigabyte X570 Gaming X

     

    I did have to use SeaBios and Q35, along with the bios posted above:

     

    image.png.cb8b5a86d6c0eaa539472c1d5a23e0c7.png

     

    Here are the IOMMU groups my machine posted with:

     

    IOMMU group 0:                [1022:1632] 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
    IOMMU group 1:                [1022:1633] 00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
    IOMMU group 2:                [1022:1634] 00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
    IOMMU group 3:                [1022:1632] 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
    IOMMU group 4:                [1022:1632] 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
    IOMMU group 5:                [1022:1635] 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
    IOMMU group 6:                [1022:1635] 00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
    IOMMU group 7:                 [1022:790b] 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
         [1022:790e] 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    IOMMU group 8:                [1022:166a] 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166a
    [1022:166b] 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166b
    [1022:166c] 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166c
    [1022:166d] 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166d
    [1022:166e] 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166e
    [1022:166f] 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166f
    [1022:1670] 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1670
    [1022:1671] 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1671
    IOMMU group 9:                 [10de:10c3] 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 8400 GS Rev. 3] (rev a2)
         [10de:0be3] 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
    IOMMU group 10:                [1022:57ad] 02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
    IOMMU group 11:                [1022:57a3] 03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    IOMMU group 12:                [1022:57a4] 03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
         [1022:1485] 05:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
         [1022:149c] 05:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
    Bus 001 Device 005: ID 04f2:0939 Chicony Electronics Co., Ltd USB Optical Mouse
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
         [1022:149c] 05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 048d:8297 Integrated Technology Express, Inc. ITE Device(8595)
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    IOMMU group 13:                [1022:57a4] 03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
         [1022:7901] 06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
    IOMMU group 14:                [1022:57a4] 03:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
         [1022:7901] 07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
    [5:0:0:0]    disk    ATA      Samsung SSD 840  5B0Q  /dev/sdb    128GB
    [9:0:0:0]    disk    ATA      ST18000NM000J-2T SN02  /dev/sdc   18.0TB
    [10:0:0:0]   disk    ATA      ST18000NM000J-2T SN02  /dev/sdd   18.0TB
    IOMMU group 15:                 [10ec:8168] 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
    IOMMU group 16:                 [1002:1638] 08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c8)
    IOMMU group 17:                 [1002:1637] 08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
    IOMMU group 18:                 [1022:15df] 08:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
    IOMMU group 19:                 [1022:1639] 08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
    This controller is bound to vfio, connected USB devices are not visible.
    IOMMU group 20:                 [1022:1639] 08:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 008 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
    IOMMU group 21:                 [1022:15e3] 08:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
    IOMMU group 22:                 [1022:7901] 09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
    IOMMU group 23:                 [1022:7901] 09:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)

     

    You can see the APU and Audio device are in their own groups 16/17:

     

    IOMMU group 16:                 [1002:1638] 08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c8)
    IOMMU group 17:                 [1002:1637] 08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637

     

    I also passed one set of USB 3.1 ports so I can plug whatever I need into those two and get them in the VM.

     

    I did have to setup the BIOS to force APU on, as well as set the GPU initialization to use the card in slot 1 instead of built in.  My long term setup will be to use an old 1050ti for unraid, pass that to Plex, and use the APU to run a Windows 10 VM.

     

    It appears to be working so far, make sure you install the correct drives from AMD though, as I got the wrong set the first time I was clicking too fast.

     

    device_list.thumb.png.4de685e4ca8dea0df71eafe1565476ab.png

     

    • Like 1
×
×
  • Create New...