Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-30-07, 02:19 PM   #1
pixelhead
Registered User
 
Join Date: May 2006
Posts: 4
Default glXChannelRectSyncSGIX() crash: driver 100.14.19

Hi -

I'm encountering an Xlib error that seems to be originating from glXChannelRectSyncSGIX() in libGL.

The error occurs after my app launches a Tcl/Tk file browser (via tk_getOpenFile -multiple) to select a file. After the "OK" button is clicked, the program crashes on the X Error (glXBadContextTag).

A couple of things:

1) I am using multiple threads and glXContexts. When loading data, one thread reads and loads the data while another thread refreshes the OpenGL window (rendering context sharing is enabled).
2) If I use single thread, everything works fine.
3) Also tried using GTK and got the same error.

From the XError, I'm guessing that when the Tcl/Tk window closes it is somehow screwing up the current rendering context so when the other thread tries to render it has a bad context?

Anyone have any idea how to fix this?

Thanks.
Attached Files
File Type: log nvidia-bug-report.log (126.2 KB, 92 views)
pixelhead is offline   Reply With Quote
Old 10-30-07, 04:00 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: glXChannelRectSyncSGIX() crash: driver 100.14.19

Did you remember to call XInitThreads? Also, are you sure that the same context is never current in two threads at once?
AaronP is offline   Reply With Quote
Old 10-30-07, 08:28 PM   #3
pixelhead
Registered User
 
Join Date: May 2006
Posts: 4
Default Re: glXChannelRectSyncSGIX() crash: driver 100.14.19

Ah, I was missing XInitThreads(). Thanks very much! Things are working much better now.
pixelhead is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics driver installation problem (your comments will be highly appreciated) apuurboo NVIDIA GeForce 400/500 Series 0 06-16-12 08:35 AM
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 07:48 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 09:49 AM
failing to initialize NV driver PsyShook NVIDIA Linux 10 09-19-02 01:41 PM
Nvidia Driver causes crash on Standby/Suspend dasher NVIDIA Linux 5 09-16-02 06:57 PM

All times are GMT -5. The time now is 11:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.