Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2015 09:33:14 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Stefan Parvu <sparvu@kronometrix.org>
Cc:        "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Re: Xorg dri2 after r277486 on Asus Zenbook
Message-ID:  <CAN6yY1tZhX4n_7nvUw88fENUFb1etEf5hKK-md%2BnYJ7H8=JpuA@mail.gmail.com>
In-Reply-To: <552C428A.3050109@kronometrix.org>
References:  <20150320230353.767a76948168e08b051842b0@kronometrix.org> <CAEJt7hb_mzhwd4LahNO_OcbCPbJsJKBberEkj2qufLR7azJdcg@mail.gmail.com> <552C428A.3050109@kronometrix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 13, 2015 at 3:26 PM, Stefan Parvu <sparvu@kronometrix.org>
wrote:

> Hi,
>
> > You can try:
> > * plug in an external monitor
>
> this worked fine.
>
> > * ssh into the machine, adjust hw.acpi.video.lcd0.brightness
>
> this did not work. I was able to ssh and try to adjust the brightness
> but it did not make any difference. I had 100 returned for
> hw.acpi.video.lcd0.brightness.
>
> What Im able to see from dmesg:
>
> "info: [drm] MSI enabled 1 message(s)
> info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> info: [drm] Driver supports precise vblank timestamp query.
> drmn1: taking over the fictitious range 0xd0000000-0xe0000000
> info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
> info: [drm] Connector eDP-1: get mode from tunables:
> info: [drm]   - kern.vt.fb.modes.eDP-1
> info: [drm]   - kern.vt.fb.default_mode
> info: [drm] Connector VGA-1: get mode from tunables:
> info: [drm]   - kern.vt.fb.modes.VGA-1
> info: [drm]   - kern.vt.fb.default_mode
> info: [drm] Connector HDMI-A-1: get mode from tunables:
> info: [drm]   - kern.vt.fb.modes.HDMI-A-1
> info: [drm]   - kern.vt.fb.default_mode
> info: [drm] Connector DP-1: get mode from tunables:
> info: [drm]   - kern.vt.fb.modes.DP-1
> info: [drm]   - kern.vt.fb.default_mode
> fbd1 on drmn1
> VT: Replacing driver "vga" with new "fb".
> info: [drm] Initialized i915 1.6.0 20080730 for drmn1 on minor 1
> error: [drm:pid988:gen6_sanitize_pm] *ERROR* Power management
> discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 17000000, was 12000000
> "
>
> An external TV, Screen works just fine. Internal LCD nope.
> I have opened: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198937
> and attached all my data.
>
> The last thing to try is to update to latest snapshot and try to revert
> all changes for intel_display.c as
> https://svnweb.freebsd.org/changeset/base/277959 (thanks to lutz.bichler)
>

I hate to suggest it, as it fixed brightness setting on my laptop, but the
(fairly) recent update to /sys/dev/drm2/i915/intel_opregion.c might
involved in this.

I hope not as I finally convinced the author to MFC the fix.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tZhX4n_7nvUw88fENUFb1etEf5hKK-md%2BnYJ7H8=JpuA>