ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.31k stars 227 forks source link

Need help with aarch64.. kernel32.dll error #658

Closed Saikatsaha1996 closed 1 year ago

Saikatsaha1996 commented 2 years ago

Help wanted please help..

Screenshot_2022-07-19-06-51-08-532_x org server

Saikatsaha1996 commented 1 year ago

Can you share your zink script?

alias zink='GALLIUM_DRIVER=virpipe'

But i am on Panfrost..

So in my case it should be

panfrost='GALLIUM_DRIVER=panfrost' ?

xDoge26 commented 1 year ago

So in my case it should be

panfrost='GALLIUM_DRIVER=panfrost' ?

I dont know , i dont have any compatible mali gpu for panfrost

Saikatsaha1996 commented 1 year ago

So in my case it should be panfrost='GALLIUM_DRIVER=panfrost' ?

I dont know , i dont have any compatible mali gpu for panfrost

I don't have vulkan driver.. it can be reason?

IMG_20230125_182352

xDoge26 commented 1 year ago

I don't have vulkan driver.. it can be reason?

![IMG_20230125_182352](https://user-images.githubusercontent.com/72664192/214568487-650f1524-5710-4807-8977-96a2a3b55f3a.jpg)

wow this is fast , llvmpipe or virpipe or panfrost ?

ptitSeb commented 1 year ago

I'm closing this ticket, as the initial issue has been fixed.

For your other issue, I suggest you create a new Discussion (not a ticket), to discuss what could be the best configuration to run box86/box64 in your proot environnement. Solution using PANFROST will be different than solution with Freedreno (that can use native vulkan and zink).

(for sound issue, check if you are using Alsa or PulseAudio, and check that you have both 32bits and 64bits version of the libs. also check for libFAudio, as it is now supported in both box86 & box64)

Saikatsaha1996 commented 1 year ago

I'm closing this ticket, as the initial issue has been fixed.

For your other issue, I suggest you create a new Discussion (not a ticket), to discuss what could be the best configuration to run box86/box64 in your proot environnement. Solution using PANFROST will be different than solution with Freedreno (that can use native vulkan and zink).

(for sound issue, check if you are using Alsa or PulseAudio, and check that you have both 32bits and 64bits version of the libs. also check for libFAudio, as it is now supported in both box86 & box64)

Okay so i don't have vulkan support that's why getting crashed? And panfrost driver not supported? And most important thing Panfrost not available for non-rooted device.. Only supported GPU Mali G-610 no-rooted So i believe no one can help me with panfrost..

Saikatsaha1996 commented 1 year ago

I don't have vulkan driver.. it can be reason?

![IMG_20230125_182352](https://user-images.githubusercontent.com/72664192/214568487-650f1524-5710-4807-8977-96a2a3b55f3a.jpg)

wow this is fast , llvmpipe or virpipe or panfrost ?

It is panfrost For panfrost don't need virpipe or llvmpipe..

xDoge26 commented 1 year ago

It is panfrost

Wow íts possible in proot ?

Saikatsaha1996 commented 1 year ago

It is panfrost

Wow íts possible in proot ?

Not supported for others GPU.. Only intial support Mali G-610 And under testing Mali G-52

In vnc fps is half In termux-x11 double fps But i am using vnc Because termux-x11 not stable..

Saikatsaha1996 commented 1 year ago

I'm closing this ticket, as the initial issue has been fixed.

For your other issue, I suggest you create a new Discussion (not a ticket), to discuss what could be the best configuration to run box86/box64 in your proot environnement. Solution using PANFROST will be different than solution with Freedreno (that can use native vulkan and zink).

(for sound issue, check if you are using Alsa or PulseAudio, and check that you have both 32bits and 64bits version of the libs. also check for libFAudio, as it is now supported in both box86 & box64)

Can you please tell me is my GPU not supported? I don't have vulkan support.. for this reason not working ? If yes, then i should leave..

xDoge26 commented 1 year ago

Can you please tell me is my GPU not supported? I don't have vulkan support.. for this reason not working ? If yes, then i should leave..

Its more like proot problem . As wine transalate DirectX 9/10/11 -> OpenGL

Saikatsaha1996 commented 1 year ago

Can you please tell me is my GPU not supported? I don't have vulkan support.. for this reason not working ? If yes, then i should leave..

Its more like proot problem . As wine transalate DirectX 9/10/11 -> OpenGL

🥺 And yes my GPU driver not supported sys call That's why i LOGIN with --no-sysvipc

ptitSeb commented 1 year ago

I'm closing this ticket, as the initial issue has been fixed. For your other issue, I suggest you create a new Discussion (not a ticket), to discuss what could be the best configuration to run box86/box64 in your proot environnement. Solution using PANFROST will be different than solution with Freedreno (that can use native vulkan and zink). (for sound issue, check if you are using Alsa or PulseAudio, and check that you have both 32bits and 64bits version of the libs. also check for libFAudio, as it is now supported in both box86 & box64)

Can you please tell me is my GPU not supported? I don't have vulkan support.. for this reason not working ? If yes, then i should leave..

I don't ask you to lave: I suggest you open a Discussion ticket, as it might interest other user. But with the title of that ticket, now one will found it to discuss about using panfrost inside a termux proot

Saikatsaha1996 commented 1 year ago

I'm closing this ticket, as the initial issue has been fixed. For your other issue, I suggest you create a new Discussion (not a ticket), to discuss what could be the best configuration to run box86/box64 in your proot environnement. Solution using PANFROST will be different than solution with Freedreno (that can use native vulkan and zink). (for sound issue, check if you are using Alsa or PulseAudio, and check that you have both 32bits and 64bits version of the libs. also check for libFAudio, as it is now supported in both box86 & box64)

Can you please tell me is my GPU not supported? I don't have vulkan support.. for this reason not working ? If yes, then i should leave..

I don't ask you to lave: I suggest you open a Discussion ticket, as it might interest other user. But with the title of that ticket, now one will found it to discuss about using panfrost inside a termux proot

Okay i will open a discussion..

Saikatsaha1996 commented 1 year ago

I'm closing this ticket, as the initial issue has been fixed. For your other issue, I suggest you create a new Discussion (not a ticket), to discuss what could be the best configuration to run box86/box64 in your proot environnement. Solution using PANFROST will be different than solution with Freedreno (that can use native vulkan and zink). (for sound issue, check if you are using Alsa or PulseAudio, and check that you have both 32bits and 64bits version of the libs. also check for libFAudio, as it is now supported in both box86 & box64)

Can you please tell me is my GPU not supported? I don't have vulkan support.. for this reason not working ? If yes, then i should leave..

I don't ask you to lave: I suggest you open a Discussion ticket, as it might interest other user. But with the title of that ticket, now one will found it to discuss about using panfrost inside a termux proot

I am sharing some important information.. Inside fex-emulator Same directx not opening.. Same error received... But game not crashed.. Screenshot_2023-01-25-22-15-08-547_com gaurav avnc Screenshot_2023-01-25-22-06-03-738_com gaurav avnc

ptitSeb commented 1 year ago

I don't have Euro Truck Simulator 2 in my collections. I cannot test myself. Is the game a 32bits or 64bits apps?

Saikatsaha1996 commented 1 year ago

I don't have Euro Truck Simulator 2 in my collections. I cannot test myself. Is the game a 32bits or 64bits apps?

32 bit collected from exagear Same error received from box64 also.. Openrail installed successfully.. But not working.. crashed when i was tried to open.. and same error received like which i received from ETS2

You can test with Openrail 30 to 40 mb application without data..

note only Openrail version 1.2 work..

U can install.. and try to start the exe

Saikatsaha1996 commented 1 year ago

I don't have Euro Truck Simulator 2 in my collections. I cannot test myself. Is the game a 32bits or 64bits apps? @ptitSeb

Euro truck simulator 2

inside fex-emulator Euro truck simulator working Screenshot_2023-01-28-16-28-53-667_com termux x11 Screenshot_2023-01-28-16-14-14-248_com termux x11

openrail

Openrail opening inside fex-emulator but crashed fully.. I think is proot issue.. Screenshot_2023-01-27-04-12-39-476_com gaurav avnc

But inside box86 & box64 Euro truck simulator 2 not installing Openrail not opening.. So i guess box64 & box86 has also some issue.. If you want to fix i can help you with test report..

DirectX issue is common inside proot.. Only DirectX working fine inside exagear Openrail working inside exagear Euro truck simulator 2 working inside exagear

Exagear screenshot

But my bad.. my GPU not supported Zink driver because in mesa i haven't vulkan support.. so i can't use xlib i only can use dri driver because kmsro need dri Screenshot_2022-06-27-17-14-56-968_com ludashi benchmark

ptitSeb commented 1 year ago

I tested OpenRail and Euro Truck Simulator 2 (demo version) on my Phytium ARM mini PC. It's full ARM computer, with a Radeon RX550 graphic card, running Debian (testing). I used Wine 8.0 64bits, with dxvk 2.0

I could launch OpenRail Screenshot at 2023-01-29 11-16-10 But the game itself didn't launched, it failed to open graphics. It's probably due to the need to install xna31, but I couldn't install dotnet2 that is a prerequisite. That's probably an box86 issue there.

Euro Truck also installed without issue. The 64bits version launch and works, using dxvk Screenshot at 2023-01-29 20-28-03

But the 32bits version doesn't, the dxvk context fails at creation.

I think the issue you have on your side is because PROOT doesn't handle Signal in a perfect way, and box86/box64 absolutly needs good signal handling, espcialy with program that use C# (or other languages using a JIT).

Saikatsaha1996 commented 1 year ago

I tested OpenRail and Euro Truck Simulator 2 (demo version) on my Phytium ARM mini PC. It's full ARM computer, with a Radeon RX550 graphic card, running Debian (testing). I used Wine 8.0 64bits, with dxvk 2.0

I could launch OpenRail Screenshot at 2023-01-29 11-16-10 But the game itself didn't launched, it failed to open graphics. It's probably due to the need to install xna31, but I couldn't install dotnet2 that is a prerequisite. That's probably an box86 issue there.

Euro Truck also installed without issue. The 64bits version launch and works, using dxvk Screenshot at 2023-01-29 20-28-03

But the 32bits version doesn't, the dxvk context fails at creation.

I think the issue you have on your side is because PROOT doesn't handle Signal in a perfect way, and box86/box64 absolutly needs good signal handling, espcialy with program that use C# (or other languages using a JIT).

I think it's proot issue.. I tested without custom GPU driver same problem.. I tested with sysvipc same problem I tested without sysvipc same problem I tested with my custom GPU driver same problem..

Only Euro truck simulator 2 working inside fex-emulator.. but openrail exe opening.. but when i launch game fully crashed inside fex-emulator also....

I think is proot issue but i believe if i create issues inside proot.. will ignore..

IMG_20230127_041309 Screenshot_2023-01-27-04-12-39-476_com gaurav avnc

note i don't have vulkan driver inside proot..

Can you please explain this line ?

box86/box64 absolutly needs good signal handling

Signal mean? & Anyway to solve?

xDoge26 commented 1 year ago

Signal mean? & Anyway to solve?

Well i think you will need arm soc with linux distro OR linux vm using Android KVM

Saikatsaha1996 commented 1 year ago

Signal mean? & Anyway to solve?

Well i think you will need arm soc with linux distro OR linux vm using Android KVM

I don't have Google tensor processor.. In mediatek processor i think not available KVM.. I am using fast time mediatek processor.. so i don't know much about mediatek processor..