Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 321399
Collapse All | Expand All

(-)nvidia-settings-195.36.08.orig/src/gtk+-2.x/ctkdisplayconfig-utils.c (+3 lines)
Lines 2112-2122 static int gpu_add_screen_from_server(nv Link Here
2112
    /* See if the screen is set to not scanout */
2112
    /* See if the screen is set to not scanout */
2113
    ret = NvCtrlGetAttribute(screen->handle, NV_CTRL_NO_SCANOUT, &val);
2113
    ret = NvCtrlGetAttribute(screen->handle, NV_CTRL_NO_SCANOUT, &val);
2114
    if (ret != NvCtrlSuccess) {
2114
    if (ret != NvCtrlSuccess) {
2115
        /*
2115
        *err_str = g_strdup_printf("Failed to query NoScanout for "
2116
        *err_str = g_strdup_printf("Failed to query NoScanout for "
2116
                                   "screen %d.",
2117
                                   "screen %d.",
2117
                                   screen_id);
2118
                                   screen_id);
2118
        nv_warning_msg(*err_str);
2119
        nv_warning_msg(*err_str);
2119
        goto fail;
2120
        goto fail;
2121
        */
2122
        val = NV_CTRL_NO_SCANOUT_DISABLED;
2120
    }
2123
    }
2121
    screen->no_scanout = (val == NV_CTRL_NO_SCANOUT_ENABLED) ? TRUE : FALSE;
2124
    screen->no_scanout = (val == NV_CTRL_NO_SCANOUT_ENABLED) ? TRUE : FALSE;
2122
2125

Return to bug 321399