Bug 156999

Summary: Xgl immediately crashes
Product: [openSUSE] SUSE Linux 10.1 Reporter: Jens Axboe <axboe>
Component: X.OrgAssignee: David Reveman <dreveman>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: eich, sndirsch
Version: Beta 7   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: core file

Description Jens Axboe 2006-03-10 11:36:39 UTC
If attempting to use Xgl, it crashes on open of first app (eg xterm). From runlevel 3, if I start:

/usr/X11R6/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv

and then run DISPLAY=:1 xterm from another console, Xgl crashes. With debuginfo installed, it shows this in the core:

#0  glitz_surface_sync_drawable (surface=0x0) at glitz_surface.c:332
332             REGION_EMPTY (&surface->drawable_damage);

which looks a little odd, since surface is used many times before in that function. xgl version is cvs_060223-3, glitz is 0.4.4-10. I'll attach the core file.
Comment 1 Jens Axboe 2006-03-10 11:37:41 UTC
Created attachment 72225 [details]
core file
Comment 2 Jens Axboe 2006-03-10 11:38:27 UTC
I should mention that this is with an nvidia graphics adapter, driver version 8178 installed. OpenGL stuff works fine from Xorg.
Comment 3 David Reveman 2006-03-10 12:10:06 UTC
You can't use Xgl with glitz 0.4.x. Xgl contains it's own 0.5.x version of glitz, are you sure Xgl is actually linked to glitz 0.4.4? If that's somehow happening, I'm not surprised it's crashing and you should try to find out why it's linking to that old version of glitz, it shouldn't do that.
Comment 4 Jens Axboe 2006-03-10 12:12:13 UTC
It's not linked against glitz, I just check the glitz version since I saw that in the  backtrace.
Comment 5 Jens Axboe 2006-03-10 18:25:39 UTC
I'll close this again, appears to just be due to some of the mesa and nvidia libs conflicting. After cleaning that up, it works.

Now, is nvidia xinerama not supposed to work with XGL?
Comment 6 Matthias Hopf 2006-03-13 17:48:57 UTC
No.

xinerama is not yet supported in Xgl at all.