aworan
Posts: 13
Joined: Tue Jun 23, 2015 9:09 am

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Mon Sep 19, 2016 11:07 pm

kusti8 wrote: I'm not sure if I'm allowed to release it and I don't want to right now. It is up to the RPF. If you're curious, it is just a extra file with MMAL calls.
Ok, I was thinking of patching an armv7 version of chromium and trying it in Ubuntu Mate with my rpi3.
Maybe I can get the extra binary file from the chromium .deb and try to add it to a armv7 .deb ?
I will wait

Rascas
Posts: 333
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Tue Sep 20, 2016 9:40 am

aworan wrote:
kusti8 wrote: I'm not sure if I'm allowed to release it and I don't want to right now. It is up to the RPF. If you're curious, it is just a extra file with MMAL calls.
Ok, I was thinking of patching an armv7 version of chromium and trying it in Ubuntu Mate with my rpi3.
Maybe I can get the extra binary file from the chromium .deb and try to add it to a armv7 .deb ?
I will wait
Maybe I am missing something, but the open source graphics driver (OpenGL) doesn't have access to the HW video acceleration of the RPi SoC, which is closed source. That's probably why it is crashing currently with it. So, unless you wanted to run Chromium on RPi 0/1, there is no point of running this version with the open source graphics driver (OpenGL).

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5105
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Tue Sep 20, 2016 12:52 pm

aworan wrote:It is somewhere I can find the patch code ?
When the deb file reaches the raspberrypi repository there will be a corresponding src package which will contain any changes.

User avatar
Trixster
Posts: 259
Joined: Sat Jul 07, 2012 3:53 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Fri Sep 23, 2016 9:47 am

I must be doing something quite wrong, because the latest update buffers and stutters more than ever for me in youtube, both in cinema mode and full screen mode, to the point where anything other than the standard small screen is unwatchable.

Windowed HD Vimeo streams seem to work fine but fullscreen Vimeo stutters every few seconds.

I have run sudo apt-get update, sudo apt-get dist-upgrade and sudo rpi-update and then rebooted.

mrpoopy
Posts: 1
Joined: Fri Sep 23, 2016 7:36 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Fri Sep 23, 2016 7:45 pm

Hi, is there any way to force hardware acceleration on canvas when using the gl video driver? chrome://gpu shows: "Canvas: Software only, hardware acceleration unavailable."

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sat Sep 24, 2016 12:06 pm

Trixster wrote:I must be doing something quite wrong, because the latest update buffers and stutters more than ever for me in youtube, both in cinema mode and full screen mode, to the point where anything other than the standard small screen is unwatchable.

Windowed HD Vimeo streams seem to work fine but fullscreen Vimeo stutters every few seconds.

I have run sudo apt-get update, sudo apt-get dist-upgrade and sudo rpi-update and then rebooted.
Huh. You do have h264ify? I would try a different new SD card and see if it works on a fresh install.
There are 10 types of people: those who understand binary and those who don't.

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sat Sep 24, 2016 12:07 pm

mrpoopy wrote:Hi, is there any way to force hardware acceleration on canvas when using the gl video driver? chrome://gpu shows: "Canvas: Software only, hardware acceleration unavailable."
This is not the correct place to talk about this, but you need to remove the blacklist in chrome://flags. There is no advantage to using Chromium with the OpenGL driver because software acceleration is actually faster.
There are 10 types of people: those who understand binary and those who don't.

User avatar
Trixster
Posts: 259
Joined: Sat Jul 07, 2012 3:53 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sat Sep 24, 2016 4:04 pm

Yes, h264ify is installed.
kusti8 wrote:
Trixster wrote:I must be doing something quite wrong, because the latest update buffers and stutters more than ever for me in youtube, both in cinema mode and full screen mode, to the point where anything other than the standard small screen is unwatchable.

Windowed HD Vimeo streams seem to work fine but fullscreen Vimeo stutters every few seconds.

I have run sudo apt-get update, sudo apt-get dist-upgrade and sudo rpi-update and then rebooted.
Huh. You do have h264ify? I would try a different new SD card and see if it works on a fresh install.

User avatar
Trixster
Posts: 259
Joined: Sat Jul 07, 2012 3:53 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sun Oct 02, 2016 11:02 am

Do we need to uninstall this beta version of chromium before updating to the new Pixel version?

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sun Oct 02, 2016 11:03 am

Trixster wrote:Do we need to uninstall this beta version of chromium before updating to the new Pixel version?
You shouldn't need to. Just upgrade everything.
There are 10 types of people: those who understand binary and those who don't.

User avatar
Trixster
Posts: 259
Joined: Sat Jul 07, 2012 3:53 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sun Oct 02, 2016 11:38 am

Should i comment out deb http://dl.bintray.com/kusti8/chromium-rpi jessie main dev in etc/apt/sources.list first?

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sun Oct 02, 2016 11:39 am

Trixster wrote:Should i comment out deb http://dl.bintray.com/kusti8/chromium-rpi jessie main dev in etc/apt/sources.list first?
Doesn't matter. The new version will replace it anyway.
There are 10 types of people: those who understand binary and those who don't.


aworan
Posts: 13
Joined: Tue Jun 23, 2015 9:09 am

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Sun Oct 02, 2016 7:11 pm

dom wrote: When the deb file reaches the raspberrypi repository there will be a corresponding src package which will contain any changes.
Hi,
I tried to get source package but it not available !
apt-get source give me a chromium 53 source package which seems to be without hw.
I check manually the archive and the location where is the chromium 51 package have not a source package associated.
So if it is some place form source code where I could find it ?

Thank you :)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5105
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Mon Oct 03, 2016 2:29 pm

aworan wrote: I tried to get source package but it not available !
apt-get source give me a chromium 53 source package which seems to be without hw.
Okay, it seems producing an apt source package is not trivial. It's something we'd like to get working, but it may take a little while.
For now we've decided to publish the patches in github. The first should appear tomorrow.

If you can't wait, then grab sources for chrome tag 51.0.2704.91 and apply this patch:
https://www.dropbox.com/s/bvtkonasr9cr7 ... patch?dl=0

aworan
Posts: 13
Joined: Tue Jun 23, 2015 9:09 am

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Tue Oct 04, 2016 2:27 pm

dom wrote:
aworan wrote: I tried to get source package but it not available !
apt-get source give me a chromium 53 source package which seems to be without hw.
Okay, it seems producing an apt source package is not trivial. It's something we'd like to get working, but it may take a little while.
For now we've decided to publish the patches in github. The first should appear tomorrow.

If you can't wait, then grab sources for chrome tag 51.0.2704.91 and apply this patch:
https://www.dropbox.com/s/bvtkonasr9cr7 ... patch?dl=0
Thank you I will wait tomorrow ;)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5105
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Wed Oct 05, 2016 10:29 am

We'll keep the chromium patches here for now:
https://github.com/raspberrypi/chromium_patches

czar1na
Posts: 129
Joined: Wed Dec 14, 2016 9:46 am

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Thu Jan 26, 2017 12:19 pm

I am following the steps in OP for installing beta chromium on my Zero. When I get to the rpi-update step, I see an error:

Code: Select all

pi@raspberrypi:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
/usr/bin/rpi-update: line 45:  4133 Illegal instruction     curl -Ls --output "${_tempFileName}" "${UPDATE_URI}"
 !!! Failed to download update for rpi-update!
 !!! Make sure you have ca-certificates installed and that the time is set correctly
Any suggestions? Thank you!

User avatar
fruitoftheloom
Posts: 15470
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Thu Jan 26, 2017 2:25 pm

czar1na wrote:I am following the steps in OP for installing beta chromium on my Zero. When I get to the rpi-update step, I see an error:

Code: Select all

pi@raspberrypi:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
/usr/bin/rpi-update: line 45:  4133 Illegal instruction     curl -Ls --output "${_tempFileName}" "${UPDATE_URI}"
 !!! Failed to download update for rpi-update!
 !!! Make sure you have ca-certificates installed and that the time is set correctly
Any suggestions? Thank you!
If you have installed Raspbian Jessie and fully updated then chromium-browser is now included by default:

https://www.raspberrypi.org/blog/introducing-pixel
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C ARM32 SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

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

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updat

Thu Jan 26, 2017 2:37 pm

1. Don't run rpi-update

2. Check your network routing
3. Check your /etc/resolv.conf has a nameserver your can reach

Option 1 is best.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

siqneibi
Posts: 1
Joined: Mon Aug 07, 2017 12:43 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updated)

Mon Aug 07, 2017 1:02 pm

Hello,

Great work! Video playback is smooth on chromium v56 on rpi 3.
I see that the last major work on github for this project was Feb 2017.
Is the development on this project still active?
If yes, then when do you plan to port those changes to chromium v59?

Best regards,
Sami

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updated)

Mon Aug 07, 2017 1:07 pm

siqneibi wrote:
Mon Aug 07, 2017 1:02 pm
Hello,

Great work! Video playback is smooth on chromium v56 on rpi 3.
I see that the last major work on github for this project was Feb 2017.
Is the development on this project still active?
If yes, then when do you plan to port those changes to chromium v59?

Best regards,
Sami
Development is still active. I'm not the one making the changes to Chromium, simply building and packaging them. A port for v60 is in the works.
There are 10 types of people: those who understand binary and those who don't.

steffend
Posts: 1
Joined: Wed Jan 03, 2018 6:53 pm

Re: BETA: Chromium v51 ARMv6 w/ HW video acceleration (updated)

Wed Jan 03, 2018 7:13 pm

kusti8 wrote:
Mon Aug 07, 2017 1:07 pm
Development is still active. I'm not the one making the changes to Chromium, simply building and packaging them. A port for v60 is in the works.
@kusti8 Do you know if it would be possible to build electron (based on chromium) with hardware video decoding using one of these patches? The official instructions are available here, but I've got no experience at all building chromium/electron, so maybe you could help me.

Another question: Is it a known problem that Chromium crashes "Aw, Snap!" when trying to play videos while having the new OpenGL driver active (use-gl=egl)? This is particularly sad because that's the only way css animations are looking smooth. So it seems video playback vs. animations, but not both at the same time...

EDIT: Raspbian Stretch, Kernel 4.9.73-v7+, Chromium 60.0.3112.89-0ubuntu0.14.04.1.1010+1

Code: Select all

[  923.720912] ------------[ cut here ]------------
[  923.720986] WARNING: CPU: 1 PID: 471 at drivers/gpu/drm/vc4/vc4_plane.c:756 vc4_plane_async_set_fb+0xa4/0xa8 [vc4]
[  923.720989] Modules linked in: fuse rfcomm cmac bnep hci_uart btbcm bluetooth joydev evdev panel_raspberrypi_touchscreen hid_logitech_hidpp vc4 brcmfmac drm_kms_helper brcmutil drm cfg80211 rfkill snd_soc_core snd_compress snd_bcm2835 snd_pcm_dmaengine syscopyarea sysfillrect snd_pcm sysimgblt i2c_gpio fb_sys_fops i2c_algo_bit snd_timer snd i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed hid_logitech_dj i2c_dev ip_tables x_tables ipv6
[  923.721089] CPU: 1 PID: 471 Comm: Xorg Not tainted 4.9.73-v7+ #1072
[  923.721091] Hardware name: BCM2835
[  923.721115] [<8010fa48>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
[  923.721128] [<8010c058>] (show_stack) from [<804578a4>] (dump_stack+0xd4/0x118)
[  923.721140] [<804578a4>] (dump_stack) from [<8011d368>] (__warn+0xf8/0x110)
[  923.721147] [<8011d368>] (__warn) from [<8011d450>] (warn_slowpath_null+0x30/0x38)
[  923.721189] [<8011d450>] (warn_slowpath_null) from [<7f4c8b5c>] (vc4_plane_async_set_fb+0xa4/0xa8 [vc4])
[  923.721264] [<7f4c8b5c>] (vc4_plane_async_set_fb [vc4]) from [<7f4c8c2c>] (vc4_update_plane+0xcc/0x154 [vc4])
[  923.721456] [<7f4c8c2c>] (vc4_update_plane [vc4]) from [<7f35af60>] (__setplane_internal+0x190/0x238 [drm])
[  923.721704] [<7f35af60>] (__setplane_internal [drm]) from [<7f35b128>] (drm_mode_cursor_universal+0x120/0x1bc [drm])
[  923.721930] [<7f35b128>] (drm_mode_cursor_universal [drm]) from [<7f35b250>] (drm_mode_cursor_common+0x8c/0x194 [drm])
[  923.722163] [<7f35b250>] (drm_mode_cursor_common [drm]) from [<7f35b900>] (drm_mode_cursor2_ioctl+0x18/0x1c [drm])
[  923.722392] [<7f35b900>] (drm_mode_cursor2_ioctl [drm]) from [<7f33ec60>] (drm_ioctl+0x20c/0x428 [drm])
[  923.722515] [<7f33ec60>] (drm_ioctl [drm]) from [<80283ee0>] (do_vfs_ioctl+0xac/0x820)
[  923.722528] [<80283ee0>] (do_vfs_ioctl) from [<80284698>] (SyS_ioctl+0x44/0x6c)
[  923.722541] [<80284698>] (SyS_ioctl) from [<801080c0>] (ret_fast_syscall+0x0/0x1c)
[  923.722593] ---[ end trace 2b738e76441f64ba ]---

Return to “General discussion”

Who is online

Users browsing this forum: klricks and 45 guests