Bug 283154

Summary: GLX calls freeze/crash server after some time on RV100 using radeon driver.
Product: [openSUSE] openSUSE 10.2 Reporter: Davy Courvoisier <dcourvoisier>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.2   
Whiteboard:
Found By: System Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The xorg.conf used.
The Xorg.0.log related to the Xorg.conf.
Successful glxinfo output.

Description Davy Courvoisier 2007-06-12 08:24:28 UTC
In opensuse 10.2, fresh install, the Xserver is running out of GLX resource after some time, avoiding any application to run.

The machine is correctly running under Suse 9.3.

The server is a Dell Poweredge 1855, it has Radeon 7000/VE gfx. The radeon driver is used.

The following command starts to fail after ~10 minutes of successful run: "while (true); do glxinfo; sleep 1; done".

After ~10 minutes, glxinfo outputs:

X Error of failed request:  GLXBadContext 
  Major opcode of failed request:  143 (GLX) 
  Minor opcode of failed request:  5 (X_GLXMakeCurrent) 
  Serial number of failed request:  17 
  Current serial number in output stream:  17 
name of display: :0.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:  16 
  Current serial number in output stream:  17 
...

If the while loop is not stopped, after some time, the Xserver answers to any X command with:
Xlib: connection to ":0.0" refused by server
Xlib: Maximum number of clients reached
Error: Can't open display: :0.0

Some info about the configuration below:

# rpm -q xorg-x11-server xorg-x11-driver-video 
xorg-x11-server-7.2-30.6
xorg-x11-driver-video-7.2-33

# hwinfo --gfx
25: PCI 60d.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.286]
  UDI: /org/freedesktop/Hal/devices/pci_1002_5159
  Unique ID: vvWr.sO1ILfZdWD9
  Parent ID: 6NW+.c7JTK_YUBi2
  SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:06:0d.0
  SysFS BusID: 0000:06:0d.0
  Hardware Class: graphics card
  Model: "Dell ATI Radeon VE (device 018a)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x5159 "Radeon VE"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x018a "ATI Radeon VE (device 018a)"
  Memory Range: 0xd0000000-0xd7ffffff (rw,prefetchable)
  I/O Ports: 0xcc00-0xccff (rw)
  Memory Range: 0xdf7f0000-0xdf7fffff (rw,non-prefetchable)
  Memory Range: 0xdf700000-0xdf71ffff (ro,prefetchable,disabled)
  IRQ: 7 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00001002d00005159sv00001028sd0000018Abc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: radeon
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #16 (PCI bridge)
Primary display adapter: #25

Other log/conf files will be attached to bug.
Comment 1 Davy Courvoisier 2007-06-12 08:25:34 UTC
Created attachment 145498 [details]
The xorg.conf used.
Comment 2 Davy Courvoisier 2007-06-12 08:26:34 UTC
Created attachment 145499 [details]
The Xorg.0.log related to the Xorg.conf.
Comment 3 Davy Courvoisier 2007-06-12 08:26:58 UTC
Created attachment 145501 [details]
Successful glxinfo output.
Comment 4 Stefan Dirsch 2007-06-12 08:55:50 UTC

*** This bug has been marked as a duplicate of bug 211314 ***