Xorg dri2 after r277486 on Asus Zenbook

Kevin Oberman rkoberman at gmail.com
Tue Apr 14 16:33:15 UTC 2015


On Mon, Apr 13, 2015 at 3:26 PM, Stefan Parvu <sparvu at 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 at gmail.com


More information about the freebsd-x11 mailing list