aboutsummaryrefslogtreecommitdiff
path: root/src/capture
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-02-13 01:05:37 +0100
committerdec05eba <dec05eba@protonmail.com>2025-02-13 01:05:37 +0100
commite869b55878ede85435f8ad1c3aefd27c351f54d2 (patch)
tree43ec4cec393d668eaeedd1b72e320c9b9e97483e /src/capture
parent38f1ef0f9b56518e2ffafeb1f66eba383ab2e4b7 (diff)
Revert hdr color fix. It looked better for fullscreen hdr games before
Diffstat (limited to 'src/capture')
-rw-r--r--src/capture/kms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/capture/kms.c b/src/capture/kms.c
index 031ded5..ae0c36f 100644
--- a/src/capture/kms.c
+++ b/src/capture/kms.c
@@ -236,10 +236,10 @@ static int gsr_capture_kms_start(gsr_capture *cap, AVCodecContext *video_codec_c
if(self->fast_path_failed)
fprintf(stderr, "gsr warning: gsr_capture_kms_start: your amd driver (mesa) version is known to be buggy (<= version 24.0.9), falling back to opengl copy\n");
- if(self->params.hdr) {
- self->fast_path_failed = true;
- fprintf(stderr, "gsr warning: gsr_capture_kms_start: recording with hdr requires shader color conversion which might be slow. If this is an issue record with -w portal instead (which converts HDR to SDR)\n");
- }
+ //if(self->params.hdr) {
+ // self->fast_path_failed = true;
+ // fprintf(stderr, "gsr warning: gsr_capture_kms_start: recording with hdr requires shader color conversion which might be slow. If this is an issue record with -w portal instead (which converts HDR to SDR)\n");
+ //}
self->mesa_supports_compute_only_vaapi_copy = self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD && gl_driver_version_greater_than(&self->params.egl->gpu_info, 24, 3, 6);