Re: compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9
So I will stick to webkit1... On the other hand, going native is clearly the way to go, as it launches in 2-5 sec (usually ~3), while Browse launches in 13 sec on my xo-1.75... Just curious, what do you mean by "going native"? I am porting PhoneGap to the XO. It is very similar to the sugarlabs GSoC web-activity project, but unlike that mine does not use python so probably it will make sense using it on the XO... On the other hand the code will be open source so they will be able to use it but I will not hold my breath. BTW, why 3d is not supported on the XO? Does not Marvel have a GLES driver for the xo-1.75 and xo-4? Or are those SoCs only supported on windows? ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9
On Thu, Jun 27, 2013 at 1:11 PM, NoiseEHC wrote: > Now I looked at the source of webkit2gtk and it seems that opengl support is > compiled into the library or not, so if OPENGL is specified then it will > call into libGL.so and will crash. Maybe we should not lie about 3d support? > What is the status of OpenGL support on the xo-1.75 and xo-4? I have read > the email about writing an open source driver for the xo-4 but does it imply > that there is no official binary driver from Marvell? (I know that XO-1 and > xo-1.5 will not support 3d.) I don't think there are any lies about 3d support. We do not offer it at this time, and the GLX extension is disabled in the X server. > So I will stick to webkit1... On the other hand, going native is clearly the > way to go, as it launches in 2-5 sec (usually ~3), while Browse launches in > 13 sec on my xo-1.75... Just curious, what do you mean by "going native"? Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9
On 27/06/2013 16:20, Daniel Drake wrote: On Thu, Jun 27, 2013 at 8:08 AM, NoiseEHC wrote: which updated a lot of packages and my program finally started. If I compile with webkitgtk1 then it runs, with webkitgtk2 it crashes. The crash (SIGSEGV) happens in glXCreateContext in /lib/ligBL.so.1 As I do not really understand all those package things, it seems to me that the compiled webkit2 references OpenGL libraries while webkit1 does not. Could we just switch it off somehow while compiling the XO image? We pull in webkit packages from Fedora, we don't compile them for XO. So fixing this bug will require a proper investigation into the crash you have found. Daniel Now I looked at the source of webkit2gtk and it seems that opengl support is compiled into the library or not, so if OPENGL is specified then it will call into libGL.so and will crash. Maybe we should not lie about 3d support? What is the status of OpenGL support on the xo-1.75 and xo-4? I have read the email about writing an open source driver for the xo-4 but does it imply that there is no official binary driver from Marvell? (I know that XO-1 and xo-1.5 will not support 3d.) So I will stick to webkit1... On the other hand, going native is clearly the way to go, as it launches in 2-5 sec (usually ~3), while Browse launches in 13 sec on my xo-1.75... ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9
On Thu, Jun 27, 2013 at 8:08 AM, NoiseEHC wrote: > which updated a lot of packages and my program finally started. If I compile > with webkitgtk1 then it runs, with webkitgtk2 it crashes. > The crash (SIGSEGV) happens in glXCreateContext in /lib/ligBL.so.1 > > As I do not really understand all those package things, it seems to me that > the compiled webkit2 references OpenGL libraries while webkit1 does not. > Could we just switch it off somehow while compiling the XO image? We pull in webkit packages from Fedora, we don't compile them for XO. So fixing this bug will require a proper investigation into the crash you have found. Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9
Hi! I have written a native webkit gtk application for HTML5 applications (native so it does not require python), and today I tried to compile and execute it on the xo-1.75 laptop. My experiences can help fixing the issue that webkit2gtk crashes on the laptops as sugarlabs people reported it here: http://lists.sugarlabs.org/archive/sugar-devel/2013-May/043188.html So first I have installed xo-1.75/os/candidate/13.2.0-9/32009o2.zd Then I did *sudo yum install gcc make webkitgtk3-devel* This installs gtk3-devel as well and updates a lot of packages. After this the laptop became unusable, could not start Browse, and trying to switch to the Gnome desktop made the laptop stuck in start. The second time I did a reinstall and did yum from the Gnome desktop but my program could not be compiled because of *undefined reference to _glapi_tls_dispatch in libgl.so* So I had to make a *sudo yum update* which updated a lot of packages and my program finally started. If I compile with webkitgtk1 then it runs, with webkitgtk2 it crashes. The crash (SIGSEGV) happens in *glXCreateContext in /lib/ligBL.so**.1** * As I do not really understand all those package things, it seems to me that the compiled webkit2 references OpenGL libraries while webkit1 does not. Could we just switch it off somehow while compiling the XO image? Thanks, Andrew ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel