Open algoritmiks opened 2 months ago
Same on Xubuntu 22.04 Appimage 7.3.4
What do you see in the CLI if you run the application from there? Also what do you see in the developer tools (View
> Toggle Developer Tools
)?
What do you see in the CLI if you run the application from there? Also what do you see in the developer tools (
View
>Toggle Developer Tools
)?
when start from CLI have this output and same behavior
alexius@server:/opt/Altair GraphQL Client$ altair undefined index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/ file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/styles.css index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/assets/img/logo_350.svg index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/runtime.js index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/polyfills.js index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/main.js index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/assets/i18n/default.json index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/assets/i18n/en-US.json index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/jetbrains-mono-latin-400-normal.woff2 index path /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/index.html file.. /opt/Altair GraphQL Client/resources/app.asar/node_modules/altair-static/build/dist/assets/img/altair_logo.svg
Dev tools screenshot here. It shows for 10 sec, then clears screen.
Any errors in the dev tools console?
It also crashes for me. If I open DevTools before is goes blank, there are no errors, then the DevTools disconnect and there are still no errors in the console (actually there are no logs at all). CLI output:
undefined
22:46:37.798 › Checking for update
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/styles.css
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/assets/img/logo_350.svg
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/runtime.js
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/polyfills.js
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/main.js
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/assets/i18n/default.json
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/assets/i18n/en-US.json
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/jetbrains-mono-latin-400-normal.woff2
index path /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/index.html
file.. /nix/store/c42h5z6lbpkrk7l7w7b8k34vnazy2rxd-altair-7.3.5-extracted/resources/app.asar/node_modules/altair-static/build/dist/assets/img/altair_logo.svg
22:46:39.134 › Found version 7.3.6 (url: altair_7.3.6_x86_64_linux.AppImage)
[43062:0915/224643.288735:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[43062:0915/224648.730098:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[43062:0915/224652.885128:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[32953:0915/224727.369940:ERROR:check.cc(298)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[32953:0915/224727.388498:ERROR:check.cc(298)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[32953:0915/224727.388522:ERROR:check.cc(298)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[32953:0915/224727.388528:ERROR:check.cc(298)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[32953:0915/224727.391645:ERROR:check.cc(298)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
I am using version 7.3.5 on NixOS unstable.
Looks like a known electron issue https://github.com/electron/electron/issues/32760
Unfortunately there doesn't seem to be anything we can do. Only solution appears to be disabling hardware acceleration which will likely degrade the app experience. I can add a menu item to disable hardware acceleration.
In the meantime, you can try some of the CLI arguments mentioned in that issue to see if any of them works for you when starting Altair from the CLI
@imolorhe
I can add a menu item to disable hardware acceleration.
The toggle doesn't work for me:
Error: app.disableHardwareAcceleration() can only be called before app is ready
at click (/tmp/.mount_altairpKQ1tb/resources/app.asar/dist/app/menu.js:115:44)
at MenuItem.click (node:electron/js2c/browser_init:2:30958)
at Menu._executeCommand (node:electron/js2c/browser_init:2:36354)
In the meantime, you can try some of the CLI arguments mentioned in that issue to see if any of them works for you when starting Altair from the CLI
Also doesn't work for me, it seems AppImages don't support NODE_OPTIONS:
$ NODE_OPTIONS='--disable-gpu --disable-gpu-rendering' ./altair_8.0.2_x86_64_linux.AppImage
[3098107:1114/120601.856901:ERROR:node_bindings.cc(294)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
[3098107:1114/120601.858295:ERROR:node_bindings.cc(294)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
Is there an existing issue for this?
Current Behavior
After loading application it shows interface about 10 sec, then it clears and show empty window. Nothing works, just reload menu item, but after reloat it shows interface again 10 sec and then screen is cleared. Before update i had version 5.0.3, and all worked fine.
Expected Behavior
No response
Steps To Reproduce
OS: Linux Mint 21.3 64 bit Browser: Google Chrome Version 128.0.6613.84 (Official Build) (64-bit) Platform: ??? Version
Environment
Additional context