PorteuX 0.8 has been released

PorteuX - The Next Experience. It's inspired by Slax and Porteus but with heaps of improvements
porteux
Samurai
Samurai
Posts: 175
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.8 has been released

Post#31 by porteux » 23 Nov 2023, 22:49

@beny, the kernel .config is on Github: https://github.com/porteux/porteux/tree/main/000-kernel

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

PorteuX 0.8 has been released

Post#32 by beny » 23 Nov 2023, 22:52

hi porteux, thanks i can rebuild the 6.6.2 with your config..

seed_clapper
Black ninja
Black ninja
Posts: 44
Joined: 17 Oct 2022, 13:22
Distribution: Porteus 5 LXQT

PorteuX 0.8 has been released

Post#33 by seed_clapper » 25 Nov 2023, 14:48

porteux wrote:
23 Nov 2023, 18:49
please paste the content of your /mnt/live/memory/images/
do you mean names of these files?

I tried 0.8 current with old mpv 0.36.0 and result is same - "segmentation fault". But in stable version mpv works fine. Maybe it is just my hardware is not compatible with current version.

This 0.9 alpha with new mpv 0.37.0 works on other ten year old laptop so I played 3m19sec long 1080p HEVC video:
mpv 0.36.0 - 139 frames dropped
mpv 0.37.0 - 787 framed dropped
mpv 0.37.0 with --profile=fast - 369 frames dropped

New mpv automatically disabled something
but dropped frame count is higher than in older mpv

Using --profile=fast and enabling decoding queue reduced dropped frame count to zero
--vd-queue-enable=yes # makes mpv keep decoding video until one of limits is reached
--vd-queue-max-bytes=800MiB # how much ram can be used for storing decoded video data
--vd-queue-max-samples=8000 # just some random high number because default is too low
--vd-queue-max-secs=80 # just some random high number because default is too low

User avatar
SaintAnd
Shogun
Shogun
Posts: 254
Joined: 02 Sep 2018, 13:45
Distribution: Porteus-v4-x64 (LXDE)
Location: Russia, Southern Federal District

PorteuX 0.8 has been released

Post#34 by SaintAnd » 25 Nov 2023, 18:37

Hi all!
Porteux 0.8 LXDE (Same problem in Porteus 5.01)

When you log in, this window appears
Image

There are long-standing problems with Internet connection and logout.
Image
Image

Cheat code:

Code: Select all

title Porteus-LXQT-v5.01-x86_64
find --set-root --ignore-floppies --ignore-cd /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/porteux/porteux-v5.0-x86_64.cfg
kernel /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/boot/syslinux/vmlinuz kmap=us,ru timezone=Europe/Moscow from=/porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64 cfgfile=porteux-v5.0-x86_64.cfg
initrd /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/boot/syslinux/initrd.zst
But everything works well in virtualbox, but it doesn't suit me. Why doesn’t everything work as expected on real hardware?

porteux
Samurai
Samurai
Posts: 175
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.8 has been released

Post#35 by porteux » 25 Nov 2023, 20:07

@seed_clapper, interesting finding this performance regression! Maybe you should report to the mpv guys on Github: https://github.com/mpv-player/mpv/issues/ Now, regarding the segmentation fault, you should try to get the log:

Code: Select all

mpv --log-file=output.txt
Or even better the backtrace (if you can compile):

Code: Select all

$ git clone https://github.com/mpv-player/mpv
$ cd mpv
$ meson setup debug -Dbuildtype=debug -Db_sanitize=address,undefined
$ meson compile -C debug
And then run ./debug/mpv.

@SaintAnd, could try in Always Fresh and if it doesn't work, please paste the content of your /mnt/live/memory/images/ and the output of the command uname -r.

User avatar
SaintAnd
Shogun
Shogun
Posts: 254
Joined: 02 Sep 2018, 13:45
Distribution: Porteus-v4-x64 (LXDE)
Location: Russia, Southern Federal District

PorteuX 0.8 has been released

Post#36 by SaintAnd » 25 Nov 2023, 20:39

porteux,

I'm using the stock iso. That is, the entire assembly is unchanged. I run it via grub4dos. This issue has not been resolved since porteux 0.3

In addition
Another problem is that glib-networking does not work. Even if you install the module

Code: Select all

xdg-open "https://google.com"
Image
Of course it works without http"S"

Code: Select all

xdg-open "http://google.com"
But there are many sites that need to be opened
For example

Code: Select all

xdg-open "https://linux-gaming.ru/portproton/"

porteux
Samurai
Samurai
Posts: 175
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.8 has been released

Post#37 by porteux » 25 Nov 2023, 21:14

@SaintAnd, can you try a boot without absolute no changes, no cheatcode, nothing? I see you're using 'porteux-v5.0-x86_64.cfg' and this file name has never been part of PorteuX, which uses 'porteux.cfg' instead.

If you still can't fix your issues, I would recommend booting directly via USB stick (no grub, no ISO).

You shouldn't have any NetworkManager issues, but you might face some firmware missing depending on your hardware. Is your network card being detected?

Why are you installing glib-networking?

I don't have any issues using xdg-open with any of the addresses you provided. I'm on Xfce 4.12.

User avatar
SaintAnd
Shogun
Shogun
Posts: 254
Joined: 02 Sep 2018, 13:45
Distribution: Porteus-v4-x64 (LXDE)
Location: Russia, Southern Federal District

PorteuX 0.8 has been released

Post#38 by SaintAnd » 25 Nov 2023, 21:28

porteux,
1. I changed the cfg names for my convenience. I did not change the contents of the files.
I use the lxde version as you understand :)

2. I install glib-networking because this error asks me to do this, but nothing happens.
I checked in xfce and indeed there are no problems with xdg-open, apparently the error lies in the lxde version. I can't find the reason for this error.

User avatar
SaintAnd
Shogun
Shogun
Posts: 254
Joined: 02 Sep 2018, 13:45
Distribution: Porteus-v4-x64 (LXDE)
Location: Russia, Southern Federal District

PorteuX 0.8 has been released

Post#39 by SaintAnd » 25 Nov 2023, 22:47

porteux,
1. Regarding the first one. I realized my mistake. When I extracted the iso image via the context menu (extract here), it turned out that the directories did not have rights for “groups” and “others”
It looked like this:

Code: Select all

porteux:
total 32
drwx------ 6 guest users 4096 Oct 15 21:02 ./
drwxr-xr-x 6 guest users 4096 Nov 26 04:43 ../
drwx------ 2 guest users 4096 Nov 16 01:41 base/
-rw-r--r-- 1 guest users 1103 Mar 22  2023 create-iso.sh
drwx------ 2 guest users 4096 Oct 15 21:02 modules/
drwx------ 2 guest users 4096 Oct 15 21:02 optional/
-rw-r--r-- 1 guest users  719 Mar 22  2023 porteux.cfg
drwx------ 2 guest users 4096 Apr 17  2023 rootcopy/
I solved the problem with command:

Code: Select all

chmod -R +rwx ./porteux-v0.8-lxde-0.10.1-stable-x86_64 
2. But regarding the second, it is not clear why glib-networking does not work normally in lxde

porteux
Samurai
Samurai
Posts: 175
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.8 has been released

Post#40 by porteux » 25 Nov 2023, 23:37

SaintAnd wrote:
25 Nov 2023, 22:47
porteux,
1. Regarding the first one. I realized my mistake. When I extracted the iso image via the context menu (extract here), it turned out that the directories did not have rights for “groups” and “others”
This is the default behavior with any ISO image extraction regardless of the distro, right? That's why it's recommended to use the PorteuX installer because it fixes all the permissions.

Anyway, it's not clear which problem you fixed by doing this.
SaintAnd wrote:
25 Nov 2023, 22:47
2. But regarding the second, it is not clear why glib-networking does not work normally in lxde
You shouldn't have to install glib-networking in LXDE. You should try what I said in the previous post:
can you try a boot without absolute no changes, no cheatcode, nothing?

If you still can't fix your issues, I would recommend booting directly via USB stick (no grub, no ISO).

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

PorteuX 0.8 has been released

Post#41 by Ed_P » 26 Nov 2023, 00:37

SaintAnd wrote:
25 Nov 2023, 20:39
I'm using the stock iso. That is, the entire assembly is unchanged. I run it via grub4dos.
Your grub4dos menu doesn't look like the ones I use to boot ISOs.

Code: Select all

title Windows 7 System Repair Disc - 32-bit\n\n\ When prompted press Enter to boot disc.
find --set-root /ISOs/w7repairdisc_32_bit.iso
map /ISOs/w7repairdisc_32_bit.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

title Windows 7 System Repair Disc - 64-bit\n\n\ When prompted press Enter to boot disc.
find --set-root /ISOs/repair_disc_windows_7_64_bit.iso
map /ISOs/repair_disc_windows_7_64_bit.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

title Acronis Recovery Manager\n
find --set-root /ISOs/Acronis.iso
map /ISOs/Acronis.iso (hd32)
map --hook
chainloader (hd32)

title Kon-Boot v1.1 - Windows Password Recovery\n\n Once Windows has booted; create a new administrator account, log off, log on\n to the new administrator account and reset your account's password.\n * May not work with 64-bit systems.
map --mem /ISOs/konFloppy.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)
This looks more like my grub2 menus.
SaintAnd wrote:
25 Nov 2023, 18:37

Code: Select all

title Porteus-LXQT-v5.01-x86_64
find --set-root --ignore-floppies --ignore-cd /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/porteux/porteux-v5.0-x86_64.cfg
kernel /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/boot/syslinux/vmlinuz kmap=us,ru timezone=Europe/Moscow from=/porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64 cfgfile=porteux-v5.0-x86_64.cfg
initrd /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/boot/syslinux/initrd.zst
To which I would suggest trying this version:

Code: Select all

title PorteuX-LXQT-v0.8-x86_64
find --set-root /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/porteux/porteux.cfg
kernel /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/boot/syslinux/vmlinuz kmap=us,ru timezone=Europe/Moscow 
initrd /porteux/porteux-v0.8-lxde-0.10.1-stable-x86_64/boot/syslinux/initrd.zst
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

PorteuX 0.8 has been released

Post#42 by Rava » 26 Nov 2023, 06:29

porteux wrote:
17 Nov 2023, 13:40
3- this keyring thing happens to all (most?) Chromium-based browsers. One solution is to hit OK on all these dialogs and then persisting the contents of ~/.local/share/keyrings/
Some solutions are suggested here:
https://dev.to/rahedmir/how-to-fix-goog ... linux-1dl0
One is to add this to the end of your Exec line in your /usr/share/applications/google-chromium.desktop (or whatever your .desktop file for opening that kind of browser is named)

Code: Select all

--password-store=basic 
as seen here:
Image
but be aware that by doing this when you use Chromium to store any password - these are now stored in a less secure manner. :crazy:
As I understand the issue, the same is the case by pressing OK on all these dialogues and persisting the contents of ~/.local/share/keyrings/ … but I might be wrong.
Cheers!
Yours Rava

User avatar
SaintAnd
Shogun
Shogun
Posts: 254
Joined: 02 Sep 2018, 13:45
Distribution: Porteus-v4-x64 (LXDE)
Location: Russia, Southern Federal District

PorteuX 0.8 has been released

Post#43 by SaintAnd » 26 Nov 2023, 07:18

porteux wrote:
25 Nov 2023, 23:37
You shouldn't have to install glib-networking in LXDE. You should try what I said in the previous post:
1. I was able to run the image without problems on real hardware.

2. On real hardware and a virtual machine, everything was done exactly as you asked, because I’m trying to run it through a virtual machine from an iso image without any changes, through an iso image via cd-rom. Try to launch yourself (via virtualbox, kvm, etc.) any iso with the LXDE shell and make sure that by running:

Code: Select all

xdg-open "https://google.com"
The error described above will appear.
Everything is fine in lxQT, but for some reason it doesn’t work in lxDE

Ed_P,
Yes, I don’t use the image, because if you transfer it to a flash drive, this image needs to be defragmented or there may be little RAM on the computer of the person who needs help, so for myself I decided it was better to unpack the system so as not to have unnecessary problems. And besides, this method allows you to add modules that are necessary. Thanks, I figured out the first problem. The only problem left is lxde

seed_clapper
Black ninja
Black ninja
Posts: 44
Joined: 17 Oct 2022, 13:22
Distribution: Porteus 5 LXQT

PorteuX 0.8 has been released

Post#44 by seed_clapper » 26 Nov 2023, 08:03

porteux wrote:
25 Nov 2023, 20:07
Maybe you should report to the mpv guys on Github
They pursue "quality" over "performance".
porteux wrote:
25 Nov 2023, 20:07
get the log
https://gofile.io/d/fVY1xj

New mpv can play videos when using --vo=xv or --vo=x11.
Last current version with working mpv is 0.6. Using xtra module from 0.6 in PorteuX 0.7 does not work.

porteux
Samurai
Samurai
Posts: 175
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.8 has been released

Post#45 by porteux » 26 Nov 2023, 20:28

@seed_clapper, have you tried to compile to get the backtrace as I said previously? Also, can you replicate these regressions on any other distro that ships mpv 0.37.0?

@SaintAnd, I see what you mean now. This looks like a xdg-open issue related to LXDE -- the error is even different between PorteuX stable and current. LXQt doesn't come with glib-networking and opening https URLs just works, as you said.

Post Reply