Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Is there a browser that works on the Pi?

Sat May 21, 2016 5:09 pm

Since forever I have run my Pi headless. Raspbian Lite is great for this.

Today I try to use a full up Raspbian install on a Pi 3.

Whatever that default browser is should be deleted. Is that Epiphany or Web or whatever they call it? I hate it when the available buttons just say "Web Browser".

The thing crashes every five minutes even if you are only visiting this forum.

Before I waste hours trying them all is there a browser that actually works reliably on the Pi ?
Memory in C++ is a leaky abstraction .

fruitoftheloom
Posts: 20944
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 5:19 pm

Heater wrote:Since forever I have run my Pi headless. Raspbian Lite is great for this.

Today I try to use a full up Raspbian install on a Pi 3.

Whatever that default browser is should be deleted. Is that Epiphany or Web or whatever they call it? I hate it when the available buttons just say "Web Browser".

The thing crashes every five minutes even if you are only visiting this forum.

Before I waste hours trying them all is there a browser that actually works reliably on the Pi ?
Iceweasel (Firefox) from Raspbian Jessie Repository

Chromium Browser manual install: viewtopic.php?f=63&t=121195
Retired disgracefully.....

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 5:27 pm

I would suggest either Chromium which FoTL linked to the instructions to install, or kweb which has many Pi specific features that are useful. Try both out and find what you like.
There are 10 types of people: those who understand binary and those who don't.

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 5:42 pm

Heater wrote:"Web Browser".
The thing crashes every five minutes even if you are only visiting this forum.
Before I waste hours trying them all is there a browser that actually works reliably on the Pi ?
I noticed this crashing problem with the default web browser back when the pi stuff first came out. I'm not sure what the deal is but I just switched to iceweasel and it is generally fine, although I've only used it ssh -X. Since this is obviously a long term problem, I'm not sure why they don't just trash that browser.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 5:46 pm

Iceweasle is out because, well, it's not Firefox. In my experience many versions older than the real thing.

Firefox is out because until they fix a bug I reported to do with internationalized domain names and content security policy it's not usable securely here.

No idea what kweb is.

Let's try Chromium. Back later....
Memory in C++ is a leaky abstraction .

fruitoftheloom
Posts: 20944
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 5:59 pm

Heater wrote:Iceweasle is out because, well, it's not Firefox. In my experience many versions older than the real thing.

Firefox is out because until they fix a bug I reported to do with internationalized domain names and content security policy it's not usable securely here.

No idea what kweb is.

Let's try Chromium. Back later....
Presently Debian IceWeasel uses a rebranded Firefox ESR therefore it is not actually out of date as ESR use a different release schedule numbering scheme:

https://www.mozilla.org/en-US/firefox/organizations/faq

https://packages.debian.org/jessie/iceweasel

Though Debianwill go back to Firefox: https://wiki.debian.org/Firefox


Kweb: viewtopic.php?t=40860
Retired disgracefully.....

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 6:37 pm

kusti8,

OK, here I am, back than thanks to your Chromium installation instructions : viewtopic.php?f=63&t=121195

Amazing, there is YouTube vids playing in the browser on the Pi! Well done.

A few caveats:

You now own my Pi. I had to install a key and deb and tweak my sources list to allow you to own me.

On installing the Chromium extension I had to agree to it: Reading and changing data on YouTube, reading my browser history, and allowing it to communicate with any native programs I have.

All hope of security has just flown out the window !

Putting all that security trivia aside. How do I get sound out of this? My vids are silent. No audio from the Raspi Jack plug, no audio from my HDMI monitors jack plug.

What to do?
Memory in C++ is a leaky abstraction .

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 6:39 pm

Heater wrote:On installing the Chromium extension I had to agree to it: Reading and changing data on YouTube, reading my browser history, and allowing it to communicate with any native programs I have.
The spyware is one of the reasons I was avoiding it. The other is that noscripts is only on firefox/iceweasel.

User avatar
Kratos
Posts: 394
Joined: Sun Apr 12, 2015 12:41 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 6:58 pm

Heater wrote:kusti8,

OK, here I am, back than thanks to your Chromium installation instructions : viewtopic.php?f=63&t=121195

Amazing, there is YouTube vids playing in the browser on the Pi! Well done.

A few caveats:

You now own my Pi. I had to install a key and deb and tweak my sources list to allow you to own me.

On installing the Chromium extension I had to agree to it: Reading and changing data on YouTube, reading my browser history, and allowing it to communicate with any native programs I have.

All hope of security has just flown out the window !

Putting all that security trivia aside. How do I get sound out of this? My vids are silent. No audio from the Raspi Jack plug, no audio from my HDMI monitors jack plug.

What to do?
Just don't install the rpi-youtube thing. For me personally, I have not had any problems playing 720p videos on Chromium without it. Sure, it is a bit jerkier than a $300 laptop or $60 tablet/phone, but I like my Pi.

As far as the audio issue, sorry, I have no idea. I do recall something about omxplayer not being able to output audio through HDMI. Could be wrong though.

Kratos
I have posted mostly with a Pi 2 running either Ubuntu MATE, or Raspbian.

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 6:58 pm

Heater wrote:kusti8,

OK, here I am, back than thanks to your Chromium installation instructions : viewtopic.php?f=63&t=121195

Amazing, there is YouTube vids playing in the browser on the Pi! Well done.

A few caveats:

You now own my Pi. I had to install a key and deb and tweak my sources list to allow you to own me.

On installing the Chromium extension I had to agree to it: Reading and changing data on YouTube, reading my browser history, and allowing it to communicate with any native programs I have.

All hope of security has just flown out the window !

Putting all that security trivia aside. How do I get sound out of this? My vids are silent. No audio from the Raspi Jack plug, no audio from my HDMI monitors jack plug.

What to do?
Thanks!

The chrome web store often exaggerates the permissions that it requires. All of the code is open source on my Github in case you want to review it, it's small and simple (my first experience in JS). All it does is inject a script in to pause the video , send a message to a local script which starts OmxplayerGUI.

As for the sound, that is a OmxplayerGUI issue. When normally running omxplayer, do you get sound out. It defaults to HDMI. Gkreidl should have more information. You can change the settings by opening up OmxplayerGUI in the menu and clicking settings. There you change where audio is outputted. Also note that all audio through the jack is line level.
There are 10 types of people: those who understand binary and those who don't.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 7:23 pm

kusti8,
When normally running omxplayer...
You say that as if everyone runs omxplayer all the time. I have hardly heard of it.

Hitting the "Edit Settings" in OmxplayerGUI Frontend 1.7.0 throws up a web page full of options I have no idea about but carefully scanning them all I see nothing about HDMI or other output.

Grief most of that "GUI" is text boxes into which one can type options. If you know what they are. Why bother? I can do that in nano or vim or whatever.

Is there a config file in /etc I an mess with? I don't immediately see one.
Last edited by Heater on Sat May 21, 2016 7:29 pm, edited 1 time in total.
Memory in C++ is a leaky abstraction .

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 7:27 pm

;)

What does:
tvservice -a
Say?

I haven't looked through the options much and I'll look again.

Try downloading an mp4 and running:
omxplayer test.mp4

You can set the audio with -o hdmi or -o local
There are 10 types of people: those who understand binary and those who don't.

ejolson
Posts: 3730
Joined: Tue Mar 18, 2014 11:47 am

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 7:38 pm

Heater wrote:kusti8,
When normally running omxplayer...
You say that as if everyone runs omxplayer all the time. I have hardly heard of it.
Normally running means the program is not running as a browser plugin. While I can see the confusion, the post refers to the normal way of running a program, not what programs are normal for users to run, what programs are frequently run or even what programs normal users run.
Last edited by ejolson on Sat May 21, 2016 7:41 pm, edited 2 times in total.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 7:39 pm

I have downloaded a sample from http://www.sample-videos.com/ Seems to be a scene from Big Bucks Bunny.

omxplayer Downloads/SampleVideo_720x480_2mb.mp4 -o hdmi

or

omxplayer Downloads/SampleVideo_720x480_2mb.mp4 -o local

Produces no sound out of any orifice.


I do appreciate your effort, and patience, here.
Memory in C++ is a leaky abstraction .

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 7:40 pm

What does tvservice -a
Say?
There are 10 types of people: those who understand binary and those who don't.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 7:48 pm

Code: Select all

pi@raspberrypi3:~ $ tvservice -a 
     PCM supported: Max channels: 2, Max samplerate:  48kHz, Max samplesize 24 bits.
pi@raspberrypi3:~ $ 
Memory in C++ is a leaky abstraction .

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 8:03 pm

Try these instructions. viewtopic.php?p=844299#p844299
There are 10 types of people: those who understand binary and those who don't.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 8:31 pm

You mean like:

Code: Select all

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=4

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
Sadly no go.

Seems to have lowered my screen resolution though.
Memory in C++ is a leaky abstraction .

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:03 pm

Heater wrote:You mean like:

Code: Select all

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=4

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
Sadly no go.
raspiconfig has an option in the advanced section to set if it should send the snd out the hdmi or the audio out plug. The function seems to look like this:

Code: Select all

do_audio() {
  AUDIO_OUT=$(whiptail --menu "Choose the audio output" 20 60 10 \
    "0" "Auto" \
    "1" "Force 3.5mm ('headphone') jack" \
    "2" "Force HDMI" \
    3>&1 1>&2 2>&3)
  if [ $? -eq 0 ]; then
    amixer cset numid=3 "$AUDIO_OUT"
  fi
}
amixer cset numid=3 "$AUDIO_OUT"
set as above should let you test at the prompt.

Of course with the command to google on, I find the raspi-config documentation at https://www.raspberrypi.org/documentati ... -config.md

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:21 pm

stderr,
raspiconfig has an option in the advanced section to set if it should send the snd out the hdmi or the audio out plug.
Yep, I just tried that. raspi-config exited leaving this on the screen:

Code: Select all

$ sudo raspi-config
numid=3,iface=MIXER,name='PCM Playback Route'
  ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
  : values=2
pi@raspberrypi3:~ $
Still no sound out of any orifice.

Of course the command:

amixer cset numid=3 "$AUDIO_OUT"

Means nothing until one has worked out what "$AUDIO_OUT" is.
Memory in C++ is a leaky abstraction .

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:34 pm

Heater wrote:Still no sound out of any orifice.
o_0

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:43 pm

What does tvservice -s
Say?
There are 10 types of people: those who understand binary and those who don't.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:46 pm

kusti8,

It says:

Code: Select all

pi@raspberrypi3:~ $  tvservice -s
state 0x12000a [HDMI CEA (4) RGB lim 16:9], 1280x720 @ 60.00Hz, progressive
pi@raspberrypi3:~ $ 
Memory in C++ is a leaky abstraction .

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

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:52 pm

Try adding
gpu_mem=128
To config.txt
Last edited by kusti8 on Sat May 21, 2016 9:57 pm, edited 1 time in total.
There are 10 types of people: those who understand binary and those who don't.

Heater
Posts: 13701
Joined: Tue Jul 17, 2012 3:02 pm

Re: Is there a browser that works on the Pi?

Sat May 21, 2016 9:57 pm

I presume you mean:

Code: Select all

gpu_mem=128
Give me a minute...
Memory in C++ is a leaky abstraction .

Return to “General discussion”