Xaurrien
Posts: 8
Joined: Fri Jul 10, 2015 3:06 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Fri Jul 17, 2015 12:25 pm

Xaurrien wrote: The only thing I haven't succeed yet is playing audio files or audio from videos. Maybe I am missing some configuration with gstreamer ?
I have discovered that audio actually works, but it uses the HDMI.
I would like to use the jack instead of the HDMI, how can I configure gstreamer to use the jack ? I know that for gnome there is package called gstreamer-properties, so what is the alternative here ?

User avatar
topguy
Posts: 5479
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Tue Jul 21, 2015 12:30 pm

I thought that you could lock the audio to the jack in config.txt but wasn't able to find a exact description of how to do it right now.

https://www.raspberrypi.org/documentati ... -config.md

Xaurrien
Posts: 8
Joined: Fri Jul 10, 2015 3:06 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Thu Jul 23, 2015 8:32 am

topguy wrote:I thought that you could lock the audio to the jack in config.txt but wasn't able to find a exact description of how to do it right now.

https://www.raspberrypi.org/documentati ... -config.md
Thanks for the reply.
I have just tried the solutions from https://www.raspberrypi.org/documentati ... -config.md.

The command "amixer cset numid=3 1" neither force gstreamer1.0 nor qtbrowser to use the jack output instead of other programs like mplayer whose follow it well.

I have found a description of the config.txt file (http://raspberrypi.stackexchange.com/ta ... g.txt/info) but there is no command to force the jack output, the only thing I was able to do is disabling HDMI audio.

spiritokko
Posts: 2
Joined: Sun Aug 09, 2015 8:02 am

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Sun Aug 09, 2015 8:17 am

Hi guys,
I have installed one of the latest snapshot from github on my rpi2 and I'm very happy about the comparison with the standard raspbian OS in rendering web contents.
I've some questions too:
1) sshd: I noticed a very erratic behaviour in dropbear ssh daemon. sometimes the board does not reply at all, sometimes it takes 30 seconds or so to give the prompt for authentication. Did someone notice this as well?

2) sd card: while playing a youtube video at 720p I noticed that the sd card was getting more and more used (green light blinking). At a certain point the video stopped for about 5 minutes and card got unusable. After that the green light stopped blinking and the board was usable again. Is it a buffering issue on the sd? Maybe not very good sd....

3) qtbrowser vs wpe in websocket support: do you have some advice as far as websocket integration in those two browsers? I see that in QT5.5 there should be an integration of WS in qtbrowser. Any other opinion about that?

thx!
spi

Xaurrien
Posts: 8
Joined: Fri Jul 10, 2015 3:06 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Mon Aug 10, 2015 8:22 am

Hi I can only answer to this :
spiritokko wrote:3) qtbrowser vs wpe in websocket support: do you have some advice as far as websocket integration in those two browsers? I see that in QT5.5 there should be an integration of WS in qtbrowser. Any other opinion about that?
I have tested websockets in qtbrowser, it works well! So this is already integrated in it.

spiritokko
Posts: 2
Joined: Sun Aug 09, 2015 8:02 am

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Tue Aug 11, 2015 9:01 pm

Correct. Websockets works perfectly, also on wpe.

I remember someone was complaining for the lack of mouse support on wpe, but I could not find an answer.
Is there some env variable to set or parameter to pass to enable mouse input?

thanks again

fred250
Posts: 1
Joined: Fri Aug 14, 2015 6:21 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Fri Aug 14, 2015 7:15 pm

Uncommenting export ATHOL_POINTER_EVENTS=1 in file /usr/bin/wpe will enable mouse support for wpe.


/Fred

Xaurrien
Posts: 8
Joined: Fri Jul 10, 2015 3:06 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Mon Aug 24, 2015 12:09 pm

fred250 wrote:Uncommenting export ATHOL_POINTER_EVENTS=1 in file /usr/bin/wpe will enable mouse support for wpe.
Thanks, unfortunately this doesn't work inside iframes. Is it a bug or is it simply not implemented?

fredfs
Posts: 58
Joined: Sun Jun 07, 2015 12:22 am

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Fri Oct 02, 2015 8:13 pm

Can I install qtbrowser with the webgl support on raspbian? Do I need to recompile the kernel?

zehfernandes
Posts: 4
Joined: Tue Jul 07, 2015 7:49 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Fri Oct 16, 2015 2:04 pm

Methorogical does an awesome job with the buildroot.

I wrote a guide with some impressions and tips for use qtbrowser.

https://github.com/zehfernandes/rpi-webapplication

usultis
Posts: 3
Joined: Tue Oct 27, 2015 4:39 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Mon Nov 02, 2015 2:22 pm

Hi guys,
I am also impressed with the efficiency of Metrological solution.
I'm wondering at the moment, what would be a good way to implement some kind of an update mechanism for a kiosk based on this solution.
Usually I would think about some package-manager-based solution, but in this case I'm wondering whether to implement a custom solution or whether there is already something out there that could fit.
Any ideas?

Xaurrien
Posts: 8
Joined: Fri Jul 10, 2015 3:06 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Mon Nov 16, 2015 4:18 pm

Hello,

We have just bought the new official 7" multi-touch display for RPI2 (https://www.raspberrypi.org/blog/the-ea ... i-display/).

We've tried it with buildroot + qtbrowser, the video is good but we haven't succeed to get the touch working!

Any idea or any plan to support it?

patrick.samy
Posts: 2
Joined: Wed Jan 06, 2016 11:56 am

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Wed Jan 06, 2016 12:12 pm

Hi folks,

Many thanks to Metrological and its community for all the hard work to bring this to the Pi !

I have successfully deployed WPE and in order to complete my project, I need wireless connectivity on my Raspberry Pi, but I have not configured this with Buildroot in the past, so I need a little bit of help :)

I have a "Camac Wireless USB Adapter Dongle" supporting IEEE802.11 N/G/B with a Ralink 5370 chipset.

In the menu config, I have selected the rt2800usb driver to be built (within "Ralink rt27xx/rt28xx/rt30xx (USB) support") but at runtime, I can see this in the kernel logs:

Code: Select all

[ 5149.037525] usbcore: registered new interface driver rt2800usb
However, no wlan interface is created so something might be missing - maybe the firmware ? Any ideas ?

Thanks,
Patrick

RanzQ
Posts: 3
Joined: Wed Jan 06, 2016 8:24 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Wed Jan 06, 2016 8:29 pm

patrick.samy wrote:Hi folks,

Many thanks to Metrological and its community for all the hard work to bring this to the Pi !

I have successfully deployed WPE and in order to complete my project, I need wireless connectivity on my Raspberry Pi, but I have not configured this with Buildroot in the past, so I need a little bit of help :)

I have a "Camac Wireless USB Adapter Dongle" supporting IEEE802.11 N/G/B with a Ralink 5370 chipset.

In the menu config, I have selected the rt2800usb driver to be built (within "Ralink rt27xx/rt28xx/rt30xx (USB) support") but at runtime, I can see this in the kernel logs:

Code: Select all

[ 5149.037525] usbcore: registered new interface driver rt2800usb
However, no wlan interface is created so something might be missing - maybe the firmware ? Any ideas ?

Thanks,
Patrick
I don't use Wifi myself but check this: http://www.digitalpeer.com/blog/wireles ... -buildroot

albertd
Posts: 51
Joined: Thu Aug 30, 2012 8:10 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Fri Jan 08, 2016 11:07 pm

Hi Patrick,

Are you using the new repo https://github.com/metrological/buildroot-wpe ?

Kind regards,
Albert
patrick.samy wrote:Hi folks,

Many thanks to Metrological and its community for all the hard work to bring this to the Pi !

I have successfully deployed WPE and in order to complete my project, I need wireless connectivity on my Raspberry Pi, but I have not configured this with Buildroot in the past, so I need a little bit of help :)

I have a "Camac Wireless USB Adapter Dongle" supporting IEEE802.11 N/G/B with a Ralink 5370 chipset.

In the menu config, I have selected the rt2800usb driver to be built (within "Ralink rt27xx/rt28xx/rt30xx (USB) support") but at runtime, I can see this in the kernel logs:

Code: Select all

[ 5149.037525] usbcore: registered new interface driver rt2800usb
However, no wlan interface is created so something might be missing - maybe the firmware ? Any ideas ?

Thanks,
Patrick

patrick.samy
Posts: 2
Joined: Wed Jan 06, 2016 11:56 am

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Mon Jan 11, 2016 10:19 am

Hi Albert,

I'm using the old repository.

Does the new one include a configuration with wifi enabled ?

Thanks,
Patrick

RanzQ
Posts: 3
Joined: Wed Jan 06, 2016 8:24 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Tue Jan 12, 2016 1:47 pm

Xaurrien wrote:Hello,

We have just bought the new official 7" multi-touch display for RPI2 (https://www.raspberrypi.org/blog/the-ea ... i-display/).

We've tried it with buildroot + qtbrowser, the video is good but we haven't succeed to get the touch working!

Any idea or any plan to support it?
I've got it working with the latest version from https://github.com/Metrological/buildroot-wpe

I just had problems with DT kernel. The kernel zImage-dt built using the raspberrypi2_wpe_defconfig didn't wan't to boot so I tried with default buildroot and it worked. Then I modified the wpe config to be more like the default:

https://gist.github.com/RanzQ/7bd6f916a7828ed7d79e

The DT kernel can be then found in output/images/kernel-marked. To enable touch screen support modify config.txt like this:

Code: Select all

#device_tree=
dtoverlay=rpi-ft5406
And wpe.conf like this:

Code: Select all

WPE_BCMRPI_TOUCH=1
The generated sdcard.img didn't include the overlays so I copied them afterwards. And also manually copied the kernel from kernel-marked/. The boot drive should look like this:

Code: Select all

# ls -la /boot/
total 6681
drwxr-xr-x    3 root     root         16384 Jan  1  1970 .
drwxr-xr-x   19 root     root          1024 Jan 12 10:34 ..
-rwxr-xr-x    1 root     root         10180 Jan 12  2016 bcm2709-rpi-2-b.dtb
-rwxr-xr-x    1 root     root         17900 Jan 12  2016 bootcode.bin
-rwxr-xr-x    1 root     root            29 Jan 12  2016 cmdline.txt
-rwxr-xr-x    1 root     root          1473 Jan 12  2016 config.txt
-rwxr-xr-x    1 root     root          6450 Jan 12  2016 fixup.dat
drwxr-xr-x    2 root     root          6144 Jan 12  2016 overlays
-rwxr-xr-x    1 root     root       2731832 Jan 12  2016 start.elf
-rwxr-xr-x    1 root     root           173 Jan 12  2016 wpe.conf
-rwxr-xr-x    1 root     root            22 Jan 12  2016 wpe.txt
-rwxr-xr-x    1 root     root       4040320 Jan 12  2016 zImage
The original repo didn't have post-build.sh (anymore?) so I used post-image.sh instead. I'm not sure which was the essential change in the config to make the dt kernel boot.

At least simple touches and multitouch works. :)

albertd
Posts: 51
Joined: Thu Aug 30, 2012 8:10 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Tue Jan 12, 2016 5:23 pm

patrick.samy wrote:Hi Albert,

I'm using the old repository.

Does the new one include a configuration with wifi enabled ?

Thanks,
Patrick
You could create your own defconfig adding the correct wifi drivers and packages.

albertd
Posts: 51
Joined: Thu Aug 30, 2012 8:10 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Tue Jan 12, 2016 6:16 pm

RanzQ wrote:
Xaurrien wrote:Hello,

We have just bought the new official 7" multi-touch display for RPI2 (https://www.raspberrypi.org/blog/the-ea ... i-display/).

We've tried it with buildroot + qtbrowser, the video is good but we haven't succeed to get the touch working!

Any idea or any plan to support it?
I've got it working with the latest version from https://github.com/Metrological/buildroot-wpe

I just had problems with DT kernel. The kernel zImage-dt built using the raspberrypi2_wpe_defconfig didn't wan't to boot so I tried with default buildroot and it worked. Then I modified the wpe config to be more like the default:

https://gist.github.com/RanzQ/7bd6f916a7828ed7d79e

The DT kernel can be then found in output/images/kernel-marked. To enable touch screen support modify config.txt like this:

Code: Select all

#device_tree=
dtoverlay=rpi-ft5406
And wpe.conf like this:

Code: Select all

WPE_BCMRPI_TOUCH=1
The generated sdcard.img didn't include the overlays so I copied them afterwards. And also manually copied the kernel from kernel-marked/. The boot drive should look like this:

Code: Select all

# ls -la /boot/
total 6681
drwxr-xr-x    3 root     root         16384 Jan  1  1970 .
drwxr-xr-x   19 root     root          1024 Jan 12 10:34 ..
-rwxr-xr-x    1 root     root         10180 Jan 12  2016 bcm2709-rpi-2-b.dtb
-rwxr-xr-x    1 root     root         17900 Jan 12  2016 bootcode.bin
-rwxr-xr-x    1 root     root            29 Jan 12  2016 cmdline.txt
-rwxr-xr-x    1 root     root          1473 Jan 12  2016 config.txt
-rwxr-xr-x    1 root     root          6450 Jan 12  2016 fixup.dat
drwxr-xr-x    2 root     root          6144 Jan 12  2016 overlays
-rwxr-xr-x    1 root     root       2731832 Jan 12  2016 start.elf
-rwxr-xr-x    1 root     root           173 Jan 12  2016 wpe.conf
-rwxr-xr-x    1 root     root            22 Jan 12  2016 wpe.txt
-rwxr-xr-x    1 root     root       4040320 Jan 12  2016 zImage
The original repo didn't have post-build.sh (anymore?) so I used post-image.sh instead. I'm not sure which was the essential change in the config to make the dt kernel boot.

At least simple touches and multitouch works. :)
Which test site did you for testing?

albertd
Posts: 51
Joined: Thu Aug 30, 2012 8:10 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Tue Jan 12, 2016 11:43 pm

Xaurrien wrote:Hello,

We have just bought the new official 7" multi-touch display for RPI2 (https://www.raspberrypi.org/blog/the-ea ... i-display/).

We've tried it with buildroot + qtbrowser, the video is good but we haven't succeed to get the touch working!

Any idea or any plan to support it?
Just tested it, and it works now on the new buildroot environment (https://github.com/Metrological/buildroot-wpe) using the latest browser technology that we have WPE.

Keep in mind you need to use the device tree kernel which is now in kernel-marked and change the following to the config.txt

Code: Select all

#device_tree=
dtoverlay=rpi-ft5406

RanzQ
Posts: 3
Joined: Wed Jan 06, 2016 8:24 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Wed Jan 13, 2016 8:20 am

albertd wrote: Which test site did you for testing?
I'm planning to do some 2D stuff with Pixi.js, so I've tested multitouch with this example:

http://www.goodboydigital.com/pixijs/examples/8/

Thank you for the awesome work with wpe albertd!

albertd
Posts: 51
Joined: Thu Aug 30, 2012 8:10 pm

Re: Qt5WebKit + Gstreamer + WebGL + Canvas (RPI + RPI2)

Wed Jan 13, 2016 8:36 am

RanzQ wrote:I'm planning to do some 2D stuff with Pixi.js, so I've tested multitouch with this example:

http://www.goodboydigital.com/pixijs/examples/8/

Thank you for the awesome work with wpe albertd!
Thx! And thank you for the RPi Touch guidelines, I've added into the buildroot-wpe master.

demc_sf
Posts: 1
Joined: Sat Dec 26, 2015 6:11 am

Re: WebKit + Gstreamer + WebGL + Canvas + MSE (PI0/1/2)

Mon Jan 18, 2016 1:52 am

I am also trying to use the Raspberry Pi Foundation touch screen. My boot hangs at "random: nonblocking pool is initialized".

It doesn't seem to be a kernel panic. Is it possible that the cmdline.txt is incorrect - it appears to be notably shorter than the Raspbina cmdline.txt.

User avatar
DougieLawson
Posts: 35126
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: WebKit + Gstreamer + WebGL + Canvas + MSE (PI0/1/2)

Mon Jan 18, 2016 7:05 pm

That is always a symptom of a root filesystem that needs to be fsck'd because it's not mountable.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

albertd
Posts: 51
Joined: Thu Aug 30, 2012 8:10 pm

Re: WebKit + Gstreamer + WebGL + Canvas + MSE (PI0/1/2)

Mon Jan 18, 2016 7:41 pm

I personally always use the ramdisk option BR2_TARGET_ROOTFS_INITRAMFS=y and a clean ext4 second partition which is then automatically mounted at boot to /root and the fat32 is then mounted to /boot for updating the zImage.

Return to “Official Foundation Display”