EasyOS version 2.3.2, June 22, 2020

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: kernel config

#21 Post by BarryK »

L18L wrote:Formerly my computer was running with video driver modesetting only.

drm can be enabled now but kernel needs to be configured for EDID.

Kernel configuration contains:

Code: Select all

#
# Direct Rendering Manager
#
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
Please set CONFIG_DRM_LOAD_EDID_FIRMWARE (m or y?)

More about my findings here: http://www.murga-linux.com/puppy/viewto ... 217#944217

Thank you
Thanks, I will remember that for next time compile the kernel.
[url]https://bkhome.org/news/[/url]

stemsee

#22 Post by stemsee »

Excellent introduction 'How Easy Works'. Very well presented. Very palatable. Very interesting.

Dry Falls
Posts: 616
Joined: Tue 16 Dec 2014, 23:37
Location: Upper Columbia

Great!

#23 Post by Dry Falls »

Very nice! I think this is going to be a keeper. My box isn't compatible with syslinux, but the following grub.cfg on sb2 booted right up. Posting from it now...

Code: Select all

insmod png
background_image /menu.png
set timeout=10
menuentry "Easy-Linux" {
    linux /vmlinuz rw
    initrd /initrd.q
}

menuentry "	---" { true; }

menuentry "Firmware configuration" {
    fwsetup
}
menuentry "Shutdown" {
    halt
}
menuentry "Reboot" {
    reboot
}
just in case others have grub2 installed.

thanks,
df

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#24 Post by slavvo67 »

Hi BarryK:

The stop-container seamonkey did nothing (maybe wasn't running).
error can't unmount: /mnt/sdf2/containers/seamonkey/container: Invalid Argument

can't unmount /mnt/sdf2/containder/seamonkey/.ro0

The ec-chroot seamonkey did not work.

chroot: can't execute '/ec-run': no such file or directory.

BTW - The screenshot went to mnt/sdf2/home/media/images ... Pretty deep sub-directory. Found it but not very user friendly going that deep... in my opinion, of course. Couldn't attach the screenshot, either. Too big to attach on this board...

Anyway, thanks for all...

slavvo67

p.s. - Did you scrap the old firewall for security reasons or just a change of pace? - thanks...

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

#25 Post by BarryK »

[url]https://bkhome.org/news/[/url]

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#26 Post by linuxcbon »

Easy Linux 0.2

- bootup is much too slow and long.
Snapshot at bootup is not necessary ? and much too slow.

- vlc doesnt play videos (I prefer xine)

Code: Select all

[000000000063b2f8] pulse audio output error: PulseAudio server connection failure: Connection refused
VLC could not decode the format "h264"
- aumix is not practical and doesn't work ok for my soundcard.

- # defaultchat

Code: Select all

(gst-plugin-scanner:24758): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': libnuma.so.1: cannot open shared object file: No such file or directory
- I dont have any cd or dvd player and run
# defaultcdplayer
takes forever to load and when closing it

Code: Select all

sh: line 0: echo: write error: Broken pipe
- I download firefox official binary
When I run it

Code: Select all

(firefox:5643): Gtk-WARNING **: Error loading theme icon 'dialog-warning' for stock: Icon 'dialog-warning' not present in theme ubuntu-mono-dark
(firefox:5960): GLib-GIO-WARNING **: Failed to execute child process "update-mime-database" (No such file or directory)
- some empty folders, what are they for ?
/usr/etc/
/usr/games/

- /var as symlink not a good idea. I prefer it a normal directory.

- Still waiting for the barebone version.

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

#27 Post by BarryK »

Philh wrote:Galculator needs libquadmath.
Thanks for reporting that, fixed. Same bug is in Quirky 8.1.6.
[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:

Re: kernel config

#28 Post by BarryK »

L18L wrote:Formerly my computer was running with video driver modesetting only.

drm can be enabled now but kernel needs to be configured for EDID.

Kernel configuration contains:

Code: Select all

#
# Direct Rendering Manager
#
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
Please set CONFIG_DRM_LOAD_EDID_FIRMWARE (m or y?)

More about my findings here: http://www.murga-linux.com/puppy/viewto ... 217#944217

Thank you
Yesterday I compiled the 4.10.4 kernel, with the express purpose of enabling that option. However, from the description, is seems that it doesn't really do anything, only provides a fallback if special firmware is provided, and a kernel boot commandline option provided.

Also, it seems to only be required if the monitor is "broken" and the kernel is unable to read its edid.

Have I understood this correctly?
[url]https://bkhome.org/news/[/url]

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

Easy Linux 0.2 pre-alpha

#29 Post by ETP »

Another factor on the topic of edid is this:

/usr/sbin/get-edid
libx86.so.1 => not found

A complete list of missing system libs is attached.
(Please ignore Thunderbird which I installed manually.)

Pets currently installed:
  • GetLatest64bitChromeVersionWoofQ-MK1|Get Latest Chrome Version
    google-chrome-stable_current_amd64|Access the Internet
    cursor_themes-1-1|themes for mouse cursor
    ListDD-1.1|List dynamic dependencies
    PupControl-3.1.1|Control panel
    PupSnap-2.5.1_Scrot-0.8_64Bit|PupSnap screen capture
    Pup-SysInfo-2.6.6|System information utility
    UrxvtControl-1.3|Urxvt configuration
    uextract-3.28|Ultimate Extractor
    packit-1.15|Archiving/Compressing GUI
    pnmixer_0.6.1-1|Simple mixer application for system tray
    libreoffice-style-elementary_5.1.2|office productivity suite -- Elementary symbol style
    libguess1_1.2-1.1|high-speed character set detection library
    librubberband2v5_1.8.1|audio time-stretching and pitch-shifting library
    libsdl2-2.0-0_2.0.4+dfsg1|Simple DirectMedia Layer
    libsndio6.1_1.1.0-2|Small audio and MIDI framework from OpenBSD runtime libraries
    mpv_0.14.0|video player based on MPlayer/mplayer2
    libnuma1_2.0.11|Libraries for controlling NUMA policy
Attachments
checkdeps_system.txt.gz
Please remove false .gz
(4.12 KiB) Downloaded 795 times
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

devx loading problems

#30 Post by scsijon »

tried to load it via the container instructions/scripts but it didn't. I followed what I thought were the instruction and checked multiple times.

Sorry but do you have a walkthrough of how and where as i'm use to just installing, or should I just unpack, dir2pet, and install it?

OH it took nearly forever to get loaded on a 64gig stick (all I had at the time free) but it did eventually install and convert the q.sfs across, but it's still slow starting. I think i'd rather just be able to install it in quirky format for a permanent set. On the other hand at least it loaded on the dell boxes that won't handle the normal .sfs's.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: kernel config

#31 Post by L18L »

BarryK wrote:
L18L wrote:Formerly my computer was running with video driver modesetting only.

drm can be enabled now but kernel needs to be configured for EDID.

Kernel configuration contains:

Code: Select all

#
# Direct Rendering Manager
#
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
Please set CONFIG_DRM_LOAD_EDID_FIRMWARE (m or y?)

More about my findings here: http://www.murga-linux.com/puppy/viewto ... 217#944217

Thank you
Yesterday I compiled the 4.10.4 kernel, with the express purpose of enabling that option. However, from the description, is seems that it doesn't really do anything, only provides a fallback if special firmware is provided, and a kernel boot commandline option provided.

Also, it seems to only be required if the monitor is "broken" and the kernel is unable to read its edid.

Have I understood this correctly?
As far as I know there is no special firmware
- see image
-

Code: Select all

# lsmod |  grep drm
drm_kms_helper         92485  1 gma500_gfx
syscopyarea             3262  1 drm_kms_helper
sysfillrect             3690  1 drm_kms_helper
sysimgblt               2239  1 drm_kms_helper
fb_sys_fops             1442  1 drm_kms_helper
drm                   257144  4 drm_kms_helper,gma500_gfx
CONFIG_DRM_LOAD_EDID_FIRMWARE enables use of kernel command line option e.g.

Code: Select all

  drm_kms_helper.edid_firmware=edid/1920x1080.bin
1920x1080 is one of the (very few :cry: ) built-in EDIDs.
See Forcing modes and EDID at
https://wiki.archlinux.org/index.php/ke ... de_setting (again?)

The web is full of bad notes about my Intel poulsbo graphics.
But I am happy having found a practical solution for me this is adding the boot option drm_kms_helper.edid_firmware=edid/1920x1080.bin.

Disadvantage is that the resolution cannot be changed after booted.
Using the pre-defined built-in EDIDs in the boot menu could be a fallback choice as last resort in case of unsolved "black screen" problem.

What I do like: this is no special Intel or poulsbo solution......

Thanks for taking the time
Attachments
drm.png
(14.71 KiB) Downloaded 2697 times

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#32 Post by Sylvander »

Posting from "Easy Linux 0.2->seamonkey".
Followed the instructions offered.
Quite routine.
"Just works" at first attempt. :D

Not yet customized.
Desktop appearance nicer than usual BK offerings.
default menus rather basic in appearance.
All seems very efficient and fast.

Running on:
Desktop PC.
Mobo = Asrock H61M-S
8GB RAM
CPU = Pentium 1600MHz

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#33 Post by rufwoof »

Downloaded, dd'd, booted ... failed (likely because a pre-used USB). Booted my normal desktop and used gparted to erase all partitions (during that process it highlighted that a GPT error existed and it prompted to fix that - which I accepted). Re dd'd the image ... and booted ... Pressed F12 (BIOS), selected the Toshiba Transmemory USB stick (16GB) and started fine - reasonably quickly (taking around a minute or so - didn't really time it as I went off to put the kettle on).

Code: Select all

root@debian:/# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             AuthenticAMD
CPU family:            16
Model:                 2
Model name:            AMD Phenom(tm) 9150e Quad-Core Processor
Stepping:              3
CPU MHz:               900.000
CPU max MHz:           1800.0000
CPU min MHz:           900.0000
BogoMIPS:              3598.79
Virtualization:        AMD-V
L1d cache:             64K
L1i cache:             64K
L2 cache:              512K
L3 cache:              2048K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid eagerfpu pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs hw_pstate vmmcall npt lbrv svm_lock
root@debian:/# 
Image
(clickable thumbnail)

Grabbed a full screen snapshot, opened browser and posting this (far as I've got so far). A little (acceptably so) slow to load the browser, usb light flashing (past experience of that usb stick is it is slow anyway).

Was pleasantly surprised, as my hardware normally requires a kernel nomodeset cheat code being required otherwise tends to black screen on first time bootup's of new puppy versions (nvidia card and 32 inch TV as monitor).

Wow! Impressed. Need to re-run through the 'easy' guide again as it was a bit glazing (technical detail), but a nicely leveled amount of detail. BTW the "About root, spot and fido" link near the bottom is dead.

EDIT/UPDATE. After having set recompress using gzip instead of xz ... after a reboot the browser loaded a lot quicker (as indicated in the guide/article).

galculator fails to launch

# galculator
galculator: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#34 Post by rufwoof »

Pre-alpha !!! Understatement of the year. More like a release candidate :) It's running really well.

I installed mpv along with its dependencies and that's working fine. Changed that to be the default media player instead of vlc.

(Tip : in your home folder create a .mpv folder and in that .mpv folder create a input.conf file and add

Code: Select all

# flip (mirror)
f vf add mirror
ctrl+f vf del mirror
to that file. Then during a movie that is mirrored you can press f to flip the display (ctrl-f to delete that filter). Also once you change default media player to mpv from vlc (menu, setup, default application chooser), then right click the play desktop icon, select edit item and add

Code: Select all

--profile=pseudo-gui --
as the additional arguments).

Made a few snapshots and they're working great as well.

Wouldn't adjust the resolution for me via the main system. Manually editing xorg.conf worked ok for me however (I increased it from 1024x768 to 1280x768).

Question : How do you make backup's and potentially restore copies of the USB (is it ok to just dd image copy the entire thing and if so would it adjust if you copied it to a larger sized USB to account for the extra space) ?

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#35 Post by rufwoof »

I've downloaded the devx, but I can't get it to load

Filesystem, easy container management, sh0 contains

Code: Select all

#Information for setting up and running the container
#the "sh[0-9]" names are special, does not run an app, just opens a terminal in the container.

#Connect to Xorg by abstract socket or pipe. Former not work if Xorg started with '-nolisten local'. Piped socket will still work if '-nolisten tcp'
EC_XORG_SOCKET='abstract'

#For security, unshare these namespaces:
EC_NS_UNSHARE_MOUNT='false'
EC_NS_UNSHARE_UTS='true'
EC_NS_UNSHARE_IPC='false'
EC_NS_UNSHARE_NETWORK='false'
EC_NS_UNSHARE_PID='false'
EC_NS_UNSHARE_USER='true'

#a good use for the "sh[0-9]" container is to compile source packages.
#for that download the appropriate "devx.sfs" file to match the current version of Easy.
#for example, put it into repository/easy-0.1.6
#then create an entry here, like this, with correct name of the devx sfs file:
#EC_LAYER_RO1='devx.sfs'

#Clear environment variables, except some such as TERM and DISPLAY:
EC_UNSHARE_ENV_VARS='false'
EC_LAYER_RO1=devx-0.2-xerus64.sfs
However after a reboot, the likes of cc command aren't available.

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#36 Post by scsijon »

same here rutwolf (bottom of last page), I even tried putting it in different spots in case it had to be somewhere specific. Only spot I didn't put it was the first partition as Easy won't allow resizing of that partition to put it there.
We will have to await barry's response as i'm sure it's something simple.

EDIT1 Quick and late idea, wonder if we need to rename it as devx.sfs rather than the other way, or change the EC_LAYER_RO? to a higher number in case that one is already in use? It is ~pre-alpha?

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#37 Post by rufwoof »

Rox doesn't seem to support disabling the pinboard either. Or if you remove all desktop icons (I like a clean desktop, with the programs I use more often in the tray) ... and then restartX - the desktop icons all reappear again :(

I've temporary set a startup script to copy in a empty PuppyPin, but that's a crude workaround as if you hotplug in another USB its icon overlaps the others.
Attachments
capture31889.png
(12.1 KiB) Downloaded 2470 times

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

#38 Post by BarryK »

rufwoof wrote:I've downloaded the devx, but I can't get it to load

Filesystem, easy container management, sh0 contains

Code: Select all

#Information for setting up and running the container
#the "sh[0-9]" names are special, does not run an app, just opens a terminal in the container.

#Connect to Xorg by abstract socket or pipe. Former not work if Xorg started with '-nolisten local'. Piped socket will still work if '-nolisten tcp'
EC_XORG_SOCKET='abstract'

#For security, unshare these namespaces:
EC_NS_UNSHARE_MOUNT='false'
EC_NS_UNSHARE_UTS='true'
EC_NS_UNSHARE_IPC='false'
EC_NS_UNSHARE_NETWORK='false'
EC_NS_UNSHARE_PID='false'
EC_NS_UNSHARE_USER='true'

#a good use for the "sh[0-9]" container is to compile source packages.
#for that download the appropriate "devx.sfs" file to match the current version of Easy.
#for example, put it into repository/easy-0.1.6
#then create an entry here, like this, with correct name of the devx sfs file:
#EC_LAYER_RO1='devx.sfs'

#Clear environment variables, except some such as TERM and DISPLAY:
EC_UNSHARE_ENV_VARS='false'
EC_LAYER_RO1=devx-0.2-xerus64.sfs
However after a reboot, the likes of cc command aren't available.
Because the sfs files can be shared by all containers, the devx*.sfs has to be in /mnt/wkg/repository/easy-0.2

You can see this by looking at script /usr/local/easy_containers/start-container.

...at least, that is how it is supposed to work!
[url]https://bkhome.org/news/[/url]

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#39 Post by scsijon »

That's what i thought to start with Barry, before I tried others. But on reboot it's not loading the devx.sfs (under any of it's names, including altering the sh0 container to devx). The only way I could get it there and available was to open the devx in one window, a second window stepped up to / and copy the contents from the devx to the /, close the devx, check it's there and finally it stays there then through a reboot. Which means i'm installing it like a pet rather than loading it like a sfs.

by the way, I found another missing link, but i'm not near those boxes at present so I can't write it in now, will update this when i'm in my workshop next (most likely tomorrow evening).

Philh
Posts: 150
Joined: Wed 17 May 2006, 13:26
Location: England

#40 Post by Philh »

The devx*.sfs goes in the /mnt/wkg/repository/easy-0.2
Then its available by using menu-utility-urvxt in container sh0
which runs "ec-chroot sh0".
I dont know if you can install it not in a container.

Post Reply