antix-23.1_init-diversity-edition – sysvinit / runit / s6-rc / s6-66 + openrc

Forum Forums antiX-development antiX Respins antix-23.1_init-diversity-edition – sysvinit / runit / s6-rc / s6-66 + openrc

  • This topic has 261 replies, 16 voices, and was last updated Apr 5-5:07 pm by Brian Masinick.
Viewing 15 posts - 226 through 240 (of 262 total)
  • Author
    Posts
  • #134380
    Member
    eric

      having a daemon running without a logger should be avoid (should i said forbidden). You should not be able to stop a log(the consumer) without stopping first the daemon(the producer). As you should be not authorize to start the producer without starting first the consumer.

      Logs are the nerds of the war in case of troubles, this should be taken very seriously mostly on production.

      • This reply was modified 1 month, 4 weeks ago by eric.
      #134385
      Member
      calciumsodium

        Can you enable dbus-log & let us know if it makes a difference?
        I am thinking that connmand has dbus-srv listed as a dependency, but obviously with dbus-log disabled it can’t really monitor the dbus status, resulting in a blind startup before dbus is ready…

        It does not make a difference. As you can see in the screenshot, immediately after booting into desktop in s6-rc, connman is up (on the left box of the icewm lower right task bar). There is no wifi (see conky) and the links2 to washingtonpost.com has error.

        This IDE hard drive is very old. Takes about 48 seconds to boot. Would speed (or lack of speed) of a hard drive make a difference in terms of sequencing of the s6-rc initiation?

        
        jakersfan@antix-s6-66:~
        $ detect-init.sh
        s6-svscan
        jakersfan@antix-s6-66:~
        $ start-t icewm
               48.52
               48.69
        jakersfan@antix-s6-66:~
        $ pstree
        s6-svscan─┬─at-spi-bus-laun─┬─dbus-daemon
                  │                 └─3*[{at-spi-bus-laun}]
                  ├─at-spi2-registr───2*[{at-spi2-registr}]
                  ├─conky───6*[{conky}]
                  ├─2*[dbus-daemon]
                  ├─2*[dbus-launch]
                  ├─devmon───udevil
                  ├─redshift
                  ├─rox
                  ├─6*[s6-supervise───s6-log]
                  ├─2*[s6-supervise───s6-ipcserverd]
                  ├─s6-supervise───s6-linux-init-s
                  ├─6*[s6-supervise───agetty]
                  ├─40*[s6-supervise]
                  ├─s6-supervise───connmand
                  ├─s6-supervise───dbus-daemon
                  ├─s6-supervise───s6-fdholderd
                  ├─s6-supervise───slimski─┬─Xorg───{Xorg}
                  │                        └─desktop-session───icewm-session───icewm
                  ├─s6-supervise───foreground───seatd
                  ├─s6-supervise───foreground───udevd
                  ├─wpa_supplicant
                  └─x-terminal-emul─┬─bash───sudo───sudo───s6-rc_service-m───dialogbox───4*[{dialogbox}]
                                    ├─bash───pstree
                                    └─links2
        jakersfan@antix-s6-66:~
        $ sudo ps_mem.py
         Private  +   Shared  =  RAM used	Program
        144.0 KiB +  29.5 KiB = 173.5 KiB	s6-linux-init-shutdownd
        152.0 KiB +  22.5 KiB = 174.5 KiB	seatd
        196.0 KiB +  13.5 KiB = 209.5 KiB	s6-svscan
        228.0 KiB +  44.0 KiB = 272.0 KiB	s6-ipcserverd (2)
        248.0 KiB +  62.0 KiB = 310.0 KiB	foreground (2)
        284.0 KiB +  34.5 KiB = 318.5 KiB	s6-fdholderd
        368.0 KiB + 198.5 KiB = 566.5 KiB	icewm-session
        356.0 KiB + 255.5 KiB = 611.5 KiB	udevil
        544.0 KiB + 264.5 KiB = 808.5 KiB	s6-rc_service-m
        748.0 KiB + 122.0 KiB = 870.0 KiB	s6-log (6)
        648.0 KiB + 259.5 KiB = 907.5 KiB	devmon
        704.0 KiB + 207.0 KiB = 911.0 KiB	dbus-launch (2)
        624.0 KiB + 455.5 KiB =   1.1 MiB	redshift
        832.0 KiB + 254.5 KiB =   1.1 MiB	desktop-session
        816.0 KiB + 400.0 KiB =   1.2 MiB	agetty (6)
          1.1 MiB + 614.0 KiB =   1.7 MiB	dbus-daemon (4)
          1.0 MiB + 747.5 KiB =   1.8 MiB	at-spi-bus-launcher
          1.0 MiB + 762.5 KiB =   1.8 MiB	at-spi2-registryd
          1.9 MiB + 571.5 KiB =   2.5 MiB	conky
        536.0 KiB +   2.0 MiB =   2.5 MiB	sudo (4)
          2.9 MiB + 425.5 KiB =   3.4 MiB	udevd
          3.6 MiB + 227.5 KiB =   3.8 MiB	connmand
          3.1 MiB + 745.0 KiB =   3.9 MiB	bash (2)
          3.9 MiB + 513.5 KiB =   4.4 MiB	wpa_supplicant
          3.5 MiB +   1.3 MiB =   4.8 MiB	slimski
          5.7 MiB +   2.0 MiB =   7.8 MiB	icewm
          6.4 MiB +   1.8 MiB =   8.2 MiB	links2
          7.4 MiB + 923.5 KiB =   8.3 MiB	s6-supervise (61)
         12.3 MiB +   5.5 MiB =  17.7 MiB	x-terminal-emul
         13.5 MiB +   5.0 MiB =  18.5 MiB	rox
         32.2 MiB +  21.7 MiB =  53.9 MiB	dialogbox
         33.6 MiB +  21.4 MiB =  55.0 MiB	Xorg
        ---------------------------------
                                209.0 MiB
        =================================
        jakersfan@antix-s6-66:~
        $ sudo service connman restart
        Restarting Connection Manager:.
        jakersfan@antix-s6-66:~
        $ pstree
        s6-svscan─┬─at-spi-bus-laun─┬─dbus-daemon
                  │                 └─3*[{at-spi-bus-laun}]
                  ├─at-spi2-registr───2*[{at-spi2-registr}]
                  ├─conky───6*[{conky}]
                  ├─connmand
                  ├─2*[dbus-daemon]
                  ├─2*[dbus-launch]
                  ├─devmon───udevil
                  ├─redshift
                  ├─rox
                  ├─6*[s6-supervise───s6-log]
                  ├─2*[s6-supervise───s6-ipcserverd]
                  ├─s6-supervise───s6-linux-init-s
                  ├─6*[s6-supervise───agetty]
                  ├─41*[s6-supervise]
                  ├─s6-supervise───dbus-daemon
                  ├─s6-supervise───s6-fdholderd
                  ├─s6-supervise───slimski─┬─Xorg───{Xorg}
                  │                        └─desktop-session───icewm-session───icewm
                  ├─s6-supervise───foreground───seatd
                  ├─s6-supervise───foreground───udevd───udevd
                  ├─wpa_supplicant
                  └─x-terminal-emul─┬─bash───sudo───sudo───s6-rc_service-m───dialogbox───4*[{dialogbox}]
                                    ├─bash───pstree
                                    └─links2
        jakersfan@antix-s6-66:~
        $ sudo ps_mem.py
         Private  +   Shared  =  RAM used	Program
        144.0 KiB +  29.5 KiB = 173.5 KiB	s6-linux-init-shutdownd
        152.0 KiB +  22.5 KiB = 174.5 KiB	seatd
        196.0 KiB +  13.5 KiB = 209.5 KiB	s6-svscan
        228.0 KiB +  44.0 KiB = 272.0 KiB	s6-ipcserverd (2)
        248.0 KiB +  62.0 KiB = 310.0 KiB	foreground (2)
        284.0 KiB +  34.5 KiB = 318.5 KiB	s6-fdholderd
        368.0 KiB + 198.5 KiB = 566.5 KiB	icewm-session
        360.0 KiB + 258.5 KiB = 618.5 KiB	udevil
        544.0 KiB + 264.5 KiB = 808.5 KiB	s6-rc_service-m
        752.0 KiB + 122.0 KiB = 874.0 KiB	s6-log (6)
        648.0 KiB + 259.5 KiB = 907.5 KiB	devmon
        704.0 KiB + 207.0 KiB = 911.0 KiB	dbus-launch (2)
        624.0 KiB + 454.5 KiB =   1.1 MiB	redshift
        832.0 KiB + 254.5 KiB =   1.1 MiB	desktop-session
        816.0 KiB + 400.0 KiB =   1.2 MiB	agetty (6)
          1.1 MiB + 614.0 KiB =   1.7 MiB	dbus-daemon (4)
          1.0 MiB + 752.5 KiB =   1.8 MiB	at-spi-bus-launcher
          1.0 MiB + 767.5 KiB =   1.8 MiB	at-spi2-registryd
          1.8 MiB + 169.5 KiB =   1.9 MiB	connmand
        540.0 KiB +   2.0 MiB =   2.5 MiB	sudo (4)
          1.9 MiB + 615.5 KiB =   2.5 MiB	conky
          2.9 MiB + 425.5 KiB =   3.4 MiB	udevd
          3.1 MiB + 746.0 KiB =   3.9 MiB	bash (2)
          3.5 MiB +   1.3 MiB =   4.8 MiB	slimski
          6.8 MiB + 514.5 KiB =   7.3 MiB	wpa_supplicant
          5.7 MiB +   2.0 MiB =   7.8 MiB	icewm
          6.4 MiB +   1.8 MiB =   8.2 MiB	links2
          7.4 MiB + 923.5 KiB =   8.3 MiB	s6-supervise (61)
         12.4 MiB +   5.5 MiB =  17.9 MiB	x-terminal-emul
         13.5 MiB +   5.0 MiB =  18.5 MiB	rox
         32.2 MiB +  21.7 MiB =  53.9 MiB	dialogbox
         33.6 MiB +  21.4 MiB =  55.0 MiB	Xorg
        ---------------------------------
                                210.3 MiB
        =================================
        jakersfan@antix-s6-66:~
        $ 
        
        • This reply was modified 1 month, 4 weeks ago by calciumsodium.
        Attachments:
        #134389
        Member
        ProwlerGr

          This IDE hard drive is very old. Takes about 48 seconds to boot. Would speed (or lack of speed) of a hard drive make a difference in terms of sequencing of the s6-rc initiation?

          It could, I’m thinking that it could be that connman is loaded before the actual wifi module is fully up & running.
          Maybe add slimski as a dependency to connmand (as a workaround), which should result to connman starting after slimski – giving time to the wifi to prepare.

          sudo touch /etc/s6-rc/sv/connmand-srv/dependencies.d/slimski && sudo s6-db-reload

          • This reply was modified 1 month, 4 weeks ago by ProwlerGr.
          #134391
          Member
          calciumsodium

            This IDE hard drive is very old. Takes about 48 seconds to boot. Would speed (or lack of speed) of a hard drive make a difference in terms of sequencing of the s6-rc initiation?

            It could, I’m thinking that it could be that connman is loaded before the actual wifi module is fully up & running.
            Maybe add slimski as a dependency to connmand (as a workaround), which should result to connman starting after slimski – giving time to the wifi to prepare.

            sudo touch /etc/s6-rc/sv/connmand-srv/dependencies.d/slimski && sudo s6-db-reload

            Fantastic!!!

            It works!

            Thank you.

            Attachments:
            #134541
            Moderator
            Brian Masinick

              It’s working here; this afternoon and evening, I have spent an hour or more with each of the init diversity options except 66 today; I’ve spent 6-7 hours with 66 on other days, and I may get to it today too.

              Anyway, my story today is that I did a bit of “tuning” on my init-diversity system to see if I could achieve comparable performance to my other antiX installations on this system, in spite of the fact that init-diversity has been a development proof of concept (POC). The answer to the question is YES; it’s working well.

              I’ve used my sysVinit and runit versions earlier and now I’m with the s6-rc init; here’s some information about it:

              pstree;sudo ps_mem.py;inxi -zv4
              s6-svscan─┬─conky───4*[{conky}]
                        ├─dbus-daemon
                        ├─dbus-launch
                        ├─devmon───udevil
                        ├─pipewire-pulse───2*[{pipewire-pulse}]
                        ├─pipewire-start───pipewire───2*[{pipewire}]
                        ├─roxterm───bash───pstree
                        ├─2*[s6-supervise───s6-ipcserverd]
                        ├─6*[s6-supervise───agetty]
                        ├─6*[s6-supervise───s6-log]
                        ├─s6-supervise───s6-linux-init-s
                        ├─40*[s6-supervise]
                        ├─s6-supervise───s6-fdholderd
                        ├─s6-supervise───slimski─┬─Xorg───7*[{Xorg}]
                        │                        └─desktop-session───icewm-session───icewm───AppRun───chrome─┬─chrome───chrome───21*[{chrome}]
                        │                                                                                    ├─chrome───chrome─┬─chrome───6*[{chrome}]
                        │                                                                                    │                 ├─chrome───15*[{chrome}]
                        │                                                                                    │                 ├─chrome───19*[{chrome}]
                        │                                                                                    │                 ├─2*[chrome───17*[{chrome}]]
                        │                                                                                    │                 ├─chrome───13*[{chrome}]
                        │                                                                                    │                 ├─chrome───16*[{chrome}]
                        │                                                                                    │                 ├─chrome───20*[{chrome}]
                        │                                                                                    │                 └─chrome───8*[{chrome}]
                        │                                                                                    ├─chrome───11*[{chrome}]
                        │                                                                                    ├─chrome───6*[{chrome}]
                        │                                                                                    └─34*[{chrome}]
                        ├─s6-supervise───foreground───seatd
                        ├─s6-supervise───foreground───udevd
                        ├─s6-supervise───dbus-daemon
                        ├─s6-supervise───connmand
                        ├─startup───volumeicon───3*[{volumeicon}]
                        ├─ungoogled-chrom───{ungoogled-chrom}
                        ├─wireplumber───4*[{wireplumber}]
                        ├─wpa_supplicant
                        └─zzzfm
               Private  +   Shared  =  RAM used	Program
              140.0 KiB +  28.5 KiB = 168.5 KiB	s6-linux-init-shutdownd
              156.0 KiB +  19.5 KiB = 175.5 KiB	seatd
              192.0 KiB +  14.5 KiB = 206.5 KiB	s6-svscan
              220.0 KiB +  15.5 KiB = 235.5 KiB	AppRun
              232.0 KiB +  42.0 KiB = 274.0 KiB	s6-ipcserverd (2)
              244.0 KiB +  59.0 KiB = 303.0 KiB	foreground (2)
              352.0 KiB +  33.5 KiB = 385.5 KiB	s6-fdholderd
              260.0 KiB + 144.5 KiB = 404.5 KiB	startup
              264.0 KiB + 149.5 KiB = 413.5 KiB	pipewire-start
              388.0 KiB +  81.5 KiB = 469.5 KiB	dbus-launch
              368.0 KiB + 167.5 KiB = 535.5 KiB	udevil
              368.0 KiB + 181.5 KiB = 549.5 KiB	icewm-session
              748.0 KiB + 120.0 KiB = 868.0 KiB	s6-log (6)
              640.0 KiB + 290.5 KiB = 930.5 KiB	devmon
              812.0 KiB + 289.5 KiB =   1.1 MiB	desktop-session
                1.1 MiB +  20.5 KiB =   1.1 MiB	ungoogled-chromium_122.0.6261.69-1.AppImage
              908.0 KiB + 318.0 KiB =   1.2 MiB	dbus-daemon (2)
              844.0 KiB + 383.0 KiB =   1.2 MiB	agetty (6)
              912.0 KiB + 851.0 KiB =   1.7 MiB	sudo (2)
                2.0 MiB + 345.5 KiB =   2.3 MiB	bash
                2.2 MiB + 219.5 KiB =   2.4 MiB	udevd
                3.0 MiB + 665.5 KiB =   3.6 MiB	conky
                3.6 MiB + 155.5 KiB =   3.8 MiB	connmand
                5.3 MiB +   1.2 MiB =   6.5 MiB	pipewire
                3.4 MiB +   3.1 MiB =   6.5 MiB	volumeicon
                6.9 MiB + 226.5 KiB =   7.1 MiB	wpa_supplicant
                6.8 MiB + 686.5 KiB =   7.5 MiB	pipewire-pulse
                5.6 MiB +   2.0 MiB =   7.6 MiB	icewm
                7.4 MiB + 875.5 KiB =   8.3 MiB	s6-supervise (61)
                7.9 MiB +   1.7 MiB =   9.7 MiB	wireplumber
               12.4 MiB +   1.2 MiB =  13.6 MiB	slimski
               11.9 MiB +   4.1 MiB =  16.0 MiB	roxterm
               19.7 MiB +   2.9 MiB =  22.6 MiB	zzzfm
               50.6 MiB +  22.9 MiB =  73.5 MiB	Xorg
              379.5 MiB + 202.8 MiB = 582.2 MiB	chrome (16)
              ---------------------------------
                                      785.3 MiB
              =================================
              System:
                Kernel: 6.7.6-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
                Desktop: IceWM v: 3.4.5 Distro: antiX-23.1_amd64-init-diversity February
                  14 2024 base: Debian GNU/Linux 12 (bookworm)
              Machine:
                Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                  serial: <superuser required>
                Mobo: HP model: 887C v: 59.11 serial: <superuser required> UEFI: AMI
                  v: F.18 date: 11/26/2021
              Battery:
                ID-1: BAT0 charge: 40.6 Wh (99.8%) condition: 40.7/40.7 Wh (100.0%)
                  volts: 12.8 min: 11.3 model: HP Primary status: not charging
              CPU:
                Info: 6-core model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
                  type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
                Speed (MHz): avg: 539 high: 2070 min/max: 400/4056 cores: 1: 400 2: 400
                  3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 2070 12: 400
                  bogomips: 50307
                Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
              Graphics:
                Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel
                  arch: GCN-5 bus-ID: 03:00.0 temp: 44.0 C
                Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo type: USB
                  bus-ID: 1-3:3
                Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
                  unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
                  resolution: 1920x1080~60Hz
                API: OpenGL v: 4.6 vendor: amd mesa v: 22.3.6 glx-v: 1.4
                  direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 15.0.6 DRM
                  3.57 6.7.6-1-liquorix-amd64)
              Network:
                Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
                  port: f000 bus-ID: 01:00.0
                IF: wlan0 state: up mac: <filter>
              Drives:
                Local Storage: total: 238.47 GiB used: 10.91 GiB (4.6%)
                ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNV256G KIOXIA
                  size: 238.47 GiB temp: 25.9 C
              Partition:
                ID-1: / size: 47.76 GiB used: 10.91 GiB (22.8%) fs: ext4 dev: /dev/nvme0n1p3
                ID-2: /boot/efi size: 1.23 GiB used: 1.1 MiB (0.1%) fs: vfat
                  dev: /dev/nvme0n1p2
                ID-3: swap-1 size: 7.81 GiB used: 0 KiB (0.0%) fs: swap
                  dev: /dev/nvme0n1p6
              Info:
                Memory: total: N/A available: 7.1 GiB used: 1.04 GiB (14.7%)
                Processes: 382 Uptime: 34m Init: s6
                Packages: 1989 Compilers: gcc: 12.2.0 Shell: Bash v: 5.2.15 inxi: 3.3.33

              --
              Brian Masinick

              #134542
              Moderator
              Brian Masinick
                pstree;sudo ps_mem.py;inxi -zv4
                s6-svscan─┬─at-spi-bus-laun─┬─dbus-daemon
                          │                 └─3*[{at-spi-bus-laun}]
                          ├─at-spi2-registr───2*[{at-spi2-registr}]
                          ├─conky───6*[{conky}]
                          ├─2*[dbus-daemon]
                          ├─2*[dbus-launch]
                          ├─devmon───udevil
                          ├─gconfd-2
                          ├─librewolf─┬─Isolated Servic───29*[{Isolated Servic}]
                          │           ├─2*[Isolated Web Co───25*[{Isolated Web Co}]]
                          │           ├─Isolated Web Co───31*[{Isolated Web Co}]
                          │           ├─Privileged Cont───25*[{Privileged Cont}]
                          │           ├─RDD Process───3*[{RDD Process}]
                          │           ├─Socket Process───4*[{Socket Process}]
                          │           ├─Utility Process───4*[{Utility Process}]
                          │           ├─3*[Web Content───11*[{Web Content}]]
                          │           ├─WebExtensions───25*[{WebExtensions}]
                          │           └─110*[{librewolf}]
                          ├─pipewire-pulse───2*[{pipewire-pulse}]
                          ├─pipewire-start───pipewire───2*[{pipewire}]
                          ├─9*[s6-supervise───s6-log]
                          ├─s6-supervise───66-shutdownd
                          ├─s6-supervise───s6-fdholderd
                          ├─s6-supervise───s6-ipcserverd
                          ├─3*[s6-supervise───agetty]
                          ├─s6-supervise───udevd
                          ├─s6-supervise───dbus-daemon
                          ├─s6-supervise───seatd
                          ├─s6-supervise───slimski─┬─Xorg───11*[{Xorg}]
                          │                        └─desktop-session───icewm-session───icewm───roxterm───bash───pstree
                          ├─s6-supervise───connmand
                          ├─s6-supervise───nmbd
                          ├─s6-supervise───smbd─┬─cleanupd
                          │                     └─smbd-notifyd
                          ├─s6-supervise───bluetoothd
                          ├─set_time-and_da───gksu───sudo
                          ├─startup───volumeicon───3*[{volumeicon}]
                          ├─wireplumber───4*[{wireplumber}]
                          ├─wpa_supplicant
                          └─zzzfm
                 Private  +   Shared  =  RAM used	Program
                132.0 KiB +  18.5 KiB = 150.5 KiB	s6-ipcserverd
                144.0 KiB +  17.5 KiB = 161.5 KiB	seatd
                184.0 KiB +  19.5 KiB = 203.5 KiB	s6-svscan
                252.0 KiB +  35.5 KiB = 287.5 KiB	66-shutdownd
                308.0 KiB +  38.5 KiB = 346.5 KiB	s6-fdholderd
                264.0 KiB + 120.5 KiB = 384.5 KiB	startup
                268.0 KiB + 138.5 KiB = 406.5 KiB	pipewire-start
                376.0 KiB +  89.5 KiB = 465.5 KiB	icewm-session
                356.0 KiB + 118.5 KiB = 474.5 KiB	udevil
                280.0 KiB + 249.5 KiB = 529.5 KiB	set_time-and_da
                428.0 KiB + 268.5 KiB = 696.5 KiB	agetty (3)
                572.0 KiB + 266.5 KiB = 838.5 KiB	gconfd-2
                632.0 KiB + 230.5 KiB = 862.5 KiB	devmon
                736.0 KiB + 147.0 KiB = 883.0 KiB	dbus-launch (2)
                820.0 KiB + 237.5 KiB =   1.0 MiB	desktop-session
                  1.1 MiB + 196.5 KiB =   1.3 MiB	s6-log (9)
                868.0 KiB + 508.5 KiB =   1.3 MiB	at-spi-bus-launcher
                968.0 KiB + 428.5 KiB =   1.4 MiB	at-spi2-registryd
                  1.4 MiB + 486.0 KiB =   1.9 MiB	dbus-daemon (4)
                  1.5 MiB + 607.5 KiB =   2.0 MiB	pipewire-pulse
                  1.8 MiB + 286.5 KiB =   2.1 MiB	bash
                  2.0 MiB + 179.5 KiB =   2.2 MiB	bluetoothd
                772.0 KiB +   1.4 MiB =   2.2 MiB	sudo (3)
                  1.9 MiB + 660.5 KiB =   2.5 MiB	connmand
                  2.2 MiB + 419.5 KiB =   2.6 MiB	conky
                  2.1 MiB + 589.5 KiB =   2.6 MiB	udevd
                  1.9 MiB +   1.3 MiB =   3.2 MiB	gksu
                  2.8 MiB + 512.5 KiB =   3.3 MiB	s6-supervise (23)
                  3.7 MiB +   1.1 MiB =   4.8 MiB	pipewire
                  4.3 MiB + 788.5 KiB =   5.1 MiB	slimski
                  3.3 MiB +   2.4 MiB =   5.7 MiB	volumeicon
                  2.6 MiB +   3.5 MiB =   6.1 MiB	nmbd
                  5.7 MiB +   1.2 MiB =   6.9 MiB	icewm
                  7.1 MiB + 560.5 KiB =   7.7 MiB	wpa_supplicant
                  7.9 MiB +   1.4 MiB =   9.3 MiB	wireplumber
                  4.7 MiB +   8.5 MiB =  13.3 MiB	smbd (3)
                 11.4 MiB +   2.9 MiB =  14.3 MiB	roxterm
                 19.2 MiB +   2.3 MiB =  21.6 MiB	zzzfm
                 50.5 MiB +  29.3 MiB =  79.8 MiB	Xorg
                615.2 MiB + 139.9 MiB = 755.1 MiB	librewolf (13)
                ---------------------------------
                                        965.8 MiB
                =================================
                System:
                  Kernel: 6.7.6-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
                  Desktop: IceWM v: 3.4.5 Distro: antiX-23.1_amd64-init-diversity February
                    14 2024 base: Debian GNU/Linux 12 (bookworm)
                Machine:
                  Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                    serial: <superuser required>
                  Mobo: HP model: 887C v: 59.11 serial: <superuser required> UEFI: AMI
                    v: F.18 date: 11/26/2021
                Battery:
                  ID-1: BAT0 charge: 40.6 Wh (99.8%) condition: 40.7/40.7 Wh (100.0%)
                    volts: 12.8 min: 11.3 model: HP Primary status: not charging
                CPU:
                  Info: 6-core model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
                    type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
                  Speed (MHz): avg: 572 high: 2475 min/max: 400/4056 cores: 1: 2475 2: 400
                    3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
                    bogomips: 50303
                  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
                Graphics:
                  Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel
                    arch: GCN-5 bus-ID: 03:00.0 temp: 47.0 C
                  Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo type: USB
                    bus-ID: 1-3:3
                  Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
                    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
                    resolution: 1920x1080~60Hz
                  API: OpenGL v: 4.6 vendor: amd mesa v: 22.3.6 glx-v: 1.4
                    direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 15.0.6 DRM
                    3.57 6.7.6-1-liquorix-amd64)
                Network:
                  Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
                    port: f000 bus-ID: 01:00.0
                  IF: wlan0 state: up mac: <filter>
                Drives:
                  Local Storage: total: 238.47 GiB used: 10.88 GiB (4.6%)
                  ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNV256G KIOXIA
                    size: 238.47 GiB temp: 29.9 C
                Partition:
                  ID-1: / size: 47.76 GiB used: 10.88 GiB (22.8%) fs: ext4 dev: /dev/nvme0n1p3
                Info:
                  Memory: total: N/A available: 7.1 GiB used: 1.25 GiB (17.6%)
                  Processes: 351 Uptime: 25m Init: s6
                  Packages: 1989 Compilers: gcc: 12.2.0 Shell: Bash v: 5.2.15 inxi: 3.3.33

                --
                Brian Masinick

                #134564
                Member
                calciumsodium

                  In the spirit of continuing to optimize the proper sequencing of initiation. This time, I look at runit in my init-diversity system.

                  There is a tiny tiny hiccup in runit. Let me explain. In my setup, I autolaunch links2 to a news site on every start. Sometimes, links2 launches before wifi is up. Then I get this error in links2 that there is no news site, simply because wifi is not up before links2 could complete its launch.

                  So I look at the runit scripts and modified the slimski and connman /etc/sv scripts.

                  In the /etc/sv/slimski script,

                  before it was:

                  # sv start elogind && sv check elogind || true

                  # Load language code

                  Now, it is:

                  
                  # sv start elogind && sv check elogind || true
                  sv start dbus
                  sv start connman
                  # Load language code
                  

                  In the /etc/sv/connman script,

                  before it was:

                  # Start dbus first
                  sv start dbus && sv check dbus || exit 170

                  Now it is:

                  
                  # Start dbus first
                  #sv start dbus  &&  sv check dbus  ||  exit 170
                  

                  I added dbus and connman within slimski. And removed dbus from connman, since dbus was started in slimski.

                  It seems to work better for me. This is just for my own use.

                  • This reply was modified 1 month, 3 weeks ago by calciumsodium.
                  • This reply was modified 1 month, 3 weeks ago by calciumsodium.
                  #134593
                  Moderator
                  Brian Masinick

                    @calciumsodium Good work with your diagnosis.

                    I spent a lot of time with the init-diversity version yesterday,
                    allowing each variation to operate for at least an hour or more.
                    I also optimized some of my settings, adjusting the programs
                    and features that I use, adding some and removing others;
                    my instances are now running almost as well as the released
                    versions, which is very good news indeed!

                    --
                    Brian Masinick

                    #135277
                    Member
                    ProwlerGr

                      Now that the dust has settled from the official 23.1 releases, I felt it is a good time for the ‘init-diversity’ spins to get an update re-based on the newest official release

                      antiX-23.1_amd64_init-diversity-edition_UNOFFICIAL_20240302.iso
                      antiX-23.1_amd64_init-diversity-edition_UNOFFICIAL_20240302.iso.md5

                      antiX-23.1_i386_init-diversity-edition_UNOFFICIAL_20240302.iso
                      antiX-23.1_i386_init-diversity-edition_UNOFFICIAL_20240302.iso.md5

                      antiX-23.1_init-diversity-edition_UNOFFICIAL_20240302_archive.torrent

                      This spin comes with the live login details as per official antiX releases.

                      user: demo
                      password: demo
                      root password: root

                      Changelog:
                      * rebased on antiX-23.1_x64-full.iso & antiX-23.1_386-full.iso
                      * all live menus (grub – isolinux – syslinux) have been updated to boot from all 4 inits.
                      * Everything now works out-of-the-box after installation, there is no longer a need to run ‘dpkg-reconfigure grub-multi-init-enabler’. (Due to a modification to package remaster-antix.deb)
                      * A few minor updates to the s6-66 packages which have been recompiled with ‘sane’ default settings (eg swap now works out-of the box for 66)
                      * Like all my previous spins, all development libraries come preinstalled for those who wish to compile my sources in the s6-experimental repo.

                      A big thanks to all the antiX developers, contributors, translators & community members.
                      I hope you all enjoy this & I welcome any feedback

                      • This reply was modified 1 month, 2 weeks ago by ProwlerGr. Reason: Uploaded to archive.org
                      #135278
                      Member
                      ProwlerGr

                        Using the following script on a fresh install of official images antiX-23.1_x64-full.iso or antiX-23.1_386-full.iso will give you the same result as you would get installing my above linked isos.

                        #!/bin/bash
                        if [ "$(id -u)" -gt 0 ]; then
                        	echo "You need to run as root or using sudo"
                        	exit 1
                        fi
                        echo "disabling backports" 
                        echo "# Debian Bookworm backports. Use with caution.
                        # deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware" > /etc/apt/sources.list.d/bookworm-backports.list
                        echo "updating package list"
                        apt update
                        apt dist-upgrade -y
                        echo "installing nala"
                        apt install -y nala
                        echo "installing compile tools to build s6 fron sources"
                        nala install -y git git-man lowdown xterm build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder sbuild sbuild-debian-developer-setup crossbuild-essential-amd64 crossbuild-essential-i386 crossbuild-essential-arm64 dh-exec dh-runit dh-sysuser dh-buildinfo libselinux1-dev po4a dpkg-repack doc-base
                        echo "adding sample packages to test with s6"
                        nala install -y samba smbclient nmap xrdp dhcpcd xorgxrdp xserver-xorg-input-synaptics
                        echo "adding firewall rules for samba & xrdp"
                        ufw allow samba; ufw allow 3389/tcp; ufw allow 3350/tcp
                        nala install -y seatd slimski dialogbox runit-service-manager connman connman-gtk connman-ui
                        echo "adding Prowler's s6-rc/s6-66 experimental repo"
                        wget http://deb-s6-rc-66-init-experimental.duckdns.org:8080/--gpg-key/s6-rc-66-experimental-repo.gpg -O /etc/apt/trusted.gpg.d/s6-rc-66-experimental-repo.gpg
                        echo "deb http://deb-s6-rc-66-init-experimental.duckdns.org:8080/ experimental-s6 antix-s6
                        deb-src http://deb-s6-rc-66-init-experimental.duckdns.org:8080/ experimental-s6 antix-s6" > /etc/apt/sources.list.d/experimental-s6.list
                        echo "update package list"
                        nala update
                        echo "installing experimental s6 - runit - sysvinit packages"
                        nala install -y s6 s6-doc execline execline-doc libexecline-dev libexecline2.9 skalibs-dev skalibs-doc libskarnet2.14 libs6-dev s6-rc s6-linux-init s6-portable-utils s6-linux-utils oblibs 66 66-tools boot-66serv libs6-linux-init-1.1 libs6-linux-init-dev runit-service-manager s6-rc-init s6-66-init lib-sysvinit-init runit-antix runit-services-full-antix getty-run bootlogd initscripts sysv-rc sysvinit-core sysvinit-utils remaster-antix
                        nala install -y s6-rc-services s6-66-services runit-full-core-services-antix runit-services-full-antix grub-multi-init-enabler init-diversity-tools s6-rc-service-manager
                        echo "enabling default runit startup scripts"
                        ln -sf /etc/sv/slimski /etc/runit/runsvdir/default/slimski
                        ln -sf /etc/sv/seatd /etc/runit/runsvdir/default/seatd
                        ln -sf /etc/sv/getty-tty1 /etc/runit/runsvdir/default/getty-tty1
                        ln -sf /etc/sv/getty-tty2 /etc/runit/runsvdir/default/getty-tty2
                        ln -sf /etc/sv/getty-tty3 /etc/runit/runsvdir/default/getty-tty3
                        ln -sf /etc/sv/connman /etc/runit/runsvdir/default/connman
                        ln -sf /etc/sv/udevd /etc/runit/runsvdir/default/udevd
                        ln -sf /etc/sv/dbus /etc/runit/runsvdir/default/dbus
                        echo "end of script"
                        
                        #136426
                        Moderator
                        Brian Masinick

                          I reinstalled the latest March 2 instance of init-diversity and I also ran the suggested update that was recently mentioned and the result has been a really solid setup. In particular the shutdown, reboot and poweroff scripts are much improved and all four images now not only work well in every day operation, when you want to get out of them, the three commands in the /lib/init-diversity directory work quite well; I simply added a personal alias to reference each of them, further simplifying my usual way of navigating.

                          Based on the amount of progress between the 02-01, 02-04, 02-14, and now 03-02 updates, when we release this will be very good, and when the 66 init eventually gets a finalized service management utility similar to the other versions, that one will be EVEN better; it’s a favorite of mine already.

                          --
                          Brian Masinick

                          #136427
                          Moderator
                          Brian Masinick
                            pstree;sudo ps_mem.py;pinxi -zv5
                            s6-svscan─┬─at-spi-bus-laun─┬─dbus-daemon
                                      │                 └─3*[{at-spi-bus-laun}]
                                      ├─at-spi2-registr───2*[{at-spi2-registr}]
                                      ├─conky───6*[{conky}]
                                      ├─2*[dbus-daemon]
                                      ├─2*[dbus-launch]
                                      ├─devmon───udevil
                                      ├─gconfd-2
                                      ├─pipewire-pulse───2*[{pipewire-pulse}]
                                      ├─pipewire-start───pipewire───2*[{pipewire}]
                                      ├─roxterm───bash───pstree
                                      ├─9*[s6-supervise───s6-log]
                                      ├─s6-supervise───66-shutdownd
                                      ├─s6-supervise───s6-fdholderd
                                      ├─s6-supervise───s6-ipcserverd
                                      ├─3*[s6-supervise───agetty]
                                      ├─s6-supervise───udevd
                                      ├─s6-supervise───dbus-daemon
                                      ├─s6-supervise───seatd
                                      ├─s6-supervise───slimski─┬─Xorg───8*[{Xorg}]
                                      │                        └─desktop-session───icewm-session───icewm
                                      ├─s6-supervise───connmand
                                      ├─s6-supervise───nmbd
                                      ├─s6-supervise───smbd─┬─cleanupd
                                      │                     └─smbd-notifyd
                                      ├─s6-supervise───bluetoothd
                                      ├─startup───volumeicon───3*[{volumeicon}]
                                      ├─upowerd───2*[{upowerd}]
                                      ├─wireplumber───4*[{wireplumber}]
                                      ├─wpa_supplicant
                                      └─zzzfm
                             Private  +   Shared  =  RAM used	Program
                            132.0 KiB +  22.5 KiB = 154.5 KiB	s6-ipcserverd
                            140.0 KiB +  21.5 KiB = 161.5 KiB	seatd
                            184.0 KiB +  22.5 KiB = 206.5 KiB	s6-svscan
                            256.0 KiB +  38.5 KiB = 294.5 KiB	66-shutdownd
                            328.0 KiB +  43.5 KiB = 371.5 KiB	s6-fdholderd
                            268.0 KiB + 150.5 KiB = 418.5 KiB	pipewire-start
                            284.0 KiB + 152.5 KiB = 436.5 KiB	startup
                            356.0 KiB + 172.5 KiB = 528.5 KiB	udevil
                            372.0 KiB + 208.5 KiB = 580.5 KiB	icewm-session
                            420.0 KiB + 292.5 KiB = 712.5 KiB	agetty (3)
                            636.0 KiB + 305.5 KiB = 941.5 KiB	devmon
                            744.0 KiB + 209.0 KiB = 953.0 KiB	dbus-launch (2)
                            732.0 KiB + 317.5 KiB =   1.0 MiB	gconfd-2
                            808.0 KiB + 303.5 KiB =   1.1 MiB	desktop-session
                              1.1 MiB + 223.5 KiB =   1.3 MiB	s6-log (9)
                            980.0 KiB + 608.5 KiB =   1.6 MiB	at-spi-bus-launcher
                              1.1 MiB + 561.5 KiB =   1.6 MiB	at-spi2-registryd
                              1.2 MiB + 484.5 KiB =   1.7 MiB	upowerd
                            948.0 KiB + 816.0 KiB =   1.7 MiB	sudo (2)
                              1.3 MiB + 560.0 KiB =   1.9 MiB	dbus-daemon (4)
                              1.5 MiB + 704.5 KiB =   2.2 MiB	pipewire-pulse
                              2.0 MiB + 318.5 KiB =   2.3 MiB	bluetoothd
                              2.0 MiB + 359.5 KiB =   2.4 MiB	bash
                              1.8 MiB + 734.5 KiB =   2.5 MiB	connmand
                              2.2 MiB + 620.5 KiB =   2.8 MiB	udevd
                              2.2 MiB + 760.5 KiB =   2.9 MiB	conky
                              2.8 MiB + 582.5 KiB =   3.4 MiB	s6-supervise (23)
                              3.6 MiB +   1.2 MiB =   4.8 MiB	pipewire
                              4.4 MiB +   1.4 MiB =   5.8 MiB	slimski
                              2.6 MiB +   3.7 MiB =   6.2 MiB	nmbd
                              3.7 MiB +   3.8 MiB =   7.5 MiB	volumeicon
                              7.0 MiB + 584.5 KiB =   7.6 MiB	wpa_supplicant
                              5.6 MiB +   2.4 MiB =   8.0 MiB	icewm
                              8.0 MiB +   1.7 MiB =   9.6 MiB	wireplumber
                              4.7 MiB +   8.8 MiB =  13.4 MiB	smbd (3)
                             11.7 MiB +   4.9 MiB =  16.6 MiB	roxterm
                             19.8 MiB +   3.5 MiB =  23.3 MiB	zzzfm
                            106.5 MiB +   1.5 MiB = 108.0 MiB	Xorg
                            ---------------------------------
                                                    246.8 MiB
                            =================================
                            System:
                              Kernel: 6.7.9-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
                              Desktop: IceWM v: 3.4.5 Distro: Debian GNU/Linux 12 (bookworm)
                            Machine:
                              Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                                serial: <superuser required>
                              Mobo: HP model: 887C v: 59.11 serial: <superuser required>
                                uuid: <superuser required> UEFI: AMI v: F.18 date: 11/26/2021
                            Battery:
                              ID-1: BAT0 charge: 40.6 Wh (99.8%) condition: 40.7/40.7 Wh (100.0%)
                                volts: 12.9 min: 11.3 model: HP Primary status: not charging
                            Memory:
                              System RAM: total: 8 GiB available: 7.1 GiB used: 712.7 MiB (9.8%)
                              Array-1: capacity: 32 GiB slots: 2 modules: 1 EC: None
                                max-module-size: 16 GiB note: est.
                              Device-1: Bottom - Slot 1 (left) type: DDR4 size: 8 GiB speed: 3200 MT/s
                              Device-2: Bottom - Slot 2 (right) type: no module installed
                            CPU:
                              Info: 6-core model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
                                type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
                              Speed (MHz): avg: 539 high: 2071 min/max: 400/4056 cores: 1: 400 2: 400
                                3: 400 4: 400 5: 400 6: 400 7: 2071 8: 400 9: 400 10: 400 11: 400 12: 400
                                bogomips: 50304
                              Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
                            Graphics:
                              Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel
                                arch: GCN-5 bus-ID: 03:00.0 temp: 40.0 C
                              Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo type: USB
                                bus-ID: 1-3:3
                              Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
                                unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
                                resolution: 1920x1080~60Hz
                              API: EGL v: 1.4,1.5 drivers: kms_swrast,radeonsi,swrast platforms:
                                active: gbm,x11,surfaceless,device inactive: wayland
                              API: OpenGL v: 4.6 vendor: amd mesa v: 22.3.6 glx-v: 1.4
                                direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 15.0.6 DRM
                                3.57 6.7.9-1-liquorix-amd64)
                            Audio:
                              Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
                                driver: snd_hda_intel v: kernel bus-ID: 03:00.1
                              Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
                                driver: snd_rn_pci_acp3x v: kernel bus-ID: 03:00.5
                              Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
                                driver: snd_hda_intel v: kernel bus-ID: 03:00.6
                              API: ALSA v: k6.7.9-1-liquorix-amd64 status: kernel-api
                              Server-1: PipeWire v: 1.0.3 status: active
                            Network:
                              Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
                                port: f000 bus-ID: 01:00.0
                              IF: wlan0 state: up mac: <filter>
                            Bluetooth:
                              Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB
                                bus-ID: 1-4:4
                              Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: stopped
                                rfk-block: hardware: no software: yes address: <filter>
                            Drives:
                              Local Storage: total: 238.47 GiB used: 12.88 GiB (5.4%)
                              ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNV256G KIOXIA
                                size: 238.47 GiB temp: 27.9 C
                              Message: No optical or floppy data found.
                            Partition:
                              ID-1: / size: 47.76 GiB used: 12.88 GiB (27.0%) fs: ext4 dev: /dev/nvme0n1p3
                                label: rootantiX23 uuid: 42a84fb3-2234-4fe5-a3cb-d55d63b9d78f
                            Swap:
                              Alert: No swap data was found.
                            Sensors:
                              System Temperatures: cpu: 44.5 C mobo: N/A gpu: amdgpu temp: 40.0 C
                              Fan Speeds (rpm): fan-1: 0 fan-2: 0
                            Info:
                              Processes: 363 Uptime: 7m Init: s6
                              Packages: 2066 Compilers: gcc: 12.2.0 Shell: Bash v: 5.2.15
                                pinxi: 3.3.33-4

                            --
                            Brian Masinick

                            #136428
                            Moderator
                            Brian Masinick
                               ps aux|head -2
                              USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
                              root         1  0.0  0.0   2932  1408 ?        S    19:46   0:00 /usr/bin/s6-svscan -t 0 -L 256 /run/66/scandir/0

                              --
                              Brian Masinick

                              #136793
                              Member
                              ProwlerGr

                                OpenRC is now available as an init option for the ‘init-diversity’ installs.

                                Running

                                sudo apt update && sudo apt upgrade -y && sudo apt install -y openrc lib-openrc-init && sudo update-grub

                                would make it available as another grub option – obviously at next reboot.

                                #136808
                                Member
                                calciumsodium

                                  Using openrc init. Thank you @ProwlerGR.

                                  Perhaps the title can be changed include openrc: antix-23.1_init-diversity-edition – sysvinit / runit / s6-rc / s6-66 / openrc

                                  Attachments:
                                Viewing 15 posts - 226 through 240 (of 262 total)
                                • You must be logged in to reply to this topic.