Quirky Xerus 8.1.4 for Raspberry Pi2 and 3

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#95 Post by dancytron »

That seems to be the normal "make Chromium run as root" problem.

Try

Code: Select all

/usr/bin/chromium-browser  --no-sandbox
or

Code: Select all

/usr/bin/chromium-browser --user-data-dir=/root/chrome/user --disk-cache-dir=/root/chrome/cache  --no-sandbox
You can put that in a script or edit the chromium wrapper script for convenience if it works.

PM Mike Walsh if that doesn't work, he's the Chrome guy.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#96 Post by don570 »

BarryK wrote:I took a look at 'raspi-config' in Raspbian. It is a text-mode utility to set various things. A bit like QuickSetup in Quirky, kind of.
The feature I like best about raspi-config --->
it allows user to set up ssh if desired

__________________________________

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#97 Post by eowens2 »

Hi dancytron,

Thank you for your response.

I tried

Code: Select all

/usr/bin/chromium-browser  --no-sandbox
and the response was

Code: Select all

# /usr/bin/chromium-browser --no-sandbox
[2624:2624:1004/180406:ERROR:browser_main_loop.cc(231)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Segmentation fault
# [2805:2805:1004/180417:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process. 
and I tried

Code: Select all

/usr/bin/chromium-browser --user-data-dir=/root/chrome/user --disk-cache-dir=/root/chrome/cache  --no-sandbox
with the response

Code: Select all

# /usr/bin/chromium-browser --user-data-dir=/root/chrome/user --disk-cache-dir=/root/chrome/cache  --no-sandbox
[5623:5623:1004/180802:ERROR:browser_main_loop.cc(231)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Segmentation fault
# [5761:5761:1004/180811:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process. 
I will do as you suggest and send a PM to Mike Walsh. Thanks again.


User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#99 Post by don570 »

I was able to compile the latest
imagemagick 7.0.3

It's a big package. It could be reduced I'm sure if I knew more about the app.

File: imagemagick-v7-7.0.3.pet
Size: 22.39 MB
https://www.datafilehost.com/d/c0033361


______________________________________

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#100 Post by eowens2 »

Hi dancytron,

Thank you for those links on Chromium browser crashing, very interesting and informative.

For those who have not read the links, the problem seems to affect the armhf version of Chromium rather than any specific device. The problem has been described on Raspberry Pi 2 and 3, also on the odroid XU3. It has been described with Ubuntu Mate and Arch Linux Arm (not sure about Raspbian).

Apparently Chromium browser was stable through version 48, and the seg fault problem began appearing with version 49. The chromium-browser version in Quirky Xerus 8.0.25 is 52.0.2743.116.

I did a PM to Mike Walsh about the problem, including the error messages. He said that Chromium usually contains cutting-edge work and is compiled against the latest glibc. Google then takes this source code and then alters it as Chrome and re-compiles it against an older glibc to give a new ‘stable’ release compatible with as much hardware as possible. His thoughts were that the problems I encountered were due to conflicts between the ARM porting, the kernel used and Chromium’s source code. I sure wish Chrome were available in the repository.

Interesting…Raspberry Pi just released a new operating system called ‘PIXEL’, and the default browser is chromium-browser 51.0.2704.91. In my limited experience with it, the browser seems to boot without problem and take you where you want to go. But thus far it will not allow me to sign in to my gmail account (“Uh-oh! Service unavailable try again later

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#101 Post by don570 »

Testing version 8.0.25

The sound is much better!!

Audio setup procedure:

Retrovol needed the sliders moved to left hand
side to make active, but sound volume was correct and persisted between boots.

Retrovol didn't need the sliders adjusted so there was no crash. :D

_________________________________________________________


There appears to be a new bug introduced in this version.
leafpad version 0.8.18 appears to have a bug with some arm kernels
when saving a bash script to disk. It produces garbage characters
making the script unusable. sometimes the files are "application/octet-stream"

Geany doesn't have this problem fortunately.

Fatdogarm version .0.8.17 works OK so replacing may be the solution.

________________________________________________
Attachments
leafpad-v7-0.8.17.pet
fatdog arm version of leafpad
(96.38 KiB) Downloaded 364 times

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#102 Post by BarryK »

I have bypassed the problem of Retrovol showing bogus sliders in the mixer (and crashing), by using pnmixer and aumix:

http://barryk.org/news/?viewDetailed=00431

I got xine working on the Pi2, but it is very unsatisfactory. Weird error messages, videos don't play, etc.
http://barryk.org/news/?viewDetailed=00432

...also in above link, I reported that ethernet reconnection at bootup is now fixed.

Anyway, the video player. I know that you guys have been trying various video players. Which one do you reckon would be the best replacement for xine?

I guess the choices are VLC, mplayer, xfmedia. Anything else?

The replacement should be something that doesn't have too many dependencies.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#103 Post by BarryK »

Testing on the Pi2, Shutdown -> Exit to prompt just produces a black screen, and the keyboard no longer responds.

I don't know why, so I have implemented a workaround.

For the Pi only, "Exit to prompt" is replaced with "Reboot to commandline". This works.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#104 Post by BarryK »

don570 wrote:There appears to be a new bug introduced in this version.
leafpad version 0.8.18 appears to have a bug with some arm kernels
when saving a bash script to disk. It produces garbage characters
making the script unusable. sometimes the files are "application/octet-stream"

Geany doesn't have this problem fortunately.

Fatdogarm version .0.8.17 works OK so replacing may be the solution.

________________________________________________
Thanks for that info, I'll check it out.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#105 Post by BarryK »

BarryK wrote:
don570 wrote:There appears to be a new bug introduced in this version.
leafpad version 0.8.18 appears to have a bug with some arm kernels
when saving a bash script to disk. It produces garbage characters
making the script unusable. sometimes the files are "application/octet-stream"

Geany doesn't have this problem fortunately.

Fatdogarm version .0.8.17 works OK so replacing may be the solution.

________________________________________________
Thanks for that info, I'll check it out.
I looked at the leafpad website, 0.8.17 is the latest version. I wonder where 0.8.18 comes from?

http://tarot.freeshell.org/leafpad/
[url]https://bkhome.org/news/[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#106 Post by 01micko »

BarryK wrote:
I looked at the leafpad website, 0.8.17 is the latest version. I wonder where 0.8.18 comes from?
http://savannah.nongnu.org/download/leafpad/

Latest is 0.8.18.1
Puppy Linux Blog - contact me for access

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#107 Post by BarryK »

BarryK wrote:Anyway, the video player. I know that you guys have been trying various video players. Which one do you reckon would be the best replacement for xine?

I guess the choices are VLC, mplayer, xfmedia. Anything else?

The replacement should be something that doesn't have too many dependencies.
I am compiling VLC, with support for the GPU in the Pi:

http://barryk.org/news/?viewDetailed=00433

I also posted links to light-weight GUIs for VLC.

Here is another GUI:
https://github.com/rhaberkorn/gtk-vlc-player
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#108 Post by BarryK »

don570 wrote:I was able to get omxplayer to work by adding a lot of libraries.
https://github.com/huceke/omxplayer
http://elinux.org/RPiconfig#Audio
https://www.raspberrypi.org/documentati ... fig-txt.md
_____________________________________

http://www.mydrive.ch

porteus@don570
password: porteus

_______________________________
Did you compile that omxplayer-v7-0.3.7.pet, or was it a ready-made binary from somewhere?

I have compiled VLC, without Qt. I did everything recommended for compiling on the Pi2, but when I run it like this:

cvlc --vout omxil_vout big_buck_bunny.mp4

I just get an error message;

"core decoder error: failed to create video output"

However, "sdl" and "x11" work.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#109 Post by BarryK »

don570 wrote:if retrovol is launched from the start menu it creates a speaker icon in the tray.
The icon doesn't disappear when retrovol is quit, so there will be multiple
speaker icons . (see image)

When retrovol is launched from the tray this doesn't occur.
I just re-read this post, I had misunderstood it before.

Yes, you are right, that does happen.

Anyway, now I am using 'pnmixer' for the tray and 'aumix' mixer, two separate apps, so it avoids that problem.
[url]https://bkhome.org/news/[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#110 Post by don570 »

Remember to compile mhwaveedit for the new audio mixer

Code: Select all

./configure --with-default-mixerapp=aumixer --prefix=/usr

____________________________________________________
Did you compile that omxplayer-v7-0.3.7.pet, or was it a ready-made binary from somewhere?
I stole the whole thing from a media server OS that is available at the
berryboot site. Then I made a few links so that there wouldn't be complaints
when launched at the terminal.

There is a huge number of dependencies so it won't be easy to compile.

_______________________________________
Last edited by don570 on Tue 11 Oct 2016, 23:41, edited 2 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#111 Post by don570 »

I compiled latest nano 2.7 to edit text in terminal. It selects text with arrow keys.
Ctrl-K Ctrl- U will copy text to clipboard buffer. Ctrl - U will paste text.

_________________________________________________________
Attachments
nano-v7-2.7.0.pet
nano text editor
(81.79 KiB) Downloaded 172 times
Last edited by don570 on Wed 12 Oct 2016, 23:37, edited 1 time in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#112 Post by BarryK »

BarryK wrote:
don570 wrote:I was able to get omxplayer to work by adding a lot of libraries.
https://github.com/huceke/omxplayer
http://elinux.org/RPiconfig#Audio
https://www.raspberrypi.org/documentati ... fig-txt.md
_____________________________________

http://www.mydrive.ch

porteus@don570
password: porteus

_______________________________
Did you compile that omxplayer-v7-0.3.7.pet, or was it a ready-made binary from somewhere?

I have compiled VLC, without Qt. I did everything recommended for compiling on the Pi2, but when I run it like this:

cvlc --vout omxil_vout big_buck_bunny.mp4

I just get an error message;

"core decoder error: failed to create video output"

However, "sdl" and "x11" work.
Yay, vcl now works with the 'omxil_vout' option.

It was simple, vlc could not find the libraries. I added "/opt/vc/lib" into /etc/ld.so.conf, then ran "ldconfig".
For good measure, I also added "/opt/vc/bin" to PATH variable.

Right now I am compiling MPV. ...hey, that was quick, finished. It downloaded latest ffmpeg and compiled the libs statically only, so end up with 'mpv' as one big executable -- 12MB.

And yep, it works.
[url]https://bkhome.org/news/[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#113 Post by step »

I am impressed at the speed of 0.8.25 on my rPi2! Great job!
Is wifi supposed to work? I tested two different USB micro adapters in two different wireless networks, with all three connection managers. In all cases the connection managers report that the DHCP client can't connect to the network, this is with WPA security. I know the wifi APs are set for WPA2 security. Is that the problem?

The micro adapters are the Edimax and TP-link 8188eu, which are commonly found on rPis. SID scanning works fine for both adapters and all connection managers.

Then I connected on eth0 and that worked fine. seamonkey as spot worked fine. Youtube didn't show any video placeholders, just text. And while I was browsing another site Seamonkey just crashed.

Like I said I'm impressed with this piece of work. Thank you very much.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#114 Post by don570 »

Is wifi supposed to work?
I clicked on tray icon and followed instructions.
My USB adaptor driver showed up in list.

______________________________________
Last edited by don570 on Wed 12 Oct 2016, 23:55, edited 1 time in total.

Post Reply