Hi, i have just installed qemu but i crash when the windows setup starts. I’m following this guide by some ordinary gamers. I’ve given the VM 6/8GB and 8 of my 12 threads. Any help would be appreciated.
Thanks.
Hi, i have just installed qemu but i crash when the windows setup starts. I’m following this guide by some ordinary gamers. I’ve given the VM 6/8GB and 8 of my 12 threads. Any help would be appreciated.
Thanks.
Hello @pro0110
You can not expect that someone would watch a 45min video just for explanation. Summarize step by step what you have done.
Thanks.
this is what ive done from my basic understanding
enabled iommu
installed qemu libvirt edk2-ovmf virt-manager ebtables dnsmasq packages
enabled and started libvirtd.service and virtlogd.socket
started default network
vm settings:
chipset q35
firmware UEFI x86_64: /usr/share/edk2-ovmf/x64/OVMF_CODE.fd
cpu 1 socket, 4 cores, 2 threads
ram 6gb
enabled cd rom boot
no other settings were changed
after booting the vm, whole pc crashes
Have a look at this guide:
And then please post your system information. Thanks.
~ sudo inxi --admin --verbosity=7 --filter --no-host --width ✔
[sudo] password for billly:
System:
Kernel: 5.13.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
root=UUID=08285496-6e64-4925-bc1c-fc6dab36d749 rw quiet
cryptdevice=UUID=2f4041b2-f195-4632-b980-5dcd032197df:luks-2f4041b2-f195-4632-b980-5dcd032197df
root=/dev/mapper/luks-2f4041b2-f195-4632-b980-5dcd032197df apparmor=1
security=apparmor amd_iommu=on udev.log_priority=3
Console: tty pts/2 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux
base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
serial: <filter> UEFI: American Megatrends v: 4007 date: 12/08/2020
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 7.69 GiB used: 1.86 GiB (24.1%)
Array-1: capacity: 128 GiB slots: 4 EC: None max-module-size: 32 GiB
note: est.
Device-1: DIMM_A1 size: 8 GiB speed: 2133 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus-width: 64 bits
total: 64 bits manufacturer: Crucial Technology
part-no: CT8G4DFD8213.C16FBR2 serial: <filter>
Device-2: DIMM_A2 size: No Module Installed
Device-3: DIMM_B1 size: No Module Installed
Device-4: DIMM_B2 size: No Module Installed
CPU:
Info: 6-Core model: AMD Ryzen 5 2600X socket: AM4 bits: 64 type: MT MCP
arch: Zen+ family: 17 (23) model-id: 8 stepping: 2 microcode: 800820D cache:
L1: 576 KiB L2: 3 MiB L3: 16 MiB bogomips: 93460
Speed: 3868 MHz min/max: 2200/3900 MHz base/boost: 3900/4250 boost: disabled
volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 1: 3868 2: 1947 3: 2195
4: 2194 5: 1954 6: 2194 7: 2196 8: 2195 9: 3874 10: 1947 11: 1947 12: 2195
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca
mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl
npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb
perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36
rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme
smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce
topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: ASUSTeK driver: nouveau
v: kernel bus-ID: 08:00.0 chip-ID: 10de:1c81 class-ID: 0300
Display: server: X.Org 1.20.13 compositor: kwin_x11 driver:
loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 38
size: 1280x720mm (50.4x28.3") diag: 1469mm (57.8")
OpenGL: renderer: NV137 v: 4.3 Mesa 21.2.1 direct render: Yes
Audio:
Device-1: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 08:00.1 chip-ID: 10de:0fb9
class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 0a:00.3 chip-ID: 1022:1457 class-ID: 0403
Sound Server-1: ALSA v: k5.13.13-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.34 running: yes
Network:
Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
port: d000 bus-ID: 03:00.0 chip-ID: 8086:1539 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-2: Realtek RTL8192EE PCIe Wireless Network Adapter driver: rtl8192ee
v: kernel port: c000 bus-ID: 07:00.0 chip-ID: 10ec:818b class-ID: 0280
IF: wlp7s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: virbr0 state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
WAN IP: <filter>
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
Device-1: luks-2f4041b2-f195-4632-b980-5dcd032197df maj-min: 254:0
type: LUKS dm: dm-0 size: 232.59 GiB
Components:
p-1: sda2 maj-min: 8:2 size: 232.59 GiB
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 232.89 GiB used: 55.61 GiB (23.9%)
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD2500BVVT-28A26Y1 size: 232.89 GiB block-size: physical: 512 B
logical: 512 B sata: 2.6 speed: 3.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: 1A01 temp: 34 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 249d 5h cycles: 2634
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 232.59 GiB size: 227.88 GiB (97.98%)
used: 55.61 GiB (24.4%) fs: ext4 block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-2f4041b2-f195-4632-b980-5dcd032197df label: N/A
uuid: 08285496-6e64-4925-bc1c-fc6dab36d749
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 440 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
label: NO_LABEL uuid: D942-C738
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-1:2 info: Microdia USB DEVICE type: Keyboard,Mouse
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 400mA chip-ID: 0c45:6656 class-ID: 0301
Device-2: 1-5:3 info: Winbond ADXMK0419 type: Keyboard,Mouse
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s
power: 400mA chip-ID: 0416:a0f8 class-ID: 0301 serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 36.5 C mobo: N/A gpu: nouveau temp: 34.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 973
Info:
Processes: 316 Uptime: 6m wakeups: 0 Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 Packages: pacman: 1262 lib: 340 flatpak: 0
Shell: Zsh (sudo) v: 5.8 default: Bash v: 5.1.8 running-in: konsole
inxi: 3.3.06
You cannot passthrough a GPU which is in use. You need one GPU for Xorg and a second GPU for the VM. Only GPUs which can be used for xorg and multiple VMs are modern Intel GPUs.
im not even on the gpu pass through part, i havent even installed my os yet
Ah ok sorry…
So you gave it 6Gigs of your 8Gig memory and did not even consider to have swapfile/partition:
I guess it did not crash, but rather freeze because the host have less memory available and cannot swap.
alright, ill try with maybe 3gb instead and let u know
also i have no clue how to make swap
Also Luks encryption needs memory for decryption and will slow down the whole process.
seems to be working now, thanks!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.