Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1224686

Summary: gl apps throwing BadAlloc errors
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: mesaAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: airlied, tpelka, vrutkovs
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 09:07:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gdb output
none
gdb login with totem-debuginfo installed none

Description Vladimir Benes 2015-05-25 10:46:23 UTC
Description of problem:
when I run totem, cheese, glxgears apps I see this error:

[vbenes@trautenberg ~]$ glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  148 ()
  Minor opcode of failed request:  2
  Serial number of failed request:  36
  Current serial number in output stream:  37

and app ends. I can see some backtrace in totem but that is probably not related.

have tried older kernels but o luck

Version-Release number of selected component (if applicable):
kernel-3.10.0-253.el7.x86_64
xorg-x11-server-Xorg-1.17.1-0.4.el7.x86_64
xorg-x11-drv-intel-2.99.917-6.20150211.el7.x86_64
mesa-libGL-10.6.0-0.1.20150521.el7.x86_64

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)

How reproducible:
always

Steps to Reproduce:
1.run glxgears

Actual results:
no gears

Expected results:
gears

Additional info:
not sure if it's mesa or intel driver but tried mesa :-).

Comment 1 Vladimir Benes 2015-05-25 11:01:23 UTC
removing intel driver and using soft rendering fixes stuff so maybe kernel then?

Comment 2 Vadim Rutkovsky 2015-05-25 16:19:10 UTC
Created attachment 1029531 [details]
gdb output

Comment 3 Vadim Rutkovsky 2015-05-25 16:20:19 UTC
Created attachment 1029532 [details]
gdb login with totem-debuginfo installed

After installing totem-debuginfo gdb goes crazy and produced this

Comment 4 Dave Airlie 2015-05-25 21:23:57 UTC
I'll see if I can reproduce this today, can you try Rob's kernel from

http://file.rdu.redhat.com/~btissoir/RHEL-7.2-xorg-rebase/

I'm surprised gnome shell starts at all.

Comment 5 Dave Airlie 2015-05-25 23:28:46 UTC
okay I've confirmed its a combination of the new mesa/intel on the old kernel.

things work fine on the rebase kernel. I'll try looking into it a bit further.

Comment 6 Dave Airlie 2015-05-26 00:30:17 UTC
disabling DRI3 in the DDX seems to fix the problem, I've built a new xorg-x11-drv-intel that shuold fix this.

Comment 10 errata-xmlrpc 2015-11-19 09:07:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2250.html