Skip to content

u/ThinkpadE495

In this archive from Oct 2019 to Dec 2024

15
posts
23
comments
1
media
83
score

What traffic are you talking about? Everything is encrypted, you can't see the content of the packets. At most you can see whether something is sent and which user-space process and destination IP address are communicating.

You can see what's sent through the source code of open source software or infer it from what system calls processes call.

1 points

Do you mean by regular apps, or by a Linux computer with a VM?

Regular apps do send a number of hardware IDs. Officially they claim it's information useful for debugging and optimizing the software, but in practice they can use the way they want.

If you're talking about a Linux computer, I've never heard about it sending anything weird on its own. The software you use to manage the network might (for instance NetworkManager tries to resolve some hostname to detect whether you need to authenticate with a hotspot), but lightweight/cli-only tools don't send anything suspicious. The VM on its own doesn't send anything (well, VBox/VMWare might; QEMU most likely doesn't) and the stuff that runs inside of it can't see any hardware serial numbers. Everything that runs on the host system is open source and trusted enough.
The hardware/firmware could in theory send extra data, but as far as I know it's never been documented that it happens.

1 points

Why not? I'm pretty sure you'd have pretty extreme privacy if you connected via tor, on a public wifi, using a spoofed mac address and software that runs on a virtual machine.

In this case I don't care about extreme privacy. I just prefer anonymizing the information about my hardware that programs send to the big corporations.

1 points

Ohh, really?

I just tried to install a bunch of packages from AUR and it conflicted with some AMDGPU package I had installed, so I assumed the two drivers were incompatible.

I'll try again and pay more attention to what's happening. Thanks for the quick answer!

EDIT: I can confirm that I could install amf-amdgpu-pro without removing anything. Earlier I tried to install more packages from AUR that apparently are unneeded/outdated and were conflicting with some packages I had arleady installed on my system.

4 points

The output of your command is the same both when headphones are connected and when they're not:

$ pactl list sources | /usr/bin/grep -- 'device.string\|device.master_device'
            device.string = "1"
            device.string = "front:1"

I created two pastebins with the whole output of pactl list sources:

The main difference is in "Source #1"'s "Ports"

1 points

I took a picture of my headphones' jack: https://i.imgur.com/qzQQFrz.png Yes, it has only three pieces (L, R, Ground). There's no way to tell my audio card to ignore the fourth pin? Maybe for a very quick hack, I could add some tape at the base of the jack to shield the fourth pin...

I'm also curious why it used to work last week. It was the same headphones in the same laptop.

I'm going to try some different headphones soon and will update with the results.

1 points
device.string = "1"

I tried what you suggested anyways. My ~/.config/pulse/default.pa now reads:

.include /etc/pulse/default.pa

load-module module-alsa-source device=front:1
load-module module-remap-source master=alsa_input.front_1 master_channel_map=front-left,front-right channels=2 channel_map=mono,mono
set-default-source alsa_input.front_1.remapped

But it made no difference. The "Internal Microphone" still becomes "Internal Microphone (unplugged)" when I plug in the headphones.

(By the way, thank you for the help you're giving me!)

1 points

I'm really bad at this, sorry. What are rear and front jacks? My laptop has only got one 3.5mm jack port. I am using a USB-C dock, but it doesn't seem to provide a jack port.

Last week everything was working and I didn't need to manually specify anything...

EDIT: pactl list cards shows two cards. The second one is, I believe, audio over HDMI, but my monitor doesn't support anything for the audio channel. The long card name is "HD-Audio Generic at 0xd06c8000 irq 78"

1 points

I just noticed that the laptop microphone and speakers (called "Speakers" and "Internal microphone") become "unplugged" and "unavailable" when the headphones are plugged in.

Everything used to work fine in the past. I just tried to reboot, but it didn't help.

When the headphones are NOT connected:

Output of pactl list sources:

Source #1
[...]
        Ports:
            analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, availability unknown)
            analog-input-mic: Microphone (type: Mic, priority: 8700, not available)
[...]

Output of pactl list sinks:

Sink #0
[...]
    Ports:
            analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown)
            analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
[...]

When the headphones are connected:

Output of pactl list sources:

Source #1

[...]
    Ports:
            analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, not available)
            analog-input-mic: Microphone (type: Mic, priority: 8700, available)
[...]

Output of pactl list sinks:

Sink #0
[...]
    Ports:
            analog-output-speaker: Speakers (type: Speaker, priority: 10000, not available)
            analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
[...]
2 points
  1. I'll try to run a memtest to make sure, but I've never experienced any other issue while using this computer. The crash only happens when I suspend.

  2. I've never tried any other distro on this system. Currently I have limited data and prefer not to download the ISO of a live distro. As soon as I can I'll try to download a fedora and see if it has problems.

1 points

Thank you for your suggestions.

Yes, my goal is to be fanless (well, as much as possible).
Your struck out suggestion about fan speed makes a lot of sense, but keeping the fan speed lower would probably make it spin for longer, while I'd like it to be completely off.

I don't have an Intel CPU, but a modern AMD Ryzen one. I'm afraid that it uses different different kernel parameters if any. I also tried playing with the CPU frequency governors (through TLP), but couldn't achieve much with those.
I just remembered about RyzenAdj, a tool to control Ryzen power management. Will try playing with it.

I'll also try playing with cpulimit to keep the browser at bay. I'm aware that browsers are resource intense, but the idea of having no control over a program bothers me.

1 points

The fan is functioning properly: it turns on when the temperature rises. I don't want to change the fan's behavior.

What I want to change, is rising temperatures. I believe that's affect by the frequency of my CPU cores.

If I monitor the CPU frequency (grep MHz /proc/cpuinfo) while keeping at my system load (top), I see that a very-low load keeps the frequency low, while the frequencies sometimes grow with a low load.

​

Here an example...

Very low load: chromium closed

top

top - 14:59:18 up 10:04,  5 users,  load average: 0.65, 0.76, 0.71
Tasks: 249 total,   1 running, 248 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.0 us,  0.7 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.3 us,  0.7 sy,  0.0 ni, 99.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.7 us,  0.0 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu4  :  0.3 us,  0.3 sy,  0.0 ni, 99.0 id,  0.3 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu5  :  0.3 us,  0.3 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu6  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu7  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  13947.2 total,  10118.5 free,   1608.1 used,   2220.6 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.  12001.3 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                         
   1312 peoro     20   0 4535560 323424 148656 S   1.7   2.3   2:40.28 plasmashell                                                                                                     
   1516 peoro     20   0    4044   2284   2036 S   0.7   0.0   0:32.58 ksysguardd                                                                                                      
   1700 peoro     20   0 1331560 115868  92576 S   0.7   0.8   0:09.19 yakuake                                                                                                         
    849 root      20   0 2808572 112556  72920 S   0.3   0.8   5:59.62 Xorg                                                                                                            
   1304 peoro     20   0 3902328 152812 111320 S   0.3   1.1   4:40.41 kwin_x11                                                                                                        
   1377 peoro     20   0  293904  39316  34568 S   0.3   0.3   0:01.96 akonadi_control                                                                                                 
   4312 peoro     20   0  164640  19564  17628 S   0.3   0.1   0:07.31 kio_http_cache_                                                                                                 
   6734 root      20   0   23236  11016   9476 S   0.3   0.1   0:02.65 openvpn                                                                                                         
      1 root      20   0  122052  10428   7900 S   0.0   0.1   0:01.26 systemd                                                                                                         
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.02 kthreadd                                                                                                       

grep MHz /proc/cpuinfo

cpu MHz         : 1280.932
cpu MHz         : 1381.609
cpu MHz         : 1370.823
cpu MHz         : 1283.113
cpu MHz         : 1314.305
cpu MHz         : 1250.449
cpu MHz         : 1328.415
cpu MHz         : 1287.656

lm-sensors

The temperature stays around 40 to 44°C and the fan stays at 0 RPM.

Low load: chromium open

top

top - 15:00:31 up 10:05,  5 users,  load average: 1.51, 1.02, 0.81
Tasks: 282 total,   2 running, 280 sleeping,   0 stopped,   0 zombie
%Cpu0  :  2.3 us,  1.7 sy,  0.0 ni, 95.6 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
%Cpu1  :  2.0 us,  1.7 sy,  0.0 ni, 96.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  3.5 us,  2.9 sy,  0.0 ni, 93.3 id,  0.3 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.3 us,  0.7 sy,  0.0 ni, 99.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu4  :  3.0 us,  2.3 sy,  0.0 ni, 94.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu5  :  1.3 us,  1.6 sy,  0.0 ni, 97.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu6  :  2.9 us,  3.2 sy,  0.0 ni, 93.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu7  :  3.5 us,  1.6 sy,  0.0 ni, 94.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  13947.2 total,   8648.8 free,   2897.2 used,   2401.2 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.  10551.7 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                         
  17829 peoro     20   0 1181208 371152 105520 R  15.6   2.6   0:20.22 chromium                                                                                                        
  17703 peoro     20   0  970772 314660 146196 S   3.3   2.2   0:34.83 chromium                                                                                                        
  17727 peoro     20   0  666740 201100 151716 S   2.3   1.4   0:06.47 chromium                                                                                                        
   1312 peoro     20   0 4535560 323892 148660 S   1.0   2.3   2:41.77 plasmashell                                                                                                     
   1516 peoro     20   0    4044   2284   2036 S   0.7   0.0   0:32.84 ksysguardd                                                                                                      
    849 root      20   0 2808740 112572  72936 S   0.3   0.8   6:02.81 Xorg                                                                                                            
   1700 peoro     20   0 1331736 115956  92576 S   0.3   0.8   0:09.72 yakuake                                                                                                         
  17132 root      20   0       0      0      0 I   0.3   0.0   0:00.25 kworker/u32:0-phy0                                                                                              
  18077 peoro     20   0  713336 120516  79380 S   0.3   0.8   0:00.96 chromium                                                                                                        
  18137 peoro     20   0  847444 196780  93204 S   0.3   1.4   0:11.21 chromium                                                                                                        

grep MHz /proc/cpuinfo

cpu MHz         : 1682.131
cpu MHz         : 1879.847
cpu MHz         : 1229.278
cpu MHz         : 1267.040
cpu MHz         : 1330.766
cpu MHz         : 1272.105
cpu MHz         : 1219.534
cpu MHz         : 1235.597

A couple cores are around 1.8GHz in this snapshot. At times I see them higher (sometimes they hit 3GHz, even), at times lower, but still way higher than in the very low load case.

lm-sensors

The temperature grows to about 55°C, then the fan starts spinning at 3300 RPM and the temp slowly decreases to 40°C. Repeat.

​

​

How can I tell my system to be more conservative in stepping up the CPU frequency, when I want it to be quiet?

1 points

AFAIK, if you leave a few GBs unallocated, modern SSD firmwares automatically use them to avoid write amplification, effectively putting the life-span of a consumer grade SSD with a light-medium desktop usage at decades scale.

Interesting, I did not know this. By "unallocated" you mean unused, or as free space in the GPT?

My NVMe is 250GB. I filled it up completely with a 260MB ESP and then the encrypted root partition filling up the rest of the space. If I shrink the root partition and leave a few free space after it will this give good results? How much space would you suggest to leave unused?

Would it be better to use fstrim, to leave a few GBs unallocated or do both?

​

Thanks for the tip about atime, will follow your suggestion.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.