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

Black Screen on Ubuntu 24 #259

Open DexSwaper opened 6 months ago

DexSwaper commented 6 months ago

Thanks for your product, But it was working properly on ubuntu 22 , but it shows black screen on ubuntu 24.

Regards

yuhldr commented 6 months ago

maybe wayland, you can run by

deskreen --enable-features=WebRTCPipeWireCapturer 

then select Entire Screen

maybe show wayland

yuhldr commented 6 months ago

like this #45

Shikhrshukla commented 5 months ago

first open terminal and run

sudo vi /etc/gdm3/custom.conf

then uncomment this option WaylandEnable=false

at last, run

sudo systemctl restart gdm3

or restart your pc

elhariri78 commented 3 months ago

first try to make Update with

sudo apt update
sudo apt upgrade

Remove and reinstall Deskreen to ensure it’s properly set up for your current system:


sudo apt remove deskreen
sudo apt install deskreen

Run Deskreen with verbose logging

deskreen --verbose

oodzchen commented 3 weeks ago

Same here on KDE Wayland, Plasma 6.2.2, the verbose shows:

17:29:36.756 › /opt/Deskreen/resources/app.asar/main.prod.js : Deskreen signaling server is online at port 3131 17:29:36.846 › APPIMAGE env is not defined, current application is not an AppImage [26127:1102/172936.897423:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [26127:1102/172943.068041:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [26127:1102/172946.803239:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [26127:1102/172946.804597:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

It request a virtual display output successfully, but the virtual display is black screen, even not show the cursor.

Also I've tried --enable-features=WebRTCPipeWireCapturer, which even not request a virtual display.

voibhiv commented 2 weeks ago

first open terminal and run

sudo vi /etc/gdm3/custom.conf

then uncomment this option WaylandEnable=false

at last, run

sudo systemctl restart gdm3

or restart your pc

That's works for me