Re: Crash with DMX and Alpha

"Brian Thomas" <[email protected]> Thu, 27 Mar 2008 23:42:18 -0500
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
--===============1658564566==
Content-Type: multipart/alternative; 
	boundary="----=_Part_29529_26474733.1206679338289"

------=_Part_29529_26474733.1206679338289
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Figured it out finally.  Didn't catch that libGL was not properly linked to
the chromium libraries.  Thanks for the help.

On Thu, Mar 27, 2008 at 7:23 PM, Brian Paul <[email protected]>
wrote:

> Brian Thomas wrote:
> > We are running chromium on a display wall using DMX.  It seems to be
> > working well except for when we try to get a display mode with an alpha
> > channel.  For example, using GLUT_ALPHA.  One example program crashes
> > with the following message:
> >
> > X Error of failed request:  BadMatch (invalid parameter attributes)
> >   Major opcode of failed request:  144 (GLX)
> >   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
> >   Serial number of failed request:  19
> >   Current serial number in output stream:  19
> >
> > Removing GLUT_ALPHA causes it to run without error.  We have had this
> > problem for several months now and would appreciate any suggestions.
>
> In your config file, try setting the 'default_visual' option for your
> render SPUs.  For example:
>
> renderspu.Conf('default_visual', 'rgb, double, depth, stencil, alpha')
>
>
> Otherwise, the problem is likely that the Cr version of
> glXChooseVisual() in opengl_stub/glx.c is returning a different GLX
> visual ID than what's being chosen in spu/render/renderspu_glx.c
>
> You might try instrumenting the crChooseVisual() function in
> spu_loader/choosevisual.c to print the incoming attribute list and
> returned visual ID.  That might give a clue.
>
> -Brian
>
>


-- 
****************************
Brian Thomas
[email protected]
****************************

------=_Part_29529_26474733.1206679338289
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Figured it out finally.&nbsp; Didn&#39;t catch that libGL was not properly linked to the chromium libraries.&nbsp; Thanks for the help.<br><br><div class="gmail_quote">On Thu, Mar 27, 2008 at 7:23 PM, Brian Paul &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Brian Thomas wrote:<br>
&gt; We are running chromium on a display wall using DMX. &nbsp;It seems to be<br>
&gt; working well except for when we try to get a display mode with an alpha<br>
&gt; channel. &nbsp;For example, using GLUT_ALPHA. &nbsp;One example program crashes<br>
&gt; with the following message:<br>
&gt;<br>
&gt; X Error of failed request: &nbsp;BadMatch (invalid parameter attributes)<br>
&gt; &nbsp; Major opcode of failed request: &nbsp;144 (GLX)<br>
&gt; &nbsp; Minor opcode of failed request: &nbsp;5 (X_GLXMakeCurrent)<br>
&gt; &nbsp; Serial number of failed request: &nbsp;19<br>
&gt; &nbsp; Current serial number in output stream: &nbsp;19<br>
&gt;<br>
&gt; Removing GLUT_ALPHA causes it to run without error. &nbsp;We have had this<br>
&gt; problem for several months now and would appreciate any suggestions.<br>
<br>
</div>In your config file, try setting the &#39;default_visual&#39; option for your<br>
render SPUs. &nbsp;For example:<br>
<br>
renderspu.Conf(&#39;default_visual&#39;, &#39;rgb, double, depth, stencil, alpha&#39;)<br>
<br>
<br>
Otherwise, the problem is likely that the Cr version of<br>
glXChooseVisual() in opengl_stub/glx.c is returning a different GLX<br>
visual ID than what&#39;s being chosen in spu/render/renderspu_glx.c<br>
<br>
You might try instrumenting the crChooseVisual() function in<br>
spu_loader/choosevisual.c to print the incoming attribute list and<br>
returned visual ID. &nbsp;That might give a clue.<br>
<font color="#888888"><br>
-Brian<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>****************************<br>Brian Thomas<br><a href="mailto:[email protected]">[email protected]</a><br>****************************<br><br><br>

------=_Part_29529_26474733.1206679338289--


--===============1658564566==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--===============1658564566==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Chromium-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-users

--===============1658564566==--