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

[BUG] Application doesn't work at linux mint 21.3 #2627

Open
1 task done
algoritmiks opened this issue Aug 25, 2024 · 8 comments
Open
1 task done

[BUG] Application doesn't work at linux mint 21.3 #2627

algoritmiks opened this issue Aug 25, 2024 · 8 comments

Comments

@algoritmiks
Copy link

algoritmiks commented Aug 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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

- OS:
- Browser:
- Platform:
- Version: 7.3.4

Additional context

1
2

@algoritmiks algoritmiks changed the title [BUG] <Application doesn't work at linux mint 21.3> [BUG] Application doesn't work at linux mint 21.3 Aug 25, 2024
@PaulCombal
Copy link

Same on Xubuntu 22.04 Appimage 7.3.4

@imolorhe
Copy link
Collaborator

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)?

@algoritmiks
Copy link
Author

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.
image

@imolorhe
Copy link
Collaborator

Any errors in the dev tools console?

@petrzjunior
Copy link

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.

@imolorhe
Copy link
Collaborator

Looks like a known electron issue electron/electron#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

@MrRoy
Copy link

MrRoy commented Nov 14, 2024

@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.

@imolorhe
Copy link
Collaborator

#2708

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

No branches or pull requests

5 participants