Bug 147065 - [EFL] Need the libosmesa to support the software backend drawing.
Summary: [EFL] Need the libosmesa to support the software backend drawing.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Hunseop Jeong
URL:
Keywords:
Depends on:
Blocks: 161289
  Show dependency treegraph
 
Reported: 2015-07-18 00:26 PDT by Hunseop Jeong
Modified: 2016-09-07 01:22 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.17 KB, patch)
2015-07-18 00:29 PDT, Hunseop Jeong
no flags Details | Formatted Diff | Diff
Rebase the patch but we need to verify it for landing patch. (1.09 KB, patch)
2016-09-06 23:14 PDT, Hunseop Jeong
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hunseop Jeong 2015-07-18 00:26:31 PDT
EvasGL need the libosmesa library if using the software_x11 engine.
Comment 1 Hunseop Jeong 2015-07-18 00:29:26 PDT
Created attachment 257025 [details]
Patch
Comment 2 Hunseop Jeong 2015-07-18 00:36:59 PDT
I tried to test the software backend drawing in MiniBrowser using the -e=software_x11 option.
If you got the error when using the MiniBrowser on software backend, please leave the comment here.
Comment 3 Csaba Osztrogonác 2015-09-04 05:41:11 PDT
I installed libosmesa6-dev manually and then rebuilt jhbuild 
modules and WebKit too, but still get crash immediately:

$ WebKitBuild/Release/bin/MiniBrowser -e=software_x11
Segmentation fault (core dumped)
Comment 4 Gyuyoung Kim 2016-09-06 18:13:22 PDT
Comment on attachment 257025 [details]
Patch

Is this patch still valid ? Clear r? until you reply my question.
Comment 5 Gyuyoung Kim 2016-09-06 21:35:52 PDT
(In reply to comment #3)
> I installed libosmesa6-dev manually and then rebuilt jhbuild 
> modules and WebKit too, but still get crash immediately:
> 
> $ WebKitBuild/Release/bin/MiniBrowser -e=software_x11
> Segmentation fault (core dumped)

When I do same thing on Ubuntu 15.10, MiniBrowser works well. I wonder if Ossy still has the problem.
Comment 6 Hunseop Jeong 2016-09-06 23:14:07 PDT
Created attachment 288103 [details]
Rebase the patch but we need to verify it for landing patch.
Comment 7 Gyuyoung Kim 2016-09-07 00:07:24 PDT
(In reply to comment #6)
> Created attachment 288103 [details]
> Rebase the patch but we need to verify it for landing patch.

When I installed libosmesa6-dev, I don't have any problem locally yet. Do you have problem ?
Comment 8 Gyuyoung Kim 2016-09-07 00:58:44 PDT
I verify that "-e=software_x11" option works well. When I run the CanvasMark benchmark. There is big performance gain between on/off the option.

CanbasMark benchmark- http://www.kevs3d.co.uk/dev/canvasmark/

The result is as below,

 - CanvasMark Score: 13896 (EFL MiniBrowser with software_x11)
 - CanvasMark Score: 6149 (EFL MiniBrowser without software_x11)
 - CanvasMark Score: 7067 (Chrome 49 on Linux)
 - CanvasMark Score: 11244 (Firefox 47 on Linux)

(All tests were done by same PC)

EFL MiniBrowser score is better than Chrome and Firefox. :)
Comment 9 WebKit Commit Bot 2016-09-07 01:22:46 PDT
Comment on attachment 288103 [details]
Rebase the patch but we need to verify it for landing patch.

Clearing flags on attachment: 288103

Committed r205538: <http://trac.webkit.org/changeset/205538>
Comment 10 WebKit Commit Bot 2016-09-07 01:22:52 PDT
All reviewed patches have been landed.  Closing bug.