Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-18-2006, 06:49 AM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Random Linux Crashes - X Error failed request: BadWindow

MacBook Pro on ubuntu (Edgy) with drivers all installed.

NPC Code:

Activating the OpenGL display device (1)...
Setting screen mode to 1440x850x32 (w)...
OpenGL Attributes:
DoubleBuffer: 1
BufferSize: 32, DepthSize: 24, StencilSize: 0
Red: 8, Green: 8, Blue: 8, Alpha: 8
Accum Red: 0, Green: 0, Blue: 0, Alpha: 0
OpenGL driver information:
Vendor: ATI Technologies Inc.
Renderer: ATI Mobility Radeon X1600 Generic
Version: 2.0.6065 (8.29.6)
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 8)
EXT_compiled_vertex_array
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_rectangle
ARB_texture_compression
EXT_texture_compression_s3tc
(ARB|EXT)_texture_env_add
EXT_texture_filter_anisotropic (Max anisotropy: 16.000000)
EXT_stencil_wrap
ARB_vertex_blend
OpenGL Init: Disabled Extensions
EXT_paletted_texture
NV_vertex_array_range
3DFX_texture_compression_FXT1
WGL_EXT_swap_control
EXT_stencil_two_side
NV_depth_clamp
EXT_depth_bounds_test
NPatch tessellation

Graal has been activated!

[...]

File download: relic_wheat4.png (size: 897) done
File download: relic_wheat2.png (size: 1035) done
File download: relic_wheat1.png (size: 1028) done
% X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0xa3cf0c
Serial number of failed request: 36
Current serial number in output stream: 36



Randomly crashes. ( Or -- I just didn't find out what crashed it! )

Direct Rendering works...

Nothing significant happens in the duration thereof.
Reply With Quote
  #2  
Old 11-18-2006, 02:52 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It seems to be a bug of recent x-servers (xorg), sometimes moving or resizing some window is killing opengl applications. Can't do something against that since it's done by the x-server and is killing the application without a notice, but I will try to find some more information about it since its annoying like hell.

Last edited by Admins; 11-18-2006 at 03:03 PM..
Reply With Quote
  #3  
Old 11-18-2006, 08:25 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by Stefan View Post
It seems to be a bug of recent x-servers (xorg), sometimes moving or resizing some window is killing opengl applications. Can't do something against that since it's done by the x-server and is killing the application without a notice, but I will try to find some more information about it since its annoying like hell.
Hrm -- I've been trying to solve this too...

I had beryl-manager on at the time of the crashes without XGL on. ( I closed it because direct-rendering didn't work as effectively while it was opened, I had to DISPLAY=:0 graal to have it ). When I removed the beryl-manager from the session, it seems to have fixed the problem. I don't know why it was doing it: It was pretty inactive as application.
Reply With Quote
  #4  
Old 11-18-2006, 10:54 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Bah! Still crashes... But at a MUCH lesser frequency ( without beryl-manager )
Reply With Quote
  #5  
Old 11-19-2006, 11:07 PM
Questa Questa is offline
Back to the Beat
Join Date: Jan 2002
Location: USA
Posts: 1,230
Questa is on a distinguished road
Send a message via AIM to Questa
Novo, what window manager are you using? I've had this bad window position error a lot with KDE, but not at all with WindowMaker or Gnome.
__________________
Reply With Quote
  #6  
Old 11-20-2006, 04:44 AM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by Questa View Post
Novo, what window manager are you using? I've had this bad window position error a lot with KDE, but not at all with WindowMaker or Gnome.
According to Stefan, it's not the windows manager that actually breaks it -- It's the recent update on the X-Server -- Both Gnome and KDE are based on this.

I suppose some windows managers fall on the bug more often though ( Beryl probably crashed so much more due to it being enhanced graphically, and uses a lot more exploitation in the system )
Reply With Quote
  #7  
Old 11-21-2006, 07:06 AM
Questa Questa is offline
Back to the Beat
Join Date: Jan 2002
Location: USA
Posts: 1,230
Questa is on a distinguished road
Send a message via AIM to Questa
Quote:
Originally Posted by Novo View Post
According to Stefan, it's not the windows manager that actually breaks it -- It's the recent update on the X-Server -- Both Gnome and KDE are based on this.

I suppose some windows managers fall on the bug more often though ( Beryl probably crashed so much more due to it being enhanced graphically, and uses a lot more exploitation in the system )
Okay. I'm going to upgrade to the latest X.org server (I was running a slightly older version I'm now upgrading to xorg-x11-server-7.2-56.1.i586 on SUSE 10.1) and see how if it makes any difference in those crashes.
__________________
Reply With Quote
  #8  
Old 11-21-2006, 07:49 AM
Questa Questa is offline
Back to the Beat
Join Date: Jan 2002
Location: USA
Posts: 1,230
Questa is on a distinguished road
Send a message via AIM to Questa
Okay. I upgraded my X.org server and now I get a segmentation fault when opening Graal. Just like I did in this thread. So Stefan, if you are wondering what's causing segmentation faults in Intel graphics accelerators, it's most definitely the newest version of X.org.
__________________
Reply With Quote
  #9  
Old 11-21-2006, 03:51 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
But glxinfo and other opengl programs still work?
Reply With Quote
  #10  
Old 11-22-2006, 01:49 AM
Questa Questa is offline
Back to the Beat
Join Date: Jan 2002
Location: USA
Posts: 1,230
Questa is on a distinguished road
Send a message via AIM to Questa
Quote:
Originally Posted by Stefan View Post
But glxinfo and other opengl programs still work?
Yeah, they work great. glxgears gets an awesome framerate and 3D games work too.
__________________
Reply With Quote
  #11  
Old 11-22-2006, 02:04 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm I can only imagine that there is some special OpenGL command not supported. When its crashing at startup, you still get a ~/.graal/graal4/console.log ?

About the random linux crashes, I have reduced the problem by not redrawing the window when some special events occur, so the next Graal version should work a little bit better.
Reply With Quote
  #12  
Old 12-19-2006, 09:12 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok fixed it. It was quite hard to find because Xerrors are normally not printed when they are happening, so we had to set the XServer to synchronized mode.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.