MythTV / mythtv

The official MythTV repository
https://www.mythtv.org
GNU General Public License v2.0
708 stars 346 forks source link

Add custom QPA EGLFS_KMS plugin #231

Closed mark-kendall closed 3 years ago

mark-kendall commented 4 years ago

The existing Qt plugin exposes very little (none) of its functionality to the client. There are 2 possible cases where we need more access:-

  1. Full display mode switching when using EGLFS_KMS (linux without X or Wayland) - currently we do not have access to the DRM fd and hence do not have the privileges to change modes
  2. Support for HDR metadata signalling to the display. On linux this is only currently supported at this low level - so we need a stack of kms/gbm code.

The biggest potential issue here is the extensive use of Qt private headers that will be needed.

An example custom plugin is available at https://github.com/lirios/eglfs (unfortunately cmake based).

mark-kendall commented 3 years ago

Not needed. There is just enough info available from Qt if private headers are installed.