Bug 56835 - [Bisected]X Error of failed request when run xdemo/glxpixmap
Summary: [Bisected]X Error of failed request when run xdemo/glxpixmap
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All Linux (All)
: high major
Assignee: Ian Romanick
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-11-07 08:46 UTC by libo
Modified: 2013-05-29 18:35 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log when run glxpixmap with gnome-session on IVB (47.51 KB, text/plain)
2012-11-21 08:16 UTC, ye.tian
no flags Details
xtrace (153.02 KB, text/plain)
2012-11-21 08:55 UTC, ye.tian
no flags Details

Description libo 2012-11-07 08:46:41 UTC
System Environment:
--------------------------
Libdrm:   (master)libdrm-2.4.39-22-ge32fff8e9ea8d522679eaab21a9555cab134fb36
Mesa:     (9.0)895a5873d141c726e2e81ba53d5b757e4708fb29
Xserver:  (server-1.13-branch)xorg-server-1.13.0
Libva:    (master)ab06c8cb5d41e21b03c3d17c5898fae8261113e6
kernel:   3.6.5

Bug detailed description:
-------------------------
It will be failed when run xdemo/glxpixmap and the error messages as follows:
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  26
  Current serial number in output stream:  25

Reproduce steps:
----------------
1. xinit &
2. ./glxpixmap
Comment 1 Eric Anholt 2012-11-07 17:40:19 UTC
Works for me.
Comment 2 Ian Romanick 2012-11-20 16:54:30 UTC
Bisect?
Comment 3 ye.tian 2012-11-21 07:59:29 UTC
1,The problem exists on SNB,IVB and IronLake with gnome-session.
2,With xinit the problem on SNB(SugarBay desktop: i5-2400S product (id=0x0102, rev 09).
But not exists on IVB, IronLake,even SNB(SugarBay desktop Dell OptiPlex 990DT: i7-2600 D2 (id=0x0102, ev 09), Q67 B2 (rev 04)).
3,It's Xserver regression, the good commit is server-1.12-branch)xorg-server-1.12.4-4-g01aac1f533d211c90a50127cc82a56bebb44dd0d.
Comment 4 ye.tian 2012-11-21 08:16:35 UTC
Created attachment 70350 [details]
Xorg.0.log when run glxpixmap with gnome-session on IVB
Comment 5 ye.tian 2012-11-21 08:55:40 UTC
Created attachment 70352 [details]
xtrace
Comment 6 meng 2012-11-21 08:58:21 UTC
By bisected, show that (server-1.13-branch)cef0b808d3152a20cd98d324 is the first bad commit.

commit cef0b808d3152a20cd98d32457dde08bd5434e7c
Author: Ian Romanick <ian.d.romanick@intel.com>
Date:   Wed Jul 4 15:21:03 2012 -0700

    glx: Implement GLX_ARB_create_context_profile
Comment 7 Rüdiger Kupper 2013-01-12 10:08:49 UTC
I see this error with the intel 82845G/GL[Brookdale-G]/GE Chipset. It comes up when starting an OpenGL application, or glxinfo:

 root@LTClient128-01:/localhome/linadmin# glxinfo
 name of display: :7
 X Error of failed request: GLXBadContext
   Major opcode of failed request: 153 (GLX)
   Minor opcode of failed request: 6 (X_GLXIsDirect)
   Serial number of failed request: 23
   Current serial number in output stream: 22

We are running Ubuntu precise with X from the xorg-edgers PPA.
(Our machines suffer from GPU hangs for almost two years now, and this bug report
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/541492
indicated that the recent intel drive finally fixes this problem. However, now I see the above error.)
Comment 8 madbiologist 2013-01-12 12:53:59 UTC
A GTK patch which is claimed to fix this has been sent to the GNOME mailing list - see https://mail.gnome.org/archives/commits-list/2012-December/msg03994.html
Comment 9 Rüdiger Kupper 2013-02-03 11:32:40 UTC
Is there any advance with this bug? I still see the GLXBadContext error on our Intel 82845G machines.
Comment 10 meng 2013-02-04 02:59:17 UTC
Verify with following driver:
-------------------
Libdrm:	(master)libdrm-2.4.41-5-gef866c7293e699b119ae61738e221857a36a5362
Mesa:	(9.0)ebd4883a0c53a3584f6da78042dbc38da779291b
Xserver:	(server-1.13-branch)xorg-server-1.13.2
Kernel:	(drm-intel-fixes) 4518f611ba21ba165ea3714055938a8984a44ff9
Comment 11 beatkaufmann 2013-05-29 18:35:06 UTC
I had a similar problem with the Intel 82865G on my Motherboard (using opensuse 12.3 and Xfce).

glxinfo and glxgears didn't work (from package Mesa-demo-x), also Cheese and XawTV chrashed on startup.

I found a solution by switching off the Acceleration. All what I had to do, is creating a config-file named '20-intel.conf' in the directory '/etc/X11/xorg.conf.d' with following content:

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "NoAccel"                   "True"
EndSection

Now it works fine, maybe somebody help 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.