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

Box64cpu does not work on Snapdragon 845 #160

Closed
alexvorxx opened this issue Jun 12, 2024 · 4 comments
Closed

Box64cpu does not work on Snapdragon 845 #160

alexvorxx opened this issue Jun 12, 2024 · 4 comments

Comments

@alexvorxx
Copy link

alexvorxx commented Jun 12, 2024

System Details

Snapdragon 845, Termux.

Wine Hangover version 8.21 and higher.

Problems Description

Box64cpu does not work.

01ac:err:environ:init_peb starting L"D:\\Programs\\wordpad.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
01ac:err:virtual:virtual_setup_exception stack overflow 1312 bytes addr 0x79f15e00 stack 0x100100ae0 (0x100100000-0x100101000-0x1001ffd20)

Apparently the problem is due to function box64_detect_cpu_features()
https://github.com/AndreRH/wine/blob/hangover-8.21/dlls/box64cpu/cpu.c#L798
When I commented out this line, box64 started working.

This problem exists on Snapdragon 845, but on Snapdragon 870 box64cpu works fine.

P.S. Can you please add environment variables to box64cpu?

@Trass3r
Copy link
Contributor

Trass3r commented Jul 11, 2024

+1 for supporting the typical debugging env vars: https://github.com/ptitSeb/box64/blob/main/docs/USAGE.md

@AndreRH AndreRH closed this as completed Jul 11, 2024
@AndreRH
Copy link
Owner

AndreRH commented Jul 12, 2024

+1 for supporting the typical debugging env vars: https://github.com/ptitSeb/box64/blob/main/docs/USAGE.md

It's so easy, I'd expect a pull request, there's even reference code for QEMU_LOG. A proper issue for that topic would also be a good idea, so I can mark it as "good first issue"

@Saikatsaha1996
Copy link

@AndreRH any update about custom environment?

@AndreRH
Copy link
Owner

AndreRH commented Sep 4, 2024

@AndreRH any update about custom environment?

that question belongs to #163
but the general answer is that it's easy and I review pull requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants