NaCl not enabling?

330 views
Skip to first unread message

triune

unread,
Feb 18, 2011, 2:16:51 PM2/18/11
to native-cli...@googlegroups.com
I get the error below when I enable NaCl and view the demo pages >>

WARNING: Native Client is not enabled in Google Chrome. To enable Native Client, type about:flags in the address bar, scroll down to "Native Client," and click the "Enable" link. Then scroll down to the bottom of the page and click the "Restart Now" button. For additional information see running Native Client applications.

I am running Chrome 11.0.x dev channel on Ubuntu (10.04 LTS) and certainly have the flag enabled.

--
.:triune.

Michael Mortensen

unread,
Feb 18, 2011, 3:20:30 PM2/18/11
to native-cli...@googlegroups.com, triune
On Linux there is a known issue -- you need to launch chrome with 
   --no-sandbox

See
for more details.

-Mike

--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.

Cliff L. Biffle

unread,
Feb 18, 2011, 3:30:01 PM2/18/11
to native-cli...@googlegroups.com, Michael Mortensen, triune
On Fri, Feb 18, 2011 at 12:20 PM, Michael Mortensen
<mmort...@google.com> wrote:
> On Linux there is a known issue -- you need to launch chrome with
>    --no-sandbox
> See
>   http://code.google.com/chrome/nativeclient/docs/releasenotes.html
> for more details.

The release notes say that dev-channel contains a fix, but triune is
already on M11 dev... Are the docs wrong?

--
Cliff L. Biffle
NaCl Team, Google, Inc.

Michael Mortensen

unread,
Feb 18, 2011, 3:45:07 PM2/18/11
to triune, native-cli...@googlegroups.com
I was able to run NaCl application from the gallery (nacl-gallery.appspot.com)
with Linux version 11 -- in about:version I see:
   11.0.677.0 (Developer Build 75410)

One other check -- after you press "Enable" on the about:flags page, you *must* hit the
"Relaunch Now" button at the bottom of the about:flags page before it really gets enabled...

Did you relaunch after enabling NativeClient in about:flags?
Thanks
-Mike

Michael Mortensen

unread,
Feb 18, 2011, 4:41:18 PM2/18/11
to triune, native-cli...@googlegroups.com
Sorry -- one more note.  I did not have to use --no-sandbox with chrome 11.x on Linux.
-Mike

Brad Chen

unread,
Feb 18, 2011, 4:52:08 PM2/18/11
to native-cli...@googlegroups.com
We are looking into this issue. In the mean time, you might get better results with Chrome Beta channel. This is the browser that has had the most testing. We are working on making dev, canary and head-of-tree stable, but don't expect them to be as solid as Chrome 10 Beta.

Brad

--

triune

unread,
Feb 18, 2011, 11:00:22 PM2/18/11
to Michael Mortensen, native-cli...@googlegroups.com
Still a no go. http://code.google.com/chrome/nativeclient/docs/examples.html still reports that it is not enabled.

Google Chrome11.0.672.2 (Official Build 75134dev
WebKit 534.20 (trunk@78450)
V83.1.4
User AgentMozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20
Command Line/opt/google/chrome/google-chrome --explicitly-allowed-ports=65535,33333,9090 --no-sandbox --flag-switches-begin --enable-click-to-play --enable-nacl --prerender=disabled --enable-remoting --flag-switches-end
--
.:triune.

David Michael

unread,
Feb 18, 2011, 11:25:19 PM2/18/11
to native-cli...@googlegroups.com, triune, Michael Mortensen
It may just be a mistake in our JavaScript for checking your browser configuration.  Please try going straight to the examples and see if that works:
Thanks!
-Dave

--

Michael Mortensen

unread,
Feb 18, 2011, 11:37:29 PM2/18/11
to David Michael, native-cli...@googlegroups.com, triune
Also, you can directly click on the image on the right or on the run links.
An older version of the index.html page actually disabled the links if the Javascript
code did not detect the NaCl plugin, but currently the pages are accessible even if
the warning is displayed.

If the pages will not load and run, then that would indicate that NaCl is somehow not enabled
in the browser...

Thanks for your patience!
-Mike

triune

unread,
Feb 19, 2011, 4:48:48 PM2/19/11
to Michael Mortensen, David Michael, native-cli...@googlegroups.com
It appears that NaCl is still not enabled... when visiting the following page >> http://nacl-gallery.appspot.com/life/life.html ... I get a Missing Plugin. 

--
.:triune.

Michael Mortensen

unread,
Feb 19, 2011, 4:58:29 PM2/19/11
to triune, David Michael, native-cli...@googlegroups.com
Ok -- sounds like NativeClient is not enabled in your 11.x browser.
Two other questions:
   1) Do you have any other instances of chrome running?  If you have an old version of chrome running, when you launch the new version you will be sharing code with the old version...which will cause problems since NativeClient is so new.
   2) After hitting Enable on "about:flags" did you scroll down and press "Restart" or exit and restart Chrome?

Thanks again for your patience and detailed feedback!
-Mike

triune

unread,
Feb 19, 2011, 6:06:21 PM2/19/11
to Michael Mortensen, David Michael, native-cli...@googlegroups.com
On Sat, Feb 19, 2011 at 16:58, Michael Mortensen <mmort...@google.com> wrote:
Ok -- sounds like NativeClient is not enabled in your 11.x browser.
Two other questions:
   1) Do you have any other instances of chrome running?  If you have an old version of chrome running, when you launch the new version you will be sharing code with the old version...which will cause problems since NativeClient is so new.

I only have the dev channel of chrome installed. I removed Chromium, so, yes. I have also rebooted twice.
 
   2) After hitting Enable on "about:flags" did you scroll down and press "Restart" or exit and restart Chrome?


Yes, of course :)

Running Chrome from the shell with --no-sandbox, I get messages like these whenever I try and open one of the NaCl demo pages >> 

[3027:3027:1471778249:ERROR:renderer_main.cc(285)] Running without renderer sandbox
[3006:3006:1307566799:ERROR:native_library_linux.cc(32)] dlopen failed when trying to open default_plugin: default_plugin: cannot open shared object file: No such file or directory
[3030:3030:1475695524:ERROR:renderer_main.cc(285)] Running without renderer sandbox
[3032:3032:1477145685:ERROR:renderer_main.cc(285)] Running without renderer sandbox



--
.:triune.

David Springer

unread,
Feb 20, 2011, 9:53:57 AM2/20/11
to native-cli...@googlegroups.com, triune, Michael Mortensen, David Michael
On Sat, Feb 19, 2011 at 2:48 PM, triune <tri...@gmail.com> wrote:
It appears that NaCl is still not enabled... when visiting the following page >> http://nacl-gallery.appspot.com/life/life.html ... I get a Missing Plugin. 

It is very possible that dev channel Chrome doesn't work, as that version is largely untested.  Try using beta channel (version 10).

Also, if your are running a version on Linux and installed Chrome rom .rmp packages, there are issues with incompatible libraries.  NaCl is known to run on ubuntu distros.

Matthew Ball

unread,
Feb 20, 2011, 7:58:17 PM2/20/11
to native-cli...@googlegroups.com, David Springer, triune, Michael Mortensen, David Michael
As mentioned in a different thread, it appears that the deb package for Chrome 11.0.672.2 does not include the Native Client plugin.  

See http://code.google.com/p/nativeclient/issues/detail?id=1416

In the meantime, as David Springer suggested, please use the Chrome 10 from the beta channel.

Thanks!
-Matt

siba samal

unread,
Feb 21, 2011, 4:23:43 AM2/21/11
to native-cli...@googlegroups.com, Matthew Ball, David Springer, triune, Michael Mortensen, David Michael
Hi,

Congrats!! NaCl does work in Linux x86 with --no-sandbox option.

Any update on support on ARM platform. I am not able to make .nexe files for ARM.

Thanks in advance!!

Regards,
Siba

triune

unread,
Feb 21, 2011, 10:35:15 AM2/21/11
to siba samal, native-cli...@googlegroups.com, Matthew Ball, David Springer, Michael Mortensen, David Michael
I was still met with difficulty when I reverted to the beta channel. The gallery pages on the NaCl site identified correctly that NacL was enabled, however, none of the demos actually worked.
--
.:triune.

Grzegorz Dąbrowski

unread,
Feb 20, 2011, 4:42:34 AM2/20/11
to native-cli...@googlegroups.com
On Fri, Feb 18, 2011 at 9:45 PM, Michael Mortensen
<mmort...@google.com> wrote:
> I was able to run NaCl application from the gallery
> (nacl-gallery.appspot.com)
> with Linux version 11 -- in about:version I see:
>    11.0.677.0 (Developer Build 75410)

It looks like that the official linux dev release [11.0.672.2
(Official Build 75134) dev] doesn't contain
libppGoogleNaClPluginChrome.so

--
Grzegorz Dąbrowski (kaliber)

Cliff L. Biffle

unread,
Feb 23, 2011, 6:29:43 PM2/23/11
to native-cli...@googlegroups.com, siba samal, Matthew Ball, David Springer, triune, Michael Mortensen, David Michael
On Mon, Feb 21, 2011 at 1:23 AM, siba samal <siba...@gmail.com> wrote:
Any update on support on ARM platform. I am not able to make .nexe files for ARM.

ARM support has not yet launched.  If you'd like to discuss this further, please create a new thread rather than reusing this one.

Matthew Ball

unread,
Mar 2, 2011, 10:17:30 AM3/2/11
to native-cli...@googlegroups.com, David Springer, triune, Michael Mortensen, David Michael
I've confirmed that the deb installer for Chrome 11.0.686.1 now correctly packages the Native Client plugin.  It should now be possible to switch to the latest 11 dev build and use Native Client.

Cheers,
-Matt

triune

unread,
Mar 2, 2011, 11:05:30 AM3/2/11
to Matthew Ball, native-cli...@googlegroups.com, David Springer, Michael Mortensen, David Michael
The key word here being "should". As per the bug report I just submitted, although it is packaged, the NaCl gallery still shows that it is missing >> http://code.google.com/p/nativeclient/issues/detail?id=1487
--
.:triune.

Matthew Ball

unread,
Mar 2, 2011, 11:09:57 AM3/2/11
to triune, native-cli...@googlegroups.com, David Springer, Michael Mortensen, David Michael
Hi Triune,

Try again, but invoke it as google-chrome --no-sandbox

Let me know if this still fails.

Cheers,
-Matt

triune

unread,
Mar 2, 2011, 11:28:19 AM3/2/11
to Matthew Ball, native-cli...@googlegroups.com, David Springer, Michael Mortensen, David Michael
Ahh, the pretty colors! 

Seems I forgot that this flag was still necessary. Most of the NaCl gallery works now (with the exception of the final one >> http://naclports.googlecode.com/svn/trunk/src/gallery/life/life.html 

--
.:triune.

triune

unread,
Mar 2, 2011, 11:33:02 AM3/2/11
to Matthew Ball, native-cli...@googlegroups.com, David Springer, Michael Mortensen, David Michael
It's too bad the Quake demos don't work >> http://nativeclient.googlecode.com/svn/trunk/src/native_client/tests/quake/

But I think I read somewhere that the newer NaCl plugins break all the older apps.
--
.:triune.
Reply all
Reply to author
Forward
0 new messages