Code: Select all
System: Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal Machine: Type: Desktop Mobo: Gigabyte model: H81-D3 serial: <filter> UEFI: American Megatrends v: F3 date: 01/20/2014 CPU: Topology: Quad Core model: Intel Core i5-4460 bits: 64 type: MCP arch: Haswell rev: 3 L2 cache: 6144 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 25542 Speed: 798 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 Graphics: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0412 Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: eVga.com. driver: nvidia v: 450.119.04 bus ID: 01:00.0 chip ID: 10de:1c82 Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 450.119.04 direct render: Yes Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 Device-3: NVIDIA GP107GL High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 Device-4: ASUSTek Xonar SoundCard type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 5-1:2 chip ID: 0b05:189d Sound Server: ALSA v: k5.4.0-74-generic Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel port: d000 bus ID: 04:00.0 chip ID: 10ec:8168 IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> IF-ID-1: docker0 state: down mac: <filter> IF-ID-2: virbr0 state: down mac: <filter> IF-ID-3: virbr0-nic state: down mac: <filter> Drives: Local Storage: total: 1.14 TiB used: 1.01 TiB (88.3%) ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB speed: 6.0 Gb/s serial: <filter> rev: 3B6Q scheme: GPT ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-00BN5A0 size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: GPT ID-3: /dev/sdc type: USB model: Wilk GOODRAM 8GB size: 7.21 GiB serial: <filter> rev: PMAP scheme: MBR Partition: ID-1: / size: 227.68 GiB used: 148.10 GiB (65.0%) fs: ext4 dev: /dev/sda2 Sensors: System Temperatures: cpu: 34.0 C mobo: 29.8 C gpu: nvidia temp: 40 C Fan Speeds (RPM): cpu: 1771 fan-2: 637 fan-3: 606 fan-4: 0 fan-5: 0 gpu: nvidia fan: 30% Voltages: 12v: N/A 5v: N/A 3.3v: N/A vbat: 3.12 Repos: No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-focal.list 1: deb http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu focal main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main 2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse 3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse 4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse 5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 6: deb http://archive.canonical.com/ubuntu/ focal partner Active apt repos in: /etc/apt/sources.list.d/openshot_developers-ppa-focal.list 1: deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu focal main Info: Processes: 260 Uptime: 8m Memory: 7.73 GiB used: 1.41 GiB (18.3%) Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 clang: 10.0.0-4ubuntu1 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
The passthrough is working just fine, but I am having some serious performance issues. For one, I noticed that when I open images, they often take a long time to open, or if I have one open already and want to load a different one with arrow keys, Windows' Photos program will often freeze for several seconds. They're not big images or anything, not even FullHD, nor are they special. Just regular ol' PNGs and JPGs.
More importantly though, the games (which are the sole reason for the VM's existence) have some trouble running smoothly. They're not demanding titles, they're simple and old games that could run on an XP box from 15 years ago. The framerate is just fine most of the time, no trouble hitting the upper limit of 60 FPS, but they often have significant performance drops that are not related to anything in the games, they're just random. You can see the problem in this little clip: https://peertube.linuxrocks.online/vide ... 5791fe28b9 (Warning: I think the clip accidentally turned out quite loud, so lower your volume in advance. Not like the background music matters, anyway).
The FPS isn't perfectly stable, but I'll assume that's just because I was also recording it. But that huge dip halfway through has nothing to do with recording, I'm sure, because it happens even if I don't record. It also cannot be my hardware struggling to keep up, because it was not caused by anything special happening in the game, and... like, come on, the game's from 2002, surely two cores, 4GB of RAM and a GTX 1050Ti is enough to run that?
To try and get more data, I made another virtual machine, with pretty much an identical setup as the Windows one (same script, same devices connected, same resource allocation, etc.), except this time it was running Artix Linux instead of Windows. Running the same game inside that VM with Wine produced perfectly smooth and stable 60 FPS that never dips or staggers.
Any idea what is it about Windows that might be causing this?