Xorg framebuffer and brightness of screen

Riza Dindir riza.dindir at gmail.com
Thu Nov 11 07:16:18 UTC 2021

Hello Ken

I am using gop, and a framebuffer. When i try to use the xrandr, it says
"gamma is set to 0", or "failed to get size of gamma for output default".

I can set the gamma uaing xgamma and in the xorg.conf file.


On Wed, Nov 10, 2021, 21:30 Ken Moffat <zarniwhoop at ntlworld.com> wrote:

> On Wed, Nov 10, 2021 at 10:15:18AM +0300, Riza Dindir wrote:
> > Hello All,
> >
> > I woukd like to know if I can adjust the screen brightness when using the
> > framebuffer device on xorg?
> >
> > Thanks in advance.
> > Riza
> Probably, assuming you want to reduce the brightness.  A desktop
> environment might provide something (my laptop now runs xfce, one of
> the panel plugins provides that), but in the past I've used xrandr.
>  xrandr --output <name> --brightness <value>
> You'll need to discover the output names on your own machine
>  xrandr --verbose | less
> and look for the 'connected' item (usually a variant of DP, HDMI or
> VGA).
> A value of 1.0 is full brightness, which is what you currently have.
> Try different settings (maybe start at 0.75) and see if you can find
> a value which suits.
> ĸen
> --
> Vetinari smiled. "Can you keep a secret, Mister Lipwig?"
> "Oh, yes, sir. I've kept lots."
> "Capital. And the point is, so can I. You do not need to know.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20211111/9c841d10/attachment.htm>

More information about the xorg mailing list