russelltg / wl-screenrec

High performance wlroots screen recording, featuring hardware encoding
Apache License 2.0
305 stars 9 forks source link

Visual glitch when recording a video #45

Open bluebyt opened 9 months ago

bluebyt commented 9 months ago

I have one small problem, a visual glitch when recording a video. I really want to use wl-screenrec, because the quality of the video is better then wf-recorder. (But I dont have this problem with wf-recorder)

You can see the visual glitch on the video at the beginning of the video: Video

vainfo

wl-screenrec -v

Hardware: Intel CoffeeLake-S GT2 [UHD Graphics 630] 9th generation Core

I try to set enable_guc=2, maybe that will help to solve the problem, but for some reason it doesn't loaded. When I do this: "sudo dmesg | grep -i guc" I see nothing in the term But according to the Arch wiki that should work. Arch wiki

russelltg commented 9 months ago

Do you get this issue with wf-recorder -c h264_vaapi -d /dev/dri/renderD128?

bluebyt commented 9 months ago

No I dont have this issue with this command wf-recorder -c h264_vaapi -d /dev/dri/renderD128

With wl-screenrec it happen in average 2 times per one minutes of a video.

russelltg commented 7 months ago

If you increase the bitrate does it happen? --bitrate

bluebyt commented 7 months ago

I am not able to reproduce the problem now, may its because Mesa Intel drivers update to version 24.0. I will continue to investigate.