Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: 2.6.31 -> 2.6.32 Sound and video regressions

0 views
Skip to first unread message

Emmanuel Benisty

unread,
Dec 5, 2009, 9:50:01 AM12/5/09
to
On Sat, Dec 5, 2009 at 9:34 PM, Andy Lutomirski <lu...@myrealbox.com> wrote:
> Emmanuel Benisty wrote:
>> I just wanted to report 2 regressions I am having now with 2.6.32.
>>
>> Video
>> Screen is flickering/glitching like crazy in X. It happens whether
>> randomly or when conky is refreshed, when the mouse cursor moves and
>> like hell when a page is loading in the browser. Not so easy to
>> describe this issue.
>> Xorg.0.log is attached.
>> (I've uploaded an utterly crappy mobile phone video if needed but I
>> doubt this could be of any help, anyway, it's here
>> http://omploader.org/vMngzcA/Xorg.tar.bz2 )
>
> That sounds like FIFO underruns, which (I think) were introduced when
> self-refresh was enabled but should have been fixed.  I personally have no
> clue how to fix them, but if you told the Intel people what kind of chip you
> have (lspci output), they can probably fix it.  (cc added)

Thanks for your reply Andy. lspci output is attached.

lspci.txt

Andy Lutomirski

unread,
Dec 5, 2009, 9:50:02 AM12/5/09
to
Emmanuel Benisty wrote:
> Hi,
>
> I hope I didn't miss something but given the traffic of LKML, that
> could have happened.

>
> I just wanted to report 2 regressions I am having now with 2.6.32.
>
> Video
> Screen is flickering/glitching like crazy in X. It happens whether
> randomly or when conky is refreshed, when the mouse cursor moves and
> like hell when a page is loading in the browser. Not so easy to
> describe this issue.
> Xorg.0.log is attached.
> (I've uploaded an utterly crappy mobile phone video if needed but I
> doubt this could be of any help, anyway, it's here
> http://omploader.org/vMngzcA/Xorg.tar.bz2 )

That sounds like FIFO underruns, which (I think) were introduced when
self-refresh was enabled but should have been fixed. I personally have
no clue how to fix them, but if you told the Intel people what kind of
chip you have (lspci output), they can probably fix it. (cc added)

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Takashi Iwai

unread,
Dec 5, 2009, 10:00:02 AM12/5/09
to
At Sat, 5 Dec 2009 12:48:57 +0700,
Emmanuel Benisty wrote:
>
> Sound
> The "Front" mixer channel has disappeared. I'm left with no sound and
> no way to enable it.
> alsa-info.sh output is attached.

Try to unmute "Speaker" mixer switch.


Takashi

Emmanuel Benisty

unread,
Dec 5, 2009, 10:10:02 AM12/5/09
to
On Sat, Dec 5, 2009 at 9:53 PM, Takashi Iwai <ti...@suse.de> wrote:
> At Sat, 5 Dec 2009 12:48:57 +0700,
> Emmanuel Benisty wrote:
>>
>> Sound
>> The "Front" mixer channel has disappeared. I'm left with no sound and
>> no way to enable it.
>> alsa-info.sh output is attached.
>
> Try to unmute "Speaker" mixer switch.

Thanks Takashi, actually it seems to be a kernel config problem: I
just tried the stock .32 kernel of the distribution I'm using and all
channels are there again. I just have to figure out what has changed
that requires my config to be modified.

Darren Salt

unread,
Dec 5, 2009, 8:50:01 PM12/5/09
to
I demand that Andy Lutomirski may or may not have written...

> Emmanuel Benisty wrote:
[snip]


>> I just wanted to report 2 regressions I am having now with 2.6.32.
>> Video
>> Screen is flickering/glitching like crazy in X. It happens whether
>> randomly or when conky is refreshed, when the mouse cursor moves and
>> like hell when a page is loading in the browser. Not so easy to
>> describe this issue.

[snip]

> That sounds like FIFO underruns, which (I think) were introduced when
> self-refresh was enabled but should have been fixed. I personally have no
> clue how to fix them, but if you told the Intel people what kind of chip
> you have (lspci output), they can probably fix it.

It also sounds like what I'm seeing on my EeePC 901. It only happens after
resume, which makes STR a little less than useful; the display will, sooner
or later, show a single colour (which is, presumably, the result of a display
engine hang, as described in the comment immediately before
intel_calculate_wm) and, seemingly, be stuck like that until power-off or
reboot.

Whether it *is* the same problem, I couldn't say.

Needless to say, this problem goes away if I disable KMS.

--
| Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds ,demon,co,uk | Northumberland | Army
| + http://www.youmustbejoking.demon.co.uk/ & http://tlasd.wordpress.com/

Dumb luck beats sound planning every time. Trust me.

Jesse Barnes

unread,
Dec 6, 2009, 8:50:02 PM12/6/09
to

Arg, there are a few reports of this now, but I haven't been able to
reproduce it. I'll try harder... (FYI the upstream
bugs.freedesktop.org # for it is 24314).

--
Jesse Barnes, Intel Open Source Technology Center

Emmanuel Benisty

unread,
Dec 6, 2009, 11:00:03 PM12/6/09
to

It *seems* that we are facing two different issues here (I don't even
use S2R and the problem is there since the very first second I start
X). Anyway, I have bisected the problem on my box, it turns out to be
this one:

drm/i915: Fix render reclock availability detection

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=181a5336d6cc836f05507410d66988c483ad0154

Emmanuel Benisty

unread,
Dec 7, 2009, 8:50:02 AM12/7/09
to
So, I have reverted this commit and rebuilt 2.6.32. It completely
solved the issue described in my first post.

Emmanuel Benisty

unread,
Dec 8, 2009, 8:30:02 AM12/8/09
to

just FTR, it looks like I'm not alone:
http://forums.gentoo.org/viewtopic-p-6087556.html#6087556

Jesse Barnes

unread,
Dec 10, 2009, 1:10:02 PM12/10/09
to
On Tue, 8 Dec 2009 20:20:07 +0700
Emmanuel Benisty <beni...@gmail.com> wrote:

Great, thanks for narrowing it down. I'll see if I can come up with a
fix.

--
Jesse Barnes, Intel Open Source Technology Center

Emmanuel Benisty

unread,
Dec 10, 2009, 8:50:02 PM12/10/09
to

Thank you very much Jesse, I've opened a bug report here:
http://bugzilla.kernel.org/show_bug.cgi?id=14781

Jesse Barnes

unread,
Dec 17, 2009, 2:10:02 PM12/17/09
to
On Thu, 10 Dec 2009 09:54:22 -0800
Jesse Barnes <jba...@virtuousgeek.org> wrote:

Can you give this a try?

--
Jesse Barnes, Intel Open Source Technology Center

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_d
index 279dc96..5bde801 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3808,6 +3808,8 @@ void intel_decrease_renderclock(struct drm_device *dev)
{
drm_i915_private_t *dev_priv = dev->dev_private;

+ return;
+
if (IS_IRONLAKE(dev))
return;

Jesse Barnes

unread,
Dec 18, 2009, 12:20:02 PM12/18/09
to
On Sat, 19 Dec 2009 00:10:39 +0700
Emmanuel Benisty <beni...@gmail.com> wrote:

> On Fri, Dec 18, 2009 at 2:05 AM, Jesse Barnes

> Thanks a lot Jesse, I have tried your bugzilla patch. Anyone
> interested, it's here:
> http://bugzilla.kernel.org/show_bug.cgi?id=14781
>

Ok, I'll follow further updates in the bug. If anyone else has
anything to report, please do it in the bug so it doesn't get lost.

Thanks,


--
Jesse Barnes, Intel Open Source Technology Center

Emmanuel Benisty

unread,
Dec 18, 2009, 12:20:03 PM12/18/09
to

Thanks a lot Jesse, I have tried your bugzilla patch. Anyone

0 new messages