pavlobu / deskreen

Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
https://deskreen.com
GNU Affero General Public License v3.0
17.54k stars 961 forks source link

Problem running with Ubuntu Jammy Jellyfish #186

Open mhalano opened 2 years ago

mhalano commented 2 years ago

Prerequisites

Expected Behavior

Deskreen should open

Current Behavior

Deskreen finishes execution with this shell message:

➜ /opt/Deskreen/deskreen 
11:40:07.046 › /opt/Deskreen/resources/app.asar/main.prod.js : Deskreen signaling server is online at port 3131
Gtk-Message: 11:40:07.050: Failed to load module "appmenu-gtk-module"
11:40:07.146 › APPIMAGE env is not defined, current application is not an AppImage
(node:36226) 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
[36226:0223/114007.992733:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
[1]    36226 trace trap (core dumped)  /opt/Deskreen/deskreen

Steps to Reproduce

  1. Install Deskscreen using the official .deb package

  2. Start from console using the command deskreen

  3. See the error message and execution stopping.

Possible Solution (Not obligatory)

I was able to execute using the command deskreen --in-process-gpu

Context

I'm trying to initialize Deskreen.

Your Environment

linus-ha commented 2 years ago

Same here

[linus@linus-pc ~]$ deskreen 
15:43:15.960 › /opt/Deskreen/resources/app.asar/main.prod.js : Deskreen signaling server is online at port 3131
15:43:16.053 › APPIMAGE env is not defined, current application is not an AppImage
(node:46424) 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
[46424:0504/154318.211215:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

deskreen --in-process-gpu works

Steps to reproduce

My environment

hunicus commented 2 years ago

Getting the same issue. Running with --disable-gpu-sandbox shows the window, but then I run into #185.

pavlobu commented 2 years ago

hey all I made a huge electron version bump, you can try with newest Deskreen version and see if it solved your problems, please write here, did it actually help. Thanks!