glxinfo produce "X Error of failed request: BadAlloc"

Bug #45318 reported by Berti
18
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg

Using a ati radeon 9800,

root@neptune:/var/log # lspci |grep Radeon
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro]
0000:01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro] (Secondary)

with the ati open-source driver, glxinfo produce the following errors :
berti@neptune:~$ glxinfo
name of display: :0.0
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 144 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 17
  Current serial number in output stream: 18

Revision history for this message
Berti (bertrand-haut-gmail) wrote : xorg config file

xorg config file

Revision history for this message
Berti (bertrand-haut-gmail) wrote : xorg log file

xorg log file

Revision history for this message
Berti (bertrand-haut-gmail) wrote :

I specify that this on an AMD64 up-to-date dapper with xserver-xorg (7.0.0-0ubuntu44)

Revision history for this message
Paweł Kondzior (kondzior.p) wrote :

Confirmed!

fglrxinfo
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 19
  Current serial number in output stream: 20

Under xserver-xorg 7.0.0-0ubutnu45 AMD64 ATI radeon mobility x700 on acer aspire 5021 WLMi with fglrx drivers 25.8.15, drivers work ok under ubuntu flight 7, after update dapper glx return badalloc error!!!

Revision history for this message
Adam Conrad (adconrad) wrote :

Did you reboot after the last fglrx and linux-restricted-modules update? Can you attach your Xorg log and the output of "dmesg"?

Revision history for this message
Paweł Kondzior (kondzior.p) wrote : dmesg

dmesg file

Revision history for this message
Paweł Kondzior (kondzior.p) wrote : Xorg log file

Xorg log file

Revision history for this message
Paweł Kondzior (kondzior.p) wrote : xorg.config

xorg.config

Revision history for this message
Paweł Kondzior (kondzior.p) wrote :

I'm not using restricted modules from dapper packages, i have compiled newest ati drivers from ati.com 25.8.15 but i think this is not the problem, when i was using this driver with ubuntu dapper flight 7 fgl_glxgear(with -fbo) fglrxinfo glrxinfo and every glx module program works perfectly.. after update dapper i have got BadAlloc

fgl_glxgears
Using GLX_SGIX_pbuffer
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 23
  Current serial number in output stream: 24

 glxgears
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 23
  Current serial number in output stream: 25

etc...

Revision history for this message
Paweł Kondzior (kondzior.p) wrote : Re: [Bug 45318] Re: glxinfo produce "X Error of failed request: BadAlloc"

I have attached files that you was asking, hmm this is xserver-xorg
issue ? or ati drivers issue ?

On 5/29/06, Adam Conrad <adconrad@0c3.net> wrote:
> Did you reboot after the last fglrx and linux-restricted-modules update?
> Can you attach your Xorg log and the output of "dmesg"?
>
> --
> glxinfo produce "X Error of failed request: BadAlloc"
> https://launchpad.net/bugs/45318
>

Revision history for this message
Berti (bertrand-haut-gmail) wrote :

I'm using the open-source driver "ati" and Pawel is using the binary driver "fglrx", maybe it's a xserver-xorg issue.

Revision history for this message
Michael Hamburg (hamburg) wrote :

I get this bug with nVidia drivers. Maybe it's just because it's amd64?

Revision history for this message
Laurent GUERBY (laurent-guerby) wrote :

I got the exact same problem on my ubuntu 6.06 amd64 system with a Radeon 7000 and "fixed" it by installing mesa-dri:

sudo apt-get install libgl1-mesa-dri

Then log out/log in and it works.

Probably some dependency is missing somewhere in the xorg/dri stuff.

glxinfo/glxgears now work but I still get errors like:
ref_gl version: GL 0.01
Using libGL.so.1 for OpenGL...Display initialization
..XFree86-VidMode Extension Version 2.2
..Got colorbits 24, depthbits 24, stencilbits 0
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 23
  Current serial number in output stream: 26

from games like http://www.warsow.net/

(Note: I do not get FPS from glxgears, I wonder why and there is no man page for it too)

Revision history for this message
Paweł Kondzior (kondzior.p) wrote :

After installing mesa-dri i stil have badalloc :/ and with Xgl:

find_mesa_visual returned NULL for visualID = 0x0024
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 120
  Current serial number in output stream: 121

the first line is very strange

Revision history for this message
Paweł Kondzior (kondzior.p) wrote :

After installing original dapper package ;] everything seems to work perfectly

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Please keep this bug strictly to the "ati" driver and don't mix closed fglrx driver here (bugs about it belong to linux-restricted-modules). Any progress, Berti?

Changed in xserver-xorg-video-ati:
status: Unconfirmed → Needs Info
Revision history for this message
Berti (bertrand-haut-gmail) wrote :

I can't reproduce this problem. But the reason is probably that I have a new graphic card (a nvidia 7600GS instead of my old ati).

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Well, actually this sounds quite a lot like an issue that happened when something in the development version changed suddenly, but I'd suppose it is not in the final Ubuntu 6.06. I remember experiencing something similar during dapper development, but it was always just some missing mesa package or something. So -> closing.

Changed in xserver-xorg-video-ati:
status: Needs Info → Fix Released
Revision history for this message
NiBu (niko-buzki) wrote :

I have the same problem after FEISTY BETA installation!

name of display: :0.0
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 142 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 16
  Current serial number in output stream: 17

My hardware : ATI Radeon 9500pro

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.