Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appimage? #12

Open
AngryPenguinPL opened this issue Mar 31, 2017 · 39 comments
Open

Appimage? #12

AngryPenguinPL opened this issue Mar 31, 2017 · 39 comments
Labels

Comments

@AngryPenguinPL
Copy link

Hi.

You probably heard about Appimage, right? So maybe you could try the AppData packages too - so your Chromium with HW could work on almost any distribution like Fedora, Mageia, OpenSuse, Debian, Arch and more. You can create appimage from latest upstream .deb build from ppa.

So is any chance to get Appimage build?

@saiarcot895
Copy link
Owner

I could make an AppImage, but note that it'll be based on Ubuntu 16.04, which means only distro versions that were released in the last 1-1.5 years can probably use them.

@AngryPenguinPL
Copy link
Author

Good idea. Since appimage would be based on Ubuntu 16.04, it should work without problems on Arch, Fedora 25, Solus, OpenSuse Leep 42.2 and Tumbleweed, Mageia 6 (upcoming soon), OpenMandriva LX 3.0 and more. So why not?

If you can, do it, please.
I would be very grateful (probably not only me).

Thanks.

@probonopd
Copy link

probonopd commented Apr 8, 2017

I could make an AppImage, but note that it'll be based on Ubuntu 16.04

Even better would be to base it on the oldest still-supported LTS version, which would be 14.04 at this point.

The one from https://download-chromium.appspot.com/ is not what is wanted? Because for that one I had already scripted the AppImage conversion:
https://github.com/probonopd/AppImages/blob/master/recipes/chromium/Recipe

@AngryPenguinPL
Copy link
Author

The one from https://download-chromium.appspot.com/ is not what is wanted?

This is the same build as from here https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html
So it is official chromium dev build from chromium project, but it not have enabled Hardware Acceleraction, H264 or widevine plugin.
But chromium from @saiarcot895 repo, have HW and other things, so I just wants it.

@saiarcot895
Copy link
Owner

I have AppImages for Chromium hosted based on 16.04 here.

I can't base it on 14.04 because I can't get it to compile on 14.04 due to old toolchains. When I can, I'll base it on 14.04

@probonopd
Copy link

@saiarcot895 thanks, doesn't run for me on elementary OS 0.4 Loki due to missing libsoftokn3.so:

me@host:~$ '/home/me/Downloads/Chromium_Web_Browser-58.0.3029.68.glibc2.17-x86_64.AppImage' 
Gtk-Message: Failed to load module "pantheon-filechooser-module"
[4407:4407:0420/082046.716952:ERROR:browser_main_loop.cc(257)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4407:4407:0420/082046.717109:ERROR:browser_main_loop.cc(257)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4407:4407:0420/082046.717221:ERROR:browser_main_loop.cc(257)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4407:4407:0420/082046.717311:ERROR:browser_main_loop.cc(257)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4407:4407:0420/082046.786998:ERROR:gconf_listener.cc(116)] Error with gconf key '/apps/metacity/general': Failed to activate configuration server: The name org.gnome.GConf was not provided by any .service files

[4407:4491:0420/082046.984754:ERROR:nss_util.cc(706)] Error initializing NSS with a persistent database (sql:/home/me/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[4407:4491:0420/082046.984919:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[4407:4491:0420/082046.984972:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7f0e13c02627 base::debug::StackTrace::StackTrace()
#1 0x7f0e13c1f91c logging::LogMessage::~LogMessage()
#2 0x7f0e13287184 <unknown>
#3 0x7f0e134b3875 net::CertDatabase::GetInstance()
#4 0x7f0e1351bc18 net::CachingCertVerifier::CachingCertVerifier()
#5 0x7f0e134b517b net::CertVerifier::CreateDefault()
#6 0x55740520a61f <unknown>
#7 0x7f0e11527d9d content::BrowserProcessSubThread::Init()
#8 0x7f0e13c7b79d base::Thread::ThreadMain()
#9 0x7f0e13c762d3 <unknown>
#10 0x7f0e139026fa start_thread
#11 0x7f0e0ab42b5d clone

Received signal 6
#0 0x7f0e13c02627 base::debug::StackTrace::StackTrace()
#1 0x7f0e13c02156 <unknown>
#2 0x7f0e1390c3d0 <unknown>
#3 0x7f0e0aa71418 gsignal
#4 0x7f0e0aa7301a abort
#5 0x7f0e13c00482 base::debug::BreakDebugger()
#6 0x7f0e13c1fbd0 logging::LogMessage::~LogMessage()
#7 0x7f0e13287184 <unknown>
#8 0x7f0e134b3875 net::CertDatabase::GetInstance()
#9 0x7f0e1351bc18 net::CachingCertVerifier::CachingCertVerifier()
#10 0x7f0e134b517b net::CertVerifier::CreateDefault()
#11 0x55740520a61f <unknown>
#12 0x7f0e11527d9d content::BrowserProcessSubThread::Init()
#13 0x7f0e13c7b79d base::Thread::ThreadMain()
#14 0x7f0e13c762d3 <unknown>
#15 0x7f0e139026fa start_thread
#16 0x7f0e0ab42b5d clone
  r8: ffff9483ef98c750  r9: ffff9483ef98c740 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007f0def2d4270 r13: 00001391dee14f00 r14: 00007f0def2d4280 r15: 00007f0e0b48f1c0
  di: 0000000000001137  si: 000000000000118b  bp: 00007f0e1358ff50  bx: 0000000000000000
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007f0e0aa71418  sp: 00007f0def2d3768
  ip: 00007f0e0aa71418 efl: 0000000000000202 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

@saiarcot895
Copy link
Owner

@probonopd The libnss3 is explicitly excluded in the excludedeblist file, so that library won't be included in the AppImage. Is the library installed on your system?

@probonopd
Copy link

Possibly all of the libraries mentioned in probonopd/linuxdeployqt#35 (comment) need to be bundled inside the AppImage then.

@AngryPenguinPL
Copy link
Author

AngryPenguinPL commented Apr 22, 2017

Trying on three distro, app won't work.

On Ubuntu 17.04x64

x@x-Aspire-7551G:~/Pulpit$ ./Chromium_Web_Browser-59.0.3053.3.glibc2.17-x86_64.AppImage 
Using PPAPI flash.
[5791:5861:0420/235058.853563:ERROR:nss_util.cc(706)] Error initializing NSS with a persistent database (sql:/home/x/.pki/nssdb): libsoftokn3.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
[5791:5861:0420/235058.853749:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[5791:5861:0420/235058.853784:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7efef8dc79c7 base::debug::StackTrace::StackTrace()
#1 0x7efef8de4cbc logging::LogMessage::~LogMessage()
#2 0x7efef8485184 <unknown>
#3 0x7efef8676505 net::CertDatabase::GetInstance()
#4 0x7efef86dc418 net::CachingCertVerifier::CachingCertVerifier()
#5 0x7efef8677e0b net::CertVerifier::CreateDefault()
#6 0x5570b7b9e07f <unknown>
#7 0x7efef66e231d content::BrowserProcessSubThread::Init()
#8 0x7efef8e4162d base::Thread::ThreadMain()
#9 0x7efef8e3c163 <unknown>
#10 0x7efef8ada6da start_thread
#11 0x7efeefc0a17f clone

Received signal 6
#0 0x7efef8dc79c7 base::debug::StackTrace::StackTrace()
#1 0x7efef8dc74f6 <unknown>
#2 0x7efef8ae4670 <unknown>
#3 0x7efeefb3777f gsignal
#4 0x7efeefb3937a abort
#5 0x7efef8dc5822 base::debug::BreakDebugger()
#6 0x7efef8de4f70 logging::LogMessage::~LogMessage()
#7 0x7efef8485184 <unknown>
#8 0x7efef8676505 net::CertDatabase::GetInstance()
#9 0x7efef86dc418 net::CachingCertVerifier::CachingCertVerifier()
#10 0x7efef8677e0b net::CertVerifier::CreateDefault()
#11 0x5570b7b9e07f <unknown>
#12 0x7efef66e231d content::BrowserProcessSubThread::Init()
#13 0x7efef8e4162d base::Thread::ThreadMain()
#14 0x7efef8e3c163 <unknown>
#15 0x7efef8ada6da start_thread
#16 0x7efeefc0a17f clone
  r8: 0000000000000000  r9: 00007efed28a4620 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007efed28a5230 r13: 00003f8ba6613300 r14: 00007efed28a5240 r15: 00007efef0558060
  di: 0000000000000002  si: 00007efed28a4620  bp: 00007efef8751c00  bx: 0000000000000000
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007efeefb3777f  sp: 00007efed28a4698
  ip: 00007efeefb3777f efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

On OpenMandriva LX 3.01

[x@x-OpenMandriva Pobrane]$ /home/x/Pobrane/Chromium_Web_Browser-59.0.3053.3.glibc2.17-x86_64.AppImage 
/tmp/.mount_BSlGia/usr/bin/chromium-browser: linia 117: readlink: nie znaleziono polecenia
[5358:5358:0420/222754.600682:ERROR:browser_main_loop.cc(283)] <unknown>: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(chromium-browser:5358): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:5358): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:5358): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
[5358:5424:0420/222755.313519:ERROR:nss_util.cc(706)] Error initializing NSS with a persistent database (sql:/home/x/.pki/nssdb): /lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure
[5358:5424:0420/222755.313780:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[5358:5424:0420/222755.313821:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7f2eafe039c7 base::debug::StackTrace::StackTrace()
#1 0x7f2eafe20cbc logging::LogMessage::~LogMessage()
#2 0x7f2eb02e7184 <unknown>
#3 0x7f2eaf935505 net::CertDatabase::GetInstance()
#4 0x7f2eaf99b418 net::CachingCertVerifier::CachingCertVerifier()
#5 0x7f2eaf936e0b net::CertVerifier::CreateDefault()
#6 0x55a60f31207f <unknown>
#7 0x7f2eadb3231d content::BrowserProcessSubThread::Init()
#8 0x7f2eafe7d62d base::Thread::ThreadMain()
#9 0x7f2eafe78163 <unknown>
#10 0x7f2eaff32082 start_thread
#11 0x7f2ea878ba3f __GI___clone

Received signal 6
#0 0x7f2eafe039c7 base::debug::StackTrace::StackTrace()
#1 0x7f2eafe034f6 <unknown>
#2 0x7f2eaff3a830 <unknown>
#3 0x7f2ea86ff0b6 __GI_raise
#4 0x7f2ea86fffbb __GI_abort
#5 0x7f2eafe01822 base::debug::BreakDebugger()
#6 0x7f2eafe20f70 logging::LogMessage::~LogMessage()
#7 0x7f2eb02e7184 <unknown>
#8 0x7f2eaf935505 net::CertDatabase::GetInstance()
#9 0x7f2eaf99b418 net::CachingCertVerifier::CachingCertVerifier()
#10 0x7f2eaf936e0b net::CertVerifier::CreateDefault()
#11 0x55a60f31207f <unknown>
#12 0x7f2eadb3231d content::BrowserProcessSubThread::Init()
#13 0x7f2eafe7d62d base::Thread::ThreadMain()
#14 0x7f2eafe78163 <unknown>
#15 0x7f2eaff32082 start_thread
#16 0x7f2ea878ba3f __GI___clone
  r8: 0000000000000000  r9: 00007f2e8fbae660 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f2e8fbaf280 r13: 00002fd833fd4000 r14: 00007f2e8fbaf290 r15: 00007f2ea8e64c60
  di: 0000000000000002  si: 00007f2e8fbae660  bp: 00007f2e8fbae6e0  bx: 0000000000000006
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f2ea86ff0b6  sp: 00007f2e8fbae660
  ip: 00007f2ea86ff0b6 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[x@x-OpenMandriva Pobrane]$ 

On Fedora 25 (testing on X session and also on Wayland - both the same issue)

[x@x Pobrane]$ ./Chromium_Web_Browser-59.0.3053.3.glibc2.17-x86_64.AppImage /tmp/.mount_Kyi2fH/usr/bin/chromium-browser: line 126: lsb_release: No command found /tmp/.mount_Kyi2fH/usr/bin/chromium-browser: line 127: lsb_release: No command found ././/lib/chromium-browser/chromium-browser: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure [x@x Pobrane]$

After installing lsb_release I get only:
././/lib/chromium-browser/chromium-browser: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure

@probonopd
Copy link

As written above, it looks like libnssutil3 and possibly all of the libraries mentioned in probonopd/linuxdeployqt#35 (comment) need to be bundled inside the AppImage.

@saiarcot895
Copy link
Owner

saiarcot895 commented Apr 22, 2017

If those packages are explicitly stated in the list of packages to install in the yml file, will it override the listing in the excludedeblist file?

Edit: never mind, I see the repo has been updated.

@saiarcot895
Copy link
Owner

I have new appimages for Chromium 59 (Beta) and Chromium 60 (Dev), both of which are based on Ubuntu Trusty (14.04), so they should be usable on more releases

@probonopd
Copy link

probonopd commented Apr 30, 2017

Both run on ubuntu-16.04-desktop-amd64.iso but complain about missing API keys.

@saiarcot895
Copy link
Owner

That's to be expected (unfortunately), since my PPA builds don't have a precompiled API key, and I can't do that without permission from Google.

@probonopd
Copy link

Would this build on trusty on Travis CI?

@saiarcot895
Copy link
Owner

Yes, I'll make a pull request with the yml files shortly.

As for the API keys, they can be set via environment variables (as described here), and if the AppImage inherits the environment variables from the shell/desktop (or if environment variables can be manually set by the end-user, then that'll get rid of the error.

@AngryPenguinPL
Copy link
Author

AngryPenguinPL commented May 3, 2017

Trying only on two distro (maybe tomorrow try another).

Ubuntu 17.04x64 same issues like before:

x@x-Aspire-7551G:~$ '/home/x/Pulpit/Chromium_Web_Browser-60.0.3080.5.glibc2.17-x86_64.AppImage' 
Using PPAPI flash.
[7694:7764:0503/141747.393927:ERROR:nss_util.cc(706)] Error initializing NSS with a persistent database (sql:/home/x/.pki/nssdb): libsoftokn3.so: ncannot open shared object file: No such file or directory
[7694:7764:0503/141747.394224:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[7694:7764:0503/141747.394279:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7fe81fe1da57 base::debug::StackTrace::StackTrace()
#1 0x7fe81fe3e926 logging::LogMessage::~LogMessage()
#2 0x7fe820335dc5 <unknown>
#3 0x7fe820336230 crypto::EnsureNSSInit()
#4 0x7fe81f8c1895 net::CertDatabase::GetInstance()
#5 0x7fe81f9312c8 net::CachingCertVerifier::CachingCertVerifier()
#6 0x7fe81f8c25f7 net::CertVerifier::CreateDefault()
#7 0x5629f439ec77 <unknown>
#8 0x7fe81d6ae146 content::BrowserThreadImpl::Init()
#9 0x7fe81d6ad5ef content::BrowserProcessSubThread::Init()
#10 0x7fe81fe9968b base::Thread::ThreadMain()
#11 0x7fe81fe945b6 <unknown>
#12 0x7fe81ff766da start_thread
#13 0x7fe81440f17f clone

Received signal 6
#0 0x7fe81fe1da57 base::debug::StackTrace::StackTrace()
#1 0x7fe81fe1de43 <unknown>
#2 0x7fe81ff80670 <unknown>
#3 0x7fe81433c77f gsignal
#4 0x7fe81433e37a abort
#5 0x7fe81fe1c915 base::debug::BreakDebugger()
#6 0x7fe81fe3e995 logging::LogMessage::~LogMessage()
#7 0x7fe820335dc5 <unknown>
#8 0x7fe820336230 crypto::EnsureNSSInit()
#9 0x7fe81f8c1895 net::CertDatabase::GetInstance()
#10 0x7fe81f9312c8 net::CachingCertVerifier::CachingCertVerifier()
#11 0x7fe81f8c25f7 net::CertVerifier::CreateDefault()
#12 0x5629f439ec77 <unknown>
#13 0x7fe81d6ae146 content::BrowserThreadImpl::Init()
#14 0x7fe81d6ad5ef content::BrowserProcessSubThread::Init()
#15 0x7fe81fe9968b base::Thread::ThreadMain()
#16 0x7fe81fe945b6 <unknown>
#17 0x7fe81ff766da start_thread
#18 0x7fe81440f17f clone
  r8: 0000000000000000  r9: 00007fe7f86c9c80 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007fe7f86c9ef0 r13: 0000000000000051 r14: 00007fe7f86ca150 r15: 00007fe7f86ca5e0
  di: 0000000000000002  si: 00007fe7f86c9c80  bp: 00007fe814f74fa0  bx: 00007fe7f86ca5e0
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007fe81433c77f  sp: 00007fe7f86c9cf8
  ip: 00007fe81433c77f efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Fedora 25, same as before.


[x@x Pobrane]$ '/home/x/Pobrane/Chromium_Web_Browser-60.0.3080.5.glibc2.17-x86_64.AppImage' 
././/lib/chromium-browser/chromium-browser: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
[x@x Pobrane]$ 

So look like in both case I have issues with still the same bibrary libnssutil3.so

Any solution?

@probonopd
Copy link

May need to bundle libnssutil3.so and all the libraries mentioned in probonopd/linuxdeployqt#35 (comment) inside the AppImage.

@saiarcot895
Copy link
Owner

I thought that was fixed with the excludedeblist change made?

@probonopd
Copy link

Apparently not, seemingly you need to copy those in manually for now, sorry.

@saiarcot895
Copy link
Owner

Updated Appimage for Beta and Dev available.

@probonopd
Copy link

Launches for me on Ubuntu 16.04 but I am getting

Your connection is not private

Attackers might be trying to steal your information from www.google.com (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM

when trying to load https://www.google.com/_/chrome/newtab?espv=2&ie=UTF-8

@AngryPenguinPL
Copy link
Author

AngryPenguinPL commented May 25, 2017

Tested on 4 distro.

OpenMandriva LX 3.01 working fine with minor console errors - I think not related to browser but for sanity check I paste it:

[x@x-OpenMandriva` Pobrane]$ /home/x/Pobrane/Chromium_Web_Browser-60.0.3100.0.glibc2.17-x86_64.bin 
/tmp/.mount_TeEIT9/usr/bin/chromium-browser: linia 117: readlink: No command found

(chromium-browser:5274): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:5274): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:5274): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
[5274:5337:0524/224846.089205:ERROR:object_proxy.cc(582)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[5274:5337:0524/224846.089380:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[5274:5337:0524/224846.090381:ERROR:object_proxy.cc(582)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[5274:5337:0524/224846.090427:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[5359:5359:0524/224849.001105:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process.
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[5274:5334:0524/224850.870772:ERROR:object_proxy.cc(582)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[5274:5334:0524/224850.870808:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[5274:5334:0524/224850.871390:ERROR:object_proxy.cc(582)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[5274:5334:0524/224850.871418:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[5274:5334:0524/224851.121539:ERROR:object_proxy.cc(582)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[5274:5334:0524/224851.121601:ERROR:kwallet_dbus.cc(414)] Error contacting kwalletd5 (close)

Second I tested old Mageia 5 - and it also working! Looks like hw decode not work, maybe because this old OS still use abandoned fglrx driver? Anyway look like it driver fault not browser but log also included:

[x@localhost ~]$ /home/x/Pulpit/Chromium_Web_Browser-60.0.3100.0.glibc2.17-x86_64.bin 
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
[1:16:0524/225423.248356:ERROR:adm_helpers.cc(62)] Failed to query stereo recording.

Ubuntu 17.04 - working fine, HW work but on this OS I see the same issues like on @probonopd

Fedora 25 - not working. Don't know why. Logs here:

[x@x Pobrane]$ '/home/x/Pobrane/Chromium_Web_Browser-60.0.3100.0.glibc2.17-x86_64.AppImage' 
././/lib/chromium-browser/chromium-browser: symbol lookup error: /lib64/libgdk-3.so.0: undefined symbol: XRRGetMonitors
[x@x Pobrane]$ 

Summary:
3/4 distro working, only on Fedora 25 refuse to start. Also on Ubuntu minor issue with NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM.

Another minor issues: when start browser, my default system cursor change to other, small black cursor. So it not respect system cursor but use own. Maybe appimage bug?

@saiarcot895
Copy link
Owner

I'll go ahead and add my console output here:

(chromium-browser:4454): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:4454): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:4454): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
ATTENTION: option value of option force_s3tc_enable ignored.
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[1:16:0524/193310.558158:ERROR:adm_helpers.cc(62)] Failed to query stereo recording.
[4580:4580:0524/193317.691042:ERROR:gles2_cmd_decoder.cc(17690)] [.DisplayCompositor-0x2c4a7abc4000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[4580:4580:0524/193317.691656:ERROR:gles2_cmd_decoder.cc(9694)] [.DisplayCompositor-0x2c4a7abc4000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[4580:4580:0524/193317.691722:ERROR:gles2_cmd_decoder.cc(17690)] [.DisplayCompositor-0x2c4a7abc4000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[4580:4580:0524/193317.691759:ERROR:gles2_cmd_decoder.cc(9694)] [.DisplayCompositor-0x2c4a7abc4000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[4580:4580:0524/193317.691812:ERROR:gles2_cmd_decoder.cc(17690)] [.DisplayCompositor-0x2c4a7abc4000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[4580:4580:0524/193317.691856:ERROR:gles2_cmd_decoder.cc(9694)] [.DisplayCompositor-0x2c4a7abc4000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.

The GLES errors were after I navigated to a webpage.

On the OpenMandriva run, I would consider the InitializeSandbox() message a possible issue, since that shouldn't appear. The KWallet messages probably mean you can't have Chromium store or access your passwords, and the GTK messages are just themeing issues.

I'm not sure why Ubuntu is the only one that has the security issue come up; that's something I would expect to be on all the distros. Perhaps the version of libnss in Ubuntu 14.04 is special in some way?

@AngryPenguinPL Just as a sanity check, on Fedora 25, can you include the results of ldd -r /lib64/libgdk-3.so.0?

@probonopd
Copy link

Regarding the Fedora 25 error, please try to bundle libgdk-x11-2.0.so.0 inside the AppImage.

# Workaround for:
# ImportError: /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0: undefined symbol: XRRGetMonitors
cp $(ldconfig -p | grep libgdk-x11-2.0.so.0 | cut -d ">" -f 2 | xargs) ./usr/lib/

@AngryPenguinPL
Copy link
Author

Oh, sorry I forgot about "ldd -r /lib64/libgdk-3.so.0" this output from Fedora :/

[x@x ~]$ ldd -r /lib64/libgdk-3.so.0
	linux-vdso.so.1 (0x00007ffd74f37000)
	libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f631a17e000)
	libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f6319f32000)
	libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f6319d0b000)
	libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 (0x00007f6319b02000)
	libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f631976f000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f631951b000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f6319208000)
	libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f6318fc4000)
	libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f6318dc1000)
	libXi.so.6 => /lib64/libXi.so.6 (0x00007f6318bb1000)
	libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f63189a6000)
	libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f6318799000)
	libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f6318596000)
	libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f6318393000)
	libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f631818d000)
	libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007f6317f4d000)
	libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 (0x00007f6317d45000)
	libwayland-egl.so.1 => /lib64/libwayland-egl.so.1 (0x00007f6317b41000)
	libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x00007f6317932000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007f63175f3000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007f63173e1000)
	libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f63170b8000)
	libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007f6316db6000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f6316aab000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f63168a3000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f63164dd000)
	libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f63162c8000)
	libthai.so.0 => /lib64/libthai.so.0 (0x00007f63160be000)
	libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f6315ebc000)
	libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f6315c56000)
	libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f63159ab000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f631578d000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f6315589000)
	libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f6315356000)
	libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f63150ad000)
	libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f6314e98000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f6314c94000)
	libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f6314a90000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f6314868000)
	libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f631465a000)
	libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f6314450000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f6314238000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007f6313fac000)
	libffi.so.6 => /lib64/libffi.so.6 (0x00007f6313da4000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f6313b31000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f631390a000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f63136ef000)
	libmount.so.1 => /lib64/libmount.so.1 (0x00007f63134a3000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f6313279000)
	/lib64/ld-linux-x86-64.so.2 (0x000055b074ca0000)
	libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007f6313071000)
	libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f6312e45000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f6312c33000)
	libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f631297d000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007f6312779000)
	libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f6312548000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f6312305000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f63120fe000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6311ee7000)

and this workaround:

[x@x ~]$ cp $(ldconfig -p | grep libgdk-x11-2.0.so.0 | cut -d ">" -f 2 | xargs) ./usr/lib/
cp: cel './usr/lib/' is not a directory

[x@x ~]$ cp $(ldconfig -p | grep libgdk-x11-2.0.so.0 | cut -d ">" -f 2 | xargs) /usr/lib/
cp: '/lib/libgdk-x11-2.0.so.0' i '/usr/lib/libgdk-x11-2.0.so.0' is the same file
cp: can not create a regular file '/usr/lib/libgdk-x11-2.0.so.0': Permission denied

[x@x ~]$ su
Passoword: 
[root@x x]# cp $(ldconfig -p | grep libgdk-x11-2.0.so.0 | cut -d ">" -f 2 | xargs) /usr/lib/
cp: '/lib/libgdk-x11-2.0.so.0' i '/usr/lib/libgdk-x11-2.0.so.0' is the same file

@dandv
Copy link

dandv commented Jan 15, 2019

Any AppImages based on Ubuntu 18?

@probonopd
Copy link

probonopd commented Jan 15, 2019

It is recommended to build for the oldest still-supported distribution release, which currently is 14.04. https://docs.appimage.org/introduction/concepts.html#build-on-old-systems-run-on-newer-systems

@saiarcot895
Copy link
Owner

saiarcot895 commented Jan 15, 2019

Currently, I can build for only Ubuntu 16.04 and newer due to compiler restrictions. However, I have created new AppImages for Chromium Beta and Chromium Dev. The filename indicates that GLIBC 2.16 or newer is needed, which implies that these can run on Ubuntu 14.04.

Note that I haven't tested these at all.

@probonopd
Copy link

Hi @saiarcot895 thanks for the AppImages. Are you intending to build them on an ongoing basis? If so, are there permalinks which redirect to the latest releases? Thank you very much.

@saiarcot895
Copy link
Owner

I'm considering it, since it's fairly easy to make the AppImage for Chromium, but don't have anything concrete as of right now. I'll make an update here if I do.

Here's the yaml file I used to make the AppImage, if anyone else wants to make it themselves (change dev to beta to use the beta PPA):

app: Chromium-dev
binpatch: true
lowerapp: chromium-browser

ingredients:
  dist: xenial
  sources: 
    - deb http://archive.ubuntu.com/ubuntu/ xenial main universe
  ppas:
    - saiarcot895/chromium-dev
  package: chromium-browser

@AngryPenguinPL
Copy link
Author

Hi.
Tried this new appimage (dev and beta) but on both I see error. Chromium launch for few seconds and then crashing with this log:

(chromium-browser:6744): Gtk-WARNING **: 20:32:01.208: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:6744): Gtk-WARNING **: 20:32:01.208: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:6744): Gtk-WARNING **: 20:32:01.208: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
[6781:6781:0119/203205.474028:ERROR:sandbox_linux.cc(364)] InitializeSandbox() called with multiple threads in process gpu-process.
[6744:6774:0119/203209.064658:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/x/.pki/nssdb): /lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure
[6744:6774:0119/203209.064774:ERROR:nss_util.cc(154)] Error initializing NSS without a persistent database: NSS error code: -5925
[6744:6774:0119/203209.064799:FATAL:nss_util.cc(156)] nss_error=-5925, os_error=0
#0 0x562c078fe6af <unknown>
#1 0x562c078556fe <unknown>
#2 0x562c0817463d <unknown>
#3 0x562c07f2ee21 <unknown>
#4 0x562c07f30ef5 <unknown>
#5 0x562c07f2bf09 <unknown>
#6 0x562c07f35e79 <unknown>
#7 0x562c07f364c5 <unknown>
#8 0x562c07f362c1 <unknown>
#9 0x562c07f36397 <unknown>
#10 0x562c078cb9a3 <unknown>
#11 0x562c078d27f9 <unknown>
#12 0x562c0783fdf4 <unknown>
#13 0x562c078c0080 <unknown>
#14 0x562c078bfb4a <unknown>
#15 0x562c0790b0f7 <unknown>
#16 0x562c078b7871 <unknown>
#17 0x562c078b708b <unknown>
#18 0x562c078b6e24 <unknown>
#19 0x562c079143b5 <unknown>
#20 0x7f852f5ba0b2 start_thread
#21 0x7f852c2c977f __GI___clone

Received signal 6
#0 0x562c078fe6af <unknown>
#1 0x562c078fe201 <unknown>
#2 0x7f852f5c46e0 <unknown>
#3 0x7f852c1f5197 __GI_raise
#4 0x7f852c1d7535 __GI_abort
#5 0x562c078fcf65 <unknown>
#6 0x562c078559d6 <unknown>
#7 0x562c0817463d <unknown>
#8 0x562c07f2ee21 <unknown>
#9 0x562c07f30ef5 <unknown>
#10 0x562c07f2bf09 <unknown>
#11 0x562c07f35e79 <unknown>
#12 0x562c07f364c5 <unknown>
#13 0x562c07f362c1 <unknown>
#14 0x562c07f36397 <unknown>
#15 0x562c078cb9a3 <unknown>
#16 0x562c078d27f9 <unknown>
#17 0x562c0783fdf4 <unknown>
#18 0x562c078c0080 <unknown>
#19 0x562c078bfb4a <unknown>
#20 0x562c0790b0f7 <unknown>
#21 0x562c078b7871 <unknown>
#22 0x562c078b708b <unknown>
#23 0x562c078b6e24 <unknown>
#24 0x562c079143b5 <unknown>
#25 0x7f852f5ba0b2 start_thread
#26 0x7f852c2c977f __GI___clone
  r8: 0000000000000000  r9: 00007f84db7fbf10 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f852c52e900 r13: 00007f84db7fcbe0 r14: 0000000000000051 r15: 00007f84db7fcbd8
  di: 0000000000000002  si: 00007f84db7fbf10  bp: 00007f84db7fc160  bx: 00007f852c38f840
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f852c1f5197  sp: 00007f84db7fbf10
  ip: 00007f852c1f5197 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[x@openmandriva-cooker ~]$ Received signal 7 BUS_ADRERR 557c09766a60
Received signal 7 BUS_ADRERR 557c09766a60
Received signal 7 BUS_ADRERR 557c09766a60
Received signal 7 BUS_ADRERR 557c09766a60

Tested on OpenMandriva Cooker.
BTW. I can download build from your PPA - .deb package, unpack it and launch. Then Chromium launch fine but vaapi not working due to different versions of libva - at least a week or two weeks ago. It working sometime ago when OpenMandriva Cooker use older libva version.

Now in OpenMandriva Cooker:

[x@openmandriva-cooker ~]$ vainfo
libva info: VA-API version 1.3.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_3
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.3 (libva 2.3.0)
vainfo: Driver version: Mesa Gallium driver 18.3.1 for AMD REDWOOD (DRM 2.50.0 / 4.20.3-desktop-2omv4000, LLVM 7.0.1)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
 

@saiarcot895
Copy link
Owner

@probonopd libnss3 appears to be in the excludedeblist file, is this expected?

@probonopd
Copy link

Could be related to knapsu/plex-media-player-appimage#19?

@saiarcot895
Copy link
Owner

Not the libva issue, but the libnss issue that caused chromium to crash.

[6744:6774:0119/203209.064658:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/x/.pki/nssdb): /lib64/libsoftokn3.so: undefined symbol: PR_GetEnvSecure
[6744:6774:0119/203209.064774:ERROR:nss_util.cc(154)] Error initializing NSS without a persistent database: NSS error code: -5925
[6744:6774:0119/203209.064799:FATAL:nss_util.cc(156)] nss_error=-5925, os_error=0

@saiarcot895
Copy link
Owner

Never mind, PR_GetEnvSecure is defined in libnspr4.so on my system and comes from the libnspr4 package, which looks like is getting packaged, so I'm not entirely sure why that error is occurring.

@AngryPenguinPL
Copy link
Author

BTW. about build from ppa. Just downloaded build 73.0.3664.3 for ubuntu 18.10 and unpack .deb and launch it. This:

(chromium-browser:10404): Gtk-WARNING **: 22:54:31.037: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:10404): Gtk-WARNING **: 22:54:31.037: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(chromium-browser:10404): Gtk-WARNING **: 22:54:31.037: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
[10434:10434:0119/225432.338664:ERROR:vaapi_wrapper.cc(354)] This build of Chromium requires VA-API version 1.2, system version: 1.3
[10434:10434:0119/225432.627974:ERROR:sandbox_linux.cc(364)] InitializeSandbox() called with multiple threads in process gpu-process.
[10404:10404:0119/225541.718201:ERROR:desktop_drag_drop_client_aurax11.cc(421)] XConvertSelection failed for source-advertised target 

This part:
ERROR:vaapi_wrapper.cc(354)] This build of Chromium requires VA-API version 1.2, system version: 1.3

@snehesht
Copy link

snehesht commented Sep 16, 2019

Copying libnspr4.so from system lib should fix the NSS issue.

The following recipe works on Ubuntu 16.04.

app: Chromium-Beta
binpatch: true
lowerapp: chromium-browser

ingredients:
  dist: xenial
  sources:
    - deb http://archive.ubuntu.com/ubuntu/ xenial main universe
  ppas:
    - saiarcot895/chromium-beta
  package: chromium-browser

script:
  - cp /usr/lib/x86_64-linux-gnu/libnspr4.so usr/lib/x86_64-linux-gnu/

@probonopd
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants