Re: compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9

2013-06-27 Thread Daniel Drake
On Thu, Jun 27, 2013 at 8:08 AM, NoiseEHC noise...@gmail.com 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


13.2.0 release candidate 4 (build 11) released

2013-06-27 Thread Daniel Drake
Hi,

We're pleased to announce the next release candidate of our new 13.2.0
software release.

Information and installation instructions can be found here:
http://wiki.laptop.org/go/Release_notes/13.2.0

Quick links for those who know which files need to be grabbed and save
to USB disks:
http://download.laptop.org/xo-4/os/candidate/13.2.0-11
http://download.laptop.org/xo-1.75/os/candidate/13.2.0-11
http://download.laptop.org/xo-1.5/os/candidate/13.2.0-11
http://download.laptop.org/xo-1/os/candidate/13.2.0-11

This is a signed release candidate that can be installed on all XOs,
even those with security enabled.

We're looking for any final testing and feedback on all aspects of the
system. Thanks for any help you can offer, and for all the feedback
that was received throughout development.

Changes since the last release candidate:

The XO-4 has an experimental new feature allowing the edges of the
screen to be reached with touches (#12713).  To test, enable it with:

 echo 80  /sys/module/zforce/parameters/margin_y
 echo 80  /sys/module/zforce/parameters/margin_x
 echo 2000  /sys/module/zforce/parameters/scale_x
 echo 2000  /sys/module/zforce/parameters/scale_y

This causes events reported within 80 pixels of the screen edge to
have their distance from the edge halved. margin values are pixels,
and scale values are tenths of percent.

XO-4 HDMI output in Linux and the firmware now better meets the HDMI spec.

A memory corruption issue in the new XO-4 8787 wireless driver was
fixed (#12701, this was shipped in build 10).

XO-4 firmware Q7B35 fixes some factory tests, fixes a power
consumption issue (#12415), and solves a couple of minor EC bugs.

XO-1.75 firmware Q4D31 fixes save-mfg-data and some factory test issues.

XO-1.5 firmware Q3C15 fixes save-mfg-data (#12684) and a boot problem
in the presence of unsupported filesystems (#12696)
___
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

2013-06-27 Thread NoiseEHC

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


Re: compiling and running webkit2gtk on xo-1.75/os/candidate/13.2.0-9

2013-06-27 Thread NoiseEHC

On 27/06/2013 16:20, Daniel Drake wrote:

On Thu, Jun 27, 2013 at 8:08 AM, NoiseEHC noise...@gmail.com 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

2013-06-27 Thread Daniel Drake
On Thu, Jun 27, 2013 at 1:11 PM, NoiseEHC noise...@gmail.com 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

2013-06-27 Thread NoiseEHC



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