From: Jani Nikula <jani.nikula@linux.intel.com>
To: zaverel <zaverel@free.fr>, intel-gfx@lists.freedesktop.org
Subject: Re: setting brightness with xrandr seem wrong
Date: Tue, 10 Dec 2013 13:09:44 +0200 [thread overview]
Message-ID: <87bo0p3qtj.fsf@intel.com> (raw)
In-Reply-To: <52A5FC7D.7050808@free.fr>
On Mon, 09 Dec 2013, zaverel <zaverel@free.fr> wrote:
> is it normal that if I rule the brightness with xrandr, only the value
> of gamma change and not the brightness ?
>
> display actually becomes much clearer but this is due to gamma or
> brightness ?
> That is the question.
Quoting xrandr(1) man page:
--brightness brightness
Multiply the gamma values on the crtc currently attached to the
output to specified floating value. Useful for overly bright or
overly dim outputs. However, this is a software only modifica‐
tion, if your hardware has support to actually change the
brightness, you will probably prefer to use xbacklight.
Try 'xrandr --verbose' or 'xbacklight -get' to see if you have outputs
with backlight control support; this is usually the case for local flat
panels such as eDP or LVDS only.
BR,
Jani.
>
> Thanks.
> See you.
>
>
> xrandr --output HDMI2 --brightness 1.20
>
> xrandr --verbose report:
>
> ...
> HDMI2 connected 1920x1080+0+0 (0x4a) normal (normal left inverted right
> x axis y axis) 160mm x 90mm
> Identifier: 0x46
> Timestamp: 1071203
> Subpixel: unknown
> Gamma: 0.75:0.75:0.75
> Brightness: 1.0
> Clones:
> CRTC: 1
> CRTCs: 0 1 2
> Transform: 1.000000 0.000000 0.000000
> 0.000000 1.000000 0.000000
> 0.000000 0.000000 1.000000
> filter:
> ...
>
>
> I use latest xf86-video-intel devel from today
> xrandr 1.4.1
> kernel 3.12.4
>
>
>
>
> lspci -vxxx -s 0:02.0
>
> 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd
> Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA
> controller])
> Subsystem: Micro-Star International Co., Ltd. Device 2111
> Flags: bus master, fast devsel, latency 0, IRQ 43
> Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
> Memory at e0000000 (64-bit, prefetchable) [size=256M]
> I/O ports at f000 [size=64]
> Expansion ROM at <unassigned> [disabled]
> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> Capabilities: [d0] Power Management version 2
> Capabilities: [a4] PCI Advanced Features
> Kernel driver in use: i915
> Kernel modules: i915
> 00: 86 80 52 01 07 04 90 00 09 00 00 03 00 00 00 00
> 10: 04 00 80 f7 00 00 00 00 0c 00 00 e0 00 00 00 00
> 20: 01 f0 00 00 00 00 00 00 00 00 00 00 62 14 11 21
> 30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00
> 40: 09 00 0c 01 92 80 80 e2 d0 00 50 14 00 00 00 00
> 50: 41 02 00 00 11 00 00 00 00 00 00 00 01 00 a0 cf
> 60: 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
> 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 05 d0 01 00 0c f0 e0 fe c1 41 00 00 00 00 00 00
> a0: 00 00 00 00 13 00 06 03 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 01 a4 22 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 09 00 18 60 43 cd
>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2013-12-10 11:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 17:23 setting brightness with xrandr seem wrong zaverel
2013-12-10 11:09 ` Jani Nikula [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-09 15:54 zaverel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bo0p3qtj.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=zaverel@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.