Comment 98 for bug 304871

Revision history for this message
In , Yu Yuwei (acevery) wrote :

I test xf86-video--intel-2.6.3 with gentoo-sources-2.6.28-r3 (which is 2.6.28.7) and got "could not pin back buffer" error:

Xorg.0.log:
(II) intel(0): [DRI] installation complete
(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x02ff4000 (pgoffset 12276)
(II) intel(0): xf86BindGARTMemory: bind key 1 at 0x02ff5000 (pgoffset 12277)
(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x02ff9000 (pgoffset 12281)
(II) intel(0): xf86BindGARTMemory: bind key 3 at 0x02ffa000 (pgoffset 12282)
(II) intel(0): xf86BindGARTMemory: bind key 4 at 0x02ffe000 (pgoffset 12286)
(II) intel(0): xf86BindGARTMemory: bind key 5 at 0x02fff000 (pgoffset 12287)
(II) intel(0): xf86BindGARTMemory: bind key 6 at 0x059ff000 (pgoffset 23039)
(EE) intel(0): Failed to pin back buffer: Cannot allocate memory

Fatal server error:
Couldn't bind memory for BO back buffer

(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1
(II) intel(0): xf86UnbindGARTMemory: unbind key 2
(II) intel(0): xf86UnbindGARTMemory: unbind key 3
(II) intel(0): xf86UnbindGARTMemory: unbind key 4
(II) intel(0): xf86UnbindGARTMemory: unbind key 5
(II) intel(0): xf86UnbindGARTMemory: unbind key 6

dmesg | grep drm:
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20080730 on minor 0
[drm:i915_setparam] *ERROR* unknown parameter 4
[drm:i915_getparam] *ERROR* Unknown parameter 6
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_setparam] *ERROR* unknown parameter 4
[drm:i915_getparam] *ERROR* Unknown parameter 6
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_setparam] *ERROR* unknown parameter 4
[drm:i915_getparam] *ERROR* Unknown parameter 6
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12

seems the drm(20060810) is not compatible with new i915(20080730).