phw / peek

Simple animated GIF screen recorder with an easy to use interface
GNU General Public License v3.0
10.31k stars 321 forks source link

Recorded video is completely black #992

Open K4LCIFER opened 2 years ago

K4LCIFER commented 2 years ago

System Information

Describe the bug The recorded video is black.

To Reproduce Steps to reproduce the behavior, for example:

  1. Record a video (I tried both GIF and MP4)
  2. Playback the Video and observe that the video is completely black.

Expected behavior I expect to be able to record a video.

hadron43 commented 2 years ago

I can confirm this issue on Ubuntu with Wayland. However, when I switched to Xorg, Peek was working normally. People who are on Ubuntu and are looking for a quick fix can choose Ubuntu on Xorg on login screen.

mbana commented 2 years ago

Confirm same issue - when I record on Wayland the gif just shows the cursor and black background, on X11 it records fine.

Please fix this. Not all of us use X11.

$ neofetch      
             .',;::::;,'.                mbana@mbana-pc3 
         .';:cccccccccccc:;,.            --------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 36 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: MS-7C35 1.0 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 5.18.18-200.fc36.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 14 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 3121 (rpm), 39 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: zsh 5.8.1 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 5120x1440 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 42.4 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Pop 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Pop [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Pop [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: AMD Ryzen 9 3950X (32) @ 3.500GHz 
:cccccccccccccccccccccccccccc:'.         GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT 
.:cccccccccccccccccccccc:;,..            GPU: NVIDIA GeForce RTX 3090 
  '::cccccccccccccc::;,.                 Memory: 8071MiB / 64220MiB 
$ screenfetch 
           /:-------------:\          mbana@mbana-pc3
        :-------------------::        OS: Fedora 
      :-----------/shhOHbmp---:\      Kernel: x86_64 Linux 5.18.18-200.fc36.x86_64
    /-----------omMMMNNNMMD  ---:     Uptime: 17m
   :-----------sMMMMNMNMP.    ---:    Packages: 3121
  :-----------:MMMdP-------    ---\   Shell: zsh 5.8.1
 ,------------:MMMd--------    ---:   Resolution: 5120x1440
 :------------:MMMd-------    .---:   DE: GNOME 42.3
 :----    oNMMMMMMMMMNho     .----:   WM: Mutter
 :--     .+shhhMMMmhhy++   .------/   WM Theme: 
 :-    -------:MMMd--------------:    GTK Theme: Pop [GTK2/3]
 :-   --------/MMMd-------------;     Icon Theme: Pop
 :-    ------/hMMMy------------:      Font: Fira Sans 10
 :-- :dMNdhhdNMMNo------------;       Disk: 3.3T / 17T (21%)
 :---:sdNMMMMNds:------------:        CPU: AMD Ryzen 9 3950X 16-Core @ 32x 3.5GHz
 :------:://:-------------::          GPU: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1)
Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1)
 :---------------------://            RAM: 8885MiB / 64220MiB

If you need more information, please let me know.

barrydit commented 2 years ago

I'm trying to use the Peek for the first time on Linux (Debian), and trying to use it above the web browser (firefox) with (presumably) a white background. The result is in webp and gif is that the background (with the mouse being visible) is on top of a black background. Content is not visible. Peek 2022-11-13 20-27

rostalan commented 1 year ago

Same issue here on Fedora 38 with Wayland and Podman Desktop app. Trying to produce gif. Edit: tried to record on X11 and it worked...

texaco commented 3 days ago

same issue. Gnome wayland