Category Archives: Hardware

Linux: saving laptop’s battery energy
0 (0)

19 November 2022

This time it became interesting to me – is it possible to somehow save the charge of the laptop battery? Not to say that it discharges quickly, it is enough for 5-6 hours of work, but it will not be too much, especially with the current power outages in Ukraine. Found several utilities, and will… Read More: Linux: saving laptop’s battery energy0 (0) »

Linux: connect Bluetooth headset with bluetoothctl and Blueman
0 (0)

2 February 2021

Recently, I bought a Sony WH-1000XM3 headset. In general, they are great but need to connect them to my laptop with Arch Linux. The documentation about Bluetooth on Arch Linux can be found here>>> and here>>>: Installation Install necessary packages: [simterm] $ sudo pacman -S bluez bluez-utils [/simterm] Check kernel’s module: [simterm] $ lsmod |… Read More: Linux: connect Bluetooth headset with bluetoothctl and Blueman0 (0) »

Loading

Redis: fork – Cannot allocate memory, Linux, virtual memory and vm.overcommit_memory
0 (0)

28 August 2019

Currently, I’m configuring a Redis as a caching service for our application and during that, I faced with the question: do I need to set vm.overcommit_memory to the value 1, i.e. disable it – or not? The question is quite old for me, see The story, but only now I found time to get to… Read More: Redis: fork – Cannot allocate memory, Linux, virtual memory and… »

Loading

Arch Linux: NVIDIA driver installation for GeForce GTX 1050 Ti
0 (0)

25 March 2019

The main goal when I was buying a new PC with NVIDIA GeForce GTX 1050 Ti was an ability to play games on Arch Linux without reboots into Windows. For this need to install NVIDIA drivers so Linux will use it instead of nouveau (although I didn’t even try to run any game with nouveau).… Read More: Arch Linux: NVIDIA driver installation for GeForce GTX 1050 Ti0… »

Loading

Linux: LVM – pvcreate Device /dev/sdb4 excluded by a filter.
0 (0)

9 March 2019

During new Linux set up – suddenly got a weird message. It happen just because of my carelessness and haste. Let’s create new partition: [simterm] [root@archiso ~]# pvcreate /dev/sdb4 Device /dev/sdb4 excluded by a filter. [/simterm] Check new partition size: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M… Read More: Linux: LVM – pvcreate Device /dev/sdb4 excluded by a filter.0… »

Loading

Linux: ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
0 (0)

28 February 2019

Have a fresh Arch Linux system setup. After some Viber’s fixes (see the Viber: no connection – qt.network.ssl: Incompatible version of OpenSSL post) – sound system sometimes stops working. It looks like next: run qmmp, press Play and: [simterm] … DecoderMAD: Fixed rate detected DecoderMAD: Total time: 297900 ReplayGain: disabled Dithering: disabled ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable… Read More: Linux: ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave0 (0) »

Loading

Arch Linux: installing with EFI and Windows dual-boot
0 (0)

24 February 2019

The goal is to set up a new Arch Linux and Windows (just for some games) on my new PC and use dual-boot using GRUB. Disks Currently disks layout is next: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M 1 loop /run/archiso/sfs/airootfs sda 8:0 0 223.6G 0 disk… Read More: Arch Linux: installing with EFI and Windows dual-boot0 (0) »

Loading