On Tue, Jun 29, 2010 at 11:08 AM, Alexander Larsson <span dir="ltr"><<a href="mailto:alexl@redhat.com">alexl@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, 2010-06-29 at 10:26 +0200, Attila Sukosd wrote:<br>
> On Tue, Jun 29, 2010 at 9:48 AM, Attila Sukosd<br>
> <<a href="mailto:attila.sukosd@gmail.com">attila.sukosd@gmail.com</a>> wrote:<br>
> Hi guys,<br>
><br>
> So I've been trying to get the sources from the devel git to<br>
> work, and I've got it to compile however I was facing some<br>
> CEGUI issues:<br>
><br>
> 29/06/2010 09:13:14 (Std) ---- CEGUI System<br>
> initialisation completed ----<br>
> 29/06/2010 09:13:14 (Std) ---- Version 0.6.2 ----<br>
> 29/06/2010 09:13:14 (Std) ---- Renderer module is:<br>
> Unknown renderer (vendor did not set the ID string!) ----<br>
> 29/06/2010 09:13:14 (Std) ---- XML Parser module is:<br>
> CEGUI::XercesParser - Official Xerces-C++ based parser module<br>
> for CEGUI ----<br>
> 29/06/2010 09:13:14 (Std) ---- Scripting module is: None<br>
> ----<br>
> 29/06/2010 09:13:14 (Std) Attempting to load Scheme from<br>
> file 'TaharezLook.scheme'.<br>
> 29/06/2010 09:13:14 (Std) XercesParser::initialiseSchema<br>
> - Attempting to load schema from file 'GUIScheme.xsd'.<br>
> 29/06/2010 09:13:14 (Error) CEGUI::GenericException in<br>
> file ../../client/gui/resource_provider.cpp(83) : failed<br>
> 29/06/2010 09:13:14 (Error) XercesParser::parseXMLFile -<br>
> An unexpected error occurred while parsing XML file<br>
> 'TaharezLook.scheme'.<br>
> 29/06/2010 09:13:14 (Error) Scheme::Scheme - loading of<br>
> Scheme from file 'TaharezLook.scheme' failed.<br>
><br>
> This was using the "libcegui-mk2-*" packages from the default<br>
> Ubuntu repositories. After playing around with it and<br>
> regenerating the taharez_look.*.c, I still got nowhere, so I<br>
> downloaded the CEGUI 0.6.2 sources and compiled it by hand,<br>
> but I still had the same issue. In the end, I did manage to<br>
> "fix" it by changing the default xml parser for CEGUI to<br>
> libxml (--with-default-xml-parser=LibxmlParser) instead of the<br>
> Xerces one.<br>
><br>
><br>
> Now I'm down to the issue of not being able to connect to a<br>
> v0.4 server cause of version mismatch:<br>
><br>
> 1277797671 INFO spice : [12999:12999] Application::main:<br>
> starting 0.5.1<br>
> 1277797671 INFO spice : [12999:12999] GUI::GUI(Application&,<br>
> Application::State):<br>
> 1277797671 INFO spice : [12999:13002]<br>
> RedPeer::connect_unsecure: Connecting 192.168.1.4 6001<br>
> 1277797671 WARN spice : [12999:13002] RedChannel::run: version<br>
> mismatch: expect 4294967294 got 1<br>
> 1277797671 INFO spice : [12999:12999] main: Spice client<br>
> terminated (exitcode = 11)<br>
><br>
> Server side:<br>
><br>
> handle_dev_input: attach<br>
> create_cairo_context: using cairo canvas<br>
> interface_change_notifier: VD_INTERFACE_VDI_PORT<br>
> interface_change_notifier: VD_INTERFACE_TABLET<br>
> reds_handle_read_header_done: version mismatch<br>
> reds_handle_read_header_done: version mismatch<br>
><br>
><br>
><br>
> Best Regards,<br>
><br>
> Attila<br>
><br>
> Update:<br>
><br>
> Changing #define RED_VERSION_MAJOR (~(uint32_t)0 - 1)<br>
> to #define RED_VERSION_MAJOR 1<br>
> has "fixed" the issue.<br>
<br>
</div></div>Thats very wrong. The major is high to indicate the current protocol is<br>
unstable. When its declared stable we'll set it to 2, not 1. 1 is the<br>
old protocol from 0.4.<br>
<br>
I think the problem you're having should have been fixed by:<br>
<br>
<a href="http://cgit.freedesktop.org/spice/spice/commit/?id=eb3fe11d944acf32d7795fb6d0d69c25ce800d54" target="_blank">http://cgit.freedesktop.org/spice/spice/commit/?id=eb3fe11d944acf32d7795fb6d0d69c25ce800d54</a><br>
<br>
Do you have that commit? If you do something weird is going on and needs<br>
more debugging.<br>
<br>
<br></blockquote><div><br>Hmm, it seems like I did not have that commit for some weird reason. I re-cloned the latest master and compiled and now it connects fine Thanks! :)<br><br>Now there is only an color-space issue for video streams (attached 2 screenshots). <br>
<br>Best Regards,<br><br>Attila<br></div></div><br>