diff --git a/README.html b/README.html index 27adc8c..3545624 100644 --- a/README.html +++ b/README.html @@ -1051,8 +1051,8 @@ an empty boundary frame of unused pixels (which would be lost in a full-screen display that overscans, and is not displayed by gstreamer). Recommendation: don’t use this option unless there is some special reason to use it.
--fs uses fullscreen mode, but only works with X11, -Wayland, VAAPI, and D3D11 (Windows).
+-fs uses fullscreen mode, but currently only works +with X11, Wayland, VAAPI, kms and D3D11 (Windows).
-p allows you to select the network ports used by UxPlay (these need to be opened if the server is behind a firewall). By itself, -p sets “legacy” ports TCP 7100, 7000, 7001, UDP 6000, 6001, diff --git a/README.md b/README.md index 4b90254..71e6ddd 100644 --- a/README.md +++ b/README.md @@ -1063,8 +1063,8 @@ display that overscans, and is not displayed by gstreamer). Recommendation: **don't use this option** unless there is some special reason to use it. -**-fs** uses fullscreen mode, but only works with X11, Wayland, VAAPI, -and D3D11 (Windows). +**-fs** uses fullscreen mode, but currently only works with X11, Wayland, VAAPI, +kms and D3D11 (Windows). **-p** allows you to select the network ports used by UxPlay (these need to be opened if the server is behind a firewall). By itself, -p sets diff --git a/README.txt b/README.txt index 1948be4..323f86a 100644 --- a/README.txt +++ b/README.txt @@ -1064,8 +1064,8 @@ display that overscans, and is not displayed by gstreamer). Recommendation: **don't use this option** unless there is some special reason to use it. -**-fs** uses fullscreen mode, but only works with X11, Wayland, VAAPI, -and D3D11 (Windows). +**-fs** uses fullscreen mode, but currently only works with X11, +Wayland, VAAPI, kms and D3D11 (Windows). **-p** allows you to select the network ports used by UxPlay (these need to be opened if the server is behind a firewall). By itself, -p sets diff --git a/uxplay.1 b/uxplay.1 index f760cca..dd7594d 100644 --- a/uxplay.1 +++ b/uxplay.1 @@ -49,7 +49,7 @@ UxPlay 1.71: An open\-source AirPlay mirroring (+ audio streaming) server: .TP \fB\-o\fR Set display "overscanned" mode on (not usually needed) .TP -\fB-fs\fR Full-screen (only works with X11, Wayland, VAAPI, D3D11) +\fB-fs\fR Full-screen (only with X11, Wayland, VAAPI, D3D11, kms) .TP \fB\-p\fR Use legacy ports UDP 6000:6001:7011 TCP 7000:7001:7100 .TP diff --git a/uxplay.cpp b/uxplay.cpp index a8f556f..34d517e 100644 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -655,7 +655,7 @@ static void print_info (char *name) { printf("-s wxh[@r]Request to client for video display resolution [refresh_rate]\n"); printf(" default 1920x1080[@60] (or 3840x2160[@60] with -h265 option)\n"); printf("-o Set display \"overscanned\" mode on (not usually needed)\n"); - printf("-fs Full-screen (only works with X11, Wayland, VAAPI, D3D11)\n"); + printf("-fs Full-screen (only with X11, Wayland, VAAPI, D3D11, kms)\n"); printf("-p Use legacy ports UDP 6000:6001:7011 TCP 7000:7001:7100\n"); printf("-p n Use TCP and UDP ports n,n+1,n+2. range %d-%d\n", LOWEST_ALLOWED_PORT, HIGHEST_PORT); printf(" use \"-p n1,n2,n3\" to set each port, \"n1,n2\" for n3 = n2+1\n"); @@ -2201,6 +2201,8 @@ int main (int argc, char *argv[]) { if (fullscreen && use_video) { if (videosink == "waylandsink" || videosink == "vaapisink") { videosink_options.append(" fullscreen=true"); + } else if (videosink == "kmssink") { + videosink_options.append(" force_modesetting=true"); } }