dec05eba / gpu-screen-recorder-issues

GPU Screen Recorder issue tracker
20 stars 0 forks source link

[BUG] Weird Colors on the right of the screen after recording & watching video #16

Closed z5vix closed 7 months ago

z5vix commented 7 months ago

Describe the bug When recording, on the right side of the screen. im getting some weird color, im unsure how this happens exactly except that its only showing only on the GPU, using H264 works as expected

To Reproduce Record with a gpu

Expected behavior they arent suppost to be there

Screenshot Screenshot_20240501_233029

Additional context everything has been explained, this hasnt happened on any version prior to 3.7.2 at least i believe so.

dec05eba commented 7 months ago

You didn't include drm_info output which is part of the report template. Please do so. This is what the report template says:

Add any other context about the problem here,
such as terminal output of running GPU Screen Recorder and if there was an issue
in the video then run the command sudo drm_info > log.log and attach that log.log
file in this bug report.
drm_info can be installed from your package manager or from
https://gitlab.freedesktop.org/emersion/drm_info.
Attach a video that shows the issue (if applicable), in raw form as output by GPU Screen Recorder

it's important to upload the video, not just image as the raw video contains more information about the issue.

Also you can test if it does happen in older gpu screen recorder version by running sudo flatpak update --system --commit=7b42065ffa5b3d2a8c9aa53f426b60eb2a5f9e909b277d1ab5ee4bdd3297e6e0 com.dec05eba.gpu_screen_recorder to downgrade it and then try recording with hevc again.

But I believe it's unrelated to gpu screen recorder itself, or at least not a new issue. You can try downgrading mesa in the flatpak to see if it's an amd driver issue instead, run: sudo flatpak update --system --commit=8dc61a1d337706a71392fec507039dabca96ce29f9e068ee867156482db7c856 org.freedesktop.Platform.GL.default/x86_64/23.08 and try recording with hevc again.

Also can you upload a video that shows the issue? just record 3-5 seconds of video and upload it raw (without editing it).

What resolution is the monitor you are recording? is it rotated? what resolution is the recorded video?

z5vix commented 7 months ago

your right, it doesnt seem to be GSR itself. as downgrading did not solve the problem. im using 1360 x 768 TV which is like, not 1080p but not 720p either the recorded video is outputted as 720p

Video1 Downgraded https://github.com/dec05eba/gpu-screen-recorder-issues/assets/90941565/f4056399-72bb-406b-b751-be4cb9dd12fb

Video2 Downgraded, Older Mesa https://github.com/dec05eba/gpu-screen-recorder-issues/assets/90941565/afe2f2b9-be11-4256-96bc-f06249767cc3

im not exactly sure what drm_info is so i just ran it through the terminal and im just going to upload a copy pasted text of that drm_info?.txt

z5vix commented 7 months ago

Downgraded, Older Mesa

https://github.com/dec05eba/gpu-screen-recorder-issues/assets/90941565/afda197b-8b33-41b2-a2c5-94e3f901d44f

Updated, Older Mesa

https://github.com/dec05eba/gpu-screen-recorder-issues/assets/90941565/3998b155-e1c1-4d9b-b9fc-90d063e0bda1

dec05eba commented 7 months ago

I can reproduce it at that resolution and the same thing happens in obs studio when using vaapi. It's a ffmpeg bug and amd driver bug. av1 has the same issue except with av1 it's a hardware bug that cant be fixed. It happens at very low resolutions and uncommon resolutions more. If you record your 1080p monitor then you will see that it wont really happen. I believe this was partially fixed very recently, so soon a mesa update and ffmpeg update may fix it. I cant do anything about it from gpu screen recorders side :/ For now you have to record with h264 as a workaround :(