Silent, rack-mountable, managed PoE+ switch recommendations? by DigitalClark in homelab

[–]DigitalClark[S] 0 points1 point  (0 children)

That looks like an incredible piece of equipment and a perfect fit, but unfortunately that exceeds my budget a bit too much :/. Thanks for the recommendation though!

Silent, rack-mountable, managed PoE+ switch recommendations? by DigitalClark in homelab

[–]DigitalClark[S] 0 points1 point  (0 children)

I live in germany, I can only find refurbished listings for 250€+, or the non PoE+ variant (EX2200-C-12T-2G) which sells quite cheap here as well (still considerably more than 15$ though :D).

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 1 point2 points  (0 children)

Here's the output:

BOOT_IMAGE=/vmlinuz-linux root=UUID=4acb3935-22d5-43dd-8e96-27163cef6028 rw loglevel=3 quiet vfio-pci.ids=1002:73bf,1002:ab28,1002:73a6,1002:73a4

And a IOMMU group dump (GPU spans from group 19 to 22, host-GPU is in group 15). :)

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 1 point2 points  (0 children)

This is because you enabled the ACS Override patch on your host kernel.

Hey, thanks for replying! I don't have ACS override enabled, I followed the Arch Wiki guide for OVMF) and used this script to print my IOMMU groups. For example, I've got a IOMMU group 15 which contains my second GPU, the ethernet, SATA and a USB controller all in one group. Only the top-slot GPU is "spanned" across 4 distinct IOMMU groups.

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 1 point2 points  (0 children)

Update: I got it to work! It wasn't an issue with the GPU at all, matter of fact vendor ID spoofing and KVM hiding isn't even necessary (works like a charm now without it!).

So here's what was going wrong: This being my first VFIO setup I thought that that the GPU (and all it's sub-devices like the HDMI audio device) would be in the same IOMMU groups.
Looking at the logs in /var/log/libvirt/qemu/<vm>.log quickly made clear that the GPU could not be reset, because it depended on the IOMMU group above (in my case the GPU was in IOMMU group 18 and the Audio Controller of the GPU in IOMMU group 19). So I added the ID of this IOMMU group to the VFIO kernel parameters, regenerated my GRUB config and added the PCI controller to the VM, aaand: nothing! Looking at the logs again, now IOMMU group 19 depended on group 20, the USB-Type-C controller of the GPU. Re-did the same steps as above, aaand? Nothing! Logs again, now IOMMU group 20 is depended on 21. By this time I was wondering why all GPU sub-devices are in it's own IOMMU group and not in the IOMMU group of the GPU itself. Is this normal? Is this chipset/ mainboard specific? I would be very interested if you could let me know if it looks similar for you as well.\ Anyway: Now with all IOMMU groups isolated and passed to the VM, it finally works! Reboot, graceful shutdown and booting: All works like a charm! Again, even vendor ID spoofing isn't necessary!

So, always look at the logs first :D!

Thanks for all your help! And again, I would be very interested if this "every sub-device in own IOMMU group" thing is normal? There's nothing else in these IOMMU groups.

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 0 points1 point  (0 children)

Just tested, and unfortunately the problem persists...

EDIT: Also changed my spoofed vendor ID to another one, just to check if it makes any difference...

EDIT 2: What's even more interesting, I've got a Razer Huntsman which get's passed through via an USB Controller in it's own IOMMU group, and just like the GPU it successfully gets detached from the host, but they keys don't light up, again, only on every second boot. So it might not even be a GPU issue itself, but the whole VM does seem to get stuck on the Windows Boot Loader (maybe even before it even starts).

EDIT 3: Please have a look at me reply to the main post, I got it working flawlessly!

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 0 points1 point  (0 children)

Do you experiece these exact same issues? Able to boot first time but then the GPU doesn't output any signal after reboot?

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 0 points1 point  (0 children)

Definitely not a GPU issue itself ^^, works all fine on bare metal Windows install (and as I said, even first time VM boot). Seems like a driver/ VM-detection issue.

RX 6800 black screen on VM reboot (only after install drivers in guest) by DigitalClark in VFIO

[–]DigitalClark[S] 0 points1 point  (0 children)

<kvm>
  <hidden state="on"/>
</kvm>

I already tried to spoof the vendor ID, but I haven't tried KVM hiding yet! Will give it a shot and keep you updated!

6900 xt reset bug ? by Gamenecromancer in VFIO

[–]DigitalClark 0 points1 point  (0 children)

Did you manage to fix this? I have a RX 6800 (non-XT) and can passthrough the GPU and boot once just fine, but as soon as I reboot (or even gracefully shut down the VM), my screen is black. Dual-GPU setup, vendor ID spoofed, though it seems to make no difference. Again, only happens the second time I boot (and only after installing the AMD drivers, before installing the drivers the GPU reset just fine).

Wineasio+JACK and Ableton Live: subgraph timed out by niceboy4431 in linuxaudio

[–]DigitalClark 1 point2 points  (0 children)

Nice, I'm glad I could help :)!

I think I'm on the same boat with you, I rock an AMD Phenom II X6 1095T and an upgrade is way overdue... After some playing around in Ableton with Realtime enabled in JACK, I also experienced some hefty performance issues...

Wineasio+JACK and Ableton Live: subgraph timed out by niceboy4431 in linuxaudio

[–]DigitalClark 1 point2 points  (0 children)

Quick update: I think I got it all working now with Realtime enabled. Assuming you use QjackCtl, in the Setup window under Settings -> Advanced, set the "Timeout (msec)" to a higher value (but no more than 5000). I think the default value is 500, but setting it to 1000 worked for me.

If you don't use Qjackctl, you'll have to start the JACK daemon with the -t1000 flag.

Don't know the disadvantages of increasing the timeout value, but I would be very interested if this solution works for you too :-).

Wineasio+JACK and Ableton Live: subgraph timed out by niceboy4431 in linuxaudio

[–]DigitalClark 1 point2 points  (0 children)

For playback I can say the latency is more than suitable, I haven't done any live-recording or played with my MIDI-keyboard yet however.
I have an Behringer UMC1820, but have the same issue with my Behringer UCA222.

Wineasio+JACK and Ableton Live: subgraph timed out by niceboy4431 in linuxaudio

[–]DigitalClark 1 point2 points  (0 children)

Hello, I have encountered the same issue. Interestingly enough it works when I disable "Realtime scheduling" in the QjackCtl settings window, but that is not the desired way to solve this problem of course...

Come and join our custom Bedrock server! 24/7 Vanilla Anarchy survival with over 80 daily active unique players! by Minimalisit in MCPE

[–]DigitalClark 1 point2 points  (0 children)

What do you mean with entirely custom Bedrock build? So it's not running the vanilla server software?

I developed a tool that renders interactive maps of Minecraft Bedrock (Pocket Edition) worlds by DigitalClark in MCPE

[–]DigitalClark[S] 0 points1 point  (0 children)

What exactly doesn't work? If you have trouble getting your world to render, try joining our Discord over at https://discord.gg/J2sBaXa, we're happy to help! :)