The officially official Devuan Forum!

You are not logged in.

#51 Re: Off-topic » AI on mainstream media » 2023-05-30 19:27:03

pcalvert wrote:

I saw a short clip from a recent Elon Musk interview. In it, he mentioned that AI is already being taught to lie.

Standardpoodle wrote:

What really happens is one thing. How it is marketed is another.

I agree. And it's not only how it is marketed but also when it's marketed.

Google started road testing AI over a decade ago, so I'm guessing development began a decade or more earlier.

Project Chauffeur ran for almost two years undetected, road testing with seven vehicles before the New York Times revealed their existence on October 9, 2010.

https://wikiless.org/wiki/Waymo?lang=en … _Chauffeur

As for Musk...

All you have to do is think. Using Elon Musk as an example, the man appeared to come from literally nowhere and yet suddenly “owns” the world’s largest auto manufacturer. Musk at the same time began an aggressive program of launching tens of thousands of communications satellites, and then SpaceX, “Elon Musk’s private spaceflight company”, the maker of the Starship, planning International Space Station missions, no less. Then we have Musk buying Twitter for $44 billion.

In the last 100 years, anyone attempting to create a new auto company and brand has met with disaster, but Musk apparently experienced not a hiccup with the Tesla that is suddenly a world favorite. This would have required perhaps ten years of planning and design, the planning of factories and production, the creation of supply lines, the testing and certification, and so much more, but with Tesla this apparently all occurred overnight in a vacuum. Are we to believe Elon Musk designed the Tesla? There is no evidence Musk has the ability to design even a dipstick, much less an entire car, so how did all this occur and what was the source of the background billions required to bring this project to fruition? Musk played no part in the creation of the Tesla. He just somehow showed up at the end, “owning” the company.

Similarly, the aggressive program of communication satellites that “Elon Musk” has launched; this as well would require many years of planning and design, to say nothing of arranging the launch facilities and obtaining the necessary thousands of paying customers. This again would require years and billions of dollars in financing but, like Bezos’ space flight program, this one suddenly appeared in full bloom, operating, launched, and ready to go. Who did the planning for this? It certainly wasn’t Musk, so who was behind it? And the money for all this came from where? “Musk’s” Tesla has never made a profit, so where would he obtain the billions for a pie-in-the-sky system of tens of thousands of communications satellites? Nothing like this can happen without a decade or more of intensive planning and an enormous investment, and obviously none of that came from Musk.

These would be enough challenge for any man, but then we had “Elon Musk” buying Twitter for $44 billion. How would that happen? We are told that Musk suddenly has wealth of – vaguely – $200 billion, with no detail, but presumably from stock holdings in “his” Tesla. But are we to assume that Musk has an extra $44 billion in loose cash sitting in the bank to purchase Twitter? That’s not possible, and Musk isn’t selling half his interest in Tesla shares to finance it, so what is the source of the money? The media confuse this by providing only a few sound bytes but no detail, and thus we have thoughts loosely in our minds that Musk is very wealthy and could somehow afford to purchase Twitter, but all we need to do is think to realise that is impossible.

The Richest Man in the World
November 21, 2022
21,000 Words
https://www.unz.com/lromanoff/the-riche … the-world/

Five minutes of details:
The Real Elon Musk
2023-05-18
4:51
https://153news.net/watch_video.php?v=MR1GD3WASDK8

Musk is a popular talking head, yet a distraction, as is ChatGPT and much of what's in the daily headlines. The major search engines are already using AI, and a search for 'ai test shows bias' can find lots of articles going back years. Perhaps the AI 'bias' (lying) is to facilitate the perspective below?

Planet Lockdown
Catherine Austin Fitts Interview
Dec 29, 2020
NOTE: video was banned on facebook and youtube in Feb 2021 after 20+M views
48:28
https://odysee.com/@VideosBannedFromYou … Lockdown:f

#52 Re: Off-topic » A warning from the godfather of AI » 2023-05-04 16:20:17

Followed golinux's thread, this one too.

A month ago a ChatGPT ad/spam showed up in my email and two weeks ago I got a snailmail full-color, oversized postcard. Both described how cool ChatGPT is and how it would enhance my life. Reminded me of 'The Cloud' promotions years ago, and entrusting personal stuff on someone else's hard drive... and paying a monthly fee for the priviledge.

The difficulty in searching ChatGPT was deciding which of the zillions of links to follow. While big tech's already using it and it's widely promoted, the experts are issuing dire warnings?

OpenAI's new ChatGPT bot: 10 dangerous things it's capable of
December 6, 2022
https://www.bleepingcomputer.com/news/t … apable-of/

Links following above article:
OpenAI releases tool to detect AI-written text
Microsoft unveils AI-powered Microsoft 365 Copilot assistant
DuckDuckGo launches AI-powered search query answering tool
Brave Search launches AI-powered summarizer in search results
Microsoft adds AI-powered Bing Chat to Windows 11 taskbar

Google's AI Robot TERRIFIES Officials Before It Was Quickly Shut Down
February 21, 2023
8:35
https://inv.vern.cc/watch?v=ERXG_yndO3E
NOTE: Observant comments. Scroll for more AI videos on same page

ChatGPT creator warns of AI dangers
19 Mar, 2023
https://www.rt.com/news/573243-gpt-creator-ai-danger/
From the article:

Altman told ABC that his company is in “regular contact” with government officials, but did not elaborate on whether these officials played any role in shaping ChatGPT’s political preferences. He told the American network that OpenAI has a team of policymakers who decide “what we think is safe and good” to share with users.

Altoid wrote:

Interesting times ...

Indeed. It's often time consuming to confirm whether the news we're reading or watching is real. Like the greenscreen and real time video editing already in use, and digital people (eg: Google's AI Robot) the public seems to trust more than real people, AI adds another subtle layer of BS to wade through... assuming we even see it for what it is.

#54 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-19 21:25:06

@Head_on_a_Stick

Appreciate your thoughts. Yes, I can upgrade to the new procps and accept the different  memory reporting and hope it'll be corrected soon. I can also keep the older procps until the problem's resolved, hopefully soon. I've had to put a hold on a pkg several times when the upgrade was available but one or two of its dependencies were not. I'll keep the older procps for now until some other essential pkg/s require the upgrade.

FWIW
The new procps has libprocps as a dependency. I didn't find any reported bugs for the library but I did find the links below for procps-2:4.0.2-1 and a fix for 2:4.0.2-2. Neither mentions a memory reporting problem. Despite what was fixed, procps-2:4.0.2-2 caused the memory problem. There might be more bug reports but I didn't find any.

Oct 24 2022
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022573
Dec 5 2022
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025495

#55 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-19 21:22:47

@aluma

A search in /.local/shared/xorg and /var/log showed no 'download' in the current or old files, in either of the sda or sdb OSs. My understanding is the log shows loading/testing/unloading until the correct mix of modules for your hardware is found... screen, mouse, keyboard, etc. When my 24" screen died (DVI to HDMI) and I started using the 37" TV (HDMI to HDMI), no adjustment/tinkering was needed... it just worked. Assuming the download is from some online source, it seems odd and worth checking.

#56 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-19 03:45:30

rbit wrote:

Maybe this is the cause of the discrepancy?  apt-listchanges news:

procps (2:4.0.2-1) unstable; urgency=medium

Downgraded to 2:3.3.17-5+devuan1, rebooted and memory is back to normal.

Damn fine catch, rbit. Thank you!

#57 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 20:59:38

@Head_on_a_Stick

I think the OP's log will be under ~/.local/share/xorg/

Yes, it is. The ps -C Xorg -o user cmd from your link shows X running under USER/me, so the log shows up in my home dir.

@aluma

open /var/log/Xorg.0.log and see what it downloads.

Please explain 'it downloads' and/or what to look for.

#58 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 06:15:14

... and coming up with a miraculous fix for a 'modest' fee.

#59 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 02:24:48

@andyprough

been keeping your page memory and dentries and inodes nice and clean?

Yes. I don't usually boot back and forth between sda/sdb as I've done this past week. I'm normally in one or the other for a month or more without a reboot. That sync cmd is in the fluxbox menu and I run it a couple of times a week. Appreciate the thought.

#60 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 02:21:00

@Head_on_a_Stick

Glad the doas in my previous post looked normal. I just ran it again. Any idea why xorg is almost double what it was with the same files open on the desktop?

doas ps_mem | grep 'Xorg\|fluxbox'
  4.2 MiB +   1.1 MiB =   5.3 MiB       fluxbox
100.4 MiB +   4.7 MiB = 105.0 MiB       Xorg

Yes, free still shows excess memory. With just xterm on the desktop:

free -m
               total        used        free      shared  buff/cache   available
Mem:            3771         465        2939          53         630        3306
Swap:           1824           0        1824

Procps was updated on Dec 6:
[UPGRADE] procps:amd64 2:3.3.17-7.1devuan1 -> 2:4.0.2-1devuan1
along with this:
[REMOVE, NOT USED] libprocps8:amd64 2:3.3.17-7.1devuan1
The libprocps8 pkg is in the Debian repos but not in Devuan's... haven't looked into why.
Was updated again on Dec 16:
[UPGRADE] procps:amd64 2:4.0.2-1devuan1 -> 2:4.0.2-2devuan1

Yes, the CPU's a Haswell but the intel-microcode and iucode-tool pkgs are not installed. The firmware-linux and firmware-linux-nonfree pkgs are not installed, either. Neither of the sda/sdb OSs have had any of those pkgs installed for well over a year. The kernel, though, has about ten built-in Intel modules for sound, better function and security.

I'm out of ideas here, sorry.

No worries, my thanks for all you've done to help.

#61 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-17 22:39:59

The xserver-xorg-video-intel pkg isn't installed, nor anything intel (eg: non-free microcode, driver, shaders) except libdrm-intel1, as a dependency of libgl1-mesa-dri. X is using mesa's OpenGL stuff... video works great online or local. The HD4400 graphics chip is integrated with the Core i3-4160 CPU.

$ inxi -G
Graphics:
  Device-1: Intel 4th Generation Core Processor Family Integrated
    Graphics driver: i915 v: kernel
  Display: server: X.Org v: 1.21.1.5 driver: X:
    loaded: modesetting dri: crocus gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel HD Graphics
    4400 (HSW GT2)

Don't have/use a compositor, just fluxbox's pseudo transparency. With Xorg 21.5.1:

doas ps_mem | grep 'Xorg\|fluxbox'
  4.8 MiB + 625.5 KiB =   5.4 MiB       fluxbox
 52.6 MiB +  27.3 MiB =  79.8 MiB       Xorg

Thanks for doas, didn't know of it until your post.

#62 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-17 19:06:39

.xinitrc

#!/bin/sh
#
numlockx &
conky --pause=1 -c ~/.conky/conky.conf &
# feh --bg-scale '~/.fluxbox/backgrounds/neon-surf.jpg' &
# feh --bg-scale '~/.fluxbox/backgrounds/la-playa.jpg' &
feh --bg-scale '~/.fluxbox/backgrounds/night-poppies-1.jpg' &
#
exec fluxbox

The line for feh invokes:

.fehbg

#!/bin/sh
feh --no-fehbg --bg-scale '~/.fluxbox/backgrounds/night-poppies-1.jpg'

And FWIW:

.xserverrc

#!/bin/sh
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR
Head_on_a_Stick wrote:

So what happens if you move .xserverrc somewhere else and run startx /usr/bin/fluxbox

Got the Fluxbox desktop, minus the background, etc.

Appreciate your thoughts, and I'm open to whatever info you ask for. However, just so you know, a little over halfway down the second page of 'Show your desktop (rebooted)' is my desktop from Sep 2018, #42. The .xinitrc and .fehbg files have been edited maybe two or three times since then for the background, and the .xsession file was never edited after creating it 2+ years ago.

BUT... what you asked gave me an idea. The only changes on these OSs, aside from updates and infrequent color scheme edits, are occasional downloads of videos, etc. The excess memory might be from a download, a dot file edit or something else. I moved everything except .Xauthority, .xinitrc (commented out conky, feh, xnumlock) and .xserver to 'old.home.stuff' and rebooted. Same excessive memory.

#63 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-17 01:33:01

The last xserver-xorg-core update was Nov 15, 2:21.1.4-2 -> 2:21.1.4-3. Since your last post, I updated and found the 21.1.5-1 version included with 115 available updates. Installed the updates and rebooted to get a fresh read. Same memory problem using 21.1.4-3 until earlier today, and 21.1.5-1 now.

It's a console login and 'xinit' starts the fluxbox desktop. The .xinitrc file has 'exec fluxbox,' feh loads the background, starts conky and xnumlock. Maybe 2/3 years ago, I had to create an '.xserverrc' file for xinit to start the desktop.

#64 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-16 20:20:03

@ralph.ronnquist

Thanks for the suggestion.

$ df -h | grep -E 'Filesystem|tmpfs'
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           378M  748K  377M   1% /run
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           1.1G     0  1.1G   0% /dev/shm
tmpfs           378M  4.0K  378M   1% /run/user/1000

Been searching for an explanation of the above results but haven't found anything useful, or what it may have to do with suddenly showing excessive memory use. Appreciate any help.

#65 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-16 20:17:42

@Head_on_a_Stick

Thanks for taking a look. The ~/.xsession-errors file's dated Dec 2021, has a little over one page of lines and never updated. Some lines:

dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting NODM_X_TIMEOUT=300
dbus-update-activation-environment: setting NODM_FIRST_VT=7
dbus-update-activation-environment: setting MAIL=/var/mail/root
dbus-update-activation-environment: setting USER=(usr)
dbus-update-activation-environment: setting HOME=/home/(usr)
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FuMn6Eboxq,guid=9e57b5f520e2f6a60596091661b6297e
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=qt5ct
dbus-update-activation-environment: setting TERM=linux
dbus-update-activation-environment: setting WINDOWPATH=7
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1

Have you considered Wayland

No I haven't, although I've read some of your posts about it. Perhaps it's time to give it a spin and see for myself.

#66 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 23:40:19

Head_on_a_Stick wrote:

Shared memory usage in Linux is complicated

Ain't that the truth.

Most recent Xorg log, Dec 14
https://droptext.cc/napw

FWIW, my Dell 24" bit the dust about five months ago and currently using an old Motorola 37". 

inxi -G
Graphics:
  Device-1: Intel 4th Generation Core Processor Family Integrated
    Graphics driver: i915 v: kernel
  Display: server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting dri: crocus gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.0 renderer: Mesa Intel HD Graphics
    4400 (HSW GT2)

#67 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 22:42:42

Thanks, aluma, top after pressing ">"

Tasks: 122 total,   1 running, 121 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.3 sy,  0.0 ni, 99.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3771.9 total,   2759.9 free,    451.8 used,    848.0 buff/cache     
MiB Swap:   1825.0 total,   1820.5 free,      4.5 used.   3320.1 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND             
26537 (usr)     20   0  615276 109048  60796 S   0.7   2.8   1:57.31 Xorg                 
26548 (usr)     20   0  625872  20612  14220 S   1.3   0.5   1:41.38 conky               
17393 (usr)     20   0   23512  13992   8072 S   0.0   0.4   0:00.17 xterm               
26547 (usr)     20   0   21848  11672   8652 S   0.0   0.3   0:06.10 fluxbox             
4536 (usr)     20   0  161004  10088   5444 S   0.0   0.3   0:01.21 at-spi2-registr     
4511 (usr)     20   0  308332   8628   5988 S   0.0   0.2   0:00.00 at-spi-bus-laun     
17395 (usr)     20   0    7984   4936   3516 S   0.0   0.1   0:00.01 bash                 
1473 (usr)     20   0    8104   4784   3324 S   0.0   0.1   0:00.02 bash                 
21935 (usr)     20   0    8172   4668   2664 R   0.0   0.1   0:00.01 top                 
4522 (usr)     20   0  156308   4432   4084 S   0.0   0.1   0:00.00 dconf-service       
4516 (usr)     20   0    4308   3068   2820 S   0.0   0.1   0:00.41 dbus-daemon         
1444 root      20   0   38084   3032   2656 S   0.0   0.1   0:00.01 elogind-daemon       
1463 root      20   0    4868   2336   1856 S   0.0   0.1   0:00.02 login               
1114 root      20   0    5868   2172   1960 S   0.0   0.1   0:00.00 dhclient             
1437 root      20   0    6608   2140   1932 S   0.0   0.1   0:00.09 cron                 
4508 (usr)     20   0    6672   2004   1664 S   0.0   0.1   0:00.00 dbus-launch         
4509 (usr)     20   0    4408   1928   1640 S   0.0   0.0   0:00.00 dbus-daemon         
1439 message+  20   0    4436   1832   1580 S   0.0   0.0   0:00.13 dbus-daemon         
    1 root      20   0    3296   1820   1776 S   0.0   0.0   0:01.30 init                 
1374 root      20   0  218332   1712   1304 S   0.0   0.0   0:00.01 rsyslogd             
  412 root      20   0   22892   1680   1344 S   0.0   0.0   0:00.15 udevd               
26536 (usr)     20   0    6176   1324   1152 S   0.0   0.0   0:00.00 xinit               
  671 root      20   0    2484    900    900 S   0.0   0.0   0:00.00 startpar             
1467 root      20   0    5872    860    772 S   0.0   0.0   0:00.00 getty               
1468 root      20   0    5872    860    776 S   0.0   0.0   0:00.00 getty               
1465 root      20   0    5872    796    708 S   0.0   0.0   0:00.00 getty               
1466 root      20   0    5872    780    692 S   0.0   0.0   0:00.00 getty               
1464 root      20   0    5872    760    672 S   0.0   0.0   0:00.00 getty               
1400 daemon    20   0    3580     84      0 S   0.0   0.0   0:00.00 atd                 
  670 root      20   0    2564     20      0 S   0.0   0.0   0:06.12 bootlogd             
    2 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kthreadd

#68 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 21:50:04

Thanks for the thought, HoaS. I still have/use the ps-mem.py.sh script from 2015. I installed the one you linked and below are the results with just a root terminal on the desktop.

Old

# ps-mem.py.sh

 Private + Shared = RAM used    Program 

  4.0 KiB +  93.0 KiB =  97.0 KiB       startpar
 36.0 KiB +  94.0 KiB = 130.0 KiB       bootlogd
 76.0 KiB + 180.0 KiB = 256.0 KiB       init
100.0 KiB + 180.0 KiB = 280.0 KiB       atd
240.0 KiB + 371.0 KiB = 611.0 KiB       cron
508.0 KiB + 317.0 KiB = 825.0 KiB       dhclient
264.0 KiB + 572.0 KiB = 836.0 KiB       xinit
528.0 KiB + 459.0 KiB = 987.0 KiB       udevd
504.0 KiB + 548.0 KiB =   1.0 MiB       dbus-daemon
496.0 KiB + 902.0 KiB =   1.4 MiB       login
964.0 KiB + 808.0 KiB =   1.7 MiB       rsyslogd
  1.0 MiB + 878.0 KiB =   1.9 MiB       su
688.0 KiB +   1.2 MiB =   1.9 MiB       getty (5)
  1.3 MiB + 568.0 KiB =   1.9 MiB       elogind-daemon
  3.8 MiB +   4.3 MiB =   8.1 MiB       fluxbox
  4.2 MiB +   5.9 MiB =  10.0 MiB       bash (3)
  8.3 MiB +   7.1 MiB =  15.4 MiB       xterm
 10.8 MiB +   9.4 MiB =  20.2 MiB       conky
101.1 MiB +  48.9 MiB = 150.1 MiB       Xorg
---------------------------------
                        217.5 MiB
=================================

New

# ps_mem -d

 Private  +   Shared  =  RAM used       Program[pid]

  4.0 KiB +  70.5 KiB =  74.5 KiB       startpar [671]
 36.0 KiB +  44.5 KiB =  80.5 KiB       bootlogd [670]
100.0 KiB +  45.5 KiB = 145.5 KiB       atd [1400]
 76.0 KiB + 108.5 KiB = 184.5 KiB       init [1]
136.0 KiB +  84.5 KiB = 220.5 KiB       getty [1465]
136.0 KiB +  84.5 KiB = 220.5 KiB       getty [1468]
144.0 KiB +  83.5 KiB = 227.5 KiB       getty [1466]
136.0 KiB +  93.5 KiB = 229.5 KiB       getty [1467]
136.0 KiB +  99.5 KiB = 235.5 KiB       getty [1464]
240.0 KiB + 116.5 KiB = 356.5 KiB       cron [1437]
264.0 KiB + 280.5 KiB = 544.5 KiB       xinit [26536]
528.0 KiB +  50.5 KiB = 578.5 KiB       udevd [412]
508.0 KiB +  84.5 KiB = 592.5 KiB       dhclient [1114]
504.0 KiB + 185.5 KiB = 689.5 KiB       dbus-daemon [1439]
496.0 KiB + 268.5 KiB = 764.5 KiB       login [1463]
964.0 KiB +  69.5 KiB =   1.0 MiB       rsyslogd [1374]
  1.0 MiB + 344.5 KiB =   1.3 MiB       su [26612]
  1.3 MiB + 114.5 KiB =   1.5 MiB       elogind-daemon [1444]
  1.4 MiB + 500.5 KiB =   1.9 MiB       bash [1473]
  1.4 MiB + 596.5 KiB =   1.9 MiB       bash [26653]
  1.4 MiB + 592.5 KiB =   2.0 MiB       bash [26590]
  3.8 MiB +   1.7 MiB =   5.5 MiB       fluxbox [26547]
  8.3 MiB +   1.2 MiB =   9.5 MiB       xterm [26588]
 13.3 MiB +   1.6 MiB =  14.9 MiB       conky [26548]
101.0 MiB +   1.3 MiB = 102.2 MiB       Xorg [26537]
---------------------------------
                        146.7 MiB
=================================

The old and new scripts show different memory and shared memory values, and a 70MB difference in total. Some spot checks of xorg, conky and free:

xorg

# smem -k | sed -e '1p' -e '/xorg/!d' | grep -v sed
  PID User     Command                         Swap      USS      PSS      RSS 
26537 (user)    /usr/lib/xorg/Xorg -noliste        0    99.8M   102.8M   109.9M 

# cat /proc/26537/smaps | grep -i rss |  awk '{Total+=$2} END {print Total/1024" MB"}'
112.652 MB

conky

#  smem -k | sed -e '1p' -e '/conky/!d' | grep -v sed
  PID User     Command                         Swap      USS      PSS      RSS 
26548 (user)    conky --pause=1 -c /home/xe        0    13.0M    14.2M    20.1M 

#  cat /proc/26548/smaps | grep -i rss |  awk '{Total+=$2} END {print Total/1024" MB"}'
20.1133 MB

# free -m
               total        used        free      shared  buff/cache   available
Mem:            3771         455        2762          52         835        3316
Swap:           1824           4        1820

I'm probably missing something but how do you reconcile the differences between the totals of either ps_mem with free?

#69 Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 19:32:39

fanderal
Replies: 35

Layout
sda: SSD, Ceres, Fluxbox desktop, repo only pkgs, 3 partitions
sdb: SSD, same as above
sdc: HDD, storage, 3 partitions + empty extended partition
sdd: HDD, storage, 1 partition

Sda Ceres was installed maybe 4 years ago, currently using a 4.19.x kernel and normally boots to the desktop using ~105MB ram. Sdb Ceres was installed near 2 years ago, uses a 6.0.0-5-amd64 kernel and normally boots to the desktop using ~130MB ram. Sda now uses ~330MB ram and sdb now uses ~385MB ram.

Last week, same time the ram jumped up, there was also a UUID problem. Eg: when in sdb and clicking the Fluxbox menu to mount/open sdc2, sda1 would mount/open. Found a ton of debug msgs in the logs and after searching, disabled os-prober in sda and sdb. Grub is installed on sda and installing grub-customizer seems to have solved the UUID problem.

For the hardware, filesystem checks at boot all show clean, and fsck, badblocks and smartctl show no problems on sda or sdb. Log searches for 'fail' found nothing but "snd_hda_intel: probe failed with error -2" on sda/sdb yet sound works fine. Mobo has two 2GB ram sticks and booting each stick separately showed only the same high memory use.

At the sdb desktop with only a root terminal open:

# free -m
               total        used        free      shared  buff/cache   available
Mem:            3771         463        2734          55         845        3308
Swap:           1824           0        1824
# inxi -tm
Processes:
  System RAM: total: 3.68 GiB used: 490.2 MiB (13.0%)
  Memory top: 5 ( 1 processes) of 119
  1: mem: 98.7 MiB (2.6%) command: xorg pid: 2280
  2: mem: 20.1 MiB (0.5%) command: conky pid: 2290
  3: mem: 13.9 MiB (0.3%) command: xterm pid: 11043
  4: mem: 11.2 MiB (0.2%) command: fluxbox pid: 2289
  5: mem: 8.57 MiB (0.2%) command: at-spi-bus-launcher pid: 831

In the list from the first cmd below, spot checks of running processes show nothing obvious, seem normal and are consistent between sda and sdb.

$ ps -eo pid,class,stat,vsz,rss,comm
# cat /proc/PID/smaps | grep -i rss |  awk '{Total+=$2} END {print Total/1024" MB"}'
# smem -k | sed -e '1p' -e '/conky/!d' | grep -v sed

Recently: on Dec 1, 46 pkgs were updated. On Dec 3, I did a semi-annual cleanup using debfoster and deleted ~30 pkgs. Ran localepurge same day. On Dec 6, 70 pkgs were updated. I noticed the UUID and ram problems in sdb first and then sda on Dec 9. Thought it might involve the updated VirtualBox-7.0.4-dfsg-4 on sdb, but it's not installed on sda. Can't resolve this until I can find what's using the excess memory.

Appreciate any suggestions.

#70 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-22 19:23:15

pcalvert wrote:

My experience has been that VirtualBox 6.1 is messed up and doesn't work right on Beowulf. I had VMs completely lock up, multiple times. The latest version that has been working reliably for me is 6.1.22 r144080 (Qt5.6.1). And in case it matters, I am also using a kernel (and headers) from backports (on the host system). Hopefully this problem will disappear when I upgrade to Chimaera.

Just thought I'd pass along this information in case it's helpful.

Very helpful... that was my experience on Ceres with VBox 6.1.28-dfsg-1+b1 and kernel/headers 5.14.0-3. Appreciate the info. I'll try an earlier VBox and see how it goes.

#71 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-20 01:11:11

I'm running Ceres and had Virtualbox 6.1.28-dfsg-1+b1 installed for about a month until last week.

$ apt-cache depends dbus
dbus
  PreDepends: init-system-helpers
  Depends: lsb-base
  Depends: dbus-bin
  Depends: dbus-daemon
  Depends: dbus-system-bus-common
  Depends: libc6
  Depends: libdbus-1-3
  Depends: libexpat1
 |Suggests: <default-dbus-session-bus>
    dbus-x11
  Suggests: <dbus-session-bus>
    dbus-x11
$ find /run/dbus -name system_bus_socket
/run/dbus/system_bus_socket

My VBox Devuan machine is ascii

Assuming Ascii's your host system, hard to say what'll work. Trying to bring in Ceres' dbus-system-bus-common for VBox will break dbus if older than 1.12.20-3~, and upgrading dbus will also require upgrading libc6, creating a mess. Maybe download an older version of VBox from their site?

Sorry but I don't know what to suggest.

#72 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-19 22:51:05

One of dbus's new dependencies in Unstable is dbus-system-bus-common. I had VBox installed for a while and didn't get the "No such file or directory" msg. That pkg may be in Testing.

#73 Re: Other Issues » elogind update problem » 2021-10-27 22:28:09

Head_on_a_Stick wrote:
fanderal wrote:

Running Ceres

Then why are you booted into chimaera's kernel version? Looks like the "upgrade" didn't work properly...

More for vanity at the moment... the 4.19.X kernel series boots to the desktop at 85MB while the 5.10.x and 5.14.x boot to 105MB and 110MB. The modules keep growing in number and size. One example:

module   4.19.0-18    5.10.0-9     5.14.0-3
i915     1736704     2711552     2965504

Kernel modules aren't my forte but I'm looking into what I might do.

Head_on_a_Stick wrote:

So X wouldn't start immediately after the update but it's fine now? Seems a bit silly to start a thread about a problem you are no longer experiencing. What are you hoping to acheive here, exactly?

I got dropped to the console (Server terminated with error) as aptitude completed the install. At that point, in the console and without a working keyboard, I had to reboot. Booted to the OS and all was working again.

Might seem silly, yes, but I never had an update knock out the desktop... not in the years with Debian and not for the last several years with Devuan. It didn't seem to qualify as a bug and too involved for chat, so I posted it for whatever it's worth. Maybe something, maybe nothing.

#74 Re: Other Issues » elogind update problem » 2021-10-27 22:26:34

Debuser2018 wrote:

Seatd is already available in Dadalus. Is it ready for replacing elogind?

I don't know, but thanks for the tip.

#75 Other Issues » elogind update problem » 2021-10-27 17:09:38

fanderal
Replies: 5

Running Ceres and did an update in aptitude. Was on fluxbox desktop when xorg quit and dropped to the console. Got no response from the keyboard and had to do a hard reboot. After reboot, no problem logging in or running X.

No display mgr; a console login with .xinitrc and .xserverrc to start X.

This is a week old Beowulf netinstall upgraded to Ceres. Xserver-xorg-core is installed with xorg's dependencies, but not xorg. Xserver-xorg-input-evdev is installed but not xserver-xorg-input-mouse or -keyboard.

If it matters: both /var/log and ~/.local Xorg.0.log files show a USB-PS/2 connection for the Logitech mouse and keyboard, but both are normal USB connections and there are no PS/2 ports on the mobo.

If more info is needed please let me know.

/var/log/aptitude

Aptitude 0.8.13: log report
Wed, Oct 27 2021 07:31:55 -0700

Will install 5 packages, and remove 0 packages.
========================================
[UPGRADE] elogind:amd64 246.10-2 -> 246.10-3
[UPGRADE] libelogind0:amd64 246.10-2 -> 246.10-3
[UPGRADE] libpam-elogind:amd64 246.10-2 -> 246.10-3
[UPGRADE] libxapian30:amd64 1.4.18-3 -> 1.4.18-4
[UPGRADE] rsyslog:amd64 8.2108.0-2+devuan1 -> 8.2110.0-1+devuan1
========================================

Log complete.

In console when X stopped

Fatal server error
(EE) systemd-logind disappeared (stopped/restarted?)
(EE) Please also check the log file at "/home/me/.local/share/xorg/Xorg.0.log"
(EE) (II) AIGLX: suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0"

~/.local/share/xorg/Xorg.0.log
https://pastebin.com/RpWU1S0X

ending lines in /var/log/Xorg.0.log

[ 75916.451] (II) No input driver specified, ignoring this device.
[ 75916.451] (II) This device may have been added with another device file.
[ 75942.318] (II) evdev: Logitech USB-PS/2 Optical Mouse: Close
[ 75942.318] (II) UnloadModule: "evdev"
[ 75942.318] (II) systemd-logind: releasing fd for 13:67
[ 75942.353] (II) evdev: Logitech Logitech Illuminated Keyboard Consumer Control: Close
[ 75942.353] (II) UnloadModule: "evdev"
[ 75942.353] (II) systemd-logind: releasing fd for 13:66
[ 75942.373] (II) evdev: Logitech Logitech Illuminated Keyboard: Close
[ 75942.373] (II) UnloadModule: "evdev"
[ 75942.373] (II) systemd-logind: releasing fd for 13:65
[ 75942.389] (II) evdev: Sleep Button: Close
[ 75942.389] (II) UnloadModule: "evdev"
[ 75942.389] (II) systemd-logind: releasing fd for 13:69
[ 75942.405] (II) evdev: Power Button: Close
[ 75942.405] (II) UnloadModule: "evdev"
[ 75942.405] (II) systemd-logind: releasing fd for 13:68
[ 75942.421] (II) evdev: Video Bus: Close
[ 75942.421] (II) UnloadModule: "evdev"
[ 75942.421] (II) systemd-logind: releasing fd for 13:64
[ 75942.453] (II) evdev: Power Button: Close
[ 75942.453] (II) UnloadModule: "evdev"
[ 75942.453] (II) systemd-logind: releasing fd for 13:70
[ 75942.512] (II) Server terminated successfully (0). Closing log file.

Board footer

Forum Software