Hello,<div><br></div><div>I have the following issue: my LCD monitor is broken and it's brightness and contrast settings are way off. Integrated hardware controls don't work. This issue forced me to change contrast and brightness settings using software, which I can do with nvidia proprietary drivers from nvidia-xsettings tool.</div>
<div><br></div><div>However, I cannot seem to do the same with nouveau. There is no X or nouveau tool to do such action, except xgamma which can change only gamma, and not brightness or contrast.</div><div><br></div><div>
I realize nouveau drivers are in it's early stages of development, so lack of such tool is understandable. So, I looked at nouveau code to try and find hard-coded brightness and contrast settings which I can change and just recompile the drivers, but I have been unsuccessful. Only thing that I found is this function:</div>
<div><br></div><div>nouveau_xv.c:</div><div><br></div><div><div>void</div><div>NVSetPortDefaults (ScrnInfoPtr pScrn, NVPortPrivPtr pPriv)</div><div>{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>NVPtr pNv = NVPTR(pScrn);</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>pPriv->brightness<span class="Apple-tab-span" style="white-space:pre">                </span>= 0;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>pPriv->contrast<span class="Apple-tab-span" style="white-space:pre">                        </span>= 4096;</div>
<div> //etc...</div><div>}</div></div><div><br></div><div>but I suspect these settings are related to rendering video and not X rendering?</div><div><br></div><div>Anyway, I would appreciate your help for pointing me to the right part of the code, or any other way I can circumvent this problem.</div>
<div><br></div><div>Many thanks,</div><div><br></div><div>Dule</div>