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

SimBridge Crashes on Latest Version (Error compiling fragment shader) #82

Open
TillMueller opened this issue May 13, 2023 · 7 comments
Open

Comments

@TillMueller
Copy link

Hello,

Using SimBridge 0.4.2 (38334fe59) it crashes a short time after starting with this error message:

node:internal/event_target:912
  process.nextTick(() => { throw err; });
                           ^
Error: Error compiling fragment shader: ERROR: 0:669: '-' :  wrong operand types  no operation '-' exists that takes a left-hand operand of type 'lowp int' and a right operand of type 'lowp float' (or there is no acceptable conversion)
 
    at HeadlessGLKernel.build (C:\snapshot\simbridge\node_modules\gpu.js\src\backend\web-gl\kernel.js:529:13)
    at HeadlessGLKernel.build (C:\snapshot\simbridge\node_modules\gpu.js\src\backend\headless-gl\kernel.js:103:17)
    at HeadlessGLKernel.run (C:\snapshot\simbridge\node_modules\gpu.js\src\kernel-run-shortcut.js:10:18)
    at Object.shortcut [as finalMap] (C:\snapshot\simbridge\node_modules\gpu.js\src\kernel-run-shortcut.js:30:16)
    at MapHandler.createNavigationDisplayMap (C:\snapshot\simbridge\dist\terrain\processing\maphandler.js:600:66)
    at MapHandler.renderNavigationDisplay (C:\snapshot\simbridge\dist\terrain\processing\maphandler.js:748:40)
    at C:\snapshot\simbridge\dist\terrain\processing\maphandler.js:127:18
Emitted 'error' event on Worker instance at:
    at Worker.[kOnErrorMessage] (node:internal/worker:289:10)
    at Worker.[kOnMessage] (node:internal/worker:300:37)
    at MessagePort.<anonymous> (node:internal/worker:201:57)
    at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:643:20)
    at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28)

I'm running SimBridge on a Windows 10 VM that is a different machine than where the simulator is running.
This issue does not occur with version 0.4.0 (fd886a64f).

Thank you very much for looking into this and let me know if you need any additional information!

@tgdbepe4
Copy link

I made the same observation with Windows 11. Now simbridge work with v 04.0. But the autostart feature work not because the FlyByWire Installer doesn't allow to load older version of simbridge.

@Lucky38i
Copy link
Member

Lucky38i commented Sep 5, 2023

@TillMueller can you try deleting the pkg folder in %appdata% and re-running the application?

@TillMueller
Copy link
Author

@Lucky38i Thank you for taking a look! I've just checked and C:\Users\admin\AppData\Roaming (I hope %appdata% pointed me to the correct folder) does not contain a pkg folder. There is one in C:\Users\admin\AppData\Local\Temp\pkg, but deleting that doesn't appear to make any difference.

Anything else I can try?

Thanks again!

@tgdbepe4
Copy link

tgdbepe4 commented Sep 6, 2023 via email

@Lucky38i
Copy link
Member

@svengcz this looks like an issue with the GPU.js can you investigate?

@svengcz
Copy link
Contributor

svengcz commented Sep 14, 2023

Yes, I will take a look

@tgdbepe4
Copy link

Any progress with this issuse. If I can help with testing please contact me.

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