Skip to content

NV-CONTROL version shows Unknown in the nvidia-settings UI, on a laptop with integrated GPU #116

@medicalwei

Description

@medicalwei

We have an issue that NV-CONTROL version says Unknown in the UI for 550 and 570-open driver, when using laptop with Intel Integrated GPU and NVIDIA discrete GPU (where display is connected to the integrated)

Image

It seems likely the GUI is unable to get the string attribute NV_CTRL_STRING_NV_CONTROL_VERSION from 570-open X extension

ret = NvCtrlGetStringAttribute(ctrl_target,
NV_CTRL_STRING_NV_CONTROL_VERSION,
&nv_control_server_version);
if (ret != NvCtrlSuccess) nv_control_server_version = NULL;

Meanwhile the version can be displayed properly using nv-control-info in the provided sample code, since it queries major and minor version directly.

ret = XNVCTRLQueryVersion(dpy, &major, &minor);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions