← Back to team overview

desktop-packages team mailing list archive

[Bug 828684] Re: [i965gm] False GPU lockup EIR: 0x00000010 PGTBL_ER: 0x00000100

 

Launchpad has imported 48 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=44156.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-12-26T11:29:11+00:00 Alan Zimmerman wrote:

Created attachment 54829
dmesg with drm.debug=0x06 showing problem

[Cross-reference: Debian bug 627372 at http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=627372]

On boot up, the screen turns black, and stays that way. The system is
otherwise useable, if I ssh in to it, and also allows me to log in from gdm.

I am running Debian testing on a Packard Bell laptop

System environment:
--chipset: GM45 (via dmesg)
--system architecture: i686
--xserver-xorg-video-intel version: debian 2:2.17.0-1
   From Xorg.0.log
[    35.267] (II) Module intel: vendor="X.Org Foundation"
[    35.267] 	compiled for 1.11.1.902, module version = 2.17.0
[    35.267] 	Module class: X.Org Video Driver
[    35.267] 	ABI class: X.Org Video Driver, version 11.0

--xserver-xorg version: 1.7.6+10
X.Org X Server 1.11.2.902 (1.11.3 RC 2)
Release Date: 2011-12-09

--mesa version:
  cant  run glxinfo

--libdrm version:
  libdrm-intel1: 2.4.29-1
  libdrm-noveau1a: 2.4.29-1
  libdrm-radeon1: 2.4.29-1
  libdrm2: 2.4.29-1

--kernel version: 3.1.0-1-686-pae
--linux distribution: Debian testing
--Laptop model: Packard Bell NCL20
--Display connector: internal display

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/25

------------------------------------------------------------------------
On 2011-12-26T11:42:59+00:00 Alan Zimmerman wrote:

Created attachment 54830
Xorg.0.log

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/26

------------------------------------------------------------------------
On 2011-12-26T11:50:04+00:00 Alan Zimmerman wrote:

Created attachment 54831
dmesg from earlier boot showing dri problem

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/27

------------------------------------------------------------------------
On 2012-01-01T10:50:49+00:00 Jonathan Nieder wrote:

>From <http://bugs.debian.org/627372>:

| run "setpci -s 00:02.0 F4.B=00" as root to turn the backlight back on. You
| may be able to do this over ssh, depending on your setup, otherwise you
| will have to do this with the dark screen."
|
| The setpci solves the issue

This doesn't explain the rendering errors in the "dmesg from earlier
boot showing dri problem", unfortunately. :/

*** This bug has been marked as a duplicate of bug 40455 ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/28

------------------------------------------------------------------------
On 2012-01-01T11:00:36+00:00 Jonathan Nieder wrote:

Created attachment 55022
dmesg 2012-01-01

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/29

------------------------------------------------------------------------
On 2012-01-01T11:01:27+00:00 Jonathan Nieder wrote:

Created attachment 55023
Xorg.0.log 2012-01-01

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/30

------------------------------------------------------------------------
On 2012-01-01T11:02:15+00:00 Jonathan Nieder wrote:

Created attachment 55024
/sys/kernel/debug/dri/0/i915_error_state 2012-01-01

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/31

------------------------------------------------------------------------
On 2012-04-16T05:26:51+00:00 Chris Wilson wrote:

*** Bug 39962 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/32

------------------------------------------------------------------------
On 2012-04-25T02:28:12+00:00 Chris Wilson wrote:

These bugs all have similar symptoms that could be explained and fixed
by the following patch. So please do test drm-intel-next-queued and
report back. On trying the equivalent patch in the past, it has caused
modesetting regression for the initial switch from the BIOS
configuration, so do look out for any glitches during boot. Thanks.

commit 969d380a39d33f7533b6dcee35e834109d23f9e9
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Tue Apr 24 16:36:50 2012 +0100

    drm/i915: Remove too early plane enable on pre-PCH hardware
    
    Enabling the plane before we have assigned valid address means that it
    will access random PTE (often with conflicting memory types) and cause
    GPU lockups. However, enabling the plane too early appears to workaround
    a number of bugs in our modesetting code.
    
    Cc: Franz Melchior <melchior.franz@xxxxxxxxx>
    References: https://bugs.freedesktop.org/show_bug.cgi?id=39947
    References: https://bugs.freedesktop.org/show_bug.cgi?id=41091
    References: https://bugs.freedesktop.org/show_bug.cgi?id=49041
    Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
    Acked-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
    Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/39

------------------------------------------------------------------------
On 2012-04-27T10:06:35+00:00 Jonathan Nieder wrote:

Alan tested 3.2.y with 969d380a39d3 cherry-picked on top.  The
result[1]:

> I compiled both versions as per your instructions, and the behaviour is the
> same each time.
>
> I need to use setpci ... to get the screen backlight on.
>
> Do you need any additional information?

Reopening.

[1] http://bugs.debian.org/627372

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/40

------------------------------------------------------------------------
On 2012-04-27T10:14:03+00:00 Jonathan Nieder wrote:

Ok, here's what I'd suggest to track this down further:

Please boot in recovery mode so X is not started automatically.
Append drm.debug=0xe log_buf_len=4194304 to the kernel command line
for more verbose logs.  Once logged in, run "modprobe i915" to make
sure the Intel driver is loaded, and attach full output from "dmesg".

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/41

------------------------------------------------------------------------
On 2012-04-27T10:16:11+00:00 Daniel-ffwll wrote:

> Alan tested 3.2.y with 969d380a39d3 cherry-picked on top.  The result[1]:
> 
> > I compiled both versions as per your instructions, and the behaviour is the
> > same each time.
> >
> > I need to use setpci ... to get the screen backlight on.
> >
> > Do you need any additional information?
> 
> Reopening.

setpci to get the backlight to turn on is a different problem (the only
difference is that this is the first non-Acer machine).

So the first question is: Is the invalid GTT fetch gone?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/42

------------------------------------------------------------------------
On 2012-04-27T10:18:59+00:00 Jonathan Nieder wrote:

(In reply to comment #11)
> setpci to get the backlight to turn on is a different problem

I don't follow.  Do you mean that it is different from what Alan
reported on 2011-11-26?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/43

------------------------------------------------------------------------
On 2012-04-27T10:23:07+00:00 Daniel-ffwll wrote:

(In reply to comment #12)
> (In reply to comment #11)
> > setpci to get the backlight to turn on is a different problem
> 
> I don't follow.  Do you mean that it is different from what Alan
> reported on 2011-11-26?

Yep. If all it takes to get back the backlight, that's a different bug.
If the gpu hangs are gone and the error_state empty, this one here is
fixed.

I prefer to have individual bug reports for separate issues, it makes
tracking much easier.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/44

------------------------------------------------------------------------
On 2012-04-27T12:42:47+00:00 Jonathan Nieder wrote:

(In reply to comment #13)
> (In reply to comment #12)
>> (In reply to comment #11)

>>> setpci to get the backlight to turn on is a different problem
>> 
>> I don't follow.  Do you mean that it is different from what Alan
>> reported on 2011-11-26?
>
> Yep. If all it takes to get back the backlight, that's a different bug.

Um, but when Alan first tried the setpci command in January, it
_was_ all it took to get back the backlight.

So if that's something the patch was not supposed to fix, then I
don't understand why it would be relevant for the bug Alan reported.
Perhaps you were reacting to a stray error message from his logs.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/45

------------------------------------------------------------------------
On 2012-04-29T01:45:47+00:00 Alan Zimmerman wrote:

My understanding of this bug is that the driver is not turning on the
backlight when it should, or setting the range of possible values such that
it cannot come on.

The setpci command is an override to get it to come on, but is not a true
solution, because it has to be worked in to all the possible places where
the screen can be turned on, by modifying scripts.

Alan

On Fri, Apr 27, 2012 at 9:42 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx>
wrote:

> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> --- Comment #14 from Jonathan Nieder <jrnieder@xxxxxxxxx> 2012-04-27
> 12:42:47 PDT ---
> (In reply to comment #13)
> > (In reply to comment #12)
> >> (In reply to comment #11)
>
> >>> setpci to get the backlight to turn on is a different problem
> >>
> >> I don't follow.  Do you mean that it is different from what Alan
> >> reported on 2011-11-26?
> >
> > Yep. If all it takes to get back the backlight, that's a different bug.
>
> Um, but when Alan first tried the setpci command in January, it
> _was_ all it took to get back the backlight.
>
> So if that's something the patch was not supposed to fix, then I
> don't understand why it would be relevant for the bug Alan reported.
> Perhaps you were reacting to a stray error message from his logs.
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/46

------------------------------------------------------------------------
On 2012-04-29T01:52:41+00:00 Alan Zimmerman wrote:

Created attachment 60759
dmesg output with drm_debug=0xe

Booting with the kernel compiled with the patch provided by Jonathan
Nieder on 2012-04-26

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/47

------------------------------------------------------------------------
On 2012-05-11T07:17:52+00:00 Chris Wilson wrote:

Daniel is working on some patches to fix the backlight controller and is
looking for victims^Wtesters.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/48

------------------------------------------------------------------------
On 2012-05-11T07:30:22+00:00 Alan Zimmerman wrote:

That would be me?

On Fri, May 11, 2012 at 4:17 PM,  <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|REOPENED                    |NEEDINFO
>         AssignedTo|chris@xxxxxxxxxxxxxxxxxx    |daniel@xxxxxxxx
>
> --- Comment #17 from Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 2012-05-11 07:17:52 PDT ---
> Daniel is working on some patches to fix the backlight controller and is
> looking for victims^Wtesters.
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/49

------------------------------------------------------------------------
On 2012-06-05T07:10:18+00:00 Daniel-ffwll wrote:

Ok, I've created these patches, available at
http://cgit.freedesktop.org/~danvet/drm/log/?h=backlight-confusion

Git link is git://people.freedesktop.org/~danvet/drm backlight-confusion

Please test them, thanks.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/50

------------------------------------------------------------------------
On 2012-06-06T15:59:26+00:00 Alan Zimmerman wrote:

Hi

building as follows

git checkout stable/linux-3.4.y
git remote add danvet git://people.freedesktop.org/~danvet/drm
git fetch danvet
git checkout danvet/backlight-confusion

cp /boot/config-$(uname -r) .config; # current configuration
make deb-pkg; # optionally with -j<num> for parallel build
# Accepted defaults all the way through for the new config stuff

dpkg -i linux-image-3.4.0+_3.4.0+-1_i386.deb

The backlight still does not come on.

Did I build it properly?

Alan


On Tue, Jun 5, 2012 at 4:10 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> --- Comment #19 from Daniel Vetter <daniel@xxxxxxxx> 2012-06-05 07:10:18
PDT ---
> Ok, I've created these patches, available at
> http://cgit.freedesktop.org/~danvet/drm/log/?h=backlight-confusion
>
> Git link is git://people.freedesktop.org/~danvet/drm backlight-confusion
>
> Please test them, thanks.
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/51

------------------------------------------------------------------------
On 2012-06-06T16:07:51+00:00 Jonathan Nieder wrote:

bugzilla-daemon@xxxxxxxxxxxxxxx wrote:

> dpkg -i linux-image-3.4.0+_3.4.0+-1_i386.deb
>
> The backlight still does not come on.

Did you reboot?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/52

------------------------------------------------------------------------
On 2012-06-06T23:11:25+00:00 Alan Zimmerman wrote:

Yes, and it was the default kernel on startup. Tried to suspend and resume
once rebooteted, but screen remained black until I ran setpci.

Was there any specific kernel config i needed to do?

Alan
On Jun 7, 2012 1:07 AM, <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:

> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> --- Comment #21 from Jonathan Nieder <jrnieder@xxxxxxxxx> 2012-06-06
> 16:07:51 PDT ---
> bugzilla-daemon@xxxxxxxxxxxxxxx wrote:
>
> > dpkg -i linux-image-3.4.0+_3.4.0+-1_i386.deb
> >
> > The backlight still does not come on.
>
> Did you reboot?
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/53

------------------------------------------------------------------------
On 2012-06-06T23:14:53+00:00 Jonathan Nieder wrote:

Alan Zimmerman wrote:

> Was there any specific kernel config i needed to do?

No, your test looks valid.  Thanks.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/54

------------------------------------------------------------------------
On 2012-06-07T00:28:47+00:00 Daniel-ffwll wrote:

Created attachment 62695
intel_gpu_dump.backlight_on.txt

Ok, can you please grab the latest version of intel-gpu-tools and grab
the output of intel_reg_dumper for when the backlight is broken?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/55

------------------------------------------------------------------------
On 2012-06-07T01:11:28+00:00 Alan Zimmerman wrote:

I am attaching two dumps, one with the backlight on, and another when
it has failed to be turned on again after a suspend/resume cycle.

Both having booted 3.2.0-2-686-pae #1 SMP Mon May 21 18:24:12 UTC 2012

Alan

On Thu, Jun 7, 2012 at 9:28 AM,  <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> --- Comment #24 from Daniel Vetter <daniel@xxxxxxxx> 2012-06-07 00:28:47 PDT ---
> Ok, can you please grab the latest version of intel-gpu-tools and grab the
> output of intel_reg_dumper for when the backlight is broken?
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/56

------------------------------------------------------------------------
On 2012-06-07T01:11:31+00:00 Alan Zimmerman wrote:

Created attachment 62696
intel_gpu_dump.backlight_off.txt

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/57

------------------------------------------------------------------------
On 2012-06-07T01:23:13+00:00 Daniel-ffwll wrote:

Created attachment 62699
intel_reg_dump.on.txt

I need the output of intel_reg_dumper, not intel_gpu_dump ... the latter
is outdated and killed from git intel-gpu-tools anyway.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/58

------------------------------------------------------------------------
On 2012-06-07T01:46:17+00:00 Alan Zimmerman wrote:

Oops. Sorry.

Attached are the off and on versions for intel_reg_dumper, under
3.2.0-2-686-pae #1 SMP Mon May 21 18:24:12 UTC 2012.

I cloned it from the repo at
git://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools

Alan

On Thu, Jun 7, 2012 at 10:23 AM,  <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> --- Comment #27 from Daniel Vetter <daniel@xxxxxxxx> 2012-06-07 01:23:13 PDT ---
> I need the output of intel_reg_dumper, not intel_gpu_dump ... the latter is
> outdated and killed from git intel-gpu-tools anyway.
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/59

------------------------------------------------------------------------
On 2012-06-07T01:46:18+00:00 Alan Zimmerman wrote:

Created attachment 62700
intel_reg_dump.off.txt

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/60

------------------------------------------------------------------------
On 2012-06-07T08:43:24+00:00 Daniel-ffwll wrote:

Created attachment 62761
intel_reg_dump.on.v2.txt

Oops, sorry. I've just noticed that intel_reg_dumper doesn't read out
the backlight regs on gen4. Can you try the latest version from git
please?

http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/61

------------------------------------------------------------------------
On 2012-06-07T12:51:48+00:00 Alan Zimmerman wrote:

Ok, I have done this, the files are attached, they are different from
before.


FYI, my theory (only a theory) is that the driver keeps a max and min
value for allowed settings, and they do not get set properly, but end
up as zero.  So it is correctly doing everything, but things the on
value is zero.

Alan


On Thu, Jun 7, 2012 at 5:43 PM,  <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=44156
>
> --- Comment #30 from Daniel Vetter <daniel@xxxxxxxx> 2012-06-07 08:43:24 PDT ---
> Oops, sorry. I've just noticed that intel_reg_dumper doesn't read out the
> backlight regs on gen4. Can you try the latest version from git please?
>
> http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/62

------------------------------------------------------------------------
On 2012-06-07T12:51:49+00:00 Alan Zimmerman wrote:

Created attachment 62762
intel_reg_dump.off.v2.txt

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/63

------------------------------------------------------------------------
On 2012-06-07T13:03:31+00:00 Daniel-ffwll wrote:

Thanks for the updated dumps. I've noticed a few other ugly things in
our backlight code, and the code history isn't too confidence-inspiring
either :(

I'll try to dig around a find a patch that should help for your machine,
too.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/64

------------------------------------------------------------------------
On 2012-08-28T10:16:58+00:00 Jani-nikula wrote:

Might be a long shot, but please see the patches and discussion at [1],
also available in the "backlight" branch of [2]. Please test.

[1] http://thread.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/13642
[2] git://gitorious.org/jani/drm.git

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/65

------------------------------------------------------------------------
On 2012-08-29T19:26:30+00:00 Alan Zimmerman wrote:

I have tested the patches, and it seems to work.

Build steps
-------------------
-in ./kernel/linux

$ git fetch

>From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
   eea5b55..c182ae4  master     -> origin/master


$ git checkout stable/linux-3.4.y
$ git remote add jani git://gitorious.org/jani/drm.git
$ git fetch jani
$ git checkout jani/backlight

Previous HEAD position was f18a511... Linux 3.4.1
HEAD is now at 1cd48c1... drm/i915: remove module parameter and quirk for inverting brightness


$ cp /boot/config-$(uname -r) .config; # current configuration
$ make deb-pkg; # optionally with -j<num> for parallel build
[ Accept defaults for all config options (NEW) stuff ]

$ cd ..
# dpkg -i linux-image-3.6.0-rc2+_3.6.0-rc2+-2_i386.deb
-----------

I also removed the setpci call from /etc/rc.local, which forced the
backlight before


Results
-----------
Basically, screen stays on. In particular

a. At the point in the boot where the graphics driver is initialised, and the font changes, the screen stays on, where it went off before
b. After suspend/resume the screen comes back immediately, without requiring a setpci call.

Note: The screen bright/dim controls under gnome do not do anything, but
it may be misconfigured on my side.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/66

------------------------------------------------------------------------
On 2012-09-06T11:38:48+00:00 Jani-nikula wrote:

(In reply to comment #35)
> I have tested the patches, and it seems to work.

Thanks for your testing. Unfortunately, there were some other issues
with the patches, so we have to think of something else.

To check out an idea, please attach the output of

  $ cat /sys/kernel/debug/dri/0/i915_opregion | od -t x1

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/67

------------------------------------------------------------------------
On 2012-09-10T12:46:37+00:00 Jani-nikula wrote:

Created attachment 66927
always use LBPC 0xff in combination mode

Please try the attached patch and report back. Thanks.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/68

------------------------------------------------------------------------
On 2012-09-17T12:42:49+00:00 Jani-nikula wrote:

Long story short, per discussion with reporter by email,
i915.invert_brightness=1 fixes the issue. Please report 'lspci -vmmnn'.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/69

------------------------------------------------------------------------
On 2012-12-18T22:02:13+00:00 Rodrigo-vivi wrote:

Created attachment 71761
lspci info from bug reporter...

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/70

------------------------------------------------------------------------
On 2013-01-22T10:48:10+00:00 Jani-nikula wrote:

Created attachment 73445
drm/i915: add quirk to invert brightness on Packard Bell NCL20

Please try the attached patch. Do *not* use i915.invert_brigthness=1
module parameter.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/71

------------------------------------------------------------------------
On 2013-01-22T11:52:57+00:00 Daniel-ffwll wrote:

Patch merged into drm-intel-next-queued:

commit 5559ecadad5a73b27f863e92f4b4f369501dce6f
Author: Jani Nikula <jani.nikula@xxxxxxxxx>
Date:   Tue Jan 22 12:50:36 2013 +0200

    drm/i915: add quirk to invert brightness on Packard Bell NCL20

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/72

------------------------------------------------------------------------
On 2013-01-22T12:02:00+00:00 Alan Zimmerman wrote:

On which Remote? I do not see it on jani or on danvet

danvet    git://people.freedesktop.org/~danvet/drm (fetch)
danvet    git://people.freedesktop.org/~danvet/drm (push)
jani    git://gitorious.org/jani/drm.git (fetch)
jani    git://gitorious.org/jani/drm.git (push)
origin    git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git(fetch)
origin    git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git(push)
stable    git://
git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (fetch)
stable    git://
git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git (push)

git show 5559ecadad5a73b27f863e92f4b4f369501dce6f
fatal: bad object 5559ecadad5a73b27f863e92f4b4f369501dce6f


Alan

On Tue, Jan 22, 2013 at 1:52 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx>
wrote:

>  Daniel Vetter <daniel@xxxxxxxx> changed bug 44156<https://bugs.freedesktop.org/show_bug.cgi?id=44156>
>  What Removed Added  Status NEEDINFO RESOLVED  Resolution --- FIXED
>
>  *Comment # 41 <https://bugs.freedesktop.org/show_bug.cgi?id=44156#c41>on bug
> 44156 <https://bugs.freedesktop.org/show_bug.cgi?id=44156> from Daniel
> Vetter <daniel@xxxxxxxx> *
>
> Patch merged into drm-intel-next-queued:
>
> commit 5559ecadad5a73b27f863e92f4b4f369501dce6f
> Author: Jani Nikula <jani.nikula@xxxxxxxxx>
> Date:   Tue Jan 22 12:50:36 2013 +0200
>
>     drm/i915: add quirk to invert brightness on Packard Bell NCL20
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/73

------------------------------------------------------------------------
On 2013-01-22T12:24:15+00:00 Daniel-ffwll wrote:

On the repo with the official branches:
http://cgit.freedesktop.org/~danvet/drm-intel

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/74

------------------------------------------------------------------------
On 2013-01-22T15:32:01+00:00 Alan Zimmerman wrote:

Built it eventually. Initial boot seems good, the console does not blank
half way through.

Alan
On Jan 22, 2013 2:24 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:

>   *Comment # 43 <https://bugs.freedesktop.org/show_bug.cgi?id=44156#c43>on bug
> 44156 <https://bugs.freedesktop.org/show_bug.cgi?id=44156> from Daniel
> Vetter <daniel@xxxxxxxx> *
>
> On the repo with the official branches:http://cgit.freedesktop.org/~danvet/drm-intel
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/75

------------------------------------------------------------------------
On 2013-01-22T19:46:20+00:00 Alan Zimmerman wrote:

With the new version from today, it boots fine with the backlight on, but
the following commands make no difference at all to the brightness. FYI.

root@alanz-laptop:~# setpci -s 00:02.0 F4.B=FF
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=FE
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=FD
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=F0
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=E0
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=D0
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=C0
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=B0
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=A0
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=90
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=80
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=70
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=60
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=50
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=40
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=30
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=20
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=10
root@alanz-laptop:~# setpci -s 00:02.0 F4.B=00

Alan

On Tue, Jan 22, 2013 at 5:31 PM, AlanKim Zimmerman
<alan.zimm@xxxxxxxxx>wrote:

> Built it eventually. Initial boot seems good, the console does not blank
> half way through.
>
> Alan
> On Jan 22, 2013 2:24 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:
>
>>   *Comment # 43 <https://bugs.freedesktop.org/show_bug.cgi?id=44156#c43>on bug
>> 44156 <https://bugs.freedesktop.org/show_bug.cgi?id=44156> from Daniel
>> Vetter <daniel@xxxxxxxx> *
>>
>> On the repo with the official branches:http://cgit.freedesktop.org/~danvet/drm-intel
>>
>>  ------------------------------
>> You are receiving this mail because:
>>
>>    - You reported the bug.
>>
>>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/76

------------------------------------------------------------------------
On 2013-01-22T20:37:08+00:00 Daniel-ffwll wrote:

The setpci thing is the legacy hack (which on some Acer laptops seems to
get horribly in the way). Backlight /should/ get controlled through
/sys/class/backlight drivers. At least that's what X will use ...

Do none of those drivers work? If that's the case, you need a platform
specific (probably some acpi/wmi magic) backlight driver ...

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/77

------------------------------------------------------------------------
On 2013-01-22T20:44:19+00:00 Alan Zimmerman wrote:

Yes,

root@alanz-laptop:~# echo 649450 >
/sys/class/backlight/intel_backlight/brightness
root@alanz-laptop:~# echo 2649450 >
/sys/class/backlight/intel_backlight/brightness

behaves as expected. The second value comes from

root@alanz-laptop:~# cat
/sys/class/backlight/intel_backlight/max_brightness
2649450


Thanks
  Alan

On Tue, Jan 22, 2013 at 10:37 PM, <bugzilla-daemon@xxxxxxxxxxxxxxx>
wrote:

>   *Comment # 46 <https://bugs.freedesktop.org/show_bug.cgi?id=44156#c46>on bug
> 44156 <https://bugs.freedesktop.org/show_bug.cgi?id=44156> from Daniel
> Vetter <daniel@xxxxxxxx> *
>
> The setpci thing is the legacy hack (which on some Acer laptops seems to get
> horribly in the way). Backlight /should/ get controlled through
> /sys/class/backlight drivers. At least that's what X will use ...
>
> Do none of those drivers work? If that's the case, you need a platform specific
> (probably some acpi/wmi magic) backlight driver ...
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/828684/comments/78


** Changed in: xserver-xorg-video-intel
       Status: Unknown => Fix Released

** Changed in: xserver-xorg-video-intel
   Importance: Unknown => Medium

** Bug watch added: Debian Bug tracker #627372
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627372

** Bug watch added: freedesktop.org Bugzilla #41091
   https://bugs.freedesktop.org/show_bug.cgi?id=41091

** Bug watch added: freedesktop.org Bugzilla #49041
   https://bugs.freedesktop.org/show_bug.cgi?id=49041

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/828684

Title:
  [i965gm] False GPU lockup  EIR: 0x00000010 PGTBL_ER: 0x00000100

Status in xf86-video-intel:
  Fix Released
Status in xserver-xorg-video-intel package in Ubuntu:
  Fix Released

Bug description:
  [Problem]
  The Intel driver experiences a GPU hang, but is able to recover from it automatically.  The user does not see any sort of bug/crash/lockup symptom, however the error handler does detect the GPU hang and triggers the crash report dialog.

  In some cases this occurs during boot, so that the error dialog
  appears immediately after logging in.

  In other cases this occurs while using the system, so an error dialog
  pops up "out of nowhere" (or perhaps on the next boot).

  [Unrelated Issues]
  If your system actually does experience a lock up (screen unresponsive and perhaps black, but the mouse cursor might still move), you have a real GPU lockup and should not link to this bug.  These lockups could appear randomly during use, or in relation to booting, shutting down, sleep/resume, or other specific X activity.

  If you have a specific symptom that you believe is correlated or
  associated with the error dialog, do not dupe to this bug report.

  The error message says, ' Sorry, the program "apport-gpu-error-
  intel.py" closed unexpectly ... ' but in truth it wasn't the named
  python script that failed.  The prompt should say "Sorry, the GPU
  appears to have hung unexpectedly..."  But that issue will be handled
  separately.  If you do believe you have found a scripting error in
  apport-gpu-error-intel.py, that should be filed separately.

  
  [From a dupe]
  """
  Seem to detect this bug after system hangs going into shutdown. Has been happening on and off to me since I upgraded to 11.10 testing (Oneiric) .
  On reboot "Application problem" dialogs open reporting the following:
  ' Sorry, the program "apport-gpu-error-intel.py" closed unexpectly ... '
  """

  
  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  BootLog:
   fsck from util-linux 2.19.1
   /dev/sda5: clean, 161626/586368 files, 808322/2342773 blocks
  Chipset: i965gm
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDmesg:
   [   20.630556] Bluetooth: BNEP filters: protocol multicast
   [   20.669359] Bluetooth: RFCOMM TTY layer initialized
   [   20.669364] Bluetooth: RFCOMM socket layer initialized
   [   20.669366] Bluetooth: RFCOMM ver 1.11
  Date: Thu Aug 18 12:37:18 2011
  DistUpgraded: Log time: 2011-08-17 20:01:20.326261
  DistroCodename: oneiric
  DistroVariant: ubuntu
  DkmsStatus:
   bcmwl, 5.100.82.38+bdcom, 3.0.0-7-generic, i686: installed
   bcmwl, 5.100.82.38+bdcom, 3.0.0-8-generic, i686: installed
  DuplicateSignature: [i965gm] GPU lockup  EIR: 0x00000010 PGTBL_ER: 0x00000100 Ubuntu 11.10
  ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
  GraphicsCard:
   Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 03) (prog-if 00 [VGA controller])
     Subsystem: Apple Computer Inc. Device [106b:00a1]
     Subsystem: Apple Computer Inc. Device [106b:00a1]
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
  InterpreterPath: /usr/bin/python2.7
  MachineType: Apple Inc. MacBook3,1
  ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py
  ProcEnviron:

  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-8-generic root=UUID=a0375c54-0bf7-41d1-88c8-503a02134def ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   xserver-xorg             1:7.6+7ubuntu6
   libdrm2                  2.4.26-1ubuntu1
   xserver-xorg-video-intel 2:2.15.901-1ubuntu2
  SourcePackage: xserver-xorg-video-intel
  Title: [i965gm] False GPU lockup  EIR: 0x00000010 PGTBL_ER: 0x00000100
  UpgradeStatus: Upgraded to oneiric on 2011-08-17 (0 days ago)
  UserGroups:

  dmi.bios.date: 03/05/08
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MB31.88Z.008E.B02.0803051832
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Mac-F22788C8
  dmi.board.vendor: Apple Inc.
  dmi.board.version: PVT
  dmi.chassis.asset.tag: Asset Tag#
  dmi.chassis.type: 2
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-F22788C8
  dmi.modalias: dmi:bvnAppleInc.:bvrMB31.88Z.008E.B02.0803051832:bd03/05/08:svnAppleInc.:pnMacBook3,1:pvr1.0:rvnAppleInc.:rnMac-F22788C8:rvrPVT:cvnAppleInc.:ct2:cvrMac-F22788C8:
  dmi.product.name: MacBook3,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.
  peripherals:
   /desktop/gnome/peripherals/mouse:
     cursor_theme = DMZ-White
  version.compiz: compiz 1:0.9.5.90-0ubuntu7
  version.libdrm2: libdrm2 2.4.26-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/828684/+subscriptions