From f4788484a998b130ee5a606ea4610cfbab91444b Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Mon, 8 Apr 2019 22:01:42 +0200 Subject: [PATCH] Don't set vaapi Option for softhddevice if a nvidia card has been detected --- Manual.org | 2 +- roles/yavdr-xorg/tasks/setup-xorg.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Manual.org b/Manual.org index 631263f..14f0fbc 100644 --- a/Manual.org +++ b/Manual.org @@ -2578,7 +2578,7 @@ preferred_refreshrates: lineinfile: path: /etc/vdr/conf.avail/softhddevice.conf line: '-v va-api' - state: '{{ "present" if intel_detected else "absent" }}' + state: '{{ "present" if (not nvidia_detected and intel_detected) else "absent" }}' - name: add a login shell for the user vdr user: diff --git a/roles/yavdr-xorg/tasks/setup-xorg.yml b/roles/yavdr-xorg/tasks/setup-xorg.yml index 4540ff1..9b66036 100644 --- a/roles/yavdr-xorg/tasks/setup-xorg.yml +++ b/roles/yavdr-xorg/tasks/setup-xorg.yml @@ -48,7 +48,7 @@ lineinfile: path: /etc/vdr/conf.avail/softhddevice.conf line: '-v va-api' - state: '{{ "present" if intel_detected else "absent" }}' + state: '{{ "present" if (not nvidia_detected and intel_detected) else "absent" }}' - name: add a login shell for the user vdr user: