I did not. I modified my own DRM/KMS based tool to create a new mode blob on demand with slightly adjusted clock value. I assume you mean this modetest tool? From looking at the code it seems manually setting a mode also derives the clock value from htotal * vtotal * vrefresh / 1000 (see line 867). As resolution is fixed, a slightly modified vrefresh linearly influences the clock value. I modify the clock directly, so that should not make a difference?
Code:
drmModeModeInfo adjusted_mode = drm.display[d].mode;adjusted_mode.clock += clock_adjust;drmModeCreatePropertyBlob(... with adjusted_mode...);
Statistics: Posted by dividuum — Sun Apr 21, 2024 7:05 pm