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

Fails to launch on Ubuntu 22.04 #37

Closed
wout opened this issue Apr 27, 2023 · 6 comments
Closed

Fails to launch on Ubuntu 22.04 #37

wout opened this issue Apr 27, 2023 · 6 comments

Comments

@wout
Copy link

wout commented Apr 27, 2023

The app immediately closes after opening. Here's the output from the syslog:

Apr 27 13:06:34 Framey pantheon-org.gnome.SettingsDaemon.MediaKeys.desktop[950213]: (node:950213) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
Apr 27 13:06:34 Framey com.github.blue[3406]: AppEntry.vala:96: Keyfile Processing Error: Key file does not have key “Icon” in group “Desktop Entry”
Apr 27 13:06:34 Framey pantheon-org.gnome.SettingsDaemon.MediaKeys.desktop[950213]: [950213:0427/130634.760171:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Apr 27 13:06:34 Framey kernel: [189767.948796] traps: Chrome_IOThread[950225] trap int3 ip:560815386e29 sp:7f1ce25f9420 error:0 in basecamp[560812d22000+6067000]
Apr 27 13:06:34 Framey gala[2932]: Error in map accounting.
@artrz
Copy link
Owner

artrz commented May 1, 2023

The third line, labeled as FATAL, seems related to the video drivers. Can you try launching the app adding the --disable-gpu-sandbox flag?

Second line seems related to a misconfigured .desktop file. I read somewhere that Pantheon doesn't (didn't?) support tray icons which this app uses so maybe is related to that, anyway, I think that log is more of a notice.

I just updated dependencies and some code so the deprecation log should be gone. I don't currently have a BC account so I'm not able to verify everything's OK besides building and watching the app open. Can you build locally to test if it's working correctly. I may upload a new version shortly but I'd rather have a real confirmation about the changes first.

@wout
Copy link
Author

wout commented May 1, 2023

Thanks for the quick reply. Opening the app with the --disable-gpu-sandbox flag does indeed fix the issue.

You're right about the icon error. Nothing to worry about. There just isn't a .desktop file (yet).

@artrz
Copy link
Owner

artrz commented May 1, 2023

Great!

I added a .desktop file template you may want to use as base.

@artrz artrz closed this as completed May 1, 2023
@wout
Copy link
Author

wout commented May 1, 2023

Brilliant, thanks again!

@E1337Kat
Copy link

E1337Kat commented Jul 5, 2023

I wanted to add that it does seem that building current master branch locally on Linux Mint 21.1 (which is built on Ubuntu 22.04) does seem to start fine without needing to disable the GPU sandbox.

@artrz
Copy link
Owner

artrz commented Jul 7, 2023

Thanks @E1337Kat ! I'll build the new version soon then.

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

3 participants