You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a hotplug of the Beng BegQ T2200HD, after which libddcutil correctly detected the new monitor, but an attempt to use libddcutil getvcp failed returning DDCRC_INTERNAL_ERROR. The command-line ddcutil worked fine, both with detect and setvcp.
I traced this back to src/ddc/ddc_displays.c inside
else if (drm_enabled && !basic_only) {
if (!dref->drm_connector) <----------------------- NULL
ddcrc = DDCRC_INTERNAL_ERROR;
Suspecting the driver had not initialised some aspect of drm, I then hacked the call to ddc_validate_display_ref to force basic_only, and then the setvcp worked.
I then rebooted figuring drm would then be correctly initialised. Sure enough the basic_only hack was no longer required, a getvcp via libddcutil worked just fine.
I don't think you can trust the drm structures if the Nvidia driver is in play. I suppose this could be covered off with documentation. Or maybe an option to completely switch off drm.
The text was updated successfully, but these errors were encountered:
I did a hotplug of the Beng BegQ T2200HD, after which
libddcutil
correctly detected the new monitor, but an attempt to uselibddcutil
getvcp failed returningDDCRC_INTERNAL_ERROR
. The command-lineddcutil
worked fine, both with detect and setvcp.I traced this back to
src/ddc/ddc_displays.c
insideWhere it appear that the
drm_connector
was NULL:Suspecting the driver had not initialised some aspect of drm, I then hacked the call to
ddc_validate_display_ref
to forcebasic_only
, and then the setvcp worked.I then rebooted figuring drm would then be correctly initialised. Sure enough the
basic_only
hack was no longer required, a getvcp via libddcutil worked just fine.I don't think you can trust the drm structures if the Nvidia driver is in play. I suppose this could be covered off with documentation. Or maybe an option to completely switch off drm.
The text was updated successfully, but these errors were encountered: