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

Simple Screen Recorder records sound only with black screen #565

Closed
KhitMinnyo opened this issue Aug 18, 2017 · 13 comments
Closed

Simple Screen Recorder records sound only with black screen #565

KhitMinnyo opened this issue Aug 18, 2017 · 13 comments

Comments

@KhitMinnyo
Copy link

I am using Kali Linux 2017.1 64bit Version
I installed SimpleScreenRecorder and recorded many screen-castings.
But, Now, I'm facing a knotty problem.
SSR records sound but not include Screencasting .

screenshot from 2017-08-18 17-59-10
Please, Help me with this.

Thanks

@isapir
Copy link

isapir commented Aug 19, 2017

I'm facing the same issue on Fedora 26 64bit

@isapir
Copy link

isapir commented Aug 19, 2017

This seems to be an issue with Wayland, which is the default with modern Fedora distributions. Switching to X11 resolves this issue.

@QuImUfu
Copy link

QuImUfu commented Aug 19, 2017

which makes this another duplicate of #431

@isapir
Copy link

isapir commented Aug 20, 2017

I agree. AFAIC this one can be closed as duplicate.

@KhitMinnyo
Copy link
Author

Thank for your help. Now I'm OK. Thanks

@AdnanHodzic
Copy link

I just had this problem on Debian 10 Buster a year and half later after this issue was initially opened.

Switching back to X11 fixed the issue. But I was curious if there are plans to support Wayland in future?

Thanks

@umeklinks
Copy link

umeklinks commented Aug 5, 2019

Hello, I don't know if you have fixed this bug but if you haven't let me help out because I ran into the same issue. Here's a solution for it, NOT REALLY A PERMANENT ONE but on the user side that will take you throughout the period of using your OS (I'm running on Fedora 30 and I equally encountered it on the Fedora 32 all fixed with this approach):

Your need to Configure Xorg as the default GNOME session. On your terminal open your custom.conf by typing this command sudo nano /etc/gdm/custom.conf and uncomment WaylandEnable=false if it's commented but must be set to false

Then, on the [daemon] section just under WaylandEnable=false add this line DefaultSession=gnome-xorg.desktop and save the file. restart your system and try running your Screen Recorder program again.
Congratulations.

However, if nano command is not working please try installing it by running the command
sudo dnf install nano or sudo apt-get install nano whichever one works for you.

@isapir
Copy link

isapir commented Aug 5, 2019

Thanks, I'll try it if I bump into the issue again. IIRC, last time I switched my login to X11 to resolve the issue.

@10xStartuper
Copy link

I am having this issue on Linux 18.04 but I don't have anything on (#565 (comment))

@10xStartuper
Copy link

It didn't work

@europ
Copy link

europ commented Apr 13, 2020

I have the same problem.

It records mouse and sound but it does not record the screen.

$ date
Mon 13 Apr 10:51:27 CEST 2020

$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 30 (Thirty)
Release:        30
Codename:       Thirty

$ echo $XDG_SESSION_TYPE
wayland

$ loginctl show-session 2 -p Type
Type=wayland

$ dnf info simplescreenrecorder
Installed Packages
Name         : simplescreenrecorder
Version      : 0.3.11
Release      : 7.fc30
Architecture : x86_64
Size         : 3.7 M
Source       : simplescreenrecorder-0.3.11-7.fc30.src.rpm
Repository   : @System
From repo    : rpmfusion-free
Summary      : Simple Screen Recorder is a screen recorder for Linux
URL          : http://www.maartenbaert.be/simplescreenrecorder/
License      : GPLv3
Description  : It is a screen recorder for Linux.
             : Despite the name, this program is actually quite complex.
             : It's 'simple' in the sense that it's easier to use than ffmpeg/avconv or VLC

Screenshot from 2020-04-13 10-58-22

@europ
Copy link

europ commented Apr 13, 2020

It can be fixed by following the instructions in #565 (comment)

  1. open /etc/gdm/custom.conf in a text editor as root
  2. change the [deamon] group to the example below
[daemon]
WaylandEnable=false
DefaultSession=gnome-xorg.desktop
  1. reboot

Screenshot from 2020-04-13 11-13-59

After the reboot, the enviroment is changed to:

$ echo $XDG_SESSION_TYPE
x11

$ loginctl show-session 2 -p Type
Type=x11

@Trospector
Copy link

Do try viewing the recording file in another viewer or browser before trying more complicated things.

I have this strange situation where for one particular recording (.mp4) file, VLC on Lubuntu shows me garbled video (sometimes just a black screen, sometimes flickering black and white rectangles) with good audio. Fortunately I happened to think out about trying to view the file in another viewer (Firefox browser) and that shows both video and audio perfect! Here are the details:

Lubuntu 19.04 Disco
LXQt 0.14.1
recording file: .mp4, 53.6 MiB, about 30 minutes long
SimpleScreenRecorder 0.3.11
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000560fe5b1e570] main libvlc: Running vlc with the default interface.

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

8 participants