View Single Post

   
  #2 (permalink)  
Old 01-19-2008, 07:54 AM
Geico Caveman
 
Posts: n/a
Default Re: Version mismatch - DRI failure

Russell Shaw wrote:

> Geico Caveman wrote:
>> Was trying to fix this pesky bug in xorg for Intel graphics cards on
>> someone's old machine running Debian testing :
>>
>> http://bugs.debian.org/cgi-bin/bugre...345914&trim=no
>>
>> Downloaded the sources from packages.debian.org (testing), applied all
>> the Debian patches, applied the patch suggested (commenting out the
>> ValidatePCI() call) and compiled it using dpkg-buildpackage. Generated
>> the following deb packages :
>>
>> xdmx_1.0.2-9_i386.deb xserver-xorg-core_1.0.2-9_i386.deb
>> xdmx-tools_1.0.2-9_i386.deb xserver-xorg-dev_1.0.2-9_i386.deb
>> xnest_1.0.2-9_i386.deb xvfb_1.0.2-9_i386.deb
>>
>> Installed them. The laptop now boots with i810 driver without X freezing
>> (it used to use vesa drivers earlier because of the X freeze). Now DRI
>> fails because of a version mismatch :
>>
>> drmOpenDevice: node name is /dev/dri/card0
>> drmOpenDevice: open result is -1, (No such device)
>> drmOpenDevice: open result is -1, (No such device)
>> drmOpenDevice: Open failed
>> drmOpenDevice: node name is /dev/dri/card0
>> drmOpenDevice: open result is -1, (No such device)
>> drmOpenDevice: open result is -1, (No such device)
>> drmOpenDevice: Open failed
>> drmOpenByBusid: Searching for BusID pci:0000:00:02.0
>> drmOpenDevice: node name is /dev/dri/card0
>> drmOpenDevice: open result is 7, (OK)
>> drmOpenByBusid: drmOpenMinor returns 7
>> drmOpenByBusid: drmGetBusid reports pci:0000:00:02.1
>> drmOpenDevice: node name is /dev/dri/card1
>> drmOpenDevice: open result is 7, (OK)
>> drmOpenByBusid: drmOpenMinor returns 7
>> drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
>> (II) I810(0): [drm] loaded kernel module for "i915" driver
>> (II) I810(0): [drm] DRM interface version 1.2
>> (II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
>> (II) I810(0): [drm] added 8192 byte SAREA at 0xe00d3000
>> (II) I810(0): [drm] mapped SAREA 0xe00d3000 to 0xb78b7000
>> (II) I810(0): [drm] framebuffer handle = 0xf0020000
>> (II) I810(0): [drm] added 1 reserved context for kernel
>> (EE) I810(0): [dri] I830DRIScreenInit failed because of a version
>> mismatch.
>> [dri] i915 kernel module version is 1.1.0 but version 1.4 or greater is
>> needed.
>> [dri] Disabling DRI.
>> (II) I810(0): [drm] removed 1 reserved context for kernel
>> (II) I810(0): [drm] unmapping 8192 bytes of SAREA 0xe00d3000 at
>> 0xb78b7000
>>
>>
>> How do I get around this ?

>
> If it says "i915 kernel module version is 1.1.0 but version 1.4 or greater
> is needed", then i'd try compiling a newer kernel with the newer module.


But you see that makes no sense at all. The source was downloaded for debian
etch. Barring the commented line, the source is equivalent to the binary
version that it replaced. Which ran on the same custom kernel that I have
(2.6.15.1).

Could it be that had that bug not been present in the stock Debian testing
packages, this error would have appeared earlier ? Or do I need to apply a
patch to my current kernel to make it work somehow. I am quite confused
about this.
Reply With Quote