![]() |
|
Compiling Win32 ARM64 - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion) +--- Thread: Compiling Win32 ARM64 (/Thread-compiling-win32-arm64) |
RE: Compiling Win32 ARM64 - Gerdya - 03-29-2018 (03-27-2018, 09:43 PM)degasus Wrote: Sorry for double post, but I was asked for a better screenshot: May you run any VC game (eg Ocarina of Time) and make a screenshot with the outer operation system? I think of a x64 -> arm -> ppc -> mips interpreter chain I had another problem to solve before i could upload an OOT screenshot, namely the only available input driver (Xinput) does not support keyboards but only controller, so i could not pass the start screen. I did add keyboard support to the Xinput driver and finally could start the game - i guess having keyboard support for Xinput is not the worst idea anyway. So here we go MIPS->PPC->ARM64->x64 image0 image1 RE: Compiling Win32 ARM64 - degasus - 03-29-2018 (03-29-2018, 02:24 AM)Gerdya Wrote: I had another problem to solve before i could upload an OOT screenshot, namely the only available input driver (Xinput) does not support keyboards but only controller, so i could not pass the start screen. I did add keyboard support to the Xinput driver and finally could start the game - i guess having keyboard support for Xinput is not the worst idea anyway. Oh nice. You've made my day. Feel free to create PRs for such patches. About your JIT issue, just revert https://github.com/dolphin-emu/dolphin/pull/4204 and it may work. Our libc cache invalidation was broken on Exynos as they have different cache line sizes on the big/little cluster. RE: Compiling Win32 ARM64 - Gerdya - 03-29-2018 (03-29-2018, 05:08 PM)degasus Wrote: Oh nice. You've made my day. Feel free to create PRs for such patches. About your JIT issue, just revert https://github.com/dolphin-emu/dolphin/pull/4204 and it may work. Our libc cache invalidation was broken on Exynos as they have different cache line sizes on the big/little cluster. I did make an assembly implementation for flush. It should reflect pretty much the C/intrinsic version (unless i made a mistake). Code: EXPORT |_FlushIcacheSection|It does ask for both cache lines size of I$ and D$ via CTR_EL0. And then modified ARM64XEmitter: Code: void ARM64XEmitter::FlushIcacheSection(u8* start, u8* end)But i still get a Bluescreen when enabling JIT. Well i need to wait for device since debugging with QEmu is not possible at the moment. RE: Compiling Win32 ARM64 - degasus - 03-29-2018 (03-29-2018, 08:24 PM)Gerdya Wrote: But i still get a Bluescreen when enabling JIT. Well i need to wait for device since debugging with QEmu is not possible at the moment. I fear you don't need to debug this kind of issue. An application must not be able to trigger a blue screen :/ Through it might be a qemu bug as well. Might you try to drop W18 here: https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.cpp#L323 It might be used as some kind of plattform register. RE: Compiling Win32 ARM64 - gilius - 04-02-2018 Hey, nice to hear of an ARM64 port in development! I have the first ever Arm64 laptop - HP Envy x2 - so let me know if you need me to test anything... gilius2k15@gmail.com Good luck with the project! RE: Compiling Win32 ARM64 - Nintonito - 04-17-2018 (03-27-2018, 09:43 PM)degasus Wrote: Sorry for double post, but I was asked for a better screenshot: May you run any VC game (eg Ocarina of Time) and make a screenshot with the outer operation system? I think of a x64 -> arm -> ppc -> mips interpreter chain I read that last bit and became excite. RE: Compiling Win32 ARM64 - Gerdya - 04-24-2018 Few updates. I finally got an HP Envy X2. Unfortunately the emulator crashes as soon as a load an ISO. The added keyboard support for the XInput driver does work though - i can configure keyboard and controller with this single driver - i did test it with XBox360 controller connected via USB. Since it is running on QEMU i do not expect some big issues. However i did not figure out how to remote debug the device with Visual Studio. Typically for remote debugging i need to install the remote debug tools on the device, but i have not found a version for ARM64. So any ideas or pointers are appreciated! RE: Compiling Win32 ARM64 - degasus - 04-24-2018 (04-24-2018, 04:27 AM)Gerdya Wrote: Few updates. I finally got an HP Envy X2. Unfortunately the emulator crashes as soon as a load an ISO. Which configuration have you used? Interpreter, software renderer, D3D reference renderer, null video, ... ? RE: Compiling Win32 ARM64 - Gerdya - 04-24-2018 (04-24-2018, 06:05 AM)degasus Wrote: Which configuration have you used? Interpreter, software renderer, D3D reference renderer, null video, ... ? On QEmu (where all interpreter modes work) i did use D3D reference renderer and no sound output. On the HP Envy X2 i did test all Interpreter modes in conjunction with the Qualcomm D3D driver. Are there options to enable tracing/logging to see at least how far we get? RE: Compiling Win32 ARM64 - degasus - 04-24-2018 If we assume that their D3D shader compiler is about the same quality as their GLSL compiler, you should try the software drivers as well. |