ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.9k stars 288 forks source link

space engine on wine: can't initialise opengl #1268

Closed Sirox228 closed 8 months ago

Sirox228 commented 9 months ago

i'm trying to run space engine under wine 8-18. when running it, this pop-up window appears

Screenshot_2024-02-16-11-19-17-872_com termux x11

log: mobox_log.txt

hisham2630 commented 8 months ago

it's mobox problem. try to running these commands in termux: apt install glibc-repo -y apt install alsa-lib-glibc libglvnd-glibc -y

then run the game

Sirox228 commented 8 months ago

that didn't help, it seems thats a problem with wgl

019c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000007FFECFFE10
0198:fixme:system:EnableNonClientDpiScaling (0000000000020142): stub
0198:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0198:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000007FFE1FFD70
hisham2630 commented 8 months ago

that didn't help, it seems thats a problem with wgl

019c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000007FFECFFE10
0198:fixme:system:EnableNonClientDpiScaling (0000000000020142): stub
0198:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0198:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000007FFE1FFD70

Run this in termux before starting mobox:

export force_gl_vendor=X.Org
Sirox228 commented 8 months ago

didn't work, error is the still the same, log too

hisham2630 commented 8 months ago

that didn't help, it seems thats a problem with wgl

019c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000007FFECFFE10
0198:fixme:system:EnableNonClientDpiScaling (0000000000020142): stub
0198:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0198:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000007FFE1FFD70

Run this in termux before starting mobox:

export force_gl_vendor=X.Org

run these too:

export MESA_LOADER_DRIVER_OVERRIDE=zink
export ZINK_CONTEXT_THREADED=true
export ZINK_DESCRIPTORS=lazy
export MESA_SHADER_CACHE_DISABLE=false
Sirox228 commented 8 months ago

thanks, works now

hisham2630 commented 8 months ago

you are welcome case can be closed now @ptitSeb