From 980703bc57a43779562ac9c3e4ac48f4a0bd84ab Mon Sep 17 00:00:00 2001 From: emrah Date: Mon, 1 Jul 2024 15:13:16 +0300 Subject: [PATCH] fix(jibri): display modes in xorg config --- jibri/rootfs/defaults/xorg-video-dummy.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jibri/rootfs/defaults/xorg-video-dummy.conf b/jibri/rootfs/defaults/xorg-video-dummy.conf index 7bb095d..37e56c4 100644 --- a/jibri/rootfs/defaults/xorg-video-dummy.conf +++ b/jibri/rootfs/defaults/xorg-video-dummy.conf @@ -1,6 +1,6 @@ {{ $JIBRI_RECORDING_RESOLUTION := .Env.JIBRI_RECORDING_RESOLUTION | default "1280x720" -}} -{{ $JIBRI_HORIZ_SYNC := .Env.JIBRI_XORG_HORIZ_SYNC | default "43.0 - 47.0" -}} -{{ $JIBRI_VERT_REFRESH := .Env.JIBRI_XORG_VERT_REFRESH | default "58.0 - 62.0" -}} +{{ $JIBRI_HORIZ_SYNC := .Env.JIBRI_XORG_HORIZ_SYNC | default "5.0 - 1000.0" -}} +{{ $JIBRI_VERT_REFRESH := .Env.JIBRI_XORG_VERT_REFRESH | default "5.0 - 200.0" -}} # This xorg configuration file is meant to be used by xpra # to start a dummy X11 server. @@ -65,7 +65,6 @@ Section "Monitor" Modeline "1360x768" 24.49 1360 1392 1480 1512 768 786 789 807 Modeline "1024x768" 18.71 1024 1056 1120 1152 768 786 789 807 Modeline "768x1024" 19.50 768 800 872 904 1024 1048 1052 1076 - Modeline "1280x720@60" 73.78 1280 1312 1592 1624 720 735 742 757 #common resolutions for android devices (both orientations): @@ -113,8 +112,7 @@ Section "Screen" SubSection "Display" Viewport 0 0 Depth 24 - Modes "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200" - Virtual {{ join " " (splitList "x" $JIBRI_RECORDING_RESOLUTION) }} + Modes {{ $JIBRI_RECORDING_RESOLUTION | quote }} EndSubSection EndSection