kvm-guest-drivers-windows icon indicating copy to clipboard operation
kvm-guest-drivers-windows copied to clipboard

Deltarune crashes VirtIO-FS service at start

Open viktor-prutyanov opened this issue 3 years ago • 16 comments

Please give examples of "some other programs"

I have Deltarune, which is probably the only game i have on the shared that i can run on the vm at the moment but i could attempt to install notepad++ to the shared folder and check that as well. but when i ran deltarune there wasnt any obvious error code it just exited out and the service died the same as before.

Originally posted by @GrandtheUK in https://github.com/virtio-win/kvm-guest-drivers-windows/issues/723#issuecomment-1022304628

viktor-prutyanov avatar Jan 26 '22 15:01 viktor-prutyanov

I've reproduced it with virtio-win at https://github.com/virtio-win/kvm-guest-drivers-windows/commit/5fcd9ea620559e440ba4841b3a190fa6f9a22f15, QEMU 6.2.0 and DELTARUNE Demo 1.0.7.0 (from Steam) installed on VirtIO-FS. The service died.

viktor-prutyanov avatar Jan 26 '22 15:01 viktor-prutyanov

installing notepad++ to the virtio-fs had a few errors during the install but running it works just fine. so i'm not entirely sure whats going on.

GrandtheUK avatar Jan 26 '22 16:01 GrandtheUK

I got the following in event viewer on one of the times that the service died if it is useful Screenshot_20220127_200014

GrandtheUK avatar Jan 28 '22 00:01 GrandtheUK

I have created a VM and placed the SteamLibrary folder on the VirtIO-FS drive. Upon attempting to install software from Steam to the VirtIO-FS drive immediately Steam throws "drive write error". I have also noticed attempting to copy or modify large files also results in failures such as the file becoming unreadable with a file named "?????" and/or the virtiofs.exe Windows guest service crashing.

arthurrasmusson avatar Jan 28 '22 21:01 arthurrasmusson

I have created a VM and placed the SteamLibrary folder on the VirtIO-FS drive. Upon attempting to install software from Steam to the VirtIO-FS drive immediately Steam throws "drive write error". I have also noticed attempting to copy or modify large files also results in failures such as the file becoming unreadable with a file named "?????" and/or the virtiofs.exe Windows guest service crashing.

There is an internal bug that virtiofs.exe quit while doing iozone test, seems they are the same. iozone.exe -az -g 1g -y 32k -i 0 -i 1 -f Z:\zzz -b C:\yyy @viktor-prutyanov bz number is 2024518 ,could you have a check? Thank you.

xiagao avatar Jan 29 '22 02:01 xiagao

@xiagao if I wanted to build kvm-guest-drivers-windows from source to get the most recent fixes is there any recent commits related to this issue worth trying?

arthurrasmusson avatar Jan 30 '22 17:01 arthurrasmusson

Hello All,

Please help us understanding you use cases for using virtio-fs, and thus make us virtio-fs support better. Please participate in the discussion and add your use cases: https://github.com/virtio-win/kvm-guest-drivers-windows/discussions/726

Thanks a lot, Yan.

YanVugenfirer avatar Jan 31 '22 12:01 YanVugenfirer

@xiagao if I wanted to build kvm-guest-drivers-windows from source to get the most recent fixes is there any recent commits related to this issue worth trying?

Sorry,this issue isn't resolved by now.:(

xiagao avatar Feb 06 '22 12:02 xiagao

@xiagao It's okay. If there's something I can do to help let me know.

arthurrasmusson avatar Feb 08 '22 16:02 arthurrasmusson

@YanVugenfirer TL;DR: LibVF.IO is working on trying to get shared filesystem between host and guest working for WINE-like functionality in a GPU accelerated VM.

arthurrasmusson avatar Feb 08 '22 16:02 arthurrasmusson

Might be related: after the video type was changed (once!) to VirtIO/OpenGL-enabled Spice, virtiofs.exe keeps crashing on transfers. Windows file dialogue shows error 0x800703E3:

image

Reverting back to QXL does not help.

savchenko avatar Apr 19 '22 06:04 savchenko

@savchenko By any chance is the crash dump for the process created?

YanVugenfirer avatar Apr 19 '22 06:04 YanVugenfirer

@YanVugenfirer , VM in question is destroyed, but I'll try to reproduce and provide some additional information.

savchenko avatar Apr 19 '22 07:04 savchenko

@savchenko Thanks a lot!

YanVugenfirer avatar Apr 19 '22 07:04 YanVugenfirer

@savchenko BTW: I suggest to open a new issues with a description of a problem as it is a different from the original one.

YanVugenfirer avatar Apr 19 '22 07:04 YanVugenfirer

@YanVugenfirer turns out it has nothing to do with GPU. I was able to reproduce it reliably, details are in the https://github.com/virtio-win/kvm-guest-drivers-windows/issues/760

savchenko avatar Apr 20 '22 03:04 savchenko