| Summary: | i915 x11-drm module doesn't work, but kernel i915 module does | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Clark Torgerson <clark_torgerson> |
| Component: | [OLD] Core system | Assignee: | X11 External Driver Maintainers <x11-drivers> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | larssj |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://forums.gentoo.org/viewtopic.php?t=221436&highlight= | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Clark Torgerson
2004-09-12 14:25:53 UTC
*** Bug 63828 has been marked as a duplicate of this bug. *** This problem is descripted in http://forums.gentoo.org/viewtopic.php?t=223053 Simple solution is to remove the overlapplig segment: > cat /proc/mtrr|grep 0xd800000 reg02: base=0xd8000000 (3712MB), size= 4MB: write-combining, count=1 The mtrr output depend on the kernel. Here is the 'reg02' that is using it. so do: echo "disable=2" > /proc/mtrr Replace the =2 with number in reg0X. drm i915 will create the MTRR entry. I have a problem interrupt and DRM after I fix this. from Xorg.0.log: (EE) I810(0): [drm] falure adding irq handler And then the DRM is removing a context from the kernel. Is this the drm:i915_unlock ERROR resoult? I am also using the framebuffer with mtrr: '[drm] Used old pci detect: framebuffer loaded', can that cause the problem? The mtrr overlap is cause by the framebuffer. I got it away by removing the framebuffer support. the real problem is: (EE) I810(0): [drm] failure adding irq handler The bug is in Free Desktop.Org Bugzilla as #1388 https://freedesktop.org/bugzilla/show_bug.cgi?id=1388 I was able to fix the issue by patching my gentoo-dev-sources-2.6.7-r14 kernel with the following patch and building the i915 as a module. It seems to be working perfectly. The issue must be the driver in the x11-drm package. http://www.skynet.ie/~airlied/patches/dri/i915_linux.diff I did the same patch to gentoo-dev-sources-2.6.8-r4 and xorg-x11-6.8.0-r1 worked. Please add the i915 driver to the gentoo-dev-source. Is this a dupe of bug #63436? i915 is required for use with xorg 6.8 No, it's not a dupe, but it is related. Bug 63436 notes that xorg requires the i915 modules which is not provided in the current kernel, but which is included in the x11-drm package. As posted, I reported that I was having issues with the x11-drm i915 driver, but discovered that the mentioned kernel patch works perfectly. The bug reports are related, but this bug was originally posted to report problems with the x11-drm driver. I believe that is still an issue that needs to be addressed, since the kernel patch driver is known to work without the noted error. The i915 drm code in linux-2.6.16 works for my i945GM. Can this bug report be closed? I think so. I use it myself for 855GM. |