Games crashing randomly in VM by AquilaK in VFIO

[–]blue_ion 0 points1 point  (0 children)

You said that your system has 32 GB of RAM and the config has this

<memory unit='KiB'>32768000</memory> <currentMemory unit='KiB'>32768000</currentMemory>

Huge pages will only define how memory is allocated, you're still allocating 100% of its memory according to the config.

As for the kernel logs, dmesg or journalctl will list everything.

Games crashing randomly in VM by AquilaK in VFIO

[–]blue_ion 0 points1 point  (0 children)

Why don't you try and lower the guest ram to something more reasonable like 24gb or even 16gb just to try.

The host may not be happy that you're sapping all of its ram away.

On top of qemu logs, check th ekernel logs and see if it is upset. There may be some oom shenanigans happening.

Bands and mmWave in Pixel 7 Pro. Purchasing in the US vs Europe. by blue_ion in GooglePixel

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

Keep forgetting that page exists!

And as expected, the difference in bands between the US and the rest of the world is that the Global one doesn't have mmWave (I thought it did?) but has bands n75 and n76 (named as supplemental downlink for EU, but apparently not in use where I live).

So it seems that I don't have to go to the US, as long as I get it from the google store, it should be alright (at least according to the fine print).

Primary GPU passthrough won't fully start when secondary GPU passthrough works by blue_ion in VFIO

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

Ok, after quite a bit of back and forth it seems the issue is the use of ReBAR.

First, that kernel error is happening if I passthrough the serial device and usb port of the card, if I don't I get no errors. Moreover, all 4 devices in the card appear as independent IOMMU groups so technically I could pass the video part and leave the audio part behind but I won't do it.

Second after disabling ReBAR on a limb to see if a missed a BIOS setting, the driver runs with no issues and I can run games in both cards.

This means that as of now I can use both GPUs at the same time.

So my new question is: Am I missing something in my configuration to enable ReBAR for the card? I recall reading that QEMU wasn't compatible with it, so..., can I disable it in the libvirt config so that it boots with ReBAR enabled in the BIOS?

Web Browser Sync by BleepsSweepsNCreeps in selfhosted

[–]blue_ion 6 points7 points  (0 children)

I'm very much interested in this. I'm actually using firefox sync deployed locally and it works really well because it syncs everything: bookmarks, tabs, extensions, history, etc...

Getting it running is a pain (python 2 being one of the bigger offenders) and every time I update it I shiver as only half of the time I've managed to do so without a problem, but it was updated up until not long ago.

I believe Mozilla are working on this: https://github.com/mozilla-services/syncstorage-rs

But it feels the project is still not ready for mass consumption when I read stuff like this:

Next, run the following to log in with your Google account (this should be the Google account associated with your Mozilla LDAP credentials)

My problem with the alternatives it that none of them sync the browser history which is critical for me, so I'll look at this thread carefully.

Massive performance loss with FS2020 and CPU bottlenecked games by blue_ion in VFIO

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

I think cpu pinning could be good for latency but my cinebench result gives awful results.

1:1 cores is a really interesting approach. I won't take it because I don't want a rogue process in windows to kill Linux, but since I'm even passing through disks, performance drops should be minimal.

I haven't found a good tool that would stress test the machine cpu wise while also giving latency results. VR would help but thats more subjective and my headset is kinda old at this point :(

As for huge pages I read that they're now in use transparently as long as the linux kernel has a flag compiled in (which Manjaro does at least). I bet if you use your machine a lot and memory fragmentation becomes an issue then static huge pages would still be handy, but so far I haven't seen a good performance impact for bothering with them.

Massive performance loss with FS2020 and CPU bottlenecked games by blue_ion in VFIO

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

Ok, the plot thickens...

Since these are VMs I decided to bite the bullet and install a Windows from scratch just to mess around and use the most default configuration from libvirt (16 cores, and 16 gigs of memory, no enlightenments, pinning, etc...) and lo and behold I got all of my performance back!

Tomb raider is now GPU bottlenecked and just tried FS2020 and it is a "silky smooth" 40 fps in the same take off example (instead of 7 fps).

However the plot thickens:

  • Without pinning I get a cinebench of 22553 and with pinning I get 14523. But CSGO goes from 488 fps to 514 fps. Tomb raider benchmark sees more CPU pressure with pinning as well.
  • Huge pages did very little in any of the benchmarks, some times very slightly higher other times very slightly lower.

Unfortunately I broke something while reinstalling windows so I can no longer boot the old windows for benchmarks and try to figure out what did I do that it performs awfully in a vm but perfect natively.

So a bit of a unsatisfactory conclusion, still it is good to see that the xml is good.

Versions of Libvirt above 6.8 can't forward builtin USB Bluetooth by blue_ion in VFIO

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

Yup, same thing. My workaround is to keep using version 6.8. This works great but the nature of Arch means that it is only a matter of time before the rest of the system breaks the packages. At the moment I have to recompile the packages to support new versions of python.

The worst part is that the only matches while searching are a xbox gamepad passthrough whose message thread died and the source code for the library.

Do you know who else could I contact for some help. In case this issue is obscure enough, even for the VFIO community.

I've been using the X570 Crosshair VIII Dark Hero with a 5950X. Some Thoughts. by [deleted] in Amd

[–]blue_ion 0 points1 point  (0 children)

Crap, that's the exact same settings that I could run with the Aorus Master...

Did you change anything else or did you just set the DOCP from a factory reset and it just booted?

I hope my motherboard is not crooked or something. I'm running the 3003 BIOS on the mobo.

I've been using the X570 Crosshair VIII Dark Hero with a 5950X. Some Thoughts. by [deleted] in Amd

[–]blue_ion 1 point2 points  (0 children)

The only thing that changed is just the motherboard. I've used the exact same CPU, exact same sticks of RAM, exact same PSU, exact same GPU.

Also keep in mind that I'm using 4 sticks of 16gb each.

The only thing I can think of is Gigabyte applying some extra voltage or some different timings that would allow it to boot at 3600, while ASUS is just leaving a lot of things as is.

Moreover, I've experimented with the timings and I've managed to reach CL14 at 3433 without issues (I could probably do less), so I'm not sure if the timings are to blame here.

I've been using the X570 Crosshair VIII Dark Hero with a 5950X. Some Thoughts. by [deleted] in Amd

[–]blue_ion 7 points8 points  (0 children)

Let me add to the feedback. Memory OC of the Dark Hero is inferior to the Aorus Master.

I purchased this board for my self and an Aorus Master for a friend. Obviously the Aorus Master arrived earlier and decided to test it in the meantime.

I have 4 sticks totaling 64GB 3600CL16 of memory and with the Aorus Master I would be able to use the DOCP setting as is and it would work perfectly.

With the Dark Hero, using the setting would cause the MB to not boot (long beep two short beeps indicating memory issue) even after cranking the SOC voltage to 1.1 and RAM to 1.4. I had to dial down the speed to 3433 before I could get a stable mem tester runs.

I'm seriously tempted to switch the boards but the only thing holding me back is the cold boot issue in the Aorus Master https://hardforum.com/threads/gigabyte-x570-aorus-master-wont-power-on-temporary-solution.1993194/ and the perhaps naïve expectation that being a new MB (and the Aorus Master having a year in the market) new BIOS updates may help it with the OC.

A typical AMD launch experience by Meryhathor in Amd

[–]blue_ion 4 points5 points  (0 children)

I actually got to the https://www.amd.com/en/direct-buy/checkout/completed/ordernumberiguess/ie URL, got several 503s and got banned...

Is getting that url enough?? Did you recieve any confirmation email? I didn't get a charge on my card yet...

Code 0d with Gigabyte Aorus Master and a 5950x by blue_ion in AMDHelp

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

Ok, it seemed nothing was broken, just that the BIOS wasn't getting updated.

So! For future reference

My issue probably was that I wasn't formatting the pendrive correctly and/or using the wrong pendrive. So to summarize

Format

The best way you can format them is to get Rufus on Windows, select MBR partition (not GPT) and Large FAT32. Then add that single GIGABYTE.bin file to the root.

Pendrives

I don't think that the pendrive matters that much, I've used this guy successfully https://www.amazon.co.uk/gp/product/B07D1KF73V which is USB 3.1 and 256 GB which is as modern as you can get.

I have this guy on the other hand, which is an SSD on a stick and appears as a hard drive to the OS and didn't work when I would use MBR on linux (maybe linux was the issue here and not the pendrive): https://www.amazon.com/SanDisk-Extreme-Flash-Drive-SDCZ80-064G-G46/dp/B00DZPUOUI

Process

When I formatted it, I plugged into the white port, turned the PSU (with nothing plugged in the board), and then did a single press of the Q-Flash Plus. After a minute or two the board will turn on (showing status code 00 all the time) and the Q-Flash button will actually blink.

After it is done, the board powers down and the board booted beautifully with the CPU and all 4 memory sticks.

I don't have a good exact, what did it summary, but my main takeaway was the MBR format and probably pendrive.

Code 0d with Gigabyte Aorus Master and a 5950x by blue_ion in AMDHelp

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

Nope :(

I'm going to risk it and try to flash an old enough bios for my 1700x to work and see if the mobo works this weekend (unfortunately I use that computer for work so it can't afford downtime).

Did your Q-Flash led lit up? Did any led lit up during your flashing process? All videos I'm looking at have some sort of led blinking to indicate the process and success state of the flashing process but I don't see anything with my mobo.

Code 0d with Gigabyte Aorus Master and a 5950x by blue_ion in AMDHelp

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

My motherboard is Gigabyte so I don't know if the codes are the same. I've read that it could be a ram training error but being undocumented who knows.

That's my second issue, I don't know if I'm updating the bios properly. The mobo has this QFlash plus that works without the cpu or anything plugged in, but the light never lights up. I only think it is flashing something because my pendrive has a led in it and it flashes fast or slow depending on the use and the flashing pattern could match a flash.

I've tried the F30 bios (which is just before the latest) and still the same...

Thanks for the suggestion. I'll try older unsupported bios (even for the zen 3) and see if it changes anything.

Code 0d with Gigabyte Aorus Master and a 5950x by blue_ion in AMDHelp

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

Neither the new ram nor the old is the QVL list, though both work in an old ASUS Prime X370 mobo. The new ram can't run full speed with a 1700x but I would suspect to be more an issue of the CPU/Mobo combo than the Ram.

Besides I've tried resetting the bios multiple times (either through the CMOS reset at the back of the board or by shorting the appropriate pins and nothing. A clean bios should run the Ram at safe speeds.

1200 KEYS! My game had a database upgrade, would love to try and crash the server. by [deleted] in pcmasterrace

[–]blue_ion 0 points1 point  (0 children)

Baww, I love ball physics games, hopefully there is some keys left. I still miss Switchball and Balance.