Re: [Bug 430694] Re: agpgart-intel not loaded before drm sometimes, causes KMS to fail

2009-10-08 Thread crashsystems
The updates fix this bug on my system. However, when I log in now, compiz is
not running. I have to run compiz --replace to get it running, but it works
just fine once I do that. Would this be related to this bug, or should I
file a new one?

-- 
agpgart-intel not loaded before drm sometimes, causes KMS to fail
https://bugs.launchpad.net/bugs/430694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430694] Re: agpgart-intel not loaded before drm sometimes, causes KMS to fail

2009-10-06 Thread Pete Graner
On 10/06/2009 04:28 PM, Tim Gardner wrote:
> Here is a test kernel that attempts to force loading of the Intel AGP
> driver before i915 can proceed.
>
> http://kernel.ubuntu.com/~rtg/2.6.3-12.39-module-depends
>
> For example,
>
> wget 
> http://kernel.ubuntu.com/2.6.3-12.39-module-depends/linux-image-2.6.31-12-generic_2.6.31-12.39_amd64.deb
> sudo dpkg -i linux-image-2.6.31-12-generic_2.6.31-12.39_amd64.deb
>

@Tim,

Works for me on both machines that were affected using i386.

Thanks

-- 
Pete Graner 
Manager 
Ubuntu Kernel Team  
Canonical Ltd.  http://www.canonical.com/

-- 
agpgart-intel not loaded before drm sometimes, causes KMS to fail
https://bugs.launchpad.net/bugs/430694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430694] Re: agpgart-intel not loaded before drm sometimes, causes KMS to fail

2009-10-07 Thread Martin Pitt
Tim Gardner [2009-10-07 13:22 -]:
> @Martin: It should be the other way around, i.e., i915 is dependent on
> agp

Hmm. Isn't the actual problem that agp is loaded before drm? Adding a
dependency to i915 wouldn't fix that?

> grep i915 /lib/modules/2.6.31-12-generic/modules.dep

$ grep i915 /lib/modules/2.6.31-12-generic/modules.dep
kernel/drivers/gpu/drm/i915/i915.ko: kernel/drivers/gpu/drm/drm.ko 
kernel/drivers/i2c/algos/i2c-algo-bit.ko kernel/drivers/acpi/video.ko 
kernel/drivers/video/output.ko

"grep agp" still yields no dependencies.

This is with -12.40 now.
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
agpgart-intel not loaded before drm sometimes, causes KMS to fail
https://bugs.launchpad.net/bugs/430694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430694] Re: agpgart-intel not loaded before drm sometimes, causes KMS to fail

2009-10-07 Thread Martin Pitt
Tim Gardner [2009-10-07 13:54 -]:
> @Martin: Actually, I was proceeding on the assumption that intel-agp
> needed to be loaded before i915.

This is probably also required, but not sufficient (it _also_ needs to
come before drm).

Thanks a lot for your efforts!

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
agpgart-intel not loaded before drm sometimes, causes KMS to fail
https://bugs.launchpad.net/bugs/430694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430694] Re: agpgart-intel not loaded before drm sometimes, causes KMS to fail

2009-10-07 Thread Martin Pitt
Tim Gardner [2009-10-07 15:21 -]:
> @Martin - I think I've figured it out. The MODULE_IMPORT/MODULE_EXPORT
> macros didn't work for amd64.

Ah! Indeed I am using amd64 here.

> I've applied a big hammer to the problem, so it should be fixed in
> the next upload.

Awesome, thanks!

> As for drm dependencies, i915 is already dependent on the main drm
> module.

So your current upload introduces the drm -> intel_agpgart dependency?
Out of curiosity, what happens on platforms where intel_agpgart
isn't needed, but drm is?

Thanks, Martin

-- 
agpgart-intel not loaded before drm sometimes, causes KMS to fail
https://bugs.launchpad.net/bugs/430694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 430694] Re: agpgart-intel not loaded before drm sometimes, causes KMS to fail

2009-10-05 Thread Scott James Remnant
On Mon, 2009-10-05 at 15:56 +, Martin-Éric Racine wrote:

> Should this be bug renamed "i915 missing an explicit dependency on
> intel_agp" and filed upstream at kernel.org then?
> 
Exactly.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
agpgart-intel not loaded before drm sometimes, causes KMS to fail
https://bugs.launchpad.net/bugs/430694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs