Commit Graph

347 Commits

Author SHA1 Message Date
Alexander Grothe
b00876f0fd Disable Composite and Force(Full)CompositionPipeline by default
Even a GTX 1030 has a choppy image on fast movements (e.g. football)
2018-06-02 20:03:24 +02:00
Alexander Grothe
b1389ae487 Create drop-in for sudo for vdr user
this allows to restart vdr.service and reboot the system
2018-05-23 09:55:57 +02:00
Alexander Grothe
2ac7044459 Set nvidia-experimental driver to nvidia-396 2018-05-20 09:13:23 +02:00
Alexander Grothe
de6ea4615b Disable dpms for second display 2018-05-18 10:34:16 +02:00
Alexander Grothe
ddfd3cc441 Use english section title 2018-05-12 22:10:41 +02:00
Alexander Grothe
3f989fcffb Do not enable eventlircd.socket in autoinstall-yausbir
eventlircd.socket is enabled and started by yavdr-remote.
2018-05-12 21:22:22 +02:00
Alexander Grothe
7b83faf750 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-05-12 21:21:27 +02:00
Alexander Grothe
d87fcd98f4 Do not enable eventlircd.socket
eventlircd.socket should already have been enabled by yavdr-remote
2018-05-12 21:16:41 +02:00
Alexander Grothe
65dc2b4fd7 Allow overriding preferred refresh rate, resolution and connection
for xrandr_facts module. You can set own preferences e.g. in a
host_vars/localhost.yml using the variables preferred_refreshrates,
preferred_resolutions and preferred_outputs (see
roles/yavdr-xorg/default/main.yml for default values).
2018-05-10 22:04:45 +02:00
Alexander Grothe
d68cbc252a Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-05-10 20:42:53 +02:00
Alexander Grothe
70945dc97b Add error handling for parse-edid call.
If parse-edid can not parse the given edid, use "Unknown" for vendor
and model name.
2018-05-08 10:28:25 +02:00
Alexander Grothe
6724ddcc23 Install lircd2uinput after eventlircd 2018-05-06 19:26:04 +02:00
Alexander Grothe
524f43d494 Install eventlircd after lircd has been stopped 2018-05-06 16:32:39 +02:00
Alexander Grothe
d73bc61d69 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-05-01 07:18:20 +02:00
Alexander Grothe
96d2cc9a08 Use yavdr-xorg to control xlogin@vdr.service and x@vt7.service 2018-04-24 09:56:29 +02:00
Alexander Grothe
183bd4bc30 Load environment variables from /etc/default/locale 2018-04-24 09:34:44 +02:00
Alexander Grothe
e5e15fa527 Don't install vainfo 2018-04-20 15:54:08 +02:00
Alexander Grothe
47c6a06ef2 use i965-va-driver-shaders instead of free driver to enable HEVC support 2018-04-20 15:36:26 +02:00
Alexander Grothe
85d9d624e6 Update 2018-04-20 15:26:52 +02:00
Alexander Grothe
f779fba01c Make hardware_facts.py work with different levels of PCI device trees 2018-04-20 11:47:18 +02:00
Alexander Grothe
37df4f25bb Install i965-va-driver and i965-va-driver-shaders if Intel IGP is detected 2018-04-20 11:10:11 +02:00
Alexander Grothe
85fe14ffd2 Fix glob command to collect pci device information 2018-04-20 11:06:45 +02:00
Alexander Grothe
4f857589d9 Install *-hwe virtualbox packages by default 2018-04-19 12:06:43 +02:00
Alexander Grothe
c43bcc30bb Do not run ubuntu-drivers autoinstall if system is a VirtualBox Client 2018-04-19 11:55:03 +02:00
Alexander Grothe
c6df27ca0c Do not add yavdr ppa, ansible in bionic repositories has been updated. 2018-04-19 10:30:43 +02:00
Alexander Grothe
2dc40f1595 Add cache timeout to apt operation 2018-04-06 09:06:03 +02:00
Alexander Grothe
b310e3341c Remove unnecessary PassEnvironment= Option
and add a Handler for sundtek.service
2018-03-25 13:09:54 +02:00
Alexander Grothe
d2afb2f2cc enable workaround for broken alsa driver messages 2018-02-23 16:00:41 +01:00
Alexander Grothe
3610ab3471 Install xineliboutput and vdr-sxfe if we got a virtualbox environment 2018-02-12 16:40:58 +01:00
Alexander Grothe
3e14f0a969 Set xineliboutput as output plugin for virtualbox 2018-02-12 16:37:41 +01:00
Alexander Grothe
d8f70de0b5 Add note for vdr user properties 2018-02-12 14:39:31 +01:00
Alexander Grothe
00d4b49aa7 Ensure /etc/systemd/system/vdr.service.d/ exists 2018-02-12 13:09:57 +01:00
Alexander Grothe
d0e13acdb3 Add rule to rc.xml for vaapidevice 2018-02-12 10:36:04 +01:00
Alexander Grothe
70cec795de rearrange some tasks 2018-02-12 10:27:56 +01:00
Alexander Grothe
cbfa45c4f2 Add .Xresources.j2 template 2018-02-12 09:14:14 +01:00
Alexander Grothe
5f34537b03 Fix path for .xinitrc.j2 template 2018-02-12 09:08:21 +01:00
Alexander Grothe
477bcc136b cleanup xorg-verbose.conf template 2018-02-12 09:04:56 +01:00
Alexander Grothe
218007ea77 Create own role for yavdr-desktop 2018-02-12 08:48:12 +01:00
Alexander Grothe
b0ddbb852d Move EDID settings to first device section 2018-01-27 21:01:04 +01:00
Alexander Grothe
d74da7560a Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-01-27 20:48:43 +01:00
Alexander Grothe
928bbb5b08 Allow custom browser command 2018-01-27 20:48:27 +01:00
Alexander Grothe
3b4f9d947d Wait for plymouth stop before starting x@.service 2018-01-27 20:45:31 +01:00
Alexander Grothe
85a0b26471 small cleanup 2018-01-24 11:12:03 +01:00
Alexander Grothe
d3ca791a75 Move rule to ignore eventlircd devices in xorg to own xorg.conf.d snippet 2018-01-24 10:53:05 +01:00
Alexander Grothe
b43181b9cc Add USB ID for other irmp variant 2018-01-21 12:20:13 +01:00
Alexander Grothe
9a53fbc1de Allow autospawning of pulseaudio
This possible because in bionic pulseaudio is a dbus activated service
within the user session.
2018-01-21 10:03:18 +01:00
Alexander Grothe
2745fa83b3 Fix permissions for expanded templates, allow custom url for osd2web.service 2018-01-21 09:33:52 +01:00
Alexander Grothe
5c385c03fa Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-01-19 07:55:30 +01:00
Alexander Grothe
4d393d924f Write data from xorg-detect as local facts for futher usage 2018-01-19 07:51:38 +01:00
Alexander Grothe
e51cfe4447 Update installation instructions 2018-01-19 07:49:52 +01:00
Alexander Grothe
43e1e10989 Update section title 2018-01-18 15:17:26 +01:00
Alexander Grothe
19bdac4219 Update playbook 2018-01-18 15:16:15 +01:00
Alexander Grothe
528d022d54 rename nvidia-387 to nvidia-experimental 2018-01-18 15:15:23 +01:00
Alexander Grothe
5e971cec4c disable lircmd.service 2018-01-18 09:35:32 +01:00
Alexander Grothe
9c17b948af fix dictionary creation 2018-01-16 15:08:20 +01:00
Alexander Grothe
06ee0d83a8 Another syntax correction 2018-01-16 15:02:13 +01:00
Alexander Grothe
08c2154220 Fix indentation, reorder tasks 2018-01-16 15:01:27 +01:00
Alexander Grothe
b08f5d842a Fix indentation 2018-01-16 14:58:22 +01:00
Alexander Grothe
b8b86e8a1d Write local facts for results of xorg-detect 2018-01-16 14:56:51 +01:00
Alexander Grothe
252cade885 use ansible_managed instead of own variable ansible_managed_file 2018-01-16 13:07:58 +01:00
Alexander Grothe
51dd198799 Update Manual.org 2018-01-16 12:50:54 +01:00
Alexander Grothe
3e24e74cff Write xorg variable to a file 2018-01-16 12:08:18 +01:00
Alexander Grothe
c53470f2fe Add dependency to collect-facts 2018-01-16 12:06:02 +01:00
Alexander Grothe
dacbabee0e Add role to download and install firmware files 2018-01-16 10:07:18 +01:00
Alexander Grothe
7c88fd6e6a Fix warning, use correct "creates" argument for command 2018-01-16 09:27:25 +01:00
Alexander Grothe
3eb292f7fb Fix driver name for yausbir: ya_usbir 2018-01-16 09:14:45 +01:00
Alexander Grothe
54401f74e0 Fix USB IDs, add new role to playbook yavdr07.yml 2018-01-16 09:12:11 +01:00
Alexander Grothe
c44ee8867c Add role autoinstall-yausbir 2018-01-16 09:05:08 +01:00
Alexander Grothe
1bcf91fecc Fix case of boolean variable 2018-01-07 19:00:27 +01:00
Alexander Grothe
7f8f5b8290 Change from tag to variable first_run 2018-01-07 18:45:01 +01:00
Alexander Grothe
e1b17e00aa Fix handler name 2018-01-07 17:58:33 +01:00
Alexander Grothe
b1ebc54438 Start xlogin@vdr after xorg.detect using a handler 2018-01-07 17:55:18 +01:00
Alexander Grothe
fbb6003cf9 Use correct syntax for tag-controlled imports
now it is possible to run just the tasks with the xorg.detect tag:
sudo -H ansible-playbook -i "localhost," --tags="xorg.detect" --connection=local yavdr07.yml
2018-01-07 17:46:55 +01:00
Alexander Grothe
c36056561f Add block for repeated start of xorg-verbose@vt7.service 2018-01-07 17:40:29 +01:00
Alexander Grothe
af3ef457b6 Update Manual.org and Manual.html 2018-01-07 17:35:32 +01:00
Alexander Grothe
ffc4707fdc Fix indentation 2018-01-07 14:53:19 +01:00
Alexander Grothe
886fff4f09 First try to improve automatic xorg configuration
in order to prevent wrong screen connection names
2018-01-07 12:56:46 +01:00
Alexander Grothe
c6207490b8 Fix typo 2018-01-05 11:00:21 +01:00
Alexander Grothe
3006830cc1 configure systemd properties for all needed service- and socket-Units
also add more tags to the role
2018-01-05 10:57:31 +01:00
Alexander Grothe
9f42da23f6 ForceFullCompositionPipeline for nvidia cards
to prevent screen tearing when playing video with xineliboutput-sxfe
or other video players which use opengl components
2018-01-03 13:19:59 +01:00
Alexander Grothe
4b8ff236b5 call lircd2uinput-add after lircd has been started 2018-01-01 23:41:03 +01:00
Alexander Grothe
2e8bd59576 Fix systemd drop-in ExecStopCommand 2018-01-01 23:27:47 +01:00
Alexander Grothe
1d108dc61f Fix name and destination for lirc options file 2018-01-01 23:02:40 +01:00
Alexander Grothe
d8c3b9c5bd Fix indentation 2018-01-01 22:55:59 +01:00
Alexander Grothe
ce941ce722 Fix apt task 2018-01-01 22:54:47 +01:00
Alexander Grothe
2c08b97090 Add dependency to yavdr-remote role for autoinstall-atric-usb 2018-01-01 22:53:47 +01:00
Alexander Grothe
4c96c0a128 Add role for automatic configuration of Atric IR-WakeupUSB to playbook 2018-01-01 22:51:57 +01:00
Alexander Grothe
27278862a5 Fix syntax error 2018-01-01 22:42:58 +01:00
Alexander Grothe
88254f8e79 add tags to yavdr-remote, add autoinstall-atric-usb role 2018-01-01 22:39:10 +01:00
Alexander Grothe
4682af7c3a Add some tags for ppa related tasks 2017-12-28 17:28:43 +01:00
Alexander Grothe
c54313c6e7 Add window rule in rc.xml for vdr-sxfe 2017-12-28 15:52:35 +01:00
Alexander Grothe
9440928891 Change rc.xml for openbox to be less restrictive 2017-12-26 20:47:38 +01:00
Alexander Grothe
1689195d42 Add yavdr bootsplash (adds up to 2-3 seconds to boot time)
choose nosplash instead of splash to disable plymouth
2017-12-26 12:58:29 +01:00
Alexander Grothe
8d201c2e62 Remove always tag from playbook 2017-12-22 14:25:54 +01:00
Alexander Grothe
98674ffc4f Set background with feh 2017-12-20 13:31:36 +01:00
Alexander Grothe
2f02f49aa1 Fix action name 2017-12-20 13:25:21 +01:00
Alexander Grothe
07b9f18659 Add missing quote 2017-12-20 13:22:44 +01:00
Alexander Grothe
fb4483c01f fix indentation 2017-12-20 13:22:01 +01:00
Alexander Grothe
4f95b57a9d Download yaVDR Logo, install feh 2017-12-20 13:18:30 +01:00
Alexander Grothe
4b9332b277 Automatically start irexec.service 2017-12-20 11:00:15 +01:00
Alexander Grothe
1befca797e Fix syntax and indentation 2017-12-20 10:52:22 +01:00
Alexander Grothe
fd1d7744fb Add missing quotes at end of string 2017-12-20 10:48:49 +01:00
Alexander Grothe
784ea1d0b2 Fix example list in module documentation 2017-12-20 10:44:05 +01:00
Alexander Grothe
3aadc14dbb Add irexec.service for the user session 2017-12-20 10:43:15 +01:00
Alexander Grothe
4c4705e49f Fix condition 2017-12-19 20:10:39 +01:00
Alexander Grothe
a84b9b1742 Increase timeout after stopping xlogin@vdr 2017-12-19 15:27:36 +01:00
Alexander Grothe
bde3106c47 Fix order of xlogin package installation and calling write-x11-keyboard-config 2017-12-19 14:43:55 +01:00
Alexander Grothe
04662f2b83 Add template for /etc/rc_maps.cfg 2017-12-19 12:32:37 +01:00
Alexander Grothe
89963fa35b Add .Xresources for user vdr 2017-12-17 15:06:45 +01:00
Alexander Grothe
b9e4f1bc33 Add space 2017-12-17 14:37:03 +01:00
Alexander Grothe
5d6ffd6f4c Fix plugin name and typo 2017-12-17 11:37:28 +01:00
Alexander Grothe
dd0cd703fe Fix syntax error caused by typo 2017-12-17 11:31:53 +01:00
Alexander Grothe
4097b01602 Add comment to write-x11-keyboard-config 2017-12-17 11:28:47 +01:00
Alexander Grothe
b1532f7a7a Move creation of X11 keyboard configuration to external script
heredocs with indentations don't work properly in Ansible shell commands
2017-12-17 11:07:40 +01:00
Alexander Grothe
f94dd32250 remove empty line (which breaks syntax) 2017-12-17 10:41:41 +01:00
Alexander Grothe
7b685ebe98 Set X11 keyboard configuration according to /etc/default/keyboard values 2017-12-17 10:38:12 +01:00
Alexander Grothe
1405c73c87 Install vdr-plugin-pulsectrl and vdr-plugin-osd2web
use the bluecd instead of blue
2017-12-17 10:02:09 +01:00
Alexander Grothe
59685f9a99 Fix video directory path 2017-12-17 09:16:50 +01:00
Alexander Grothe
036fd26287 Revert "Use ansible 2.4.1 from ubuntu repositories"
the needed package is still in staging...

This reverts commit 2b749ba457.
2017-12-16 19:34:33 +01:00
Alexander Grothe
2b749ba457 Use ansible 2.4.1 from ubuntu repositories 2017-12-16 19:32:38 +01:00
Alexander Grothe
a7bc7a4386 Fix condition to ubuntu-drivers autoinstall 2017-12-16 18:58:57 +01:00
Alexander Grothe
3708289de7 Recommend sudo -H 2017-12-16 18:02:33 +01:00
Alexander Grothe
048ae4e5d4 We need to use an ansible build from a yavdr PPA (for now) 2017-12-16 17:47:16 +01:00
Alexander Grothe
295a99c622 Change PPAs for experimental bionic packages 2017-12-16 16:33:55 +01:00
Alexander Grothe
6b130a3df3 Merge branch 'refactoring' 2017-11-22 12:04:13 +01:00
Alexander Grothe
9860f607a0 don't fail in xrandr_facts.py if nvidia-smi is not available 2017-11-22 11:47:44 +01:00
Alexander Grothe
f302e4e06c Revert "add xrandr package to setup-xorg.yml"
This reverts commit f8553943ab.
2017-11-22 11:46:02 +01:00
Alexander Grothe
f8553943ab add xrandr package to setup-xorg.yml 2017-11-22 11:42:42 +01:00
Alexander Grothe
c5d0277610 cleanup whitespace 2017-11-22 11:40:17 +01:00
Alexander Grothe
19a1f98d74 run task only if file exists 2017-11-22 11:37:20 +01:00
Alexander Grothe
748df6954e set --no-install-recommands for ansible installation 2017-11-22 11:36:21 +01:00
Alexander Grothe
49bcecb027 allow action to fail if file does not exist 2017-11-22 10:56:21 +01:00
Alexander Grothe
68396b3797 fix string comparisons 2017-11-22 10:16:56 +01:00
Alexander Grothe
c70d6f97c6 Fix indentation 2017-11-22 10:15:16 +01:00
Alexander Grothe
4ed8729282 Add additional files 2017-11-22 10:09:51 +01:00
Alexander Grothe
d08d060439 Fix iteration over list 2017-11-22 09:26:32 +01:00
Alexander Grothe
0cd621b6a6 extend hardware_facts.py with bool variables for detected graphic card manufacturers 2017-11-22 09:24:33 +01:00
Alexander Grothe
11eb950977 return a bool instead of a list 2017-11-22 09:07:44 +01:00
Alexander Grothe
b93b0e7ec6 Fix string comparison 2017-11-22 08:50:51 +01:00
Alexander Grothe
440032137b remove colon from name variables, fix org syntax error 2017-11-22 08:17:16 +01:00
Alexander Grothe
0d01ee282b Fix quoting 2017-11-22 08:07:29 +01:00
Alexander Grothe
75cd1eb560 improve syntax, add new variables for detected gpus 2017-11-21 11:31:02 +01:00
Alexander Grothe
d9eb820ea0 fix template path 2017-11-20 12:01:02 +01:00
Alexander Grothe
115bfe66c9 Add template for vdr-addon-acpiwakeup.conf 2017-11-20 11:54:11 +01:00
Alexander Grothe
74159df8ac Fix value 2017-11-20 11:09:48 +01:00
Alexander Grothe
9060429ba6 create extra role for wakeup configuration 2017-11-20 09:45:15 +01:00
Alexander Grothe
052b46ee34 put custom fact collection in own role "collect-facts"
so it is not necessary to run yavdr-common every time we use an
autoinstall-* role
2017-11-20 09:23:50 +01:00
Alexander Grothe
04bf735d28 fix syntax error in task and role name 2017-11-18 10:48:50 +01:00
Alexander Grothe
5a0e076e26 add handler to trigger udev rule reloading 2017-11-18 10:15:54 +01:00
Alexander Grothe
c6837bde93 Add TODO for autoinstall-dvbsddevice 2017-11-18 09:06:20 +01:00