libera/#devuan/ Wednesday, 2022-02-16

Josh_2Hi, I have plugged in a new external monitor and the text is all slighly blurry08:31
Josh_2I am pretty sure i have had this issue before but in specific applications like Firefox, now all the text on this external monitor is slighly off08:32
Josh_2However if I'm directly in a tty there is no issue08:33
gnarfaceJosh_2: first thing to do is make sure the xorg log shows it having your DPI detected correctly08:46
gnarfaceyou can use xrandr to make sure it's using the optimal refresh and resolution08:47
gnarfaceafter that if you still don't like how it looks, run: dpkg-reconfigure fontconfig-config08:47
gnarfacethen: dpkg-reconfigure fontconfig08:47
gnarface(not sure if the second one matters if you're not adding fonts)08:47
gnarfaceyou might have to restart xorg to have fontconfig changes fully propagate but some programs will show the changes immediately08:48
gnarfacewindow managers may have their own dpi settings08:50
gnarfaceyou have to make sure it all matches the manual spec for the display08:50
gnarfaceif you want it perfect08:50
Josh_2I just tried to find the dpi for the display, but it doesn't appear to be listed in the specs08:50
Josh_2https://storage-asset.msi.com/datasheet/monitor/global/Optix-G24C4.pdf08:50
gnarfaceyou'll have to do math08:50
gnarfaceDPI is just dots-per-inch08:51
gnarfaceif the physical display area size (not model size) is not listed in there you'll have to get out a tape measure sorry08:51
gnarfacethe xorg log should list whatever it auto-detected, it should be right usually these days and if it's wrong it'll be obviously wrong by a lot08:52
gnarfacei think the new xorg versions are capable of supporting different horizontal and vertial resolutions but the pixels are usually square08:53
gnarface*different horizontal and vertical dpi i mean08:53
Josh_2Within Xorg.0.log I can see one entry for 'dpi' and it says "DPI set to (143, 144)"08:53
Josh_2I calculated by DPI, its 93 or so08:54
gnarfacehmm, interesting, are you sure?08:54
gnarfaceverified roughly by physical measurement?08:55
gnarface93 is a completely typical DPI but it'd be weird for it to be auto-detected wrong in that direction08:55
Josh_2Yes, I used an online calculator with the size directly from the spec08:55
gnarfacei'd say try adding it to a xorg.conf snippet, you don't need the whole config anymore, you can just have the stanza that sets the DPI08:56
gnarfaceit'll be either obviously better or obviously worse08:56
Josh_2https://imgur.com/MLtEhyv.png I scaled the monitor by 1.5 using xrandr and now you can really see the problem09:03
Josh_2gnarface: I gave up, just unplugged that monitor and I'm using mine instead09:56
dokmaI'm having problems getting my server to boot for 3 days now. I'm getting dropped into initramfs prompt that is not accepting keyboard input whereas grub menu does accept keyboard input just a few seconds prior.11:19
dokmainitramfs is failing to mount /dev/md0 - no such device11:19
dokmaeven though just a few lines prior it prints that e2fsck has check the very same /dev/md011:19
dokmaWhat could possibly cause initramfs prompt to not accept keyboard input?11:20
Walex2dokma: some weird USB incompatibility perhaps.11:27
rrqperhaps adding "init=/bin/sh" to the boot line would bring you to a command prompt within initramfs, and there you can run mdadm and fsck etc to get your raid checked and fixed11:27
Walex2dokma: sometimes it is USB1/2/3 hub issues.11:27
Walex2dokma: if you are accessing the server remotely via a KVM: there are trillions of subtle KVM compatibility issues. USB is compatibility hell beyond the trivial cases.11:28
Walex2dokma: for example the combination mechanical/gamer keyboard and KVM is usually full of problems.11:29
dokmarrq: raid is fine11:36
dokmaI can assemble it from rescue11:36
dokmaWalex2: I am accessing via KVM11:37
dokmaHowever the keyboard input works in the grub menu, and then a few seconds later in the initramfs console it does not11:37
dokmaWill try init=/bin/sh to see if I can get a working prompt11:42
jemaduxi use at the moment debian ... i am thinking to migrate to devuan ... if i repent my choice can I mirgrate back to debian ?12:19
dokmarrq, Walex2 darn initramfs failed to assemble my raid1 array. I had to put a script into init-premount to enable the raid array myself12:48
dokmahow silly is that?12:48
dokmajemadux: hating systemd or?12:49
jemaduxdokma: i do not even care ...12:49
jemaduxfor me it's same12:49
dokmaFrom what I recollect from my migration to Devuan all of the steps should be reversible but I would not guarantee it12:50
Walex2jemadux: Devuan and Debian are essentially the same thing except for "init freedom" :-)13:12
Walex2jemadux: "migrating" between the two is fundamentally a no-op except for 'init' related packages.13:12
fsmithredmigrations can sometimes be messy.13:13
buZzdebian is just ubuntu with less ugly preset themes13:13
buZzdevuan is debian with less redhat software13:13
fsmithredI would not discount the ugliness of default debian themes.13:14
Walex2buZz: I often say that Debian is an Ubuntu fork nowadays, just like Devuan :-) As so many Debian/Devuan DDs work for canonical.13:14
buZzWalex2: lol sure13:14
buZzcanonical couldnt start to make a hannahmontanalinux if their lives depended on it13:14
Walex2dokma: the GRUB kernel and Linux kernel use different methods to access USB peripherals like kbd and mouse...13:15
fsmithredjemadux, maybe try a fresh install on some spare hard drive space or even on a usb stick first.13:15
fsmithredif you don't normally do stuff with the init system, you might not notice any difference13:16
jemaduxI remember when I used Artix13:17
gast0no/17:00
gast0nWhat do these 5GB ISOs contain? devuan_chimaera_4.1_0_amd64_pool1.iso17:01
ananimususdkms fails to build this ( https://github.com/loimu/rtbth-dkms ) kernel module. DKMS build log: https://paste.debian.net/123112917:04
bb|hcbgast0n: The most popular packages for offline installs18:35
gast0nThanks 👍18:35
bb|hcbananimusus: I have just tried, on chimaera it builds fine; most probably you are missing part of the build system, e.g. apt install build-essential18:41
bb|hcbAlso maybe apt install linux-headers-amd6418:42
ananimususThis package are already installed18:45
ananimusus*packages18:45
bb|hcbananimusus: the problematic stdarg.h header is a c++ thing; I think that you can safely comment that line (e.g. like: //#include <stdarg.h>)18:48
bb|hcbananimusus: BTW. I tested it on chimaera with kernel 5.10.0-10-amd64, I see your kernel is newer...18:50
ananimususI fixed the first error by simply copying the required file from the Linux kernel repository, and I have the stdarg.h file at /usr/include/c++/11/tr1/stdarg.h .  How do I get dkms to find it?19:02
ananimususSimple copying works here too!  But if you had these files initially without any problems, can you see what packages they were delivered with?19:14
bb|hcbThat is c++ stuff, linux kernel is c only, should not be related. That is why I suggested to comment that include19:18
* used____ wonders of systemd is not coded in C++ and sneaked into the kernel19:27
sycorust!19:34
sycorust++19:34
ananimususThe module seems to be assembled, but life would be boring if there were no third layer in this puzzle.  `sudo bluetoothctl power on` returns `Failed to set power on: org.bluez.Error.Busy`19:54
used____ananimusus: find out what else uses the device. rfkill ?19:57
ananimususHow to check what else can use the device?  Also, I don't use rfkill.20:19
ananimususI find line that tells `bluetoothd[19710]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed` in syslog21:56
ananimususAnd the next: `bluetoothd[19710]: sap-server: Operation not permitted (1)`21:58
ananimususI disable SAP plugin in bluetooth service. Now: `bluetoothd[433]: Failed to set mode: Failed (0x03)`. When will this end...22:16
rrqananimusus: ensure that /etc/dbus/system.d/bluetooth.conf includes <allow send_interface="org.freedesktop.DBus.ObjectManager"/> for group="bluetooth"22:28
rrqI'm not sure why, but it made a world of difference for me :)22:30
ananimususI didn't expect to see system.d in devuan. And this line exists.22:44
golinuxana22:52
golinuxananimusus: Please have a look at this https://dev1galaxy.org/viewtopic.php?id=192522:53
golinuxExplains why you see those files that do nothing but take up space.  IOW it is a cosmetic issue that isn't worth the effort to clean up22:54
brocashelmis this one of the top five faqs of devuan?22:57
xrogaansystem.d isn't systemd.23:26
xrogaanif you look into /etc/dbus-1/, you'll see session.d and system.d. Those '.d' are more likely there as a references for daemon.23:27
xrogaanActually, I'm not quite sure why we use the .d affix23:27
fluffywolf.directory....23:27
xrogaancould as well be .f for folder.23:28
xrogaanbut yeah, the dbus stuff is badly named.23:28
xrogaanfluffywolf: you are right. It stands for directory.23:30
golinuxbrocashelm: It is pinned at the top of the Devuan forum.23:36

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!