Fossapup Tips & Tricks

Moderators: 666philb, Forum moderators

mistfire
Posts: 703
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 165 times

Re: Fossapup Tips & Tricks

Post by mistfire »

Bluez works best if the dbus-daemon was runnning. I noticed that puppy does not run Dbus on boot. For fossapup or earlier puppy, do the following

  1. Edit /etc/rc.d/rc.sysinit and add these line at the part before connecting to network and starting services

    Code: Select all

    dbus-daemon --system
  2. Edit /etc/rc.d/rc.shutdown and add these line at the part after disconnecting to network and stopping services

    Code: Select all

    killall dbus-daemon

D-Bus handling on boot and shutdown is now on Woof-CE pull request. When it merged, there is no need to edit the sysinit and shutdown script for future puppies

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: Fossapup Tips & Tricks

Post by 666philb »

mistfire wrote: Tue Nov 10, 2020 6:36 am

Bluez works best if the dbus-daemon was runnning. I noticed that puppy does not run Dbus on boot. For fossapup or earlier puppy, do the following

  1. Edit /etc/rc.d/rc.sysinit and add these line at the part before connecting to network and starting services

    Code: Select all

    dbus-daemon --system
  2. Edit /etc/rc.d/rc.shutdown and add these line at the part after disconnecting to network and stopping services

    Code: Select all

    killall dbus-daemon

D-Bus handling on boot and shutdown is now on Woof-CE pull request. When it merged, there is no need to edit the sysinit and shutdown script for future puppies

isn't it started with /etc/init.d/dbus ?

mistfire
Posts: 703
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 165 times

Re: Fossapup Tips & Tricks

Post by mistfire »

@666philb

Not all puppies have /etc/init.d/dbus script. If it is exists, just disable that script. Much better if D-bus started first before connecting to network and start services

User avatar
charlie6
Posts: 37
Joined: Wed Sep 09, 2020 12:59 pm
Location: Namur, Belgium
Has thanked: 5 times
Been thanked: 4 times

Fossapup64: keyboard locale setting gone upon boot

Post by charlie6 »

Hi,
deleted / moved to another thread because this issue is back again ...! :(
Best regards
HTH, Charlie

User avatar
ETP
Posts: 96
Joined: Mon Jul 20, 2020 8:21 pm
Location: UK
Has thanked: 19 times
Been thanked: 93 times

Re: Fossapup Tips & Tricks

Post by ETP »

Installing Brother Printers:

The methods detailed on the old forum using the debbi-1.3.pet are now deprecated and will not work with Fossapup64 9.5

The solution for many Brother printers is to install the following package using PPM.

printer-driver-brlaser_6|printer-driver-brlaser|6|1build1|Filesystem;storage|74K|pool/main/b/brlaser|\
printer-driver-brlaser_6-1build1_amd64.deb|+libc6&ge2.14,+libcups2&ge2.3,+libgcc-s1&ge3.0,+libstdc++6&ge5.2|printer driver for some Brother laser printers|ubuntu|focal|

All the deps are satisfied in Fossa and the required Ghostscript is also present.
Once brlaser is installed, you can add your printer using the usual CUPS interface.

(Administration tab - Add Printer)
(Printers tab - Administration, Set As Server Default & use Set Default Options to set the paper size)

The CUPS interface can be accessed by inputting the URL localhost:631 in your browser address bar & I recommend creating a bookmark for it on the Bookmarks Bar (CUPS 2.3.1)

In addition to my own mono usb connected laser HL2035 which requires the HL2030 driver, the brlaser driver has been reported to work with the following:

• Brother DCP-1510 series
• Brother DCP-1600 series
• Brother DCP-7030
• Brother DCP-7040
• Brother DCP-7055
• Brother DCP-7055W
• Brother DCP-7060D
• Brother DCP-7065DN
• Brother DCP-7080
• Brother DCP-L2500D series
• Brother DCP-L2520D series
• Brother DCP-L2540DW series
• Brother HL-1110 series
• Brother HL-1200 series
• Brother HL-2030 series
• Brother HL-2140 series
• Brother HL-2220 series
• Brother HL-2270DW series
• Brother HL-5030 series
• Brother HL-L2300D series
• Brother HL-L2320D series
• Brother HL-L2340D series
• Brother HL-L2360D series
• Brother MFC-1910W
• Brother MFC-7240
• Brother MFC-7360N
• Brother MFC-7365DN
• Brother MFC-7840W
• Brother MFC-L2710DW series
• Lenovo M7605D

TIPS:
Having installed the printer-driver-brlaser_6 package using PPM, shut down your PC. Before booting up again turn on your printer and allow it to come online.
Once the PC has booted access CUPS via the browser to add and set it up as above.

Regards ETP
Current go-to Pup since Feb 2019 - BionicPup64 8.0
Video - https://photos.app.goo.gl/HYLupyMGcQFP81z69

On test - Ubuntu Cinnamon Remix 20.10 (Groovy Gorilla)
Video - https://photos.app.goo.gl/xGbQYtioXt6mzoi48
User avatar
bigpup
Moderator
Posts: 6761
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 846 times
Been thanked: 1452 times

Re: Fossapup Tips & Tricks

Post by bigpup »

Do you know if this is any good for Brother printers?
https://support.brother.com/g/b/faqend. ... 100556_000

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
ETP
Posts: 96
Joined: Mon Jul 20, 2020 8:21 pm
Location: UK
Has thanked: 19 times
Been thanked: 93 times

Re: Fossapup Tips & Tricks

Post by ETP »

Hi bigpup,

I actually tried that first but without success. I appeared to set up the printer ok but without any virtual pdf printer.
It reported that it had printed and the printer led did flash briefly but nothing was ever printed. I then restored from the
save folder backup I had taken prior to the test.
That caused me to check out my Ubuntu Cinnamon Remix versions of both Groovy and Fossa LTS which were both using brlaser v6 which I found in the PPM.

Once again I took the precaution of another backup and before installing it via PPM, downloaded it and extracted it to check that
it contained nothing likely to interfere with Puppy e.g. systemd stuff. It did not, only containing 3 main files plus the standard Debian control file as follows:

# pwd
/mnt/nvme0n1p13/printer-driver-brlaser_6-1build1_amd64.deb.extracted
# tree
.
├── control
├── md5sums
└── usr
├── lib
│   └── cups
│   └── filter
│   └── rastertobrlaser
└── share
├── cups
│   ├── drv
│   │   └── brlaser.drv
│   └── ppd-updaters
│   └── printer-driver-brlaser.ppd-updater
└── doc
└── printer-driver-brlaser
├── changelog.Debian.gz
├── copyright
└── README.md

10 directories, 8 files
#

Nice to get lucky just for once. :thumbup2:

Regards ETP
Current go-to Pup since Feb 2019 - BionicPup64 8.0
Video - https://photos.app.goo.gl/HYLupyMGcQFP81z69

On test - Ubuntu Cinnamon Remix 20.10 (Groovy Gorilla)
Video - https://photos.app.goo.gl/xGbQYtioXt6mzoi48
sharky
Posts: 1
Joined: Sat Dec 19, 2020 10:57 pm

Install Plex

Post by sharky »

Download .deb file from here:-

https://www.plex.tv/media-server-downloads/

and install normally.

Once installed the program will start by clicking on the desktop file:-

/usr/lib/plexmediaserver/Plex Media Server

I am not sure why this works. The content of the file is set out below:-

[Desktop Entry]
Name=Plex Media Server
GenericName=Media Server
Comment=Manage your Plex Media
Exec=x-www-browser http://localhost:32400/manage
Icon=plexmediaserver.png
Terminal=false
Type=Application
Categories=Player

This will run from command line or script:-

xdg-open /usr/lib/plexmediaserver/'Plex Media Server'

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Gimp and g'mic

Post by peppyy »

Always been a fan of GIMP and am now using the 2.10 appimage in Fossa 9.5.
I wanted to use g'mic in gimp and it is a quick and easy setup.

What is really cool is that you can try it online first to see if it is something you want! https://gmicol.greyc.fr/
You can also see the gallery here. http://gmic.eu/gallery/

Download the focal zip from here https://www.gmic.eu/download.html (11mb)
Extract it to a temporary file.
Copy gmic_gimp_qt
to the
.config/GIMP/2.10/plug-ins folder
I used drag and drop.

You should now have 350+ filters available when you start Gimp
Go to Filters and to G'MIC-qt
Filters are adjustable and have a nice preview.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

User avatar
Grey
Posts: 2012
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 372 times

Re: Fossapup Tips & Tricks

Post by Grey »

A little advice.
If you are tired or annoyed that the terminal window (urxvt) opens in different positions every time it starts, then change one value in /root/.Xdefaults file:
urxvt.geometry: 82x28
I replaced 82 with 191. I have a screen resolution of 1920x1080, you may need to find your value. Now terminal window opens at one position and the entire width (but not height) of the screen.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
gychang
Posts: 554
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 52 times

Re: Fossapup Tips & Tricks

Post by gychang »

Grey wrote: Tue Feb 23, 2021 7:41 pm

A little advice.
If you are tired or annoyed that the terminal window (urxvt) opens in different positions every time it starts, then change one value in /root/.Xdefaults file:
urxvt.geometry: 82x28
I replaced 82 with 191. I have a screen resolution of 1920x1080, you may need to find your value. Now terminal window opens at one position and the entire width (but not height) of the screen.

urxvt.geometry: 82x28+1+1 will open up on left upper corner each time. Play around with numbers to place on the screen. First 1 (horizontal pixel), second 2 (vertical pixel).

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: Fossapup Tips & Tricks

Post by ThruHammer »

Hello Phil,

No response? :thumbdown:

NV, NG. That's right - TFYKN-ing.

No worries, Mate.

REMOVED.

redandwhitestripes
Posts: 32
Joined: Thu Dec 03, 2020 12:20 pm

Re: Fossapup Tips & Tricks

Post by redandwhitestripes »

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: Fossapup Tips & Tricks

Post by 666philb »

redandwhitestripes wrote: Fri Sep 03, 2021 9:16 am

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

hi @redandwhitestripes
i finally figured it out :)

Code: Select all

"80:window_type = 'dock'"
User avatar
Grey
Posts: 2012
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 372 times

Hooligan behavior of the Synfig Studio window in Fossapup

Post by Grey »

Synfig Studio is launched in Fossapup, but the program window has no "upper part", that is, the header with the ability to minimize-maximize and close the program is completely absent. At the same time, the program is not displayed in any way at the bottom of the screen - in the system panel or tray and interferes with the normal display of other windows and programs.

I tried AppImage version 1.5.0 of the program and even compiled version 1.7. The result is the same.

What to do? Immediately after starting the program, go to the main menu.
WIndow>>Workspace>>Default.
After that, the program window will "grow" a header for itself, appear on the panel and stop "bullying" with other windows.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
mikewalsh
Moderator
Posts: 5957
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 713 times
Been thanked: 1870 times

Re: Fossapup Tips & Tricks

Post by mikewalsh »

@Grey :-

Damn me. You're right.....and it holds true for older versions AND other Puppies, too!

I've had AppImages - for both arches - of v1.4.2, kicking around my system for years. Never really used 'em much, though; I'm a bit of a "hoarder" where graphics applications are concerned, and have kept virtually every "working" example of ANY graphics app that will work here for us in Puppy.

Just fired up the 32-bit version, here in Sailor's Slacko 5.7.1.....and it does exactly the same. Never actually noticed before, because I always tend to close apps from within, NOT via the 'X' in the corner. Must be a long-standing code bug with Synfig. Either that, or JWM & Synfig simply don't "play nice" together...

Anyways; thanks for the tip!

Mike. ;)

User avatar
Grey
Posts: 2012
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 372 times

Re: Fossapup Tips & Tricks

Post by Grey »

mikewalsh wrote: Sat Oct 16, 2021 10:01 am

Never really used 'em much, though;

I periodically try to "get used" to Synfig. The problem (for Synfig :) ) is that its direct competitor - Moho - works fine (with Wine).

Although Moho has "nuances" too. I am using versions 9.5 and 11, which are still called Anime Studio. Versions 12 and 13.5 (which are already Moho) do not work or work poorly. Firstly, the interface output seems to be redone there, and secondly, of course :oops: , I use pirated versions of which I have two types (with keygen and with the replacement of the executable file and only options with the replacement are launched).

Moreover, this change of names. Moho originally appeared many years ago. Then it was bought and it became Anime Studio. Now it was bought out and called Moho again :roll:

Puppy on a windy day:

pup.gif
pup.gif (34.9 KiB) Viewed 9095 times

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
fredx181
Posts: 2840
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 326 times
Been thanked: 1168 times
Contact:

Re: Fossapup Tips & Tricks

Post by fredx181 »

Must be a long-standing code bug with Synfig. Either that, or JWM & Synfig simply don't "play nice" together...

With Openbox it's fine, so apparently it has to do with JWM & Synfig combination.

User avatar
snoring_cat
Posts: 206
Joined: Tue Sep 21, 2021 3:40 pm
Location: Earth
Has thanked: 24 times
Been thanked: 46 times

Re: Fossapup Tips & Tricks

Post by snoring_cat »

I agree with fredx181,

I ran the appimage in OpenSuse and had no problems. On Puppy Linux fossa 64, I did not see the window bar at the top. Also in JWM, some GTK type dialogs don't display "yes", "no" button text as I was seeing in OpenSuse.

yes_no.jpg
yes_no.jpg (29.58 KiB) Viewed 9069 times

fredx181, can you switch between window managers in an active Puppy Linux (i.e. xwin openbox, xwin jwm, xwin xfce4)? I don't know if you tested on the same running OS, or a different one. I haven't loaded up other window managers other than JWM

Meeeooow!

-- substance over noise, since 5 minutes in the future --

User avatar
snoring_cat
Posts: 206
Joined: Tue Sep 21, 2021 3:40 pm
Location: Earth
Has thanked: 24 times
Been thanked: 46 times

Re: Fossapup Tips & Tricks

Post by snoring_cat »

Grey,

I like Synfig and Blender Grease Pencil. Synfig is better at interpolation and changing parts of a stroke's thickness via node adjusting. Blender Grease Pencil is awesome at mixing 2D and 3D in toon animations. If you haven't already done so, you might want to check out some Grease Pencil examples on Youtube.

Meeeooow!

-- substance over noise, since 5 minutes in the future --

User avatar
fredx181
Posts: 2840
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 326 times
Been thanked: 1168 times
Contact:

Re: Fossapup Tips & Tricks

Post by fredx181 »

snoring_cat wrote:

fredx181, can you switch between window managers in an active Puppy Linux (i.e. xwin openbox, xwin jwm, xwin xfce4)? I don't know if you tested on the same running OS, or a different one. I haven't loaded up other window managers other than JWM

I tested on DebianDog where I can switch between Openbox and JWM, on JWM the title bar was missing.

redandwhitestripes
Posts: 32
Joined: Thu Dec 03, 2020 12:20 pm

Re: Fossapup Tips & Tricks

Post by redandwhitestripes »

666philb wrote: Fri Oct 08, 2021 9:04 pm
redandwhitestripes wrote: Fri Sep 03, 2021 9:16 am

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

hi @redandwhitestripes
i finally figured it out :)

Code: Select all

"80:window_type = 'dock'"

Thank you!

User avatar
gychang
Posts: 554
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 52 times

Re: Fossapup Tips & Tricks

Post by gychang »

ETP wrote: Sun Dec 13, 2020 4:46 pm

Installing Brother Printers:

printer-driver-brlaser_6|printer-driver-brlaser|6|1build1|Filesystem;storage|74K|pool/main/b/brlaser|\
printer-driver-brlaser_6-1build1_amd64.deb|+libc6&ge2.14,+libcups2&ge2.3,+libgcc-s1&ge3.0,+libstdc++6&ge5.2|printer driver for some Brother laser printers|ubuntu|focal|

TIPS:
Having installed the printer-driver-brlaser_6 package using PPM, shut down your PC. Before booting up again turn on your printer and allow it to come online.
Once the PC has booted access CUPS via the browser to add and set it up as above.

On my PPM, only first is available "printer-driver-brlaser_6", 2nd line printer-driver-brlaser_6-1build1_amd64.deb" etc, package is not available. I am using the ubuntu/focal repositories. After installing only the first app, reboot and turning on the printer (HL-L2325DW) and trying CUPS still not seeing the printer. Am I following the instructions correctly?, or is the printer model not covered in this?

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
ETP
Posts: 96
Joined: Mon Jul 20, 2020 8:21 pm
Location: UK
Has thanked: 19 times
Been thanked: 93 times

Re: Fossapup Tips & Tricks

Post by ETP »

Hi gychang,

There is only one package (printer-driver-brlaser_6). The rest is just information plus dependencies which in Fossa were all satisfied.
That particular driver only supports the printers I listed and your printer is not on that list.

I suggest that you use PPM to uninstall that package and then reboot. Your only option is to then visit the official Brother site
and download the Linux deb driver for your printer from there:

Here is the link to your model:

https://support.brother.com/g/b/downloa ... lang=true
Follow the "How to Install" instructions that appear once you have downloaded the deb package but note that
in Puppy you are logged in as root which means that you are the superuser and do not need the SU command.
Rather than using the dpkg command first try just clicking on the deb file.

Regards ETP
Current go-to Pup since Feb 2019 - BionicPup64 8.0
Video - https://photos.app.goo.gl/HYLupyMGcQFP81z69

On test - Ubuntu Cinnamon Remix 20.10 (Groovy Gorilla)
Video - https://photos.app.goo.gl/xGbQYtioXt6mzoi48
User avatar
gychang
Posts: 554
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 52 times

Re: Fossapup Tips & Tricks

Post by gychang »

666philb wrote: Fri Oct 08, 2021 9:04 pm
redandwhitestripes wrote: Fri Sep 03, 2021 9:16 am

Hello, is there any way to make the jwm dock and tray semi-transparent with Picom? I tried the lines
opacity-rule = ["93:class_g = '_NET_WM_WINDOW_TYPE_DOCK'"];

and

opacity-rule = ["93:class_g = 'jwm'"];

But no joy. I realize this is probably the wrong line but I don't know how else to find the correct command.

hi @redandwhitestripes
i finally figured it out :)

Code: Select all

"80:window_type = 'dock'"

code is added in the picom.conf?

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
gychang
Posts: 554
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 52 times

Re: Graphic Driver Setup

Post by gychang »

666philb wrote: Sun Nov 01, 2020 3:41 pm

here's some tips on setting up your graphics driver on fossapup64.

----------------------------------------------------------------------------------------------------
Intel cards.

intel cards should work smoothly OTB with vsync working.
if you are experiencing any oddities in applications (e.g.googlearth not displaying properly)
you can try swapping between the intel and modesetting driver by editing /etc/X11/xorg.conf then restarting X

swap modesetting for intel or vice versa

Section "Device"
Identifier "Card0"
Driver "modesetting" #card0driver
BusID "0:2:0" #card0busid
EndSection

in picom i found the best settings were
vsync on
backend glx

backend glx

@666philb thanks for the tip! :thumbup2:

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
Jasper
Posts: 1734
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 735 times
Been thanked: 402 times

Re: Fossapup Tips & Tricks

Post by Jasper »

Just a tip

If you want to update your CA-Certificates there default ones are from 2020. There is a script available to use within Fossa.

"A CA certificate is a digital certificate issued by a certificate authority (CA), so SSL clients (such as web browsers) can use it to verify the SSL certificates sign by this CA."

Image

Simply open up terminal and type

update-ca-certificates --fresh

this will download, update the certificates to the default directories.

By default up to date browsers will include these.

Last edited by mikewalsh on Fri Apr 28, 2023 3:00 pm, edited 1 time in total.
Reason: Moved from Contributed Packages...
User avatar
Grey
Posts: 2012
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 372 times

zswap vs zram

Post by Grey »

I just got a text message from the local rescuers. They warn of a heat of 40-42 degrees Celsius. Yes, the CPU really warmed up at least 5 degrees higher than usual.
I need a siesta.

What am I talking about? Oh, yeah.
I've been using zram for a while. But now I switched to zswap, because I finally bought an nvme disk with a good volume. zswap - like zram - compresses data, but only uses a disk partition instead of RAM.

I made the swap partition 65535 in size. Well, my artisanal Arch is already using zswap, but Fossapup is not yet, because I have not compiled the corresponding kernel:

fossapup_zswap.gif
fossapup_zswap.gif (5.33 KiB) Viewed 1752 times

But Fossapup can now use it without compression, because swap is even bigger than RAM :) :

fossapup_swap.gif
fossapup_swap.gif (20.44 KiB) Viewed 1752 times

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Grey
Posts: 2012
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 372 times

How to impress family and friends after loading Fossapup

Post by Grey »

We already had something about iQPuzzle about three years ago.
Let's add a little more Image

Have you long wanted to learn about all the options for solving the first task and impress everyone around you ;) ? Then you need a Python solver... and the ability to remember at least one of the 2339 options ;)

New Zealand programmer Ben Hoyt (and his father) did everything for you. Here is the project on Git. And here is a page with an interesting story by Ben from which you will understand which letters of the alphabet correspond to each figure on the diagram in the terminal.

Code: Select all

git clone https://github.com/benhoyt/python-pentomino
cd python-pentomino
python pentomino.py

Indeed, 2339 decisions in 3 seconds :thumbup2: But it's vertical. I swapped the width and height in the script and got 2186 solutions in 59 seconds.
Slowly, unhurriedly "solved" the problem with the help of solution 2186 :) :

iqpuzzle-pentomino_python.gif
iqpuzzle-pentomino_python.gif (81.21 KiB) Viewed 1553 times

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

Post Reply

Return to “Fossapup64”