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.
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.
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.
Thanks. I quickly scrolled through it and it seems quite informative. Going to give a better read to the most interesting parts and the linked resources.
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.
No, I didn't have audio problems before and never needed to use pactl. I will as soon as I get everything to work again. Going to try different headphones.
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.
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"
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.
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.
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.
Thanks for your answer. It works but not perfectly... With `volume-limit=1` it acts like without that option. Lower result in the volume being a bit too quiet, and I perceive no difference between using `volume-limit=0.1` or `volume-limit=0.999`...
I'm surprised that modules with a similar issue are loaded by default...
This dock was not causing issues on my work laptop, running a fork a debian/ubuntu. I'll reply to the thread on bugzilla.kernel.org mentioning the versions of my kernels and modules.
Chromium is causing my CPU to heat up even if youtube is not open, and Chromium is just displaying a page with no animation and no JavaScript doing anything intensive (as far as I'm aware of).
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.
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.
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.
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?
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.
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.
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.
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.
Thanks. I quickly scrolled through it and it seems quite informative. Going to give a better read to the most interesting parts and the linked resources.
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.
The output of your command is the same both when headphones are connected and when they're not:
I created two pastebins with the whole output of
pactl list sources:The main difference is in "Source #1"'s "Ports"
I tried using some headphones with 4 pins (they embed a microphone), but the issue is still there.
The microphone of the headphones work, but the internal speakers and microphone of my laptop become "unavailable"/"unplugged" and stop working.
No, I didn't have audio problems before and never needed to use
pactl. I will as soon as I get everything to work again. Going to try different headphones.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.
I tried what you suggested anyways. My
~/.config/pulse/default.panow reads: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!)
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 cardsshows 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"No, I haven't tried, I'm a newbie at Audio on Linux. How can I find the name of my device and of the master?
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:Output of
pactl list sinks:When the headphones are connected:
Output of
pactl list sources:Output of
pactl list sinks: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.
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.
I'm running X11. KDE.
Sway and KDE run in user space though. The problem for similar crashes must lie in the kernel...
Thanks for your answer. It works but not perfectly... With `volume-limit=1` it acts like without that option. Lower result in the volume being a bit too quiet, and I perceive no difference between using `volume-limit=0.1` or `volume-limit=0.999`...
Thanks for finding the report for this bug!
I'm surprised that modules with a similar issue are loaded by default...
This dock was not causing issues on my work laptop, running a fork a debian/ubuntu. I'll reply to the thread on bugzilla.kernel.org mentioning the versions of my kernels and modules.
Chromium is causing my CPU to heat up even if youtube is not open, and Chromium is just displaying a page with no animation and no JavaScript doing anything intensive (as far as I'm aware of).
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.
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
grep MHz /proc/cpuinfo
lm-sensors
The temperature stays around 40 to 44°C and the fan stays at 0 RPM.
Low load: chromium open
top
grep MHz /proc/cpuinfo
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?
I believe so: the previous time I rebuilt the initramfs (two days ago), dm-crypt was using my layout.
It reads the keyboard layout from /etc/vconsole.conf, since I'm using the
sd-vconsolemkinitcpio hook.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.Thanks for your answer.
I don't have a dedicated GPU, only the one embedded in the CPU.
Will try to play with both tools and see what I can achieve :)
End of this list.
Back to top