Raezroth / Linux-ARM-Gaming-Chroot

Guide to setup a MultiArch Chroot container to run Steam and Wine.
GNU General Public License v3.0
75 stars 8 forks source link

Mugen Tournament 3 problems #10

Open root2185 opened 1 year ago

root2185 commented 1 year ago

I have a PinePhone with Mobian and Sxmo (x version).

This game doesn't required steam and works well with wine, download link https://mugen-tournament.en.softonic.com/.

Note that you need to edit data/system.def change: font5 = qoh_sm~1.fnt to font5 = qoh_small.fnt

When I try to launch it it opens a black window. It works if I set DXmode = None but the colors are strange and no sound. Initializing sound... no wave device found

I can play sound from the chroot with aplay for example.

I set in data/mugen.cfg:

[Video Win]
Width  = 720
Height = 540
Depth = 24 # as the PP screen depth
Stretch = 0

It seems that there is some problem with the drivers: 0024:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "lima". Returning HW_VENDOR_NVIDIA.

Also should I set some values for x? As the guide says for wayland:

export SDL_VIDEODRIVER=wayland

export WAYLAND_DISPLAY=wayland-1

export GDK_BACKEND=wayland

export XDG_SESSION_TYPE=wayland

export XDG_RUNTIME_DIR=/run/user/1000

export DISPLAY=:1

export XSOCKET=/tmp/.X11-unix/X1

export _JAVA_AWT_WM_NONREPARENTING=1

Output with DX:

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096
Box64 with Dynarec v0.1.9 0cc04e5 built on Oct 10 2022 07:08:12
BOX64: Wine preloader detected, loading "/user1/wine/bin/wine64" directly
BOX64: Wine64 detected, WINEPRELOADRESERVE="000400000-000488000"
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 81 Env var
Looking for /user1/wine/bin/wine64
argv[1]="C:\windows\system32\conhost.exe"
argv[2]="--unix"
argv[3]="--width"
argv[4]="39"
argv[5]="--height"
argv[6]="19"
argv[7]="--server"
argv[8]="0x2c"
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) librt.so.1
Using emulated /user1/wine/bin/../lib64/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated /user1/wine/lib64/wine/../libwine.so.1
Using emulated /user1/wine/lib64/wine/ucrtbase.so
Using emulated /user1/wine/lib64/wine/gdi32.so
Using emulated /user1/wine/lib64/wine/user32.so
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
0068:err:ole:start_rpcss Failed to open RpcSs service
0024:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "lima". Returning HW_VENDOR_NVIDIA.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "lima". Returning HW_VENDOR_NVIDIA.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:mmdevapi:DllGetClassObject Driver initialization failed
0024:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005 for dll L"C:\\windows\\system32\\mmdevapi.dll"
0024:err:ole:com_get_class_object no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
0024:err:dsound:get_mmdevenum CoCreateInstance failed: 80004005
0024:err:mmdevapi:DllGetClassObject Driver initialization failed
0024:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005 for dll L"C:\\windows\\system32\\mmdevapi.dll"
0024:err:ole:com_get_class_object no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
0024:err:winmm:MMDRV_Init CoCreateInstance failed: 80004005
0098:err:mmdevapi:DllGetClassObject Driver initialization failed
0098:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005 for dll L"C:\\windows\\system32\\mmdevapi.dll"
0098:err:ole:com_get_class_object no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
00a0:err:mmdevapi:DllGetClassObject Driver initialization failed
00a0:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005 for dll L"C:\\windows\\system32\\mmdevapi.dll"
00a0:err:ole:com_get_class_object no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
0024:fixme:d3d:wined3d_guess_card_vendor Received unrecognized GL_VENDOR "lima". Returning HW_VENDOR_NVIDIA.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0024:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
^C (sent CTRL+C to close it)
wine client error:60: partial wakeup read 0
00ac:fixme:console:default_ctrl_handler Terminating process 20 on event 0
Raezroth commented 1 year ago

Comment out "DISPLAY=:1" to start. I need to remove it. there have been issues with using it lately. I personally haven't used mugen tournament. You may want to try using gl4es alongside box86/64 with BOX86_LIBGL=/lib/gl4es/libGL.so.1 %command% on the a64 pp.

root2185 commented 1 year ago

I am not using any value currently. It is display 0 for me but I can open winecfg and other GUI apps fine from the chroot so I am not setting it.

Can you give it a try to see if it works for you? If you can get fancy newer games to work well I guess you should be able to use this pretty old game.