We have moved to a new Sailfish OS Forum. Please start new discussions there.
69

[Xperia X][Bug] QtWebkit unusably slow

asked 2017-10-23 15:09:16 +0200

leszek gravatar image

updated 2018-06-01 08:56:39 +0200

Direc gravatar image

QtWebkit included in the Xperia X SailfishOS 2.1.3.5 version is unusably slow. This affects not only Webbrowsers like Webcat or WebPirate but also applications using the SilicaWebView component (like Jolla Together, Tooter or Jolla Email)

Even QtWebkit 5.212 (on my merobs) runs only slightly a bit faster but lags most of the times.

edit: Still valid for 2.1.3.7

edit: Still valid for 2.1.4.13

edit: Significant improvements for 2.2.0.29

edit retag flag offensive close delete

Comments

I'd disagree that it's "unusably slow" as I used webpirate the other day for a website that doesn't support gecko and I could use it in good time. Yes, slower than gecko, but that's always been the case.

gabriel ( 2017-10-23 16:45:14 +0200 )edit
4

It depends of course on the website. But if the page switching animation from website to bookmarks in webcat or in jolla email stutters and takes several seconds than there is definitely something wrong. Especially when it is running on a powerful hardware such as the Xperia X.

leszek ( 2017-10-23 17:57:54 +0200 )edit
2

@leszek yup can confirm Jolla Email, and some Jolla Browser animations do stutter, or are slow to the point where its hard to figure out if its connection speed or faulty rendering.

XFish ( 2017-10-24 00:20:04 +0200 )edit
2

Same for me. Email app is very slow to open emails v Jolla 1.

richie ( 2017-10-26 23:20:31 +0200 )edit

Yes, in the year 2017 with hexa core... "unusable slow" fits perfectly

poddl ( 2017-10-31 16:42:39 +0200 )edit

3 Answers

Sort by » oldest newest most voted
19

answered 2018-03-01 00:23:08 +0200

leszek gravatar image

updated 2018-03-03 13:01:57 +0200

I managed to fix this issue finally in my Qt 5.212 development and my struggle to make Webcat usable on the Xperia X again. See this video demo: https://youtu.be/QAM5eT0cCns

WARNING: The following is only for advanced users who know how to get to the original RPMs and those who are crazy enough to try out some random guys rpms.

If you want to try it out for yourself you can get the necessary rpms from here for now: https://openrepos.net/content/llelectronicsdev/qtwebkit-5212-dev

Be aware that you MUST switch back to the original packages before attempting installing any SailfishOS Upgrade otherwise the upgrade might fail.

The patch is a very rough one. So I am planning to improve it. (Basically just commenting out BGRA rendering completely which might be not so a good idea on other devices which don't have BGRA driver issues) edit:You can find the source code with the rough patch here: https://github.com/llelectronics/lls-qtwebkit

Of course QtWebkit 5.212 brings in a lot of other modern browser features like HTML5 audio + video support, SVG support, JavaScript improvements and list goes on and on and on

edit::Jolla/Mer picked up the fix here: https://git.merproject.org/mer-core/qtwebkit5/commit/67c06eda9d72183b48aeb75891d9ad598ab86851

edit flag offensive delete publish link more

Comments

Oh wow. Awesome work! I really want to test that, but first I would like to see instructions on how to restore the original packages :)

Just to be sure: it does affect the email client, doesn't it?

Direc ( 2018-03-01 01:01:07 +0200 )edit

Yes it affects everything on your system using QtWebkit. (account settings for example)
As for instructions. You can use pkcon download path_to_folderpackagenames to download the current packages to a directory from the terminal. Later on you can install those packages with pkcon install-local packagenames. (needs devel-su I think
italic printed characters are variables need to be adjusted (can't use <> apparently)

In other words.

mkdir /home/nemo/Downloads/qtwebkit-orig-backup-rpms;   
cd /home/nemo/Downloads/qtwebkit-orig-backup-rpms;    
pkcon download . libqtwebkit5 libqtwebkit5-widgets qt5-qtqml-import-webkitplugin qt5-qtqml-import-webkitplugin-experimental qt5-qtwebkit-uiprocess-launcher
leszek ( 2018-03-01 01:36:09 +0200 )edit

Be aware that you MUST switch back to the original packages before attempting installing any SailfishOS Upgrade otherwise the upgrade might fail.

All these package are showed up as update on storeman, when webcat is installed, but no warning at all.

poddl ( 2018-03-01 10:50:14 +0200 )edit

Yes if you have one of my openrepos packages installed it will show up in my repo and as update then. If you click on the packagename itself you will see the description with the warning however.
edit: Working on fixing it by providing a different repo (new account on openrepos)
edit2:Removed it from my repo and added it now here: https://openrepos.net/content/llelectronicsdev/qtwebkit-5212-dev

leszek ( 2018-03-01 12:07:37 +0200 )edit

Here all right. The browser Webcat fix, email too but YTPlayer have lag in videos 720p. Thanks Leszek

Rafaelvlmendes ( 2018-03-01 12:55:29 +0200 )edit
7

answered 2018-02-20 21:09:28 +0200

Xray2000 gravatar image

Fix this please Jolla...

edit flag offensive delete publish link more

Comments

1

Must be fixed in next update..

Jk ( 2018-02-20 21:28:29 +0200 )edit
1

answered 2017-10-31 20:46:50 +0200

pawel gravatar image

No, i see a slight improvement before 2.1.3.7 you had to wait until all got rendered untill you could do a swipe. i.e. in mail app now you can go back immediately.

my app songkick was unresponsive once it did show the webview. with 2.1.3.7 it is operable again

so i see an improvement here.

edit flag offensive delete publish link more

Comments

2

Still no comparison to Jolla or Jolla C or Tablet were it runs a lot smoother

leszek ( 2017-10-31 20:53:50 +0200 )edit
3

I can not see any improvement... zooming e-mails needs to wait until rendered, then you can move to read, but read is not the right word for that s..., horrible slow and small like hell. I'm a power e-mail user, that's really frustrating to choose all time forward, to be able to read, then discard draft, then finding the folder/account where the mail belongs to, then deleting...

poddl ( 2017-11-03 01:23:51 +0200 )edit
Login/Signup to Answer

Question tools

Follow
19 followers

Stats

Asked: 2017-10-23 15:09:16 +0200

Seen: 2,700 times

Last updated: Jun 01 '18