joaomgcd / JoinDesktop

A desktop app for Join built in Electron
238 stars 19 forks source link

JoinDesktop not working on Ubuntu 22.04 #62

Closed Gerd-St closed 2 years ago

Gerd-St commented 2 years ago

I have installed the com.joaomgcd.join_1.1.2_amd64.deb package. When starting the app it just opens an empty window for about 1 second and then closes. Is there a workaround available?

joaomgcd commented 2 years ago

Thanks for the report. Are you please able to uninstall that version and try previous versions? Do those work? Thanks

Gerd-St commented 2 years ago

I just tried the AppImages for version 1.1.1 and 1.1.0. Identical behaviour with version 1.1.2 as both an AppImage and .deb package.

I again run Join.Desktop-1.1.2.AppImage, this time from terminal and got this output: gerd@Ubuntu-Desktop:~/Downloads$ ./Join.Desktop-1.1.2.AppImage Checking local ip... Stored bounds { x: 496, y: 124, width: 612, height: 658 } Primary display { x: 59, y: 27, width: 1477, height: 837 } Start monitoring clipboard 1000 Instancing AutoLaunch for path /tmp/.mount_Join.D0qtIn4/com.joaomgcd.join App Info { platform: 'linux', version: '1.1.2', isWindowsSystem: false, isMacSystem: false, isLinuxSystem: true, ipAddress: Promise { } } 9876 Got IP null 192.168.178.35 Package version from github 1.1.2 No notifications. Closing window. [22949:0509/114445.814072:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

joaomgcd commented 2 years ago

Hmmm, never saw that issue before. Does "GPU process isn't usable" mean anything to you?

Gerd-St commented 2 years ago

Sorry, no. Processor is AMD Ryzen 7 5700g, Graphics card is NVIDIA GeForce RTX 3060/PCIe/SSE2. Ubuntu 22.04 is using GNOME 42.0, window manager is X11

joaomgcd commented 2 years ago

Thanks. Does this maybe help? https://stackoverflow.com/questions/68874940/gpu-process-isnt-usable-goodbye

Gerd-St commented 2 years ago

Not really. I am running Ubuntu on a PC, not MacOS. And I have no idea on how I should replicate what is proposed there for running an AppImage or the .deb installation.

Gerd-St commented 2 years ago

I found a solution. I am using AppImageLauncher on my Ubuntu installation for easy starting the AppImages simiilar to other installed applications. After installing the Join AppImage a desktop file will be created at ./.local/shared/applications. Within that desktop file I had to add the "--no-sandbox" option like this:

[Desktop Entry] Name=Join Desktop (1.1.2) Exec=/home/gerd/Applications/Join.Desktop-1.1.2_46b5ccfb3adf1171a3a0cca000ee71c8.AppImage --no-sandbox Terminal=false Type=Application Icon=appimagekit_3d9fa8b432c6b709c654a039a03ca4db_com.joaomgcd.join StartupWMClass=Join Desktop X-AppImage-Version=1.1.2 Comment=A companion app for the Join website Categories=Utility; .........

It may take a reboot after changing the file for taking effect.

joaomgcd commented 2 years ago

Nice! :) Very glad you found that. Thank you for letting me know!