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: