From b45486822174f0f1af788f56f4f49f263d9fc174 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 14 Jun 2024 09:46:36 +0200 Subject: [PATCH] Set default scale percentage to 100 --- server/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/main.cpp b/server/main.cpp index ffb9bd16..c1565b8e 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -239,6 +239,10 @@ int inner_main(int argc, char * argv[]) setenv("LISTEN_PID", std::to_string(getpid()).c_str(), true); + // In most cases there is no server-side reprojection and + // there is no need for oversampling. + setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", false); + // FIXME: synchronization fails on gfx pipeline setenv("XRT_COMPOSITOR_COMPUTE", "1", true);