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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-09-07, 07:44 AM   #1
upskuhr
Registered User
 
Join Date: Oct 2007
Posts: 3
Default Segmentation Fault in glGetString() with Dual-Video Cards

Hello,

I use two Video Cards (and 3 Monitors connected) in Xinerama mode. When I try to run compiz-fusion, I always get a Segmentation Fault in glGetString
0x00002aaaac073ce9 in glGetString () from //usr/lib64/opengl/nvidia/lib/libGL.so.1

AFAIK glGetString should _never_ Segfault. So even if there might be a problem with compiz or X.org there _must_ be one with the nvidia-drivers.

Edit: I tried with nvidia-drivers 100.14.19 and 100.14.09 both had the same result.
Attached Files
File Type: gz nvidia-bug-report.log.gz (29.9 KB, 174 views)
upskuhr is offline   Reply With Quote
Old 11-13-07, 02:27 AM   #2
upskuhr
Registered User
 
Join Date: Oct 2007
Posts: 3
Default Re: Segmentation Fault in glGetString() with Dual-Video Cards

*bump*
upskuhr is offline   Reply With Quote
Old 11-13-07, 05:38 PM   #3
stuartlevy
Registered User
 
Join Date: May 2003
Location: flat, steamy Champaign, IL
Posts: 36
Default Re: Segmentation Fault in glGetString() with Dual-Video Cards

glGetString() might segfault in good faith if there were no active GLX context, say.

For example, before the window was created, or (depending on toolkit) if you call it outside of the display-callback or similar. Could that be the problem?
You might try calling glXGetCurrentContext() and see what it returns -- or whether it seg-faults too.
stuartlevy is offline   Reply With Quote
Old 11-14-07, 02:27 AM   #4
upskuhr
Registered User
 
Join Date: Oct 2007
Posts: 3
Default Re: Segmentation Fault in glGetString() with Dual-Video Cards

You're right. The current context _is_ null.
But anyway instead of Segfaulting glGetString should raise an error and return false.
upskuhr is offline   Reply With Quote
Old 11-14-07, 02:37 AM   #5
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Segmentation Fault in glGetString() with Dual-Video Cards

No it should really crash it is the case for all GL calls. (Or perhaps the specs have the behavior undefined)
Thunderbird 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
basemosaic on 3 video cards shock32638 NVIDIA Linux 1 06-05-12 07:46 PM
Segmentation Fault on RH 7.3 Lawrence DeLeon NVIDIA Linux 4 09-16-02 11:42 AM
Best video card for running dual displays? nutsnbolts NVIDIA GeForce 7, 8, And 9 Series 10 09-03-02 02:02 PM
Dual Monitor cards GF2 or GF4 Geoinfo SRL NVIDIA Linux 15 08-06-02 04:48 AM

All times are GMT -5. The time now is 09:12 AM.


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