[mythtv] refresh rate switching on eglfskms QPA - some Qt help needed

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Wed Dec 29 13:59:11 UTC 2021


I'm working on Qt eglfs drm/kms capability to video mode refresh rate changing from mythtv and lacking Qt integration knowledge

I already develop Qt code realising this:

My Qt code expects - for mode refresh change - that mythtv sets: 


QKmsOutput.mode variable to new mode_index.

I'm looking for most effective way to do this from mythtv code level.

need to replace:


with QKmsOutput.mode variable setting.

Probably i need to use nativeResourceFunctionForIntegration - but i'm not sure how to use it for modifying Qt internal variable (QKmsOutput.mode)

Can somebody hint me how to do this most effectively?
best will be some exemplary code snippet :-)

thx in advance!

More information about the mythtv-dev mailing list