altair
altair copied to clipboard
Altair has a problem with displaying menu entries.
Describe the bug Installation Altair from snap on Ubuntu 20.04 has a problems with displaying menu entries.
To Reproduce I do not know it can be easily reproduced. I have clear Ubuntu with all updates and after installation Altair I saw I cannot use menu entries.
Expected behavior Seeing menu entries
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Browser: Chrome Version 104.0.5112.79 (Official Build) (64-bit)
- Platform: snap
- Version 4.5.3
Additional context I'm not sure altair uses Python, but some application had problems when I installed python3.9 and made id default python version. If there are some python dependencies maybe there is a problem.
Weird. Altair does not use any python dependencies as far as I know. I have no idea what could be the issue with snap here. Could it be a theme issue? Have you tried changing your system theme to something light and see what happens?
I mentioned Python, because I had problem with another apps. Anyway, I changed theme and it didn't help.
Do you want to try some of the suggestions here? https://forum.snapcraft.io/t/snapped-app-not-loading-fonts-on-fedora-and-arch/12484/72
To be clear, I don't have any ideas what the issue could be. I am not a linux user myself so can't troubleshoot it either., but there seems to be an issue with snap in general as we have other reported issues (#1341 #1240)
I have a time and I was discover there is some problem with amd devices
>altair
(altair:72077): Gtk-WARNING **: 15:22:00.732: Theme parsing error: gtk.css:1413:23: 'font-feature-settings' is not a valid property name
(altair:72077): Gtk-WARNING **: 15:22:00.735: Theme parsing error: gtk.css:3286:25: 'font-feature-settings' is not a valid property name
(altair:72077): Gtk-WARNING **: 15:22:00.736: Theme parsing error: gtk.css:3748:23: 'font-feature-settings' is not a valid property name
undefined
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/index.html
/usr/share/libdrm/amdgpu.ids: No such file or directory
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/styles.css
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/assets/img/logo_350.svg
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/runtime.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/polyfills.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/main.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/assets/i18n/default.json
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/assets/i18n/en-US.json
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/630.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/jetbrains-mono-latin-400-normal.woff2
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/assets/img/logo.svg
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/60.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/855.js
file.. /snap/altair/101/resources/app.asar/node_modules/altair-static/build/dist/852.js
[72077:0816/152230.871423:ERROR:command_buffer_proxy_impl.cc(329)] GPU state invalid after WaitForGetOffsetInRange.
[72077:0816/152230.875660:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=512
/usr/share/libdrm/amdgpu.ids: No such file or directory
As you see snap cannot find file /usr/share/libdrm/amdgpu.ids: No such file or directory
which exists there. Problem with this file is known, but I couldn't find any solution.
Maybe another. Here https://forum.snapcraft.io/t/amd-oss-graphics-drivers-missing-access-to-amdgpu-ids-file/12067/12 I found information there is need to add part
layout:
/usr/share/libdrm:
bind: $SNAP/usr/share/libdrm
to meta/snap.yaml. Is it possible to you prepare correct snap which can I install and check is is solution?
Interesting. I wouldn't be able to build a custom snap at the moment, but I'll add this to the configuration for the next release.
ubuntu 22.04 here issue happens here as well, amd cpu if that matters (it was mentioned above) using default theme i didn't use altair for a while and i am experiencing this issue now, i even did a purge of the snap and install it again hoping it would fix it another thing that i am noticing now when i try to enter an url the app freezes and displays the ubuntu "wait / force quit" window sometimes it gets stuck and the app doesn't respond to keys but still responds to mouse hoovering
Great. I'll be back with feedback to you after update, but no sooner than two weeks from now.
@Draqun Thanks for that. Very much appreciated!
@Draqun released a new version with that setting
Sadly it looks like it didn't help. It looks like there is no '/usr/share/libdrm/amdgpu.ids' in '/snap/altair/current/' and it cannot find it anyway.
@Draqun Looks like this is trying to find /usr/share/libdrm/amdgpu.ids
on your machine and not within Altair?
Based on that, I searched and found some things that might work for you: https://github.com/anbox/anbox/issues/1031#issuecomment-774308547
You can also try to unsquash the snap and make the changes following this comment: https://forum.snapcraft.io/t/amd-oss-graphics-drivers-missing-access-to-amdgpu-ids-file/12067/14
All snaps are available in the releases page)
Let me know if any of that works
Thanks for reply. I unsquashed snap and made 2 things.
- Removed layout section I proposed before because it is not needed.
- Added required path to LD_LIBRARY_PATH
LD_LIBRARY_PATH: $SNAP_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/share/libdrm
It resolved the problem locally, but I think it is a more complex problem with snap system. Anyway, I think problem can be mark as solved and I will try contact with ubuntu/snap developers to resolve problem globally.
Thanks a lot. Draqun