freeze with drm/i915

2013-03-20 Thread Francesco Allertsen
Hello everyone, I have experienced since few kernel releases some freezes of my PC. The freeze is totally random, it can happen two times in one hour or nothing for an entire week, and the open programs are never the same (except maybe for Chromium). Last week I had the time to bisect the problem

freeze with drm/i915

2013-03-20 Thread Francesco Allertsen
Hello everyone, I have experienced since few kernel releases some freezes of my PC. The freeze is totally random, it can happen two times in one hour or nothing for an entire week, and the open programs are never the same (except maybe for Chromium). Last week I had the time to bisect the problem

Reverting rc6 by default

2011-08-13 Thread Francesco Allertsen
On Fri, Aug 12, 2011 at 12:53:52PM -0700, Keith Packard wrote: > Can you send me your kernel .config file? I'm still not having any luck > reproducing your problems, using an X201s with the 1.22 BIOS version. > > I'm wondering if the trouble is caused by the the selection of kernel config > parame

Reverting rc6 by default

2011-07-14 Thread Francesco Allertsen
On Thu, Jul 14, 2011 at 09:06:20AM -0700, Keith Packard wrote: > We mentioned the 'Idling' fix as it may make RC6 work. Have you tried > that with RC6 enabled on the command line (or with > 05bd42688dbc066d4e2689b6f73c0470601f788b not applied)? Obviously, not > enabling RC6 by default will 'fix' th

Re: Reverting rc6 by default

2011-07-14 Thread Francesco Allertsen
On Thu, Jul 14, 2011 at 09:06:20AM -0700, Keith Packard wrote: > We mentioned the 'Idling' fix as it may make RC6 work. Have you tried > that with RC6 enabled on the command line (or with > 05bd42688dbc066d4e2689b6f73c0470601f788b not applied)? Obviously, not > enabling RC6 by default will 'fix' th

Reverting rc6 by default

2011-07-14 Thread Francesco Allertsen
On Thu, Jul 14, 2011 at 10:37:15AM +0300, Pekka Enberg wrote: > This if fixed in mainline as of commit > a94919eaddaa3fede1df8563ce4d761a75374645 ("Revert "drm/i915: enable > rc6 by default"). Keith, it would have been nice to include a > 'Reported-by' and/or a link to this discussion in the change

Re: Reverting rc6 by default

2011-07-14 Thread Francesco Allertsen
On Thu, Jul 14, 2011 at 10:37:15AM +0300, Pekka Enberg wrote: > This if fixed in mainline as of commit > a94919eaddaa3fede1df8563ce4d761a75374645 ("Revert "drm/i915: enable > rc6 by default"). Keith, it would have been nice to include a > 'Reported-by' and/or a link to this discussion in the change

Reverting rc6 by default

2011-07-12 Thread Francesco Allertsen
On Wed, Jul 06, 2011 at 01:01:01AM +0200, Francesco Allertsen wrote: > Any news? Ping. Another -rc is out and I still cannot use this new kernel. Bye Francesco

Re: Reverting rc6 by default

2011-07-12 Thread Francesco Allertsen
On Wed, Jul 06, 2011 at 01:01:01AM +0200, Francesco Allertsen wrote: > Any news? Ping. Another -rc is out and I still cannot use this new kernel. Bye Francesco ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.

Reverting rc6 by default

2011-07-06 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 12:01:34PM -0700, Keith Packard wrote: > Thanks. I'll see if I can't get an X201s upgraded to this version and > see if we can reproduce the problem you're having... Any news? I have found the time today for more debugging. Attached there are 3 files. dmesg-startup is th

Reverting rc6 by default

2011-06-22 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 09:12:48PM +0200, Marcin Slusarz wrote: > Try to run dmesg -n 8 before loading the module. I'm using the netconsole directly at the boot, because I got the freeze, so I don't know how to pass that value directly appended to the kernel (if it's possibile). If you want I can

Re: Reverting rc6 by default

2011-06-22 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 09:12:48PM +0200, Marcin Slusarz wrote: > Try to run dmesg -n 8 before loading the module. I'm using the netconsole directly at the boot, because I got the freeze, so I don't know how to pass that value directly appended to the kernel (if it's possibile). If you want I can

Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 11:29:41AM -0700, Jesse Barnes wrote: > Use netconsole. Documentation/networking/netconsole.txt has all the > gory details. I have used netconsole, with that documentation, but it doesn't show me the drm debug messages, only the other dmesg messages, and I don't know why.

Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 11:04:15AM -0700, Keith Packard wrote: > Btw, can you send along the output of dmidecode? I'm wondering what > version of the BIOS you've got. We've seen some pretty strange behaviour > on X201s with earlier BIOS versions which have been fixed with newer > versions. Here is

Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 09:11:29AM -0700, Keith Packard wrote: > I'm more interested in seeing how the dmesg output differs between the > working state (rc6=0) and the broken state (rc6=1). Or is the machine > not accessible over ssh once you've started X? I got a complete freeze when I start X.

Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 08:28:17AM -0700, Keith Packard wrote: > Given the number of X201s machines running this kernel (like the one I'm > using right now), I'd love to get this fixed for you instead of > disabling rc6 -- rc6 is worth a ton of power savings. I didn't know that, anyway, I'm don't

Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
Hi, I wanted to try the new 3.0 Linux Kernel, and I got stucked for a freeze at the start of X. I have bisected the problem and the error was on commit a51f7a6, wich enable rc6 by default (some time ago I have sent another bug about that). I have reverted the commit (the complete patch is attache

[PATCH] Revert "drm/i915: enable rc6 by default"

2011-06-21 Thread Francesco Allertsen
This reverts commit a51f7a66fb5e4af5ec4286baef940d06594b59d2. With rc6 enabled by default there is a freeze in the Lenovo X201s laptop. Signed-off-by: Francesco Allertsen --- drivers/gpu/drm/i915/i915_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu

Re: Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 11:29:41AM -0700, Jesse Barnes wrote: > Use netconsole. Documentation/networking/netconsole.txt has all the > gory details. I have used netconsole, with that documentation, but it doesn't show me the drm debug messages, only the other dmesg messages, and I don't know why.

Re: Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 11:04:15AM -0700, Keith Packard wrote: > Btw, can you send along the output of dmidecode? I'm wondering what > version of the BIOS you've got. We've seen some pretty strange behaviour > on X201s with earlier BIOS versions which have been fixed with newer > versions. Here is

Re: Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 09:11:29AM -0700, Keith Packard wrote: > I'm more interested in seeing how the dmesg output differs between the > working state (rc6=0) and the broken state (rc6=1). Or is the machine > not accessible over ssh once you've started X? I got a complete freeze when I start X.

Reverting rc6 by default

2011-06-21 Thread Francesco Allertsen
rom 284c154625e991be963ae3080faefc8aa4f22d01 Mon Sep 17 00:00:00 2001 From: Francesco Allertsen Date: Tue, 21 Jun 2011 15:46:32 +0200 Subject: [PATCH] Revert "drm/i915: enable rc6 by default" This reverts commit a51f7a66fb5e4af5ec4286baef940d06594b59d2. With rc6 enabled by default there is a freeze

Intel i915 freeze on latest git

2011-02-13 Thread Francesco Allertsen
On Fri, Feb 11, 2011 at 09:16:33AM -0800, Jesse Barnes wrote: > On Fri, 11 Feb 2011 08:28:37 +0100 > Francesco Allertsen wrote: > > > On Thu, Feb 10, 2011 at 03:25:33PM -0800, Jesse Barnes wrote: > > > Does this kernel have the problem patch included? Or is it rev

Re: Intel i915 freeze on latest git

2011-02-13 Thread Francesco Allertsen
On Fri, Feb 11, 2011 at 09:16:33AM -0800, Jesse Barnes wrote: > On Fri, 11 Feb 2011 08:28:37 +0100 > Francesco Allertsen wrote: > > > On Thu, Feb 10, 2011 at 03:25:33PM -0800, Jesse Barnes wrote: > > > Does this kernel have the problem patch included? Or is it rev

Intel i915 freeze on latest git

2011-02-11 Thread Francesco Allertsen
On Thu, Feb 10, 2011 at 03:25:33PM -0800, Jesse Barnes wrote: > Does this kernel have the problem patch included? Or is it reverted? That was without the patch reverted, now I've reverted it and this is the output: --- HD boost: yes Boost freq: 3 HW control enabled: no SW control enabled: yes Ga

Intel i915 freeze on latest git

2011-02-11 Thread Francesco Allertsen
On Thu, Feb 10, 2011 at 10:34:43AM -0800, Jesse Barnes wrote: > Since intel_reg_read won't work, can you try this patch instead? Just > patch it in, then cat /sys/kernel/debug/dri/0/i915_drpc_info This is the output: --- HD boost: yes Boost freq: 3 HW control enabled: no SW control enabled: yes

Re: Intel i915 freeze on latest git

2011-02-10 Thread Francesco Allertsen
On Thu, Feb 10, 2011 at 03:25:33PM -0800, Jesse Barnes wrote: > Does this kernel have the problem patch included? Or is it reverted? That was without the patch reverted, now I've reverted it and this is the output: --- HD boost: yes Boost freq: 3 HW control enabled: no SW control enabled: yes Ga

Re: Intel i915 freeze on latest git

2011-02-10 Thread Francesco Allertsen
On Thu, Feb 10, 2011 at 10:34:43AM -0800, Jesse Barnes wrote: > Since intel_reg_read won't work, can you try this patch instead? Just > patch it in, then cat /sys/kernel/debug/dri/0/i915_drpc_info This is the output: --- HD boost: yes Boost freq: 3 HW control enabled: no SW control enabled: yes

Intel i915 freeze on latest git

2011-02-10 Thread Francesco Allertsen
ilson > Date: Wed Feb 9 16:15:32 2011 + > > drm/i915: Disable RC6 on Ironlake > > The automatic powersaving feature is once again causing havoc, with 100% > reliable hangs on boot and resume on affected machines. > > Reported-by: Fra

Re: Intel i915 freeze on latest git

2011-02-10 Thread Francesco Allertsen
ilson > Date: Wed Feb 9 16:15:32 2011 + > > drm/i915: Disable RC6 on Ironlake > > The automatic powersaving feature is once again causing havoc, with 100% > reliable hangs on boot and resume on affected machines. > > Reported-by: Fra

Intel i915 freeze on latest git

2011-02-09 Thread Francesco Allertsen
On Wed, Feb 02, 2011 at 09:59:54AM +, Chris Wilson wrote: > Hmm, that was the only change I could spot between the two patches. Care > to disable that function and see what happens? [i.e. put a return before > we write anything to the ring] Ping? I've tried the -rc4 (there are some drm update

Re: Intel i915 freeze on latest git

2011-02-09 Thread Francesco Allertsen
On Wed, Feb 02, 2011 at 09:59:54AM +, Chris Wilson wrote: > Hmm, that was the only change I could spot between the two patches. Care > to disable that function and see what happens? [i.e. put a return before > we write anything to the ring] Ping? I've tried the -rc4 (there are some drm update

Intel i915 freeze on latest git

2011-02-02 Thread Francesco Allertsen
On Wed, Feb 02, 2011 at 09:59:54AM +, Chris Wilson wrote: > Hmm, that was the only change I could spot between the two patches. Care > to disable that function and see what happens? [i.e. put a return before > we write anything to the ring] I've tried with the following patch diff --git a/dri

Intel i915 freeze on latest git

2011-02-02 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 04:57:37PM +, Chris Wilson wrote: > So, if this is the issue, then simply commenting out the tweaking of > RSTDBYCTL in ironlake_enable_rc6() should prevent the hang. I've tried the following patch diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i9

Re: Intel i915 freeze on latest git

2011-02-02 Thread Francesco Allertsen
On Wed, Feb 02, 2011 at 09:59:54AM +, Chris Wilson wrote: > Hmm, that was the only change I could spot between the two patches. Care > to disable that function and see what happens? [i.e. put a return before > we write anything to the ring] I've tried with the following patch diff --git a/dri

Re: Intel i915 freeze on latest git

2011-02-02 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 04:57:37PM +, Chris Wilson wrote: > So, if this is the issue, then simply commenting out the tweaking of > RSTDBYCTL in ironlake_enable_rc6() should prevent the hang. I've tried the following patch diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i9

Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 01:16:01PM +, Chris Wilson wrote: > Useful for me. Just confirms that you have an equivalent machine to > this Lenovo x201s, on which those patches were tested after receiving > from Jesse. :| Yes, I have a Lenovo x201s :-P. > The dmesg would have been useful to know w

Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 12:05:52PM +, Chris Wilson wrote: > It would be useful to give us a few more details, such the drm.debug=0xe > dmesg and the Xorg.log (from when it does starts!) Sorry, I forgot to turn on the debug last time, this is the dmesg output from when I start X. Other (hope u

Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 12:05:52PM +, Chris Wilson wrote: > It would be useful to give us a few more details, such the drm.debug=0xe > dmesg and the Xorg.log (from when it does starts!), and explain what you > mean by complete freeze? Such as is the machine still accessible over the > network,

Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
Hi Chris and all, I have tried the latest git (-rc3) and I get a complete freeze when X starts. I've bisected it and the first bad commit is this: commit d5bb081b027b520f9e59b4fb8faea83a136ec15e Author: Jesse Barnes Date: Wed Jan 5 12:01:26 2011 -0800 drm/i915: cleanup rc6 code Clea

Re: Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 12:05:52PM +, Chris Wilson wrote: > It would be useful to give us a few more details, such the drm.debug=0xe > dmesg and the Xorg.log (from when it does starts!) Sorry, I forgot to turn on the debug last time, this is the dmesg output from when I start X. Other (hope u

Re: Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
On Tue, Feb 01, 2011 at 12:05:52PM +, Chris Wilson wrote: > It would be useful to give us a few more details, such the drm.debug=0xe > dmesg and the Xorg.log (from when it does starts!), and explain what you > mean by complete freeze? Such as is the machine still accessible over the > network,

Intel i915 freeze on latest git

2011-02-01 Thread Francesco Allertsen
Hi Chris and all, I have tried the latest git (-rc3) and I get a complete freeze when X starts. I've bisected it and the first bad commit is this: commit d5bb081b027b520f9e59b4fb8faea83a136ec15e Author: Jesse Barnes Date: Wed Jan 5 12:01:26 2011 -0800 drm/i915: cleanup rc6 code

Nouveau driver broke my video card?

2010-11-05 Thread Francesco Allertsen
I've used the nouveau drivers for the last few months and worked very well, since yesturday! Yesturday I was working with my laptop using the external monitor and then (doing nothing special) all the video start to render something really strange (don't know exactly how to describe it), and at the

Nouveau driver broke my video card?

2010-11-05 Thread Francesco Allertsen
I've used the nouveau drivers for the last few months and worked very well, since yesturday! Yesturday I was working with my laptop using the external monitor and then (doing nothing special) all the video start to render something really strange (don't know exactly how to describe it), and at the