From d3aae9c0cde3d8b45e873e3f2098664e41eca733 Mon Sep 17 00:00:00 2001 From: Jafaruddin Lie <jafar.lie@monash.edu> Date: Mon, 1 Apr 2019 22:38:56 +1100 Subject: [PATCH] updated xorg.conf.j2 Former-commit-id: f485bf2706b3a0f500c4d621b768b06b1bc02e32 --- roles/deploy-xorg/templates/xorg.conf.j2 | 4 +++- roles/gpu/templates/xorg.conf.j2 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/deploy-xorg/templates/xorg.conf.j2 b/roles/deploy-xorg/templates/xorg.conf.j2 index 2fc5f043..7f8b0f82 100644 --- a/roles/deploy-xorg/templates/xorg.conf.j2 +++ b/roles/deploy-xorg/templates/xorg.conf.j2 @@ -66,8 +66,10 @@ Section "Screen" Device "Device{{item.screens.index(screen)}}" Monitor "Monitor{{item.screens.index(screen)}}" DefaultDepth 24 - Option "UseDisplayDevice" "None" Option "ProbeAllGpus" "false" +{% if item.boardname == 'GRID K1' %} + Option "UseDisplayDevice" "None" +{% endif %} SubSection "Display" Virtual 1920 1200 Depth 24 diff --git a/roles/gpu/templates/xorg.conf.j2 b/roles/gpu/templates/xorg.conf.j2 index 2fc5f043..7f8b0f82 100644 --- a/roles/gpu/templates/xorg.conf.j2 +++ b/roles/gpu/templates/xorg.conf.j2 @@ -66,8 +66,10 @@ Section "Screen" Device "Device{{item.screens.index(screen)}}" Monitor "Monitor{{item.screens.index(screen)}}" DefaultDepth 24 - Option "UseDisplayDevice" "None" Option "ProbeAllGpus" "false" +{% if item.boardname == 'GRID K1' %} + Option "UseDisplayDevice" "None" +{% endif %} SubSection "Display" Virtual 1920 1200 Depth 24 -- GitLab