QV is returning

Moderator: BarryK

Post Reply
User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

QV is returning

Post by BarryK »

Readers of this forum might not have seen my recent blog posts.
I left working on QV about 4 months ago, and focused on EasyOS Scarthgap-series, the latest release is 6.3.1.

Now it is time for QV to get some TLC. To get a quick idea what QV is about, see the readme at github:

"woof-quantum-vis"
https://github.com/bkauler/woof-quantum-vis

Read more on my blog, in the "quirky" tag:

https://bkhome.org/news/tag_quirky.html

The big news today is have got encryption working. A weird solution, but it works.

Stogie
Posts: 53
Joined: Thu Oct 07, 2021 8:10 pm
Has thanked: 6 times
Been thanked: 6 times

Re: QV is returning

Post by Stogie »

Great news Barry!

The announcement says no layered filesystem and frugal install, then says the image can be burned to a USB stick and run from there. I'm assuming this would be good short-term for evaluation, but wouldn't it wear out the USB drive, compared to recent EasyOS versions where the layered filesystem lets everything be done in RAM and then only flushed to the USB stick when asked (with desktop "Save" button) or at shutdown (if the user chooses?)

It sounds like beyond evaluation, it probably ought to be installed to an HD or SSD (internal being better as SATA/M2 is faster than USB, but probably workable if slower on an external USB HD/SSD.

Does that sound right? Am I understanding it correctly?

That's one of the things I love about recent EasyOS versions, by the way. Negligible USB stick wear, and if I screw up the system during a session, I can simply not click desktop "Save" and choose NOT to save the session at shutdown, and all the mayhem I caused disappears at next boot. If QV doesn't offer that I can live with it, though, to get direct access to lots of software packages without having to jump through hoops (containerized desktops, flatpak sandboxes, etc.) plus it sounds like the same "oops, I screwed up, restore to last save point!" functionality can be implemented in another way with the snapshot capabilities of the new btrfs filesystem.

Thanks!

williwaw
Posts: 1877
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 167 times
Been thanked: 348 times

Re: QV is returning

Post by williwaw »

Stogie wrote: Mon Sep 30, 2024 8:55 pm

but wouldn't it wear out the USB drive, compared to recent EasyOS versions where the layered filesystem lets everything be done in RAM and then only flushed to the USB stick when asked (with desktop "Save" button) or at shutdown (if the user chooses?)

Hi Stogie
I have lost a few USB sticks thru the years, presumably from overuse, but they were cheapies that cost the same as latte at the expresso stand.
For the last 6 months I have been running QV from a PNY USB and I guess it is doing fine. Do you know any way to test for excessive wear or how to monitor the health of a USB?

it sounds like the same "oops, I screwed up, restore to last save point!" functionality can be implemented in another way with the snapshot capabilities of the new btrfs filesystem.

I create btrfs snapshots as I add apps, and most sessions I am not trying to do things that would corrupt recent work. When you create a snapshot at boot time, the OS continues booting into the new snapshot, so if you know you will be doing risky stuff, a plan ahead is required. Barry mentioned something about implementing snapshots and restoring from a previous snapshot during a session and that would be cool if it works out with btrfs, I know it was useful when running an install on a ZFS (similar) filesystem last year.

One thing nice about btrfs snapshots is they are way less smaller than easy snapshots, so one can afford to snapshot quite often without the storage space overhead.

https://bkhome.org/news/202404/qv-snaps ... ement.html
https://bkhome.org/news/202404/qv-snaps ... etion.html

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

Stogie,
Yes, as QV is a conventional Linux install, "full frugal", in a folder in a partition, all writes are direct to the partition. It is recommended to use a SSD or HDD, or for usb a good quality flash drive.

Another issue is that app startup and operation might be noticeably slower when running from a cheap usb flash drive, compared with EasyOS.

I'm using a SanDisk Ultra usb flash drive for testing QV, which is a step up from the bargain-bin flash sticks, but even so I do notice a slightly longer app startup. Barely noticeable.

I can't say by how much a flash drive life will be shortened by running QV versus EasyOS. But if you are using a cheapish flash drive probably best to stay with Easy.

It is still likely that I will be looking again at the ways of adding more package repositories to Easy.

Clarity
Posts: 3700
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1573 times
Been thanked: 499 times

Re: QV is returning

Post by Clarity »

Hi @Stogie, et. al.

There has always been a few SIGNIFICANT differences with the hardware being discussed in this thread. They are System Hardware, Life, and Performance.

Firstly, USB ports and its serial nature do not compare with PCI ports. This has been known thruout this century. The ports are design differently. The performance is vastly different in these 2 types of ports with PCI (for internal motherboad connections) being superior by far.

USB memory sticks and SDcards are built with low cost materials to make them attractive for storage use. System drives designed for direct motherboard connections have a very different design criteria and lifespan. As such, their life will, in almost all current cases, exceed the life of sticks and cards.

For full OSes, the OSes are designed to take advantage of the presence of storage, so for full, non-RAM OSes, it would be advisable to use a drive attached to motherboard for both reliability and stability.

That being said, does NOT mean that you cannot substitute or use USB or memory cards for running (or testing) an OS. If either of these are used, you should understand that you should not try to equate their performance against SSD drives connected internally to your PC.

So, notwithstanding the 'convenience factor'; I would heed the advice you see from others here when attempting to run a "full" (non-RAM) OS from USB sticks or SDcards.

Hope this helps

Stogie
Posts: 53
Joined: Thu Oct 07, 2021 8:10 pm
Has thanked: 6 times
Been thanked: 6 times

Re: QV is returning

Post by Stogie »

Thanks Barry, that's very good info! I bought a pair of identical desktop PCs back in March that came with Windows 10 on their internal SSDs, which I completely ignored and never booted into even once. First thing i did was go in the BIOS/UEFI and set it to boot from USB, then inserted Easy USB sticks and never looked back.

So I might blow away the useless bloated spyware called Windows 10 from their SSDs and put QV on one or both of them and try it! No reason not to, because I can still boot into Easy from the USB sticks too.

BarryK wrote: Tue Oct 01, 2024 3:00 am

It is still likely that I will be looking again at the ways of adding more package repositories to Easy.

That would be excellent, thanks! I love how Easy works so that'd be ideal.

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

Another blog post, about handling the very awkward situation with snapshots when the kernel version changes:

https://bkhome.org/news/202410/qv-basic ... anges.html

Thinking about Puppy Linux, you might encounter this situation if choose to bootup with an old save-file. It might have lots of packages installed suited to an older kernel.

Perhaps it would be unusual for that to be an issue in Puppy Linux; however, it has to be fixed in QV.

The situation in QV is different, as snapshots are the complete system, including kernel modules and firmware, so if bootup a newer kernel and choose an old snapshot, then it will likely be broken. So I had to put in a fix.

The main choice in the fix will be to copy the correct kernel modules and firmware into the old snapshot. Another choice would be to change to the old kernel version and reboot with that.

don570
Posts: 655
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 108 times

strict schedule of changing versions

Post by don570 »

Ubuntu used to have a strict schedule of changing versions every 6 months.
If QV would change its kernel every 6 months on an announced schedule, then the problem with firmwarm and drivers
might be solved.

I read Barry's blog and the problems with the kernel seem like a nightmare.

Screenshot 2024-10-03 15.33.22.png
Screenshot 2024-10-03 15.33.22.png (60.44 KiB) Viewed 526 times
User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

Have now tackled updating. See blog report:

https://bkhome.org/news/202410/update-pet-for-qv.html

The updater pet has some rough edges, and not yet tested.

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

QV is returning 241007

Post by BarryK »

Blog announcement:

https://bkhome.org/news/202410/qv-versi ... eased.html

Brief intro on github:

https://github.com/bkauler/woof-quantum-vis

qv-installer is a script that can install QV direct to internal drive, no need to bootup QV on a usb flash drive.
Though, qv-installer does have some requirements, such as 'btrfs-tools'.
Attached, with false ".gz"

Attachments
qv-installer.gz
false .gz
(17.38 KiB) Downloaded 11 times
User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

QV 241007 does not have gimp builtin; however, easy to install via PKGget.

I did, and it opens .webp, which the EasyOS gimp doesn't.
Still not in the right-click menu though.

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

A heads-up about what to expect in the future...

We have been discussing various ways of adding more packages to EasyOS.
Guix for example.

However, there is an elephant in the room, and that is EasyOS's support for SFSs and containers, that is, the EasyContainers mechanism.

This will be a way to do what products like Guix do. We run a very cutdown QV as an SFS in a container, and will then be able to install and run any apps from the Void package repository.

It is a matter of setting it up to work seamlessly, out of the box. The QV container could have absolute minimum security, so apps will run pretty much with same rights as the Easy native apps.

I'm thinking about the best way to implement this. Expect blog posts about this soon.

Clarity
Posts: 3700
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1573 times
Been thanked: 499 times

Re: QV is returning

Post by Clarity »

Hello @BarryK nice to see your progress.

Questions

  1. Can this distro run "Live" directly from its IMG?

  2. If so, can it have persistence?

  3. If so, is there a boot parm that would allow directing the system to the persistence?

  4. Does a persistence based operation introduce some unforeseen drawback(s)?

Curious

nnriyer
Posts: 117
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 94 times
Been thanked: 4 times

Re: QV is returning

Post by nnriyer »

Welcome to QV Installer

QV Installer is a partly-manual and partly-automatic script to install QV into
the partitions of an internal drive. Or, an external drive if you wish.

The first option to get out of the way, is if you want to install QV to the
entire drive, internal or external, this script is not appropriate. Instead use
EasyDD, that you will find in the Setup category of the menu. Or, open a
terminal wherever you have downloaded the QV drive-image file and run it.
For example: "# easydd qv-240421-amd64.img"

Continuing in this script, you have a drive with partitions, and you want to
install QV into one or more of those partitions...

ERROR you must run this script as the root user.

Press ENTER to abort script:

How to install with root user ?

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

nnriyer wrote: Tue Oct 08, 2024 3:36 am

Welcome to QV Installer

QV Installer is a partly-manual and partly-automatic script to install QV into
the partitions of an internal drive. Or, an external drive if you wish.

The first option to get out of the way, is if you want to install QV to the
entire drive, internal or external, this script is not appropriate. Instead use
EasyDD, that you will find in the Setup category of the menu. Or, open a
terminal wherever you have downloaded the QV drive-image file and run it.
For example: "# easydd qv-240421-amd64.img"

Continuing in this script, you have a drive with partitions, and you want to
install QV into one or more of those partitions...

ERROR you must run this script as the root user.

Press ENTER to abort script:

How to install with root user ?

What OS are you running?

With EasyOS and most pups you will already be the root user.

Other Linuxes, you have to change to root. Um, been awhile since I have done that, should be able to prepend "sudo" in the terminal, or run "su" to change to root.

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

Received an email from Alfons, reporting easy-version-control script doesn't work. It is also a menu entry "Filesystem -> Easy Versin Control".
That is for EasyOS only. I have removed it.

Alfons wanted to take a snapshot.
IN QV that has to be done in the menu in the initrd.

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

Clarity wrote: Tue Oct 08, 2024 2:42 am

Hello @BarryK nice to see your progress.

Questions

  1. Can this distro run "Live" directly from its IMG?

  2. If so, can it have persistence?

  3. If so, is there a boot parm that would allow directing the system to the persistence?

  4. Does a persistence based operation introduce some unforeseen drawback(s)?

Curious

The whole idea of a drive-img is that it runs in the drive, fully-installed, already "persistent'.

nnriyer
Posts: 117
Joined: Wed Jul 06, 2022 1:24 am
Has thanked: 94 times
Been thanked: 4 times

Re: QV is returning

Post by nnriyer »

Sir

I am using your scarth easyos latest version. With Sudo prefix, I am able to install the QV on internal partition by providing password on pop up window. You may be aware that I have beening using Puppy Linux since inception. This is first time, I am using sudo on Puppy/EasyOs.

Please note that Limine and Youtube DL is not working. No ungoogled chromium ? This is my initial observation.

Last edited by nnriyer on Tue Oct 08, 2024 3:13 pm, edited 1 time in total.
butiliero
Posts: 11
Joined: Thu Jun 29, 2023 11:12 am

Re: QV is returning

Post by butiliero »

BarryK wrote: Tue Oct 08, 2024 1:49 am

A heads-up about what to expect in the future...

We have been discussing various ways of adding more packages to EasyOS.
Guix for example.

However, there is an elephant in the room, and that is EasyOS's support for SFSs and containers, that is, the EasyContainers mechanism.

This will be a way to do what products like Guix do. We run a very cutdown QV as an SFS in a container, and will then be able to install and run any apps from the Void package repository.

It is a matter of setting it up to work seamlessly, out of the box. The QV container could have absolute minimum security, so apps will run pretty much with same rights as the Easy native apps.

I'm thinking about the best way to implement this. Expect blog posts about this soon.

Maybe I am a bit naive here, but wouldn't it be simpler to have a minimal EasyOS with all cointainer/SFSs mechanisms and load in a container any complete desktopo distribution, e.g. the full-feature EasyOS, QV, or any puppy? The mechanism is already implemented in EasyOS but in this case it would be used also to boot the main desktop and one could chose which system to load in a graphical environment. Also updates to EasyOS or QV could happen without rebooting, only the main OS update would need a reboot.

I am probably missing some very basic stuff here, including the fact that, well, we already have something very similar in EasyOS...

williwaw
Posts: 1877
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 167 times
Been thanked: 348 times

Re: QV is returning

Post by williwaw »

Maybe I am a bit naive here, but wouldn't it be simpler to have a minimal EasyOS with all cointainer/SFSs mechanisms and load in a container any complete desktopo distribution, e.g. the full-feature EasyOS, QV, or any puppy? The mechanism is already implemented in EasyOS but in this case it would be used also to boot the main desktop and one could chose which system to load in a graphical environment. Also updates to EasyOS or QV could happen without rebooting, only the main OS update would need a reboot.

interesting arrangement
perhaps someone can utilize barrys build scripts.......

the new QV installed to 2 machines. some testing will follow. I need to install a new ssd disk to a unused laptop to test better. (I am currently experienceing problems with my daily driver laptop, perhaps with USB storage or memory)

User avatar
BarryK
Posts: 2563
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 117 times
Been thanked: 696 times

Re: QV is returning

Post by BarryK »

nnriyer wrote: Tue Oct 08, 2024 3:06 pm

Sir

I am using your scarth easyos latest version. With Sudo prefix, I am able to install the QV on internal partition by providing password on pop up window. You may be aware that I have beening using Puppy Linux since inception. This is first time, I am using sudo on Puppy/EasyOs.

Please note that Limine and Youtube DL is not working. No ungoogled chromium ? This is my initial observation.

In that case, you would already be running as root user. You do NOT need to run su or sudo.

The script /usr/local/easy_version/qv-installer does this test:

Code: Select all

BAD=0
if [ "$(whoami)" != "root" ];then
 echo "$(gettext 'ERROR you must run this script as the root user.')"
 BAD=1
fi

In a terminal, I am running Easy 6.3.1, I type this:

Code: Select all

# whoami
root
# 

...which is correct.

don570
Posts: 655
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 108 times

webp examples

Post by don570 »

webp examples to test mtpaint and gimp

Right click and save link
https://developers.google.com/speed/web ... webp_links
_______________________________________

Post Reply

Return to “EasyOS”