Bug 22772 - [i945gm] Compiz colorfilter plugin causes "i915_program_error: Exceeded max ALU instructions" error
Summary: [i945gm] Compiz colorfilter plugin causes "i915_program_error: Exceeded max A...
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 17:35 UTC by Bryce Harrington
Modified: 2016-02-26 00:20 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
XorgLog.gz (4.82 KB, application/x-gzip)
2009-07-14 17:35 UTC, Bryce Harrington
Details
gdb-compiz.txt (2.71 KB, text/plain)
2009-07-14 17:35 UTC, Bryce Harrington
Details
CurrentDmesg.txt (4.05 KB, text/plain)
2009-07-14 17:35 UTC, Bryce Harrington
Details

Description Bryce Harrington 2009-07-14 17:35:04 UTC
Created attachment 27696 [details]
XorgLog.gz

Forwarding this bug from Ubuntu reporter mattduckman :
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/386855

[Problem]
Compiz segfaults on an error about max ALU instructions when using its colorfilter plugin.

[Original Report]
when trying to use colorfilter, this is what happens:

- I press the keyboard shortcut
- Everything except the mouse freezes
- About 5 seconds later compiz crashes

When run in the terminal, i get this message:

Mesa 7.4.1 implementation error: i915_program_error: Exceeded max ALU instructions
Please report at bugzilla.freedesktop.org
Segmentation fault

I've never used colorfilter before, so I don't know if this is a regression or not. I'm using Karmic. I'll do a backtrace later tonight.

ProblemType: Bug
Architecture: i386
Date: Sat Jun 13 18:49:36 2009
DistroRelease: Ubuntu 9.10
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Inc. MXC061
NonfreeKernelModules: wl
Package: compiz 1:0.8.2-0ubuntu12
PackageArchitecture: all
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.30-9-generic root=UUID=ddf993ab-d008-4974-9167-9b21b8e87c0c ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
SourcePackage: compiz
Uname: Linux 2.6.30-9-generic i686
dmi.bios.date: 04/02/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.name: 0MG532
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA10:bd04/02/2007:svnDellInc.:pnMXC061:pvr:rvnDellInc.:rn0MG532:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: MXC061
dmi.sys.vendor: Dell Inc.

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
     Subsystem: Dell Device [1028:01d8]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
     Subsystem: Dell Device [1028:01d8]
Comment 1 Bryce Harrington 2009-07-14 17:35:28 UTC
Created attachment 27697 [details]
gdb-compiz.txt
Comment 2 Bryce Harrington 2009-07-14 17:35:49 UTC
Created attachment 27698 [details]
CurrentDmesg.txt
Comment 3 Brian Crowell 2009-10-07 16:53:10 UTC
I think my bug may be related:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/445896
Comment 4 Eric Anholt 2009-10-07 17:22:27 UTC
It now no longer segfaults, just falls back to software.  We need to rework some of i915 to handle compiling programs up front so we can find if they exceed capabilities or not.

Comment 5 Hielos 2010-03-24 20:04:12 UTC
(In reply to comment #0)

Hello, I seem to have the same problem:
Hello, it also affects me if I enable (<Super>f) the color filter. I ran this from the terminal:

$ compiz --replace
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported! This is an application bug!
WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported! This is an application bug!
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
/usr/bin/compiz.real (colorfilter) - Info: Loading filter blueish-filter (item blueish-filter).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter negative (item negative).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter negative-green (item negative-green).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter sepia (item sepia).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter grayscale (item grayscale).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter deuteranopia (item deuteranopia).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter protonopia (item protonopia).
/usr/bin/compiz.real (colorfilter) - Warn: Tried to load 7 filter(s), 6 succeeded.
/usr/bin/compiz.real (colorfilter) - Info: Loading filter blueish-filter (item blueish-filter).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter negative (item negative).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter negative-green (item negative-green).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter sepia (item sepia).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter grayscale (item grayscale).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter deuteranopia (item deuteranopia).
/usr/bin/compiz.real (colorfilter) - Info: Loading filter protonopia (item protonopia).
/usr/bin/compiz.real (colorfilter) - Warn: Tried to load 7 filter(s), 6 succeeded.
Mesa 7.6 implementation error: i915_program_error: Exceeded max ALU instructions
Please report at bugzilla.freedesktop.org
Segmentation fault
Comment 6 Eugeni Dodonov 2011-08-23 13:03:46 UTC
As per upstream bug report, it still seems to be active.
Comment 7 Christopher M. Penalver 2016-02-26 00:20:10 UTC
Original report hasn't responded to information downstream for 2 years.


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.