Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Floating point exception because of display settings #1465

Open
1 task done
VINTX2 opened this issue Sep 27, 2024 · 0 comments
Open
1 task done

bug: Floating point exception because of display settings #1465

VINTX2 opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@VINTX2
Copy link

VINTX2 commented Sep 27, 2024

I confirm this bug has not already been reported

  • I have searched the issues and this bug has not been reported previously

Describe the bug
Quickemu creates a script with the following three lines, which produce a floating point exception when I try to boot the VM.
The crash happens a few seconds after selecting a boot menu entry.

    -vga none \
    -device virtio-vga-gl,xres=1280,yres=800 \
    -display sdl,gl=on \

If I replace these lines with this, the problem is gone.

-vga std \
-display gtk \

To Reproduce
Steps to reproduce the behavior:

  1. Download any OS with quickget.
  2. Try to run the .sh file, which is inside the VM location.

Expected behavior
I expected qemu to boot and run the OS.

Quickemu output
Quickemu does not output an error message, but the qemu bash script does:

qemu output
$ ./fedora-40-Mate/fedora-40-Mate.sh                                                                                                                                                                                                     
./fedora-40-Mate/fedora-40-Mate.sh: line 46: 18683 Floating point exception(core dumped) /usr/bin/qemu-system-x86_64 -name fedora-40-Mate,process=fedora-40-Mate -machine q35,smm=off,vmport=off,accel=kvm -global kvm-pit.lost_tick_policy=discard -cpu host -smp cores=2,threads=2,sockets=1 -m 8G -device virtio-balloon -rtc base=localtime,clock=host,driftfix=slew -pidfile fedora-40-Mate/fedora-40-Mate.pid -vga none -device virtio-vga-gl,xres=1280,yres=800 -display sdl,gl=on -device virtio-rng-pci,rng=rng0 -object rng-random,id=rng0,filename=/dev/urandom -device qemu-xhci,id=spicepass -chardev spicevmc,id=usbredirchardev1,name=usbredir -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 -chardev spicevmc,id=usbredirchardev2,name=usbredir -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 -chardev spicevmc,id=usbredirchardev3,name=usbredir -device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 -device pci-ohci,id=smartpass -device usb-ccid -chardev spicevmc,id=ccid,name=smartcard -device ccid-card-passthru,chardev=ccid -device usb-ehci,id=input -device usb-kbd,bus=input.0 -k en-us -device usb-tablet,bus=input.0 -audiodev pa,id=audio0 -device intel-hda -device hda-micro,audiodev=audio0 -device virtio-net,netdev=nic -netdev user,hostname=fedora-40-Mate,hostfwd=tcp::22220-:22,id=nic -global driver=cfi.pflash01,property=secure,value=on -drive if=pflash,format=raw,unit=0,file=/usr/share/edk2-ovmf/x64/OVMF_CODE.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=fedora-40-Mate/OVMF_VARS.fd -drive media=cdrom,index=0,file=fedora-40-Mate/Fedora-MATE_Compiz-Live-x86_64-40-1.14.iso -device virtio-blk-pci,drive=SystemDisk -drive id=SystemDisk,if=none,format=qcow2,file=fedora-40-Mate/disk.qcow2 -fsdev local,id=fsdev0,path=/home/user/Öffentlich,security_model=mapped-xattr -device virtio-9p-pci,fsdev=fsdev0,mount_tag=Public-user -monitor unix:fedora-40-Mate/fedora-40-Mate-monitor.socket,server,nowait -serial unix:fedora-40-Mate/fedora-40-Mate-serial.socket,server,nowait 2> /dev/null

System information

Quickreport output
----------------------------------
      Quickemu 4.9.6
----------------------------------
Distro:	Arch Linux
Kernel:	Linux 6.10.10-arch1-1 x86_64
Memory:	16G
GPU:
- Intel Corporation UHD Graphics 620 (rev 07)
----------------------------------
          curl 8.10.1
----------------------------------
Libraries: libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.63.0 nghttp3/1.5.0
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features:  alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
----------------------------------
          QEMU 9.1.0
----------------------------------
Available CPUs:
486                   (alias configured by machine type)
486-v1                
Broadwell             (alias configured by machine type)
Broadwell-IBRS        (alias of Broadwell-v3)
Broadwell-noTSX       (alias of Broadwell-v2)
Broadwell-noTSX-IBRS  (alias of Broadwell-v4)
Broadwell-v1          Intel Core Processor (Broadwell)
Broadwell-v2          Intel Core Processor (Broadwell, no TSX)
Broadwell-v3          Intel Core Processor (Broadwell, IBRS)
Broadwell-v4          Intel Core Processor (Broadwell, no TSX, IBRS)
Cascadelake-Server    (alias configured by machine type)
Cascadelake-Server-noTSX  (alias of Cascadelake-Server-v3)
Cascadelake-Server-v1  Intel Xeon Processor (Cascadelake)
Cascadelake-Server-v2  Intel Xeon Processor (Cascadelake) [ARCH_CAPABILITIES]
Cascadelake-Server-v3  Intel Xeon Processor (Cascadelake) [ARCH_CAPABILITIES, no TSX]
Cascadelake-Server-v4  Intel Xeon Processor (Cascadelake) [ARCH_CAPABILITIES, no TSX]
Cascadelake-Server-v5  Intel Xeon Processor (Cascadelake) [ARCH_CAPABILITIES, EPT switching, XSAVES, no TSX]
Conroe                (alias configured by machine type)
Conroe-v1             Intel Celeron_4x0 (Conroe/Merom Class Core 2)
Cooperlake            (alias configured by machine type)
Cooperlake-v1         Intel Xeon Processor (Cooperlake)
Cooperlake-v2         Intel Xeon Processor (Cooperlake) [XSAVES]
Denverton             (alias configured by machine type)
Denverton-v1          Intel Atom Processor (Denverton)
Denverton-v2          Intel Atom Processor (Denverton) [no MPX, no MONITOR]
Denverton-v3          Intel Atom Processor (Denverton) [XSAVES, no MPX, no MONITOR]
Dhyana                (alias configured by machine type)
Dhyana-v1             Hygon Dhyana Processor
Dhyana-v2             Hygon Dhyana Processor [XSAVES]
EPYC                  (alias configured by machine type)
EPYC-Genoa            (alias configured by machine type)
EPYC-Genoa-v1         AMD EPYC-Genoa Processor
EPYC-IBPB             (alias of EPYC-v2)
EPYC-Milan            (alias configured by machine type)
EPYC-Milan-v1         AMD EPYC-Milan Processor
EPYC-Milan-v2         AMD EPYC-Milan-v2 Processor
EPYC-Rome             (alias configured by machine type)
EPYC-Rome-v1          AMD EPYC-Rome Processor
EPYC-Rome-v2          AMD EPYC-Rome Processor
EPYC-Rome-v3          AMD EPYC-Rome-v3 Processor
EPYC-Rome-v4          AMD EPYC-Rome-v4 Processor (no XSAVES)
EPYC-v1               AMD EPYC Processor
EPYC-v2               AMD EPYC Processor (with IBPB)
EPYC-v3               AMD EPYC Processor
EPYC-v4               AMD EPYC-v4 Processor
GraniteRapids         (alias configured by machine type)
GraniteRapids-v1      Intel Xeon Processor (GraniteRapids)
Haswell               (alias configured by machine type)
Haswell-IBRS          (alias of Haswell-v3)
Haswell-noTSX         (alias of Haswell-v2)
Haswell-noTSX-IBRS    (alias of Haswell-v4)
Haswell-v1            Intel Core Processor (Haswell)
Haswell-v2            Intel Core Processor (Haswell, no TSX)
Haswell-v3            Intel Core Processor (Haswell, IBRS)
Haswell-v4            Intel Core Processor (Haswell, no TSX, IBRS)
Icelake-Server        (alias configured by machine type)
Icelake-Server-noTSX  (alias of Icelake-Server-v2)
Icelake-Server-v1     Intel Xeon Processor (Icelake)
Icelake-Server-v2     Intel Xeon Processor (Icelake) [no TSX]
Icelake-Server-v3     Intel Xeon Processor (Icelake)
Icelake-Server-v4     Intel Xeon Processor (Icelake)
Icelake-Server-v5     Intel Xeon Processor (Icelake) [XSAVES]
Icelake-Server-v6     Intel Xeon Processor (Icelake) [5-level EPT]
Icelake-Server-v7     Intel Xeon Processor (Icelake) [TSX, taa-no]
IvyBridge             (alias configured by machine type)
IvyBridge-IBRS        (alias of IvyBridge-v2)
IvyBridge-v1          Intel Xeon E3-12xx v2 (Ivy Bridge)
IvyBridge-v2          Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
KnightsMill           (alias configured by machine type)
KnightsMill-v1        Intel Xeon Phi Processor (Knights Mill)
Nehalem               (alias configured by machine type)
Nehalem-IBRS          (alias of Nehalem-v2)
Nehalem-v1            Intel Core i7 9xx (Nehalem Class Core i7)
Nehalem-v2            Intel Core i7 9xx (Nehalem Core i7, IBRS update)
Opteron_G1            (alias configured by machine type)
Opteron_G1-v1         AMD Opteron 240 (Gen 1 Class Opteron)
Opteron_G2            (alias configured by machine type)
Opteron_G2-v1         AMD Opteron 22xx (Gen 2 Class Opteron)
Opteron_G3            (alias configured by machine type)
Opteron_G3-v1         AMD Opteron 23xx (Gen 3 Class Opteron)
Opteron_G4            (alias configured by machine type)
Opteron_G4-v1         AMD Opteron 62xx class CPU
Opteron_G5            (alias configured by machine type)
Opteron_G5-v1         AMD Opteron 63xx class CPU
Penryn                (alias configured by machine type)
Penryn-v1             Intel Core 2 Duo P9xxx (Penryn Class Core 2)
SandyBridge           (alias configured by machine type)
SandyBridge-IBRS      (alias of SandyBridge-v2)
SandyBridge-v1        Intel Xeon E312xx (Sandy Bridge)
SandyBridge-v2        Intel Xeon E312xx (Sandy Bridge, IBRS update)
SapphireRapids        (alias configured by machine type)
SapphireRapids-v1     Intel Xeon Processor (SapphireRapids)
SapphireRapids-v2     Intel Xeon Processor (SapphireRapids)
SapphireRapids-v3     Intel Xeon Processor (SapphireRapids)
SierraForest          (alias configured by machine type)
SierraForest-v1       Intel Xeon Processor (SierraForest)
Skylake-Client        (alias configured by machine type)
Skylake-Client-IBRS   (alias of Skylake-Client-v2)
Skylake-Client-noTSX-IBRS  (alias of Skylake-Client-v3)
Skylake-Client-v1     Intel Core Processor (Skylake)
Skylake-Client-v2     Intel Core Processor (Skylake, IBRS)
Skylake-Client-v3     Intel Core Processor (Skylake, IBRS, no TSX)
Skylake-Client-v4     Intel Core Processor (Skylake, IBRS, no TSX) [IBRS, XSAVES, no TSX]
Skylake-Server        (alias configured by machine type)
Skylake-Server-IBRS   (alias of Skylake-Server-v2)
Skylake-Server-noTSX-IBRS  (alias of Skylake-Server-v3)
Skylake-Server-v1     Intel Xeon Processor (Skylake)
Skylake-Server-v2     Intel Xeon Processor (Skylake, IBRS)
Skylake-Server-v3     Intel Xeon Processor (Skylake, IBRS, no TSX)
Skylake-Server-v4     Intel Xeon Processor (Skylake, IBRS, no TSX)
Skylake-Server-v5     Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS, XSAVES, EPT switching, no TSX]
Snowridge             (alias configured by machine type)
Snowridge-v1          Intel Atom Processor (SnowRidge)
Snowridge-v2          Intel Atom Processor (Snowridge, no MPX)
Snowridge-v3          Intel Atom Processor (Snowridge, no MPX) [XSAVES, no MPX]
Snowridge-v4          Intel Atom Processor (Snowridge, no MPX) [no split lock detect, no core-capability]
Westmere              (alias configured by machine type)
Westmere-IBRS         (alias of Westmere-v2)
Westmere-v1           Westmere E56xx/L56xx/X56xx (Nehalem-C)
Westmere-v2           Westmere E56xx/L56xx/X56xx (IBRS update)
athlon                (alias configured by machine type)
athlon-v1             QEMU Virtual CPU version 2.5+
core2duo              (alias configured by machine type)
core2duo-v1           Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
coreduo               (alias configured by machine type)
coreduo-v1            Genuine Intel(R) CPU           T2600  @ 2.16GHz
kvm32                 (alias configured by machine type)
kvm32-v1              Common 32-bit KVM processor
kvm64                 (alias configured by machine type)
kvm64-v1              Common KVM processor
n270                  (alias configured by machine type)
n270-v1               Intel(R) Atom(TM) CPU N270   @ 1.60GHz
pentium               (alias configured by machine type)
pentium-v1            
pentium2              (alias configured by machine type)
pentium2-v1           
pentium3              (alias configured by machine type)
pentium3-v1           
phenom                (alias configured by machine type)
phenom-v1             AMD Phenom(tm) 9550 Quad-Core Processor
qemu32                (alias configured by machine type)
qemu32-v1             QEMU Virtual CPU version 2.5+
qemu64                (alias configured by machine type)
qemu64-v1             QEMU Virtual CPU version 2.5+
base                  base CPU model type with no features enabled
host                  processor with all supported host features 
max                   Enables all features supported by the accelerator in the current host

Recognized CPUID flags:
3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb
amd-psfd amd-ssbd amd-stibp amx-bf16 amx-complex amx-fp16 amx-int8
amx-tile apic arat arch-capabilities arch-lbr auto-ibrs avic avx avx-ifma
avx-ne-convert avx-vnni avx-vnni-int16 avx-vnni-int8 avx2 avx512-4fmaps
avx512-4vnniw avx512-bf16 avx512-fp16 avx512-vp2intersect
avx512-vpopcntdq avx512bitalg avx512bw avx512cd avx512dq avx512er avx512f
avx512ifma avx512pf avx512vbmi avx512vbmi2 avx512vl avx512vnni bmi1 bmi2
bus-lock-detect cid cldemote clflush clflushopt clwb clzero cmov
cmp-legacy cmpccxadd core-capability cr8legacy cx16 cx8 dca de
decodeassists ds ds-cpl dtes64 erms est extapic f16c fb-clear fbsdp-no
flush-l1d flushbyasid fma fma4 fpu fred fsgsbase fsrc fsrm fsrs
full-width-write fxsr fxsr-opt fzrm gds-no gfni hle ht hypervisor ia64
ibpb ibrs ibrs-all ibs intel-pt intel-pt-lip invpcid invtsc kvm-asyncpf
kvm-asyncpf-int kvm-asyncpf-vmexit kvm-hint-dedicated kvm-mmu
kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi
kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock
kvmclock kvmclock-stable-bit la57 lahf-lm lam lbrv
lfence-always-serializing lkgs lm lwp mca mcdt-no mce md-clear mds-no
misalignsse mmx mmxext monitor movbe movdir64b movdiri mpx msr mtrr
no-nested-data-bp nodeid-msr npt nrip-save null-sel-clr-base nx osvw
overflow-recov pae pat pause-filter pbe pbrsb-no pcid pclmulqdq pcommit
pdcm pdpe1gb perfctr-core perfctr-nb pfthreshold pge phe phe-en pks pku
pmm pmm-en pn pni popcnt prefetchiti pschange-mc-no psdp-no pse pse36
rdctl-no rdpid rdrand rdseed rdtscp rfds-clear rfds-no rsba rtm
sbdr-ssdp-no sep serialize sgx sgx-aex-notify sgx-debug sgx-edeccssa
sgx-exinfo sgx-kss sgx-mode64 sgx-provisionkey sgx-tokenkey sgx1 sgx2
sgxlc sha-ni skinit skip-l1dfl-vmentry smap smep smx spec-ctrl
split-lock-detect ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a ssse3 stibp
stibp-always-on succor svm svm-lock svme-addr-chk syscall taa-no tbm tce
tm tm2 topoext tsc tsc-adjust tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk
umip v-vmsave-vmload vaes vgif virt-ssbd vmcb-clean vme vmx
vmx-activity-hlt vmx-activity-shutdown vmx-activity-wait-sipi
vmx-any-errcode vmx-apicv-register vmx-apicv-vid vmx-apicv-x2apic
vmx-apicv-xapic vmx-cr3-load-noexit vmx-cr3-store-noexit
vmx-cr8-load-exit vmx-cr8-store-exit vmx-desc-exit
vmx-enable-user-wait-pause vmx-encls-exit vmx-entry-ia32e-mode
vmx-entry-load-bndcfgs vmx-entry-load-efer vmx-entry-load-pat
vmx-entry-load-perf-global-ctrl vmx-entry-load-pkrs
vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl vmx-ept vmx-ept-1gb
vmx-ept-2mb vmx-ept-advanced-exitinfo vmx-ept-execonly vmx-eptad
vmx-eptp-switching vmx-exit-ack-intr vmx-exit-clear-bndcfgs
vmx-exit-clear-rtit-ctl vmx-exit-load-efer vmx-exit-load-pat
vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs
vmx-exit-nosave-debugctl vmx-exit-save-efer vmx-exit-save-pat
vmx-exit-save-preemption-timer vmx-flexpriority vmx-hlt-exit vmx-ins-outs
vmx-intr-exit vmx-invept vmx-invept-all-context vmx-invept-single-context
vmx-invept-single-context vmx-invept-single-context-noglobals
vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context
vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-monitor-exit
vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit vmx-nested-exception
vmx-nmi-exit vmx-page-walk-4 vmx-page-walk-5 vmx-pause-exit vmx-ple
vmx-pml vmx-posted-intr vmx-preemption-timer vmx-rdpmc-exit
vmx-rdrand-exit vmx-rdseed-exit vmx-rdtsc-exit vmx-rdtscp-exit
vmx-secondary-ctls vmx-shadow-vmcs vmx-store-lma vmx-true-ctls
vmx-tsc-offset vmx-tsc-scaling vmx-unrestricted-guest vmx-vintr-pending
vmx-vmfunc vmx-vmwrite-vmexit-fields vmx-vnmi vmx-vnmi-pending vmx-vpid
vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject vnmi vpclmulqdq waitpkg
wbnoinvd wdt wrmsrns x2apic xcrypt xcrypt-en xfd xgetbv1 xop xsave xsavec
xsaveerptr xsaveopt xsaves xstore xstore-en xtpr

----------------------------------
             CPU
----------------------------------
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        39 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               8
On-line CPU(s) list:                  0-7
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
CPU family:                           6
Model:                                142
Thread(s) per core:                   2
Core(s) per socket:                   4
Socket(s):                            1
Stepping:                             10
CPU(s) scaling MHz:                   83%
CPU max MHz:                          4200,0000
CPU min MHz:                          400,0000
BogoMIPS:                             4201,88
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities
Virtualization:                       VT-x
L1d cache:                            128 KiB (4 instances)
L1i cache:                            128 KiB (4 instances)
L2 cache:                             1 MiB (4 instances)
L3 cache:                             8 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-7
Vulnerability Gather data sampling:   Mitigation; Microcode
Vulnerability Itlb multihit:          KVM: Mitigation: VMX disabled
Vulnerability L1tf:                   Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:                    Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown:               Mitigation; PTI
Vulnerability Mmio stale data:        Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Mitigation; IBRS
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; IBRS; IBPB conditional; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Mitigation; Microcode
Vulnerability Tsx async abort:        Mitigation; TSX disabled

Thank you!

@lj3954 lj3954 added the bug Something isn't working label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants