On Mon, Dec 10, 2012 at 10:04:32PM -0800, Amarendra Godbole wrote:
> On Fri, Nov 23, 2012 at 6:34 AM, Anil Madhavapeddy <[email protected]> wrote:
> > On 23 Nov 2012, at 03:13, Byron Klippert <[email protected]> wrote:
> >
> >> I picked up one recently; went with the following options.
> >>
> >> - Intel Core i5-3360M
> >> - 128GB SSD (SATA3)
> >> - 8GB PC3-12800 DDR3
> >> - Intel Centrino WL-N 2200
> >>
> >>
> >>
> >> Had to use the Nov. 3 snapshot to take advantage of the recent ivy
> >> bridge graphic changes (affecting Intel HD Graphics 4000).
> >>
> >> http://marc.info/?l=openbsd-tech&m=134909742604779&w=2
> >>
> >> X is usable, although I've had issues switching between console
> >> (Ctl-Alt-F1) and back to X. Also had issues when display goes to sleep.
> >> ie: display resumes with strange effects on display (vertical lines -
> >> like bad resolution or refresh rate). This can sometimes be remedied by
> >> switch between console and back to X several times.
> >
> > I see the same issues with the X1 Carbon (along with the occasional hard
> > freeze when switching X displays, but more often you get a white noise
> > overlay).  Not had a chance to track it down yet.
> [...]
> 
> Thanks for the feedback - my Dec 5 snapshot behaves the same. White
> noise, 100% brightness, x6050 error on changing the brightness, etc.
> fw_update pulled the latest 5.7 version of iwn firmware, and my
> wireless works fine (Intel Centrino Advanced-N 6205).
> 
> Also, xbacklight does not work - basically no output on any set, get
> commands. Anyone got this working, so I can have the brightness
> adjusted? Thanks.

Not sure on what causes the display noise when coming back from dpms,
the xbacklight control part should work with the following diff:

Index: i830_lvds.c
===================================================================
RCS file: /cvs/xenocara/driver/xf86-video-intel/src/i830_lvds.c,v
retrieving revision 1.12
diff -u -p -r1.12 i830_lvds.c
--- i830_lvds.c 6 Oct 2012 03:51:23 -0000       1.12
+++ i830_lvds.c 6 Oct 2012 12:36:47 -0000
@@ -1274,6 +1274,8 @@ i830_lvds_create_resources(xf86OutputPtr
     }
     /* Set the current value of the backlight property */
     data = dev_priv->backlight_duty_cycle;
+    if (data > dev_priv->backlight_max)
+        data = dev_priv->backlight_max;
     err = RRChangeOutputProperty(output->randr_output, backlight_atom,
                                 XA_INTEGER, 32, PropModeReplace, 1, &data,
                                 FALSE, TRUE);
@@ -1412,6 +1414,8 @@ i830_lvds_set_property(xf86OutputPtr out
            data = dev_priv->get_backlight(output);
        else
            data = dev_priv->backlight_duty_cycle;
+       if (data > dev_priv->backlight_max)
+           data = dev_priv->backlight_max;
        ret = RRChangeOutputProperty(output->randr_output, backlight_atom,
                                     XA_INTEGER, 32, PropModeReplace, 1, &data,
                                     FALSE, TRUE);

Reply via email to