From d78ea2289d14f1867a87c6160dda359842811379 Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Fri, 19 Jul 2019 07:37:36 +0530 Subject: [PATCH 1/2] Add few docs for xorg.conf.d --- .../advanced-configuration/gui-configuration.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/user/advanced-configuration/gui-configuration.md b/user/advanced-configuration/gui-configuration.md index ee645520..e997e92c 100644 --- a/user/advanced-configuration/gui-configuration.md +++ b/user/advanced-configuration/gui-configuration.md @@ -35,3 +35,20 @@ The amount of memory allocated per qube is the maximum of: Default overhead is about 8 MiB, which is enough for a 1080p display (see above). So, the `gui-videoram-overhead` zeroing is not strictly necessary; it only avoids allocating memory that will not be used. + +You might face issues when playing video, if the video is choppy instead of +smooth display this could be because the X server doesn't work. You can use the +Linux terminal (Ctrl-Alt-F2) after starting the virtual machine, login. See what +is present in `/var/log/Xorg.0.log`. This file has logs, edit the configuration +and `systemctl restart lightdm`. As an option you can have the below config as +well present in `/etc/X11/xorg.conf.d/90-intel.conf`, depends on HD graphics +though - + +```bash +Section "Device" + Identifier "Intel Graphics" + Driver "intel" + Option "TearFree" "true" +EndSection +``` + From 5caf514755f4e6fa69ca10fdd555f4c3cfea3baf Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Fri, 19 Jul 2019 13:16:15 +0530 Subject: [PATCH 2/2] Add proper info about Xorg log file --- user/advanced-configuration/gui-configuration.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/user/advanced-configuration/gui-configuration.md b/user/advanced-configuration/gui-configuration.md index e997e92c..f8dd096b 100644 --- a/user/advanced-configuration/gui-configuration.md +++ b/user/advanced-configuration/gui-configuration.md @@ -38,9 +38,8 @@ So, the `gui-videoram-overhead` zeroing is not strictly necessary; it only avoid You might face issues when playing video, if the video is choppy instead of smooth display this could be because the X server doesn't work. You can use the -Linux terminal (Ctrl-Alt-F2) after starting the virtual machine, login. See what -is present in `/var/log/Xorg.0.log`. This file has logs, edit the configuration -and `systemctl restart lightdm`. As an option you can have the below config as +Linux terminal (Ctrl-Alt-F2) after starting the virtual machine, login. You can +look at the Xorg logs file. As an option you can have the below config as well present in `/etc/X11/xorg.conf.d/90-intel.conf`, depends on HD graphics though - @@ -51,4 +50,3 @@ Section "Device" Option "TearFree" "true" EndSection ``` -