Bug 12194 - drm module from git unable to cooperate with i965_dri.so on intel 965GM
Summary: drm module from git unable to cooperate with i965_dri.so on intel 965GM
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 01:59 UTC by Jens Stroebel
Modified: 2007-11-06 03:17 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jens Stroebel 2007-08-28 01:59:25 UTC
We are building the git versions of xorg/drm/mesa regularly, installing the drm kernel modules along with the library.

When doing this lately, we get an error in the xorg log where normally the dri module would have been inserted:

=========================================================================
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting
to software rendering
=========================================================================

This effect does not appear on the 945GM and 965G chipsets, only on 965GM.
  !!! It also  does not appear with the drm modules that come with the kernel
      natively !!!

setup:

xorg (lib,server,drivers) git 2007-08-24
Mesa git 2007-08-24
drm git 2007-08-24 (persists in git 2007-08-27)
kernel 2.6.22.5

lspci -v (graphics chip):
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA])
        Subsystem: Dell Unknown device 01fe
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at eff8 [size=8]
        Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [d0] Power Management version 3
Comment 1 Jens Stroebel 2007-10-23 07:09:55 UTC
The combination of
xorg-libs,xorg-server,xorg-drivers,drm, drm kernel modules, Mesa, pixman (all from git 2007-10-23) , linux kernel 2.6.22.9 
   and
intel 965GM
now works when using 
AccelMethod "EXA" 
When Using
AccelMethod "XAA"
the screen does not get painted like it should; it stays dark, one can see borders of windows and occasionally their contents.
glxgears gets displayed correctly and causes the screen to show background, nly that it is not the background of the current X but e.g. the KDM background, which should be gone when we already entered the session.
Sorry for the rather peculiar description.
Comment 2 Sérgio M. Basto 2007-10-23 16:33:33 UTC
I am facing problems with i915GM ,please  see http://bugs.freedesktop.org/show_bug.cgi?id=12795 

I had try update system to Xserver 1.4 git , but so far of my test , It still valid since commit 126031655c3c1db9881ad17d712461533eb59632 on xf87-drv-intel, I don't have DRI and with latest git of drv-intel, X won't start 
Comment 3 Jens Stroebel 2007-11-06 03:17:05 UTC
using all parts from current git, drm loads i965_dri.so as expected now (2007-11-06)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.