Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: The error w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 4819 of 5041
Post > Topic >>

Re: The error was 'GLXBadDrawable'.

by "jbwest" <jbwest@[EMAIL PROTECTED] > Jun 30, 2008 at 08:19 AM

"mathieu" <mathieu.malaterre@[EMAIL PROTECTED]
> wrote in message 
news:6ed1cefc-393a-4846-8217-0632f447ed34@[EMAIL PROTECTED]
> Hi there,
>
>  I have a program that open *one* X11 'Display' and then within a
> loop I create a X11 'Window' & an associated GLXContext.
>  It works fine for the first ~450 windows but simply seg fault on the
> glXMakeCurrent call with:
>
> ...
> The error was 'GLXBadDrawable'.
>  (Details: serial 36264 error_code 158 request_code 143 minor_code
> 26)
> ...
>
>  Is there some kind of maximum number of glx context I can open
> within the same Display ? If so how can I request this max number ?
>
> Thanks
> -Mathieu


There's always some maximum limit of windows imposed by your windowing 
system.
Nope, can't ask fer it. A windowing system limit depends (in x11) on the 
x-server's limits,
and your app isn't the only user of X11, so theres no one per-app limit. X

server probably out of memory.

It's like asking if there's a limit on how much memory you can allocate. 
There is, but the only way to know is
to get memory until it fails...

jbw
 




 4 Posts in Topic:
The error was 'GLXBadDrawable'.
mathieu <mathieu.malat  2008-06-30 08:09:24 
Re: The error was 'GLXBadDrawable'.
"jbwest" <jb  2008-06-30 08:19:06 
Re: The error was 'GLXBadDrawable'.
mathieu <mathieu.malat  2008-06-30 09:13:49 
Re: The error was 'GLXBadDrawable'.
"jbwest" <jb  2008-06-30 10:14:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 0:06:56 CST 2008.