JGoutin / ansible_home

A collection of Ansible roles for home free software self-hosting.
https://galaxy.ansible.com/jgoutin/home
GNU General Public License v3.0
31 stars 6 forks source link

kodi: Use Gamescope as wayland compositor #78

Open JGoutin opened 1 year ago

JGoutin commented 1 year ago

Gamescope may be a good alternative to sway, because more lightweight, have useful features (HDR ?), and does not require extra files just a simple command in the SystemD: ExecStart=/usr/bin/gamescope -- /usr/bin/kodi-standalone

Possible useful arguments (to add before --): --adaptive-sync, --expose-wayland, --hdr-enabled

REF: https://github.com/ValveSoftware/gamescope/blob/master/src/main.cpp

Note: Current version available on Fedora don't support --expose-wayland and is detected as X11 display by Kodi, maybe this can lead to issues.