Skip to contentSkip to conversation

Screen corruption regression from 3.0 to 3.1rc4

DISCUSSION Philipp Klaus Krause 4 participants 10 messages Aug 31, 2011 – Sep 8, 2011

lore
Share & tools
lore
#0 lore raw

In the free game simutrans, in fullscreen mode I see the following problem:
The lower about 2 cm of the screen don't update. They are black or carry the image from the game startup screen. They flicker once in a while, but otherwise the image stays the same.

lspci output:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)

glxinfo:
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string: 2.1 Mesa 7.11

Any ideas what I can do about this problem? Is it a known issue?

Philipp

#1 lore raw

Am 31.08.2011 08:43, schrieb Philipp Klaus Krause:

Quoted 11 lines

In the free game simutrans, in fullscreen mode I see the following problem:
The lower about 2 cm of the screen don't update. They are black or carry the image from the game startup screen. They flicker once in a while, but otherwise the image stays the same.

lspci output:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)

Quoted 8 lines

glxinfo:
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string: 2.1 Mesa 7.11

Any ideas what I can do about this problem? Is it a known issue?

Philipp

This regression was introduced between 3.0 and 3.1rc1.

Philipp

#2 lore raw
Quoted 18 lines · Philipp Klaus Krause

Am 31.08.2011 08:43, schrieb Philipp Klaus Krause:

Quoted 17 lines

In the free game simutrans, in fullscreen mode I see the following problem:
The lower about 2 cm of the screen don't update. They are black or carry the image from the game startup screen. They flicker once in a while, but otherwise the image stays the same.

lspci output:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)

glxinfo:
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string: 2.1 Mesa 7.11

Any ideas what I can do about this problem? Is it a known issue?

Lately there seem to be a few reports of "my screen doesn't update anymore". One thing that seems to (temporary) fix the problem is to switch to the kernel console and back to X. Does that help in your case?

Quoted 1 line

This regression was introduced between 3.0 and 3.1rc1.

If it's a kernel regression, can you please try to bisect it?

Thanks a lot,

Daniel

Signature · 2 lines
Daniel Vetter
[email protected] - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
#3 lore raw

Am 03.09.2011 12:43, schrieb Daniel Vetter:

Quoted 5 lines

Lately there seem to be a few reports of "my screen doesn't update anymore". One thing that seems to (temporary) fix the problem is to switch to the kernel console and back to X. Does that help in your case?

Yes. Temporary: For a few seconds, then the lower part of the screen freezes again. Taking a screenshot using import has the same effect.

Philipp

Quoted 4 lines
Quoted 1 line

This regression was introduced between 3.0 and 3.1rc1.

If it's a kernel regression, can you please try to bisect it?

I might have a look at it when I find the time to do so.

Philipp

#4 lore raw
Quoted 6 lines · Philipp Klaus Krause
Quoted 4 lines
Quoted 1 line

This regression was introduced between 3.0 and 3.1rc1.

If it's a kernel regression, can you please try to bisect it?

I might have a look at it when I find the time to do so.

That would be very useful. Your description sounds like damage isn't properly flushed somewhere in the X server. This being caused by a kernel changes is rather strange, so more information about the actual culprit is certainly useful.

Thanks, Daniel

Signature · 2 lines
Daniel Vetter
[email protected] - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
#5 lore raw
In reply to Philipp Klaus Krause

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 03.09.2011 12:52, schrieb Philipp Klaus Krause:

Quoted 14 lines

Am 03.09.2011 12:43, schrieb Daniel Vetter:

Quoted 5 lines

Lately there seem to be a few reports of "my screen doesn't update anymore". One thing that seems to (temporary) fix the problem is to switch to the kernel console and back to X. Does that help in your case?

Yes. Temporary: For a few seconds, then the lower part of the screen freezes again. Taking a screenshot using import has the same effect.

Philipp

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

This regression was introduced between 3.0 and 3.1rc1.

If it's a kernel regression, can you please try to bisect it?

I might have a look at it when I find the time to do so.

Philipp

Here's the output from git-bisect:

d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e is the first bad commit commit d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e

Author: Keith Packard <[email protected]>
Date:   Thu Jul 28 14:47:14 2011 -0700

drm/i915: Flush other plane register writes

Writes to the plane control register are buffered in the chip until a write to the DSPADDR (pre-965) or DSPSURF (post-965) register occurs.

This patch adds flushes in:

intel_enable_plane
gen6_init_clock_gating
ivybridge_init_clock_gating

:040000 040000 68666ff438ff2b9890a72914905b4aadf53e23ef
101e78df34814a3661c87e9e44d10761d0676d7a M drivers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5mG+0ACgkQbtUV+xsoLpqAegCfYBHlmYhMr048fEY6MXZcn9tn VEAAn0KYFNL8xiFpSoJnrF4G7zNoEMF2
=Lkwf
-----END PGP SIGNATURE-----

#6 lore raw
Quoted 4 lines · Philipp Klaus Krause

Here's the output from git-bisect:

d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e is the first bad commit commit d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e

Quoted 8 lines
Author: Keith Packard <[email protected]>
Date:   Thu Jul 28 14:47:14 2011 -0700

drm/i915: Flush other plane register writes

Writes to the plane control register are buffered in the chip until a write to the DSPADDR (pre-965) or DSPSURF (post-965) register occurs.

Makes me wonder if this is some interaction between page flipping and frame buffer compression. Could you try turning it off with the following kernel command line parameter?

        i915.i915_enable_fbc=0
Signature · 1 line
[email protected]

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 06.09.2011 17:53, schrieb Keith Packard:

Quoted 15 lines · Philipp Klaus Krause
Quoted 5 lines

Here's the output from git-bisect:

d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e is the first bad commit commit d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e

Quoted 8 lines
Author: Keith Packard <[email protected]>
Date:   Thu Jul 28 14:47:14 2011 -0700

drm/i915: Flush other plane register writes

Writes to the plane control register are buffered in the chip until a write to the DSPADDR (pre-965) or DSPSURF (post-965) register occurs.

Quoted 6 lines

Makes me wonder if this is some interaction between page flipping and frame buffer compression. Could you try turning it off with the following kernel command line parameter?

        i915.i915_enable_fbc=0

The problem goes away with i915.i915_enable_fbc=0. I'll probably use that workaround until the issue is fixed.

Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5npvkACgkQbtUV+xsoLpoRPACguEnn/k9CBlIxXBNVhD1cO1/B tfEAn0udhnXMKnop2i1cEY8SztLN6RZT
=TjEO
-----END PGP SIGNATURE-----

#8 lore raw
Quoted 25 lines · Philipp Klaus Krause

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 06.09.2011 17:53, schrieb Keith Packard:

Quoted 1 line

On Tue, 06 Sep 2011 15:11:12 +0200, Philipp Klaus Krause <[email protected]>

Quoted 11 lines · wrote:
Quoted 11 lines

Here's the output from git-bisect:

d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e is the first bad commit commit d74362c9e45689d8d7e3d4bcf6681c4358ef4f2e

Author: Keith Packard <[email protected]>
Date:   Thu Jul 28 14:47:14 2011 -0700

drm/i915: Flush other plane register writes

Writes to the plane control register are buffered in the chip until

a

Quoted 7 lines
Quoted 2 lines

write to the DSPADDR (pre-965) or DSPSURF (post-965) register occurs.

Makes me wonder if this is some interaction between page flipping and frame buffer compression. Could you try turning it off with the following kernel command line parameter?

Quoted 6 lines
Quoted 2 lines
        i915.i915_enable_fbc=0

The problem goes away with i915.i915_enable_fbc=0. I'll probably use that workaround until the issue is fixed.

Hi,

just to help me keep track of this, is there a bug on bugzilla about it?

Signature · 2 lines
Eugeni Dodonov
 <http://eugeni.dodonov.net/>

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#9 lore raw

Am 08.09.2011 15:43, schrieb Eugeni Dodonov:

Quoted 4 lines

Hi,

just to help me keep track of this, is there a bug on bugzilla about it?

I only reported it on the intel-gfx list. Maybe someone reported the issue at bugzilla before, but I don't know.

Philipp