Call for testing: chromium 62.0.3202.62


#48

I’ll get this fixed in the policy updates for 2.30.


#49

https://github.com/snapcore/snapd/pull/4359 has the workaround rules.


#50

U2F (Universal 2nd Factor) isn’t working when signing into my gmail account trying to use my yubikey. This is a USB device which IIRC chromium needs bidirectional communication with.


#51

Seems that HTML5 +DRM video playback doesn’t work: Netflix redirects to their help page (https://help.netflix.com/en/node/23742)


#52

DRM video playback was broken in the chromium ubuntu package (deb) until version 63 that has been published earlier this week (see bug #1652110). Even with that fixed version, you still need two things to make this work:

  • have google-chrome installed (it provides the actual content decryption module, called widevine, which we cannot ship for legal reasons)
  • override the user agent string to pretend to be chrome (netflix does user agent sniffing)

This won’t work with a snap, because for the same legal reasons it cannot ship the CDM library, and it will not be able to see it if it’s installed on the system because of strict confinement (unless we punch a hole in the security profile to allow access to /opt/google/chrome/libwidevinecdm.so).


#53

That wouldn’t work anyway, since the snap’s runtime environment won’t use /opt from the host. What could work is if you were able to trick chromium to look for it somewhere within the snap’s area, then have instructions for the user copy the file to this area.


#54

Thanks for the suggestion! This is now being tracked by bug #1738149.


#55

I have an old yubikey from 2012 that doesn’t support U2F, unfortunately, so I can’t test this myself.

I have filed bug #1738164 to track the issue, could you please look into apparmor/seccomp denials and attach your findings to the bug report? Thanks!


#56

Thanks @jdstrand. I’ve just had access to a laptop with a nvidia GPU running the proprietary driver, and I can confirm that the chromium snap works with snapd 2.30 from the candidate channel.


#57

Work on 18.04 daily with nvidia proprietary drivers, using:

snap    2.30+git476.f91a849~ubuntu16.04.1
snapd   2.30+git476.f91a849~ubuntu16.04.1
series  16
ubuntu  18.04
kernel  4.13.0-17-generic

#58

Snap is working on Arch Linux,

Snap version:

[syntist@Syntist-PC ~]$ snap version
snap      2.30.r285.g7855e9512-1
snapd     2.30.r285.g7855e9512-1
series    16
antergos  
kernel    4.14.8-1-ARCH

[syntist@Syntist-PC ~]$ snap list
Name      Version       Rev   Developer  Notes
chromium  62.0.3202.94  128   canonical  -
core      16-2.30       3748  canonical  core

Nvidia Driver:

[syntist@Syntist-PC ~]$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.34  Tue Nov 21 03:09:00 PST 2017
GCC version:  gcc version 7.2.1 20171128 (GCC) 

But no H/W Acceleration.


Call for testing: chromium 65.0.3325.146
#59

well using the app is fine.

I think my Spotify sound was interupted at 1m:41s into installing the snap.
Both Spotify and chromium are installed on Bionic Beaver as a snap, so since these are newer versions - it would be nice to solve this disapointing problem.


#60

For the most part, the app works fine but I have had a pause of around ten seconds once or twice on Ubuntu 18.04 on an Entroware Orion. Few and far between though.

Edit: Actually, logging into my Google account for bookmarks stopped the snap from loading. Running snap run chromium produces this:

Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.118" (uid=1000 pid=14766 comm="/snap/chromium/274/usr/lib/chromium-browser/chromi" label="snap.chromium.chromium (enforce)") interface="org.freedesktop.DBus.Peer" member="Ping" error name="(unset)" requested_reply="0" destination="org.freedesktop.secrets" (uid=1000 pid=1658 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined")

Using v65.0.3325.181

…also, the snap is using the older icon. Any chance of a refresh, please?


#61

Is this the spotify snap, or spotify open in the chromium snap?
Is the problem persisting with recent versions of those snaps?


#62

This sounds like bug #1763829, which was fixed. Can you confirm this is now working for you?

I’m not aware of a new icon for chromium. Can you point me to the icon you’d expect?


#63

Hi, I can confirm that Chromium now loads while I am logged in with my Google account, thanks.

The newer icon is flat and more vibrant - I’ll put a print from my menu:

image

The current repository version is on the left and the snap icon is on the right. Thank you very much ^_^b


#64

Thanks for pointing that out! That’s bug #1771847.


#65

On KDE plasma does not work “plasma-browser-integration”, obviously from the “.deb” works.
To know more about plasma-browser-integration: https://community.kde.org/Plasma/Browser_Integration

snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: canonical
contact: https://forum.snapcraft.io/
license: unknown
description: |
An open-source browser project that aims to build a safer, faster, and more stable way for all
Internet users to experience the web.
commands: - chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: stable
refresh-date: 4 days ago, at 22:28 CEST
channels:
stable: 68.0.3440.84 (396) 150MB -
candidate: 68.0.3440.84 (396) 150MB -
beta: 69.0.3497.23 (397) 153MB -
edge: 70.0.3514.0 (406) 152MB -
installed: 68.0.3440.84 (396) 150MB -

If it can be useful, I paste the errors:

emanu@emanuc:~$ snap run chromium
[23680:23967:0810/015003.349353:ERROR:udev_watcher.cc(60)] Failed to begin udev enumeration.
[23680:23932:0810/015022.105006:ERROR:object_proxy.cc(616)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=":1.269" (uid=1000 pid=23680 comm="/snap/chromium/396/usr/lib/chromium-browser/chromi" label=“snap.chromium.chromium (enforce)”) interface=“org.freedesktop.PowerManagement.Inhibit” member=“Inhibit” error name="(unset)" requested_reply=“0” destination=“org.freedesktop.PowerManagement” (uid=1000 pid=2412 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev" label=“unconfined”)
[23680:23932:0810/015022.105058:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
[23680:23932:0810/015022.199834:ERROR:object_proxy.cc(616)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=":1.270" (uid=1000 pid=23680 comm="/snap/chromium/396/usr/lib/chromium-browser/chromi" label=“snap.chromium.chromium (enforce)”) interface=“org.freedesktop.PowerManagement.Inhibit” member=“Inhibit” error name="(unset)" requested_reply=“0” destination=“org.freedesktop.PowerManagement” (uid=1000 pid=2412 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev" label=“unconfined”)
[23680:23932:0810/015022.199876:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
[23680:23932:0810/015033.985033:ERROR:object_proxy.cc(616)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.UnInhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=":1.269" (uid=1000 pid=23680 comm="/snap/chromium/396/usr/lib/chromium-browser/chromi" label=“snap.chromium.chromium (enforce)”) interface=“org.freedesktop.PowerManagement.Inhibit” member=“UnInhibit” error name="(unset)" requested_reply=“0” destination=“org.freedesktop.PowerManagement” (uid=1000 pid=2412 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev" label=“unconfined”)
[23680:23932:0810/015033.985775:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
[23680:23932:0810/015036.162780:ERROR:object_proxy.cc(616)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.UnInhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=":1.270" (uid=1000 pid=23680 comm="/snap/chromium/396/usr/lib/chromium-browser/chromi" label=“snap.chromium.chromium (enforce)”) interface=“org.freedesktop.PowerManagement.Inhibit” member=“UnInhibit” error name="(unset)" requested_reply=“0” destination=“org.freedesktop.PowerManagement” (uid=1000 pid=2412 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev" label=“unconfined”)
[23680:23932:0810/015036.162820:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!


#66

This is essentially the same problem as bug #1741074. The native host leaves outside the sandbox, and as a consequence chromium cannot see it.


#67
Summary

Hey @oSoMoN since the last 2 refreshes (I’m now on revision 412 of channel candidate/from-source) I can’t see no icon in Alt-Tab or the taskbar for Chromium

:
image

Nevermind, I forgot that I changed the .desktop file and it was pointing to an old revision directory for the icon.