Loongson 3A6000 using Box64 to run CPU-Z only support to SSE4.2 and crashed on the latest wine I had been running CPU-Z on Loongson 3A6000 using Box64, but stucked and displayed those errors on this: ``` gamma@gamma-pc [ ~ ] $ box64 /usr/bin/wine64 /run/media/gamma/DiskC/Users/gamma(x)/Desktop/cpuz/cpuz_x64.exe Dynarec for LoongArch with extension LSX LASX LBT_X86 LAM_BH LAMCAS SCQ PageSize:4096 Running on Loongson-3A6000-HV with 8 Cores Will use time-based emulation for rdtsc, even if hardware counter are available Will use Software counter measured at 1.0 GHz emulating 2.0 GHz Params database has 14 entries Box64 with Dynarec v0.3.1 built on Nov 28 2024 12:07:08 BOX64: Wine64 detected, WINEPRELOADRESERVE="" BOX64: Didn't detect 48bits of address space, considering it's 39bits WINE prereserve of 0x10000:0x8000 done WINE prereserve of 0x110000:0x30000000 done WINE prereserve of 0x7f000000:0x3000000 done BOX64: Detected running wine with "cpuz_x64.exe" Warning, older then 2.34 pthread_kill not found, using current one Counted 87 Env var BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/gamma/nvm-0.39.1/versions/node/v23.0.0/bin/:/home/gamma/.local/bin/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/bin/:/sbin/:/usr/bin/site_perl/:/usr/lib/perl5/site_perl/bin/:/usr/bin/vendor_perl/:/usr/lib/perl5/vendor_perl/bin/:/usr/bin/core_perl/:/usr/lib/perl5/core_perl/bin/ Looking for /usr/bin/wine64 argv[1]="/run/media/gamma/DiskC/Users/gamma(x)/Desktop/cpuz/cpuz_x64.exe" Rename process to "wine64" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) libresolv.so.2 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 Using emulated /usr/bin/../lib/wine64/wine/x86_64-unix/ntdll.so Using emulated /lib/x86_64-linux-gnu/libunwind.so.8 Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) liblzma.so.5 Using native(wrapped) libz.so.1 Dynarec for LoongArch with extension LSX LASX LBT_X86 LAM_BH LAMCAS SCQ PageSize:4096 Running on Loongson-3A6000-HV with 8 Cores Will use time-based emulation for rdtsc, even if hardware counter are available Will use Software counter measured at 1.0 GHz emulating 2.0 GHz Params database has 14 entries Box64 with Dynarec v0.3.1 built on Nov 28 2024 12:07:08 BOX64: Wine64 detected, WINEPRELOADRESERVE="" BOX64: Didn't detect 48bits of address space, considering it's 39bits WINE prereserve of 0x10000:0x8000 done WINE prereserve of 0x110000:0x30000000 done WINE prereserve of 0x7f000000:0x3000000 done BOX64: Detected running wine with "cpuz_x64.exe" Warning, older then 2.34 pthread_kill not found, using current one Counted 89 Env var BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/gamma/nvm-0.39.1/versions/node/v23.0.0/bin/:/home/gamma/.local/bin/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/bin/:/sbin/:/usr/bin/site_perl/:/usr/lib/perl5/site_perl/bin/:/usr/bin/vendor_perl/:/usr/lib/perl5/vendor_perl/bin/:/usr/bin/core_perl/:/usr/lib/perl5/core_perl/bin/ Looking for /usr/bin/wine64 argv[1]="/run/media/gamma/DiskC/Users/gamma(x)/Desktop/cpuz/cpuz_x64.exe" Rename process to "wine64" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) libresolv.so.2 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 Using emulated /usr/bin/../lib/wine64/wine/x86_64-unix/ntdll.so Using emulated /lib/x86_64-linux-gnu/libunwind.so.8 Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) liblzma.so.5 Using native(wrapped) libz.so.1 016c:err:seh:install_bpf Native libs are being loaded in low addresses, sc_seccomp 0x3f00045ec0, syscall 0x301304e0, not installing seccomp. 016c:err:seh:install_bpf The known reasons are /proc/sys/vm/legacy_va_layout set to 1 or 'ulimit -s' being 'unlimited'. Using emulated /usr/lib/wine64/wine/x86_64-unix/win32u.so Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libexpat.so.1 Dynarec for LoongArch with extension LSX LASX LBT_X86 LAM_BH LAMCAS SCQ PageSize:4096 Running on Loongson-3A6000-HV with 8 Cores Will use time-based emulation for rdtsc, even if hardware counter are available Will use Software counter measured at 1.0 GHz emulating 2.0 GHz Params database has 14 entries Box64 with Dynarec v0.3.1 built on Nov 28 2024 12:07:08 BOX64: Wine64 detected, WINEPRELOADRESERVE="140000000-140021000" BOX64: Didn't detect 48bits of address space, considering it's 39bits WINE prereserve of 0x10000:0x8000 done WINE prereserve of 0x110000:0x30000000 done WINE prereserve of 0x7f000000:0x3000000 done WINE prereserve of 0x140000000:0x140021000 done BOX64: Detected running wine with "explorer.exe" Warning, older then 2.34 pthread_kill not found, using current one Counted 91 Env var BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/gamma/nvm-0.39.1/versions/node/v23.0.0/bin/:/home/gamma/.local/bin/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/bin/:/sbin/:/usr/bin/site_perl/:/usr/lib/perl5/site_perl/bin/:/usr/bin/vendor_perl/:/usr/lib/perl5/vendor_perl/bin/:/usr/bin/core_perl/:/usr/lib/perl5/core_perl/bin/ Looking for /usr/bin/wine64 argv[1]="C:\windows\system32\explorer.exe" argv[2]="/desktop" Rename process to "wine64" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) libresolv.so.2 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 Using emulated /usr/bin/../lib/wine64/wine/x86_64-unix/ntdll.so Using emulated /lib/x86_64-linux-gnu/libunwind.so.8 Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) liblzma.so.5 Using native(wrapped) libz.so.1 0174:err:seh:install_bpf Native libs are being loaded in low addresses, sc_seccomp 0x3f00045ec0, syscall 0x301304e0, not installing seccomp. 0174:err:seh:install_bpf The known reasons are /proc/sys/vm/legacy_va_layout set to 1 or 'ulimit -s' being 'unlimited'. Using emulated /usr/lib/wine64/wine/x86_64-unix/win32u.so Using native(wrapped) libfreetype.so.6 Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libexpat.so.1 Using emulated /usr/lib/wine64/wine/x86_64-unix/winex11.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXfixes.so.3 Using emulated /usr/lib/wine64/wine/x86_64-unix/winex11.so Using native(wrapped) libXext.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXcomposite.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXfixes.so.3 Using emulated /usr/lib/wine64/wine/x86_64-unix/winspool.so Using native(wrapped) libcups.so.2 Using emulated /usr/lib/wine64/wine/x86_64-unix/ws2_32.so 016c:fixme:shell:InitNetworkAddressControl stub Using emulated /usr/lib/wine64/wine/x86_64-unix/secur32.so Using native(wrapped) libgnutls.so.30 Using emulated /usr/lib/wine64/wine/x86_64-unix/kerberos.so Using native(wrapped) libkrb5.so.3 Using native(wrapped) libgssapi_krb5.so.2 Using emulated /usr/lib/wine64/wine/x86_64-unix/dnsapi.so Using emulated /usr/lib/wine64/wine/x86_64-unix/netapi32.so Using emulated /usr/lib/wine64/wine/x86_64-unix/msv1_0.so posix_spawnp(0x10020f6e4, "ntlm_auth", 0x10020f630, (nil), 0x10020f6c0, 0x7f66897fef90), IsX86=0 / fullpath="/usr/bin/ntlm_auth" posix_spawnp(0x10020f6e4, "ntlm_auth", 0x10020f630, (nil), 0x10020f6c0, 0x7f66897fef90), IsX86=0 / fullpath="/usr/bin/ntlm_auth" Using emulated /usr/lib/wine64/wine/x86_64-unix/bcrypt.so Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30 Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30 Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30 Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30 Using emulated /usr/lib/wine64/wine/x86_64-unix/crypt32.so Dynarec for LoongArch with extension LSX LASX LBT_X86 LAM_BH LAMCAS SCQ PageSize:4096 Running on Loongson-3A6000-HV with 8 Cores Will use time-based emulation for rdtsc, even if hardware counter are available Will use Software counter measured at 1.0 GHz emulating 2.0 GHz Params database has 14 entries Box64 with Dynarec v0.3.1 built on Nov 28 2024 12:07:08 BOX64: Wine64 detected, WINEPRELOADRESERVE="140000000-140008000" BOX64: Didn't detect 48bits of address space, considering it's 39bits WINE prereserve of 0x10000:0x8000 done WINE prereserve of 0x110000:0x30000000 done WINE prereserve of 0x7f000000:0x3000000 done WINE prereserve of 0x140000000:0x140008000 done BOX64: Detected running wine with "winedevice.exe" Warning, older then 2.34 pthread_kill not found, using current one Counted 91 Env var BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/gamma/nvm-0.39.1/versions/node/v23.0.0/bin/:/home/gamma/.local/bin/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/bin/:/sbin/:/usr/bin/site_perl/:/usr/lib/perl5/site_perl/bin/:/usr/bin/vendor_perl/:/usr/lib/perl5/vendor_perl/bin/:/usr/bin/core_perl/:/usr/lib/perl5/core_perl/bin/ Looking for /usr/bin/wine64 argv[1]="C:\windows\system32\winedevice.exe" Rename process to "wine64" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) libresolv.so.2 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 Using emulated /usr/bin/../lib/wine64/wine/x86_64-unix/ntdll.so Using emulated /lib/x86_64-linux-gnu/libunwind.so.8 Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) liblzma.so.5 Using native(wrapped) libz.so.1 019c:err:seh:install_bpf Native libs are being loaded in low addresses, sc_seccomp 0x3f00045ec0, syscall 0x301304e0, not installing seccomp. 019c:err:seh:install_bpf The known reasons are /proc/sys/vm/legacy_va_layout set to 1 or 'ulimit -s' being 'unlimited'. 01ac:fixme:ntoskrnl:SeSinglePrivilegeCheck stub: 000000000000000a 1 Using emulated /usr/lib/wine64/wine/x86_64-unix/opengl32.so 016c:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0. 016c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 016c:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30 016c:fixme:wbemprox:enum_class_object_Next timeout not supported Using native(wrapped) libvulkan.so.1 Using native(wrapped) libGL.so.1 amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-25) amdgpu: amdgpu_device_initialize failed. glx: failed to create dri3 screen failed to load driver: radeonsi 016c:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 17.0.6, 128 bits)"). LLVM ERROR: Cannot select: 0x37d4f170: ch = store<(store (s128) into %ir.mask_ptr14)> 0x37d4f100, 0x37d3e9c0, FrameIndex:i64<14>, undef:i64 0x37d3e9c0: v4i32 = sra 0x37d3e950, 0x37d4efb0 0x37d3e950: v4i32 = shl 0x37d3dae0, 0x37d4efb0 0x37d3dae0: v4i32 = setcc 0x37d4ef40, 0x37d51fb0, setne:ch 0x37d4ef40: v4i32 = and 0x37d439f0, 0x37d4eed0 0x37d439f0: v4i32 = BUILD_VECTOR 0x37d4f3a0, 0x37d4f3a0, 0x37d4f3a0, 0x37d4f3a0 0x37d4f3a0: i64,ch = load<(load (s32) from %fixed-stack.5, align 16), zext from i32> 0x387d8960, FrameIndex:i64<-3>, undef:i64 0x37d3e410: i64 = FrameIndex<-3> 0x37d3e250: i64 = undef 0x37d4f3a0: i64,ch = load<(load (s32) from %fixed-stack.5, align 16), zext from i32> 0x387d8960, FrameIndex:i64<-3>, undef:i64 0x37d3e410: i64 = FrameIndex<-3> 0x37d3e250: i64 = undef 0x37d4f3a0: i64,ch = load<(load (s32) from %fixed-stack.5, align 16), zext from i32> 0x387d8960, FrameIndex:i64<-3>, undef:i64 0x37d3e410: i64 = FrameIndex<-3> 0x37d3e250: i64 = undef 0x37d4f3a0: i64,ch = load<(load (s32) from %fixed-stack.5, align 16), zext from i32> 0x387d8960, FrameIndex:i64<-3>, undef:i64 0x37d3e410: i64 = FrameIndex<-3> 0x37d3e250: i64 = undef 0x37d4eed0: v4i32 = BUILD_VECTOR Constant:i64<1>, Constant:i64<2>, Constant:i64<16>, Constant:i64<32> 0x37d40a20: i64 = Constant<1> 0x37d4f250: i64 = Constant<2> 0x37d40860: i64 = Constant<16> 0x37d414a0: i64 = Constant<32> 0x37d51fb0: v4i32 = BUILD_VECTOR Constant:i64<0>, Constant:i64<0>, Constant:i64<0>, Constant:i64<0> 0x37d40940: i64 = Constant<0> 0x37d40940: i64 = Constant<0> 0x37d40940: i64 = Constant<0> 0x37d40940: i64 = Constant<0> 0x37d4efb0: v4i32 = BUILD_VECTOR Constant:i64<31>, Constant:i64<31>, Constant:i64<31>, Constant:i64<31> 0x37d4f020: i64 = Constant<31> 0x37d4f020: i64 = Constant<31> 0x37d4f020: i64 = Constant<31> 0x37d4f020: i64 = Constant<31> 0x37d4efb0: v4i32 = BUILD_VECTOR Constant:i64<31>, Constant:i64<31>, Constant:i64<31>, Constant:i64<31> 0x37d4f020: i64 = Constant<31> 0x37d4f020: i64 = Constant<31> 0x37d4f020: i64 = Constant<31> 0x37d4f020: i64 = Constant<31> 0x37d43910: i64 = FrameIndex<14> 0x37d3e250: i64 = undef In function: fs_variant_partial NativeBT: cpuz_x64.exe() [0x34ae5c78] EmulatedBT: ??? [0x30320880] EmulatedBT: /usr/lib/wine64/wine/x86_64-unix/opengl32.so+57eff [0x3f0e057eff] EmulatedBT: /usr/bin/../lib/wine64/wine/x86_64-unix/ntdll.so(__wine_unix_call_dispatcher+da) [0x3f00044ed6] 26554|SIGABRT @0x7f668994a110 (???(/usr/lib/libc.so.6+0x92110)) (x64pc=0x30320893/"???", rsp=0x10010fce8, stack=0x7f6689000000:0x7f6689800000 own=(nil) fp=0x3), for accessing 0x3e8000067ba (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x3f00049fb0 RSP-0x20:0x0000003f0e05a8fb RSP-0x18:0x00000000000080e1 RSP-0x10:0x0000000000008367 RSP-0x08:0x0000000000000000 RSP+0x00:0x0000003f0e057eff RSP+0x08:0x0000000000000002 RSP+0x10:0x0000003f00044ed6 RSP+0x18:0x0000000000001113 RAX:0x0000003f0407ab20 RCX:0x0000000000000005 RDX:0x0000000000000004 RBX:0x0000000000000002 RSP:0x000000010010fce8 RBP:0x0000000000000003 RSI:0x0000000000000000 RDI:0x0000000000000005 R8:0x000000000020d5f0 R9:0x0000000000000000 R10:0x0000003f0e11ed60 R11:0x000000007ffc0000 R12:0x00006ffffdf62830 R13:0x0000000000000130 R14:0x0000000000000000 R15:0x0000000000040032 ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 ``` If DXVK is used, CPU-Z will crash and report the following error on the terminal: ![3BB6EFFFE958E8D4FE83FC90E0F7BBE7](https://github.com/user-attachments/assets/9fc786f1-8b41-4798-8737-aa41ed63fb07) ![AD04A7EFEB8551EC9D74A3BE8E665267](https://github.com/user-attachments/assets/073b3bbc-7fde-4ff0-84a3-bb5656ea0d75) The version of box64 is 0.3.1, wine is 9.22, making in Nov 28th 2024.