Giter Club home page Giter Club logo

Comments (25)

BinBashBanana avatar BinBashBanana commented on May 31, 2024 1

I can't test safari, because I don't have any apple devices, are you able to send the console output?

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

Also, can you create future issues in retroarch-web and then tag me (@BinBashBanana)

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

I can't test safari, because I don't have any apple devices, are you able to send the console output?

is the apple iphone 11;

error position:WebAssembly.instantiate(binary, info)

"WebAssembly" can't "instantiate" wasm, so not running.

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

Have you confirmed that the same page works on desktop chromium?

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

Have you confirmed that the same page works on desktop chromium?

yes,only desktop chromium can run.

i not have android mobile,so not test

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

It works fine on chrome for android, do you have a desktop mac that you can test safari on and send the f12 console log (text or screenshot)?

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

can run in chrome for android ?

error message

CompileError: WebAssembly.Module doesn't parse at byte 3: can't get Function local's type in group 0, in function at index 5

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

i not have mac too~

i push my code, and add console in mednafen_psx_hw.

if someone have mac can test.

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

i ask my friend . the android mobile is error too!

CompileError:

WebAssembly.instantiate():

Compiling function #480 failed: invalid value type 's128', enable with -- experimental -wasm-simd@+21134

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

谷歌浏览器chrome mobile

CompileError: WebAssembly .instantiate(): Compiling function #480 failed: invalid local type 'Simd128', enable with

-- experimental-wasm-simd @+21134

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

It works fine on chrome mobile on my android phone, this looks like it could be an out of date browser or a very old phone?

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

its can fixed?
or can you build asmjs version?

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

This seems to be caused by the SIMD autovectorization that I used on several cores (Beetle PSX HW, melonDS, Mupen64Plus-Next, ParaLLEl N64, Yabause), you can build your own cores without SIMD/autovectorization using the instructions here but go into the makefile and remove -msimd128 -ftree-vectorize.

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

I'm not very good at it.

The emsdk environment has not been successfully configured...

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

Which step are you on? ("Setup emscripten" or "Set emscripten environment variables")

If you cloned the emsdk from GitHub Desktop, you may need to run dos2unix on emsdk (script) and emsdk_env.sh

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

Which step are you on? ("Setup emscripten" or "Set emscripten environment variables")

If you cloned the emsdk from GitHub Desktop, you may need to run dos2unix on emsdk (script) and emsdk_env.sh

I think the china great wall make can't setup.

it's can't fix mobile browser error?

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

Were you able to figure it out?

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

Were you able to figure it out?

no, If you don't consider fixing it, I don't have a good way to solve it.

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

I can build the autovectorized cores without autovectorization separately, and send them here if you'd like. But you should get the build environment set up so that you can build your own cores and even add features. If you send me a terminal error log or output, I can see if I can help you.

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

你的核心问题是,手机浏览器无法解释。其实你可以生成asmjs,免除浏览器解释问题。

Your core problem is that the mobile browser can't parse "wasm" it. In fact, you can generate asmjs to avoid browser interpretation problems.

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

I read the error, and it isn't because of WASM, it's because I used SIMD autovectorization in certain cores.

Compiling function #480 failed: invalid value type 's128', enable with -- experimental -wasm-simd@+21134
CompileError: WebAssembly .instantiate(): Compiling function #480 failed: invalid local type 'Simd128', enable with -- experimental-wasm-simd @+21134

Building the core without SIMD will fix the problem (WASM can still be used, because it is faster than asmjs)

you can build your own cores without SIMD/autovectorization using the instructions here but go into the makefile and remove -msimd128 -ftree-vectorize.

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

i update ios15.6.1

CompileError: WebAssembly.Module doesn't parse at byte 3: can't get Function local's type in group 0, in function at index 5

from webretro.

BinBashBanana avatar BinBashBanana commented on May 31, 2024

Can you try the Snes9x core? Does it work?

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

okay,try it later, at last report for you

from webretro.

nenge123 avatar nenge123 commented on May 31, 2024

snes9x in ios mobile

ios safari lost asm method

Module.asm output
{"ef":{},"jf":{}}

google浏览器
can running in retroarch menu

微软edge
can running in retroarch menu

from webretro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.