2010-12-16 22:30:18

by Harald Dunkel

[permalink] [raw]
Subject: Intel 82915G/GV/910GL, 2.6.36.2: problem with CONFIG_DRM_I915_KMS=y

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

Hi folks,

according to http://bugs.debian.org/607300 I have to rebuild 2.6.36.2
with CONFIG_DRM_I915_KMS=y. Problem:

At boot time I get a message "waiting for /dev to be fully populated",
then the screen goes blank and the monitor enters power save mode.
2.6.36.2 without CONFIG_DRM_I915_KMS didn't show this problem.

My grub2 configuration says

GRUB_GFXMODE=1280x1024
GRUB_GFXPAYLOAD_LINUX="keep"

If I comment out these 2 lines and rebuild grub.cfg, then the problem
goes away, too. I just get a 80x25 display for grub in this case.


Please mail if I can help to track this down. I would be glad to
help.


Regards

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

iEYEARECAAYFAk0KkWQACgkQUTlbRTxpHjeKHQCfRh5T4VYSNY2iZZJLmbINRjX1
wZ0AmwZQOifgc93O+wPnqPfclVsG98WJ
=Yj2U
-----END PGP SIGNATURE-----


2010-12-17 00:01:30

by Dave Airlie

[permalink] [raw]
Subject: Re: Intel 82915G/GV/910GL, 2.6.36.2: problem with CONFIG_DRM_I915_KMS=y

(cc'ing Chris).

On Fri, Dec 17, 2010 at 8:23 AM, Harald Dunkel <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi folks,
>
> according to http://bugs.debian.org/607300 I have to rebuild 2.6.36.2
> with CONFIG_DRM_I915_KMS=y. Problem:
>
> At boot time I get a message "waiting for /dev to be fully populated",
> then the screen goes blank and the monitor enters power save mode.
> 2.6.36.2 without CONFIG_DRM_I915_KMS didn't show this problem.
>
> My grub2 configuration says
>
> ? ? ? ?GRUB_GFXMODE=1280x1024
> ? ? ? ?GRUB_GFXPAYLOAD_LINUX="keep"
>
> If I comment out these 2 lines and rebuild grub.cfg, then the problem
> goes away, too. I just get a 80x25 display for grub in this case.
>

Is this a regression since 2.6.36 or 2.6.35?

Dave.

2010-12-17 01:15:36

by Chris Wilson

[permalink] [raw]
Subject: Re: Intel 82915G/GV/910GL, 2.6.36.2: problem with CONFIG_DRM_I915_KMS=y

On Fri, 17 Dec 2010 10:01:26 +1000, Dave Airlie <[email protected]> wrote:
> (cc'ing Chris).
>
> On Fri, Dec 17, 2010 at 8:23 AM, Harald Dunkel <[email protected]> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi folks,
> >
> > according to http://bugs.debian.org/607300 I have to rebuild 2.6.36.2
> > with CONFIG_DRM_I915_KMS=y. Problem:
> >
> > At boot time I get a message "waiting for /dev to be fully populated",
> > then the screen goes blank and the monitor enters power save mode.
> > 2.6.36.2 without CONFIG_DRM_I915_KMS didn't show this problem.
> >
> > My grub2 configuration says
> >
> >        GRUB_GFXMODE=1280x1024
> >        GRUB_GFXPAYLOAD_LINUX="keep"
> >
> > If I comment out these 2 lines and rebuild grub.cfg, then the problem
> > goes away, too. I just get a 80x25 display for grub in this case.
> >
>
> Is this a regression since 2.6.36 or 2.6.35?

Sounds like:

commit 47f1c6c9ffdec0c0e5a2c2709bd63c7380b325c4
Author: Chris Wilson <[email protected]>
Date: Fri Dec 3 15:37:31 2010 +0000

drm/i915: Clean conflicting modesetting registers upon init

If we leave the registers in a conflicting state then when we attempt
to teardown the active mode, we will not disable the pipes and planes
in the correct order -- leaving a plane reading from a disabled pipe and
possibly leading to undefined behaviour.

Reported-and-tested-by: Andy Whitcroft <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32078
Signed-off-by: Chris Wilson <[email protected]>
Cc: [email protected]

which was prompted by an investigation as to why grub2 was causing a
modesetting failure.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre

2010-12-18 12:54:03

by Harald Dunkel

[permalink] [raw]
Subject: Re: Intel 82915G/GV/910GL, 2.6.36.2: problem with CONFIG_DRM_I915_KMS=y

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

On 12/17/10 02:15, Chris Wilson wrote:
>
> Sounds like:
>
> commit 47f1c6c9ffdec0c0e5a2c2709bd63c7380b325c4

I tried 2.6.37-rc6 (which includes this patch): The problem is gone.


Many thanx

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

iEYEARECAAYFAk0Mrt4ACgkQUTlbRTxpHjdE+gCeKixT9dnELPELDyHRZ32wvgu9
0pUAnidpUImDDX9LMrKfGFjX60kQUv4J
=iFgU
-----END PGP SIGNATURE-----

2010-12-23 05:41:43

by Harald Dunkel

[permalink] [raw]
Subject: Re: Intel 82915G/GV/910GL, 2.6.36.2: problem with CONFIG_DRM_I915_KMS=y

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

Hi folks,

On 12/18/10 13:53, Harald Dunkel wrote:
> On 12/17/10 02:15, Chris Wilson wrote:
>
>> Sounds like:
>
>> commit 47f1c6c9ffdec0c0e5a2c2709bd63c7380b325c4
>
> I tried 2.6.37-rc6 (which includes this patch): The problem is gone.
>

Sorry to say, but that was a mistake. By accident CONFIG_DRM_I915_KMS
was _not_ set. I just noticed when I tried rc7.

rc7 built with CONFIG_DRM_I915_KMS=yes still boots into a blank screen.


My apologies for the bad confirmation message. Please mail if I can
help.


Regards

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

iEYEARECAAYFAk0S4QwACgkQUTlbRTxpHjcy1ACcCOof3+AlZxz6LFWvSWtL6T6d
9PAAnjUizmYG1D23VjzYnS86W14S3Vxd
=ZJpb
-----END PGP SIGNATURE-----