PorteuX 0.3 has been released

PorteuX - The Next Experience. It's inspired by Slax and Porteus but with heaps of improvements
beny
Full of knowledge
Full of knowledge
Posts: 2275
Joined: 02 Jan 2011, 11:33
Location: italy

PorteuX 0.3 has been released

Post#61 by beny » 17 May 2023, 00:07

hi Ed_P good that work i hope that you have the hp driver on cups working in mine the brother is linked i have to check the ppd to work with...

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

PorteuX 0.3 has been released

Post#62 by Ed_P » 17 May 2023, 00:36

Actually I found the source earlier.
Ed_P wrote:
14 May 2023, 19:11
From the Manage Printing app in Porteus 5.0:

Code: Select all

[Desktop Entry]
Categories=System;Printing;HardwareSettings;X-Red-Hat-Base;
Exec=/usr/bin/xdg-open http://localhost:631/admin/
Icon=cups
StartupNotify=false
Terminal=false
Type=Application
Name=Manage Printing
Comment=CUPS Web Interface
And if I enter /usr/bin/xdg-open http://localhost:631/admin/ in a terminal window it works! :%)

Code: Select all

guest@porteux:~$ /usr/bin/xdg-open http://localhost:631/admin/
guest@porteux:~$ 
So why the heck doesn't the Manage Printing desktop function work?

Something is messed up in the porteux print module.

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

PorteuX 0.3 has been released

Post#63 by beny » 17 May 2023, 07:08

hi Ed_P you have to add admin to the /usr/share/applications/cups.desktop and when you click on print manager cups web is on the screen
[Desktop Entry]
Categories=System;Printing;HardwareSettings;X-Red-Hat-Base;
Exec=/usr/bin/xdg-open http://localhost:631/admin
Icon=cups
StartupNotify=false
Terminal=false
Type=Application
Name=Manage Printing
Comment=CUPS Web Interface

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

PorteuX 0.3 has been released

Post#64 by Ed_P » 17 May 2023, 13:47

beny wrote:
17 May 2023, 07:08
hi Ed_P you have to add admin to the /usr/share/applications/cups.desktop
Hi Beny. An interesting solution but I don't have to do that when I use the gtk plugin Blaze suggested.
Blaze wrote:
11 May 2023, 05:38
that's the problem
Image
Is that cups.desktop part of porteux's print module? The version in Blaze's 007 print module doesn't have a problem.

Added in 2 hours 16 minutes 15 seconds:
Ed_P wrote:
17 May 2023, 13:47
Is that cups.desktop part of porteux's print module?
Yup, it is. And yup adding admin to it's Exec= line works. :good: And when I eventually got it to ask for a user id and password and replied root's it found my printer. So porteux's print module is a replacement for Blaze's 007 module. :o

Code: Select all

~#  uname -a
Linux porteux.example.net 6.2.11-porteux #1 SMP PREEMPT_DYNAMIC Fri Apr 14 11:39:03 NZST 2023 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux

~#  cat /etc/porteux/*
001-core.xzm:20230416
002-xorg.xzm:20230416
002-xtra.xzm:20230416
initrd.xz:20230409

~#  ls -l /mnt/live/memory/images
000-kernel-6.2.11.xzm : Apr 14 00:02
001-core-stable-20230416.xzm : Apr 15 17:36
002-xorg-stable-20230416.xzm : Apr 15 21:11
002-xtra-stable-20230416.xzm : Feb 3 09:59
003-cinnamon.xzm : Sep 25 2022
009-porteus5-compatibility-stable.xzm : Jan 23 22:14
firefox-latest-111.0.1-x86_64-1.xzm : Mar 23 01:01
printing-porteux-stable-x86_64.xzm : Mar 17 13:48

~#  cat /proc/cmdline
quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/PorteuX/porteux-v0.3-lxqt-1.3.0-stable-x86_64.iso volume=33 reboot=cold extramod=/porteux0.3/Modules kmap=us noload=mate;lxqt

Code: Select all

guest@porteux:~$ cat /usr/share/applications/cups.desktop
[Desktop Entry]
Categories=System;Printing;HardwareSettings;X-Red-Hat-Base;
Exec=/usr/bin/xdg-open http://localhost:631/admin/
Icon=cups
StartupNotify=false
Terminal=false
Type=Application
Name=Manage Printing
Comment=CUPS Web Interface

porteux
Shogun
Shogun
Posts: 288
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.3 has been released

Post#65 by porteux » 23 May 2023, 03:19

seed_clapper wrote:
14 May 2023, 09:04
I assume that porteuX indiscriminately searches for "porteux" folder in all connected drives and completely ignores ventoy's emulated optical drive.
That's correct. The file structure can't be changed.
seed_clapper wrote:
14 May 2023, 09:04
My first impressions.
[...]
After downloading Firefox and OnlyOffice they were activated automatically but did not appear in start menu until reboot.
There was a bug in Xfce 4.16+ that was preventing activated modules to show up in the main menu automatically. It has been fixed in PorteuX 0.4.
seed_clapper wrote:
14 May 2023, 09:04
Screen tearing issue while playing videos on my old integrated Intel gpu. To resolve issue picom 9, libconfig 1.7.3, libev 4.33 were downloaded. After converting to modules and activating you need to run it from start menu, open config file located at "/etc/picom.conf" and change 'backend = "xrender"' to 'backend = "glx"', save config.
Tearing is indeed annoying. It depends on which DE and video card you're using. LXDE and LXQt don't have compositor, so you need to change the driver configuration. For Nvidia that's easy, but for AMD and Intel you need to edit xorg config file. Let me know which setup you have so I can help you.
seed_clapper wrote:
14 May 2023, 09:04
Mpv is a great video player if you have a patience to sit down and read manual, edit configs, search scripts for enhancing functionality etc. But VLC just works out-of-the-box.
What exactly you want to achieve? Out of the box mpv can basically open anything and it has support for multi track audio, subtitles, DVDs, album cover. If you press 'i' it can also show information about the current media, not to mention the shortcuts to do almost everything. Vlc is not as powerful (especially performance wise) and it requires Qt being anything but lightweight.
seed_clapper wrote:
14 May 2023, 09:04
LXQT in my opinion is the best choice for old pc with weak cpu and low memory. But there is no easy way to connect to wi-fi with hidden ssid. You must right-click on network connection tray icon, select "Edit connection", create profile for your hidden wi-fi spot, run command line and execute "nmcli con up _profile_name_".
Have you tried PorteuX wifi scripts? It has wifi-connect which should be enough to connect to a hidden ssid wifi network -- although I haven't tried this specific scenario.

porteux
Shogun
Shogun
Posts: 288
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.3 has been released

Post#66 by porteux » 23 May 2023, 04:01

@seed_clapper, here's an example of how vlc is just not as straightforward as mpv:

Vlc 3.0.17.3:
https://www.mediafire.com/file/9r2523ed ... .17.3.png/

Mpv 0.35.1:
https://www.mediafire.com/file/1tt5n8rg ... .35.1.png/

Sample link: https://drive.google.com/uc?export=down ... 0WHy7CbkMK

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

PorteuX 0.3 has been released

Post#67 by seed_clapper » 24 May 2023, 12:24

porteux wrote:
23 May 2023, 03:19
Let me know which setup you have so I can help you.
No help is needed. I am using lxqt on old laptop with Intel Pentium T4200 cpu (dual core 2Ghz, SSE3) & gpu is Intel GMA 4500M (400Mhz, DirectX 10, dxva only in 8-bit avc up to 1080p30fps).
porteux wrote:
23 May 2023, 03:19
What exactly you want to achieve?
User-friendliness. VLC is ready-to-use and MPV is configure-it-yourself. Maybe I have bias but vlc plays 1080p hevc video a little bit smoother than mpv on my old laptop.
porteux wrote:
23 May 2023, 04:01
vlc is just not as straightforward as mpv
HDR-to-SDR converting is a great feature but I highly doubt that people use PorteuX with intent to watch their hdr movie collection.

porteux
Shogun
Shogun
Posts: 288
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX 0.3 has been released

Post#68 by porteux » 24 May 2023, 23:46

@seed_clapper, I actually find this player/codec topic very interesting and I'm open for changes. :)

In my experience mpv is easier to put hardware acceleration to work (in Porteus/PorteuX it works out of the box) while vlc I always fail to do it. Do you have hardware acceleration in both players? I use this video for testing: https://4kmedia.org/samsung-travel-with ... d-4k-demo/. To confirm that the hardware acceleration is working on mpv I press 'i' and check if at the end of the line that starts with 'Video:' I see 'hwdec'. Also, the CPU usage should be less than 5%. I'm not sure if your video card is capable of decoding it though. You can also try this other video: https://mirror.clarkson.edu/blender/dem ... normal.mp4

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

PorteuX 0.3 has been released

Post#69 by seed_clapper » 25 May 2023, 11:55

porteux wrote:
24 May 2023, 23:46
and I'm open for changes.
No changes needed.
porteux wrote:
24 May 2023, 23:46
Do you have hardware acceleration in both players?
No, my integrated gpu is too old and does not support hardware acceleration for new VP9/HEVC/AV1 formats.
It was able to hwa AVC (h264) in windows but not in porteuX.
porteux wrote:
24 May 2023, 23:46
You can also try this other video
Cpu's limit is 1440p30fps for AVC/VP9, 1080p30fps for HEVC/AV1.

I tested 1080p60fps sdr playback using this video https://www.youtube.com/watch?v=LXb3EKWsInQ
AVC
mpv - 8401 frames dropped
vlc - 6075 frames lost
VP9
mpv - 9189
vlc - 6401
1080p24fps https://www.youtube.com/watch?v=QI96hnhcr2E
AV1
mpv - 79
vlc - 0
HEVC
mpv - 305
vlc - 0
HEVC 10-bit
mpv - 770
vlc - 126
Both players did not show smooth playback with 60fps.
HEVC: mpv little stuttering close to the end of video, vlc smooth playback.
HEVC 10-bit: mpv little stuttering in several bitrate-heavy sections, vlc strong stuttering close to the end of video.

Mpv provides more stable playback, it says "I will keep playing your video no matter what".
Vlc is a little smoother but it says "I will do my best at most of the time but if something goes wrong just sit and stare at that frozen frame while I am recovering".

Post Reply