Bug 31520 - [i915] drm:i915_gem_do_execbuffer error with huge images in firefox
Summary: [i915] drm:i915_gem_do_execbuffer error with huge images in firefox
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Chris Wilson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 01:25 UTC by Cédric Jeanneret
Modified: 2017-07-24 23:06 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Cédric Jeanneret 2010-11-10 01:25:51 UTC
Hello,

We currently have three workstations with this graphic card:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
	Subsystem: Lenovo Device 3059
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 30
	Region 0: Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f0b0 [size=8]
	Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
		Address: fee0a00c  Data: 41a1
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a4] PCIe advanced features <?>
	Kernel driver in use: i915
	Kernel modules: i915

The current OS is:
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid

and current kernel is:
Linux xxxx 2.6.32-25-generic-pae #45-Ubuntu SMP Sat Oct 16 21:01:33 UTC 2010 i686 GNU/Linux

intel driver:
xserver-xorg-video-intel              2:2.9.1-3ubuntu5
libdrm-intel1                         2.4.18-1ubuntu3

Xorg version:
xorg                                  1:7.5+5ubuntu1

Firefox version:
firefox                               3.6.12+build1+nobinonly-0ubuntu0.10.04.1

The problem is:

when using firefox, and loading some huge image (jpg/png), X crashes. The only log we have (for now), is:
[drm:i915_gem_do_execbuffer] *ERROR* Failed to pin buffer 1 of 2, total 71680000 bytes: -28
[drm:i915_gem_do_execbuffer] *ERROR* 881 objects [6 pinned], 264654848 object bytes [23990272 pinned], 23990272/134217728 gtt bytes

This bug is reproducible anytime.

I searched on Launchpad and find out at least two opened bugs for ubuntu:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/528432
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/611619

But I didn't find out any bugs in here.

If you need other informations, please let me know. For now, our users have to disable image loading in firefox... not really user-friendly as you may guess.

Thank you !

C.
Comment 1 Chris Wilson 2010-11-10 01:30:29 UTC
This bug has been fixed for over a year. Please do try testing upstream packages before filing a bug against upstream.
Comment 2 Jörg Herzinger 2010-11-18 05:36:17 UTC
(In reply to comment #1)
> This bug has been fixed for over a year. Please do try testing upstream
> packages before filing a bug against upstream.

Which fix are you referring to? The only commit I found reffering to this problem is 058ad9e6ab4a00ff66046d94c2129056011ebee9 by Jesse Barnes on Tue Jun 30 16:02:19 2009. This commit is included in the ubuntu intel driver version 2.9.1-3ubuntu5.
If you could point out the commits referring to this problem we maybe could get a hold on this.


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.