[Openchrome-users] black screen from assert() call

picciuX matteo
Mon Jun 11 11:08:13 PDT 2007


as of svn revision 356, via_dri.c (or via.h) still lacks an

#include <assert.h>

Don't remember versions now (I'm away from my pc) but i can confirm that
error for me, when starting X, was

unresolved simbol: assert (for the exact error you can see the bug #117, it
was the same for me).

Adding the mentioned include to via_dri.c (or to via.h, as stated in bug
#117) solved any problem.

Regards


2007/6/11, Gabriel Mansi <gmansi at fi.uba.ar>:
>
> On Mon, 2007-06-11 at 11:25 +0200, picciuX wrote:
> > there's a bug opened for this. The correct solution would be to
> >
> > #include <assert.h>
> >
> > on top of via_dri.c
> >
> > This solves every "unresolved symbol" problem, still keeping the
> > assert.
> >
> There is an #include <assert.h> there, the problem is a xorg version
> check.
> Are you using xorg server 1.3 and the openchrome experimental branch?
>
>
> > Regards
> >
> > picciuX
> >
> > 2007/6/9, Gabriel Mansi <gmansi at fi.uba.ar>:
> >         On Sat, 2007-06-09 at 00:59 -0300, Gonzalo A. de la Vega
> >         wrote:
> >         > Hi all,
> >         > This just informative, just in case someone runs into the
> >         same problem.
> >         > I was getting a black screen when starting X with DRI
> >         enabled. The PC
> >         > was still running thou. I finally traced the error to an
> >         > assert(saPriv) call at line 898 of via_dri.c file (latest
> >         svn). I
> >         > commented the line out, and everithing works fine. Since
> >         nobody else
> >         > has reported this I believe it may be something due to my
> >         particular
> >         > system config: K8M800 based Acer laptop, Fedora Core 6 with
> >         all
> >         > updates (for better or for worst).
> >         >
> >         That is causing an undefined symbol on some systems.
> >         I will work on that.
> >
> >         Regards,
> >         Gabriel.
> >
> >
> >
> >         > Gonzalo
> >         >
> >         > _______________________________________________
> >         > openchrome-users mailing list
> >         > openchrome-users at openchrome.org
> >         > http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> >         > Main page:
> >         > http://www.openchrome.org
> >         > Wiki:
> >         > http://wiki.openchrome.org
> >         > User Forum:
> >         >
> >
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
> >         >
> >
> >
> >         _______________________________________________
> >         openchrome-users mailing list
> >         openchrome-users at openchrome.org
> >         http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> >         Main page:
> >         http://www.openchrome.org
> >         Wiki:
> >         http://wiki.openchrome.org
> >         User Forum:
> >
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
> >
> >
> >
> > _______________________________________________
> > openchrome-users mailing list
> > openchrome-users at openchrome.org
> > http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> > Main page:
> > http://www.openchrome.org
> > Wiki:
> > http://wiki.openchrome.org
> > User Forum:
> > http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070611/ef65fae5/attachment.html



More information about the Openchrome-users mailing list