Jump to content


Photo

Test new qtwebbrowser.


  • Please log in to reply
128 replies to this topic

Re: Test new qtwebbrowser. #21 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 5 May 2020 - 16:36

Made a symlink to disk, but does not want to start.

 

Attached Files


Edited by foxbob, 5 May 2020 - 16:37.


Re: Test new qtwebbrowser. #22 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 5 May 2020 - 17:51

to enable mouse and keyboard here a example

 

root@osmio4k:~ cat /sys/class/input/event0/device/name
Dell Premium USB Optical Mouse
root@osmio4k:~#  cat /sys/class/input/event1/device/name
Logitech HID compliant keyboard
 
export QT_QPA_FONTDIR=/usr/share/fonts QTWEBENGINE_DISABLE_SANDBOX=1 QT_QPA_PLATFORM=eglfs QT_QPA_EVDEV_MOUSE_PARAMETERS=/dev/input/event0 QT_QPA_EVDEV_KEYBOARD_PARAMETERS=/dev/input/event1  $(dbus-launch); /usr/bin/qtwebbrowser


Re: Test new qtwebbrowser. #23 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 5 May 2020 - 18:30

Thank you, the external keyboard is connected, but only the up and down arrows work.Maybe need to add support for enigma2?

Attached Files



Re: Test new qtwebbrowser. #24 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 5 May 2020 - 18:41

for test

 

first stop e2

init 4

and test qt without running e2 in background



Re: Test new qtwebbrowser. #25 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 5 May 2020 - 19:23

Nothing has changed,I will understand.



Re: Test new qtwebbrowser. #26 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 5 May 2020 - 20:30

Openpli uses mdev so change to eudev or build with if I am not mistaken with xkb xkbcommon-evdev

 

add here: https://github.com/O...it.bbappend#L23


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Test new qtwebbrowser. #27 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 5 May 2020 - 20:37

@foxbob your box has no EGLFS support so use linuxfb.

 

depend on your box:

export QT_QPA_PLATFORM=eglfs QT_QPA_EVDEV_MOUSE_PARAMETERS=/dev/input/event0 QT_QPA_EVDEV_KEYBOARD_PARAMETERS=/dev/input/event1

 

start:

export QT_QPA_FONTDIR=/usr/share/fonts QTWEBENGINE_DISABLE_SANDBOX=1 QT_QPA_PLATFORM=linuxfb  $(dbus-launch); /usr/bin/qtwebbrowser


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Test new qtwebbrowser. #28 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 6 May 2020 - 11:41

Nothing works qtwebflix.If I run with a working enigma2, then an error

Transitioning to new MPRIS interface:  21NetflixMprisInterface
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
qtwebflix.sh: line 7:  1966 Aborted                 qtwebflix
root@et1x000:/usr/script# [1982:1989:0100/000000.840397:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)

When I stop enigma2, then

Transitioning to new MPRIS interface:  21NetflixMprisInterface
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
qtwebflix.sh: line 7:  1966 Aborted                 qtwebflix
root@et1x000:/usr/script# [1982:1989:0100/000000.840397:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
[1982:1989:0100/000000.841051:FATAL:memory.cc(22)] Out of memory. size=393216

Found such a solution,but still does not work.

pkg_postinst_ontarget_${PN}() {
patchelf --replace-needed ${STAGING_LIBDIR}/libGLESv2.so libGLESv2.so /usr/bin/qtwebflix
patchelf --replace-needed ${STAGING_LIBDIR}/libEGL.so libEGL.so /usr/bin/qtwebflix
}

Qtwebbrowser also does not start,just a splash screen and that's it.



Re: Test new qtwebbrowser. #29 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 6 May 2020 - 13:18

splash screen is the browser itself it's not just a picture ;)

You probably didn't set the inputdevices.

 

What of two options did you choose:  https://forums.openp...-2#entry1199174

Then I will check it out myself and see if all is ok.


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Test new qtwebbrowser. #30 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 6 May 2020 - 13:23

 QT_QPA_PLATFORM=linuxfb



Re: Test new qtwebbrowser. #31 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 8 May 2020 - 17:08

BTW I have a strong wish to switch to eudev too (for other reasons) but for that to happen, we'll need to iron out some issues first.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Test new qtwebbrowser. #32 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 8 May 2020 - 19:52

I compiled with these changes https://github.com/w...a5f753dcff835a3 and the receiver does not load.


Edited by foxbob, 8 May 2020 - 19:52.


Re: Test new qtwebbrowser. #33 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 8 May 2020 - 22:39

I compiled with these changes https://github.com/w...a5f753dcff835a3 and the receiver does not load.

and this?

https://github.com/w...ec4a7e4250dbf5d

 

Will update it tomorrow to zeus with the changes, so you can try it out.


Edited by WTE, 8 May 2020 - 22:40.

Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Test new qtwebbrowser. #34 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 9 May 2020 - 06:21

Yes and that.



Re: Test new qtwebbrowser. #35 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 12 May 2020 - 10:31

https://github.com/w...tree/zeus-eudev

 

This works for me. I use "logitech dinovo mini" and this works fine. The remote controller can work as well if your driver support the mouse keys.

Like on HD60 to enable it: echo 1 >  /proc/stb/ir/rc/mouse_emulation

 

On HD60 I start follow further:

export QTWEBENGINE_DISABLE_SANDBOX=1
export QT_QPA_FONTDIR=/usr/share/fonts
export QT_QPA_PLATFORM=eglfs
export QT_QPA_EGLFS_INTEGRATION=eglfs_mali
export $(dbus-launch)
qtwebbrowser

I hope Pli can make an zeus eudev branch. I think with the easy rules policy it's better to make box specified solutions like which emmc partition mount for SD card and internal emmc.

I want to try to make some rules but if Openpli have no interest then it's waste of time. I still didn't find out what the intention is by Openpli for replace mdev with eudev.


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Test new qtwebbrowser. #36 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 May 2020 - 17:13

Some devs want to switch to eudev. Some (like me ;)) don’t really care. Problem with current thud version is that it has a big bug. Data on attached devices might be deleted. This bug needs to be fixed before we can switch to eudev and maybe also other things have to be done. Don’t exactly know the status.

Edited by betacentauri, 12 May 2020 - 17:14.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Test new qtwebbrowser. #37 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 12 May 2020 - 21:01

Some devs want to switch to eudev. Some (like me ;)) don’t really care. Problem with current thud version is that it has a big bug. Data on attached devices might be deleted. This bug needs to be fixed before we can switch to eudev and maybe also other things have to be done. Don’t exactly know the status.

So far I know this problem is solved. I don't have this anymore.

I will try to make the mount work simular as mdev. I hope people will give it again a try as I think the issues are minimal. Will send soon the new mount script.


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Test new qtwebbrowser. #38 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 May 2020 - 21:25

I’m not sure whether it is already fixed. But we have to be sure that it is. Otherwise users will “kill” us.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Test new qtwebbrowser. #39 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 13 May 2020 - 17:16

The system booted after these changes https://github.com/w...mits/zeus-eudev but the browser never worked.What am I doing wrong.



Re: Test new qtwebbrowser. #40 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2020 - 17:36

Hi,

 

while testing eudev you might try this old trick improving boot and saving size on old limited devices:

BAD_RECOMMENDATIONS += "eudev-hwdb"

Cheers

A.A.


Edited by A.A., 13 May 2020 - 17:38.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users