kazam or simplescreenrecord Recording the Black Screen in linux.
This Problem is because of the XORG video server enabled.
For solving this problem we have to disable the XORG video server.
Open the File
/etc/gdm3/custom.conf
Edit the #WaylandEnable=false
To WaylandEnable=false
Reboot the system