Xgl/Xglx: initialize_visual_and_buffer: Assertion `v->BitsPerPixel > 0' failed.

Christopher Bayliss bayliscg at baylisscg.org
Thu Jan 5 09:24:24 PST 2006


Christian Parpart wrote:
> Hi all,
> 
> after having finally(!) compiled and installed the xserver from very recent 
> CVS state, I were curious on Xgl/Xglx but when invoking them I get the 
> following:
> 
> trapni at battousai /opt/sandbox/fdo/bin $ ./Xgl :1
> Xgl: /home/trapni/src/Xorg/xserver/../Mesa//src/mesa/drivers/x11/xm_api.c:1223: 
> initialize_visual_and_buffer: Assertion `v->BitsPerPixel > 0' failed.
> Aborted
> 
> trapni at battousai /opt/sandbox/fdo/bin $ ./Xglx :1 -ac -screen 800x600
> Xglx: /home/trapni/src/Xorg/xserver/../Mesa//src/mesa/drivers/x11/xm_api.c:1223: 
> initialize_visual_and_buffer: Assertion `v->BitsPerPixel > 0' failed.
> Aborted
> 
> I ran this within my current X session.
> Any idea on why this is happening?

I don't know what's happening but I had the same problem. Xgl appears to
work just fine if you comment the line out and recompile. It appears to
be a check on the requested colour depth of the output screen.
Alternatively, could try defining a colour depth when calling Xgl.

Hope that helps.	




More information about the xorg mailing list