libera/#devuan/ Saturday, 2023-12-09

Besnik_bHello! Forwarding in a track in VLC using jack introduced a 1-2 second long noise, I did not hear before in the previous system, but I do now in Devuan. Any idea?10:19
gryis this for any ttack. can you check another file10:33
gryany track10:33
Besnik_bgry, yes. Is not related to just one track.10:34
Besnik_b(I asked in #lau too. Linux Audio Group.)10:34
gnarfaceBesnik_b: which devuan release?12:07
Besnik_bgnarface, Daedalus12:12
gnarfaceBesnik_b: does it happen in any other media players?12:13
Besnik_bgnarface, I have to check that.12:15
Besnik_bgnarface, I don’t hear it in alsaplayer + jack. Confirmed.12:22
gnarfaceBesnik_b: does it happen in vlc without jack?12:25
Besnik_bLet me check it.12:25
Besnik_bThe noise disappears with pulseaudio12:27
gnarfaceodd12:28
gnarfaceseems like an issue with vlc or jack then, but hard to say much more12:28
Besnik_bIdem with my USB Rubix direct without any convertions12:29
gnarfacedid you mix in any 3rd party repo stuff like deb-multimedia or other devuan release versions or the like?12:29
Besnik_bSince alsaplayer + jack removes it, what makes you point jack?12:30
gnarfacebecause you said vlc and pulseaudio also removes it12:30
gnarfaceyou could try vlc and just bare alsa as a control case...12:31
Besnik_band alsaplayer and jack does it too :)12:31
Besnik_bHere are the repos I have in my sources.list:12:32
gnarfaceuse paste.debian.net12:32
Besnik_bHere you are: http://paste.debian.net/1300615/12:35
gnarfaceBesnik_b: the culprit could be something you got from daedalus-backports, but i'm pretty sure daedalus-contrib and daedalus-non-free don't even exist12:37
gnarfaceyou probably meant "main contrib non-free" at the end of all the other ones12:39
gnarfacesince daedalus, you probably also want the new one, non-free-firmware to those12:39
gnarfaceso, like this: deb http://deb.devuan.org/merged/ daedalus main contrib non-free non-free-firmware12:40
Besnik_bgnarface, I could not install vlc with just what vanilla installation had to offer12:41
gnarfacei assure you if you do this it will include everything12:42
Besnik_bThank you!12:42
gnarfaceyou shouldn't have any problems installing vlc in a vanilla install though, that's a sign something else was probably already wrong by then12:43
gnarfacemaybe just that sources.list though12:44
Besnik_bI dd-ed the image in a USB stick and then installed in a dedicated hard disk12:44
Besnik_bAfter the installation, without adding or removing anything, I could not installed vlc and other programs I use daily12:45
Besnik_bThen I started to check ways and modified the sources.list, tried and found that the change worked.12:46
gnarfacewell, it had errors though so it's still suspect12:47
yo9fahhi all15:30
yo9fahI tried to install devuan on a laptop. I downloaded the iso image: devuan_daedalus_5.0.1_amd64_netinstall, but it does not boot. The monitor remains black, no error, nothing. The laptop is a Lenovo B50-80.15:33
fsmithredyo9fah, did you try to boot from dvd or usb, and how did you prepare it?16:41
fsmithredDid you see the boot menu?16:41
fsmithredis it uefi or legacy bios?16:42
yo9fahIt works from the DVD, it's ok! My bios is uefi/gpt. The image is written in rufus.16:54
yo9fahI don't see any boot menu?16:56
Besnik_byo9fah, I’d check the DVD, perhaps in another machine to see if it’s no faulty. And probably try writing the installation image in a USB. It’ much easier with a DVD. I’ve seen warnings about writing a iso in a DVD.19:09
golinuxMaybe use dd to create the install media . . .19:18
Besnik_bHe mentioned rufus, so he might not have a dd capable machine…19:19
golinuxuefi/gpt requires special handling which I am not conversant with19:23
fsmithredIf secure boot is enabled, disable it.19:31
fsmithredMaybe try the desktop-live iso.19:32
yo9fahSecure boot is disable.19:39
yo9fahThank you for your help! I will try again to see if I can solve the problem...19:40
yo9fahI solved! Rufus is stupid. I rewrote the same iso image with Balena Etcher. It works perfectly.20:17
yo9fahThank you all for your help and advice! ;)20:18
Besnik_byo9fah, Good! Now that you’re under Devuan have a look at the dd command. Much easier and much better results. një gjë të tillë.20:20
Besnik_b- Rregullimet për Optimizoni Figura përdorin, si parazgjedhje, madhësi dhe cilësi optimale.20:20
Besnik_b- Temat instalohen si duhet për sajte nën plane Biznes dhe Tregtiri20:20
Xenguyyo9fah, Glad to hear it20:20
Xenguyyo9fah, BTW is 'dd' available to you?20:20
yo9fahYes, it also works with the "dd" command! Thanks!20:24
yo9fahI wonder what Rufus is missing?20:25
yo9fahBut anyway, it doesn't matter anymore...20:26
XenguyMy short notes on using 'dd':20:31
Xenguyhttps://paste.debian.net/hidden/17228600/20:32
Besnik_bOuch! Sorry for erroneous paste :(20:37
sfoxhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=105784321:38
sfoxDon't update to the latest kernel it has a silent corruption bug.21:38
gnarfacewhew, thanks for the warning sfox21:39
gnarfacenot that i was using ext4 to begin with, (because it is low quality) but good to know anyway21:39
sfoxyour welcome.21:40
sfoxFor those that aren't so lucky, you have backups in place... right?21:45
brocashelmi've learned it's best to not use any kernel newer than 6.321:45
sfoxgnarface, what filesystem are you using?21:45
brocashelmin fact, pretty much set just using 5.19 (would have gone back to 5.15, but nvtop needs it)21:45
sfoxthat you consider not low quality.21:45
brocashelmffs2!21:46
sfoxI haven't heard of it. isn't that a BSD filesystem?21:47
gnarfacesfox: xfs21:47
brocashelmyeah, it's default for openbsd21:47
gnarfacesfox: (mostly, i still have some machines using reiserfs for legacy reasons)21:47
sfoxgnarface, what makes you consider it higher quality then ext4?21:47
brocashelmthough hammer from dragonfly sounds interesting and would be cool to try it on linux21:47
sfoxIn my testing, xfs had problems with large amounts of files on busy webserver21:48
sfoxs21:48
sfoxplus it's backed by redhat is it not?21:48
sfoxthe same company who pushed systemd, pulseaudio, and gtk321:48
sfoxbrocashelm, I didn't know Devuan could use ffs221:49
gnarfacesfox: you had an old version of xfs that didn't set appropriate defaults for the mount options. it should never have been slow. my opinion of ext4's quality is based just on the amount of times bugs like this have cropped up since it has existed, which happens to be several times more than the other two i mentioned.21:50
gnarfacesfox: heh, xfs was created by SGI well before RedHat execs were even out of diapers21:50
brocashelmnah, not possible to use, but i use it on openbsd21:50
gnarfacesfox: xfs is also the only multi-threaded filesystem, so it's a no-brainer for anyone selling big iron21:51
gnarfacesfox: (i thought RedHat was actually pushing ext4 these days though, but i haven't really been paying close attention - but if they're pushing xfs that's why)21:52
sfoxgnarface, it's true I was using an old version, but that's because I was forced to use CentOS 6 at the time. But I did not use the defaults and spent a lot of time fine-tuning mount and filesystem parameters and tracing with blktrace21:57
sfoxwhat I ultimately found was the time looking up metadata, not the actual file was causing the webservers to slow down and time out21:58
sfoxeven with configuring the kernel to use most of it's ram keeping them in memory so they didn't have to be looked up from xfs21:58
sfoxswitching to ext4 solved this almost no tuning required21:58
sfoxgnarface, has this changed?21:58
sfoxthe amount of files i'm talking about is enough to make rm -r take over a day21:59
sfoxspread across multiple block devices.21:59
sfoxalso, about how often have you experienced bugs like this cropping up with ext4?22:00
* blockhead ponders taking a day to rm files, and faints :o22:01
gnarfacesfox: so like, xfs has never caused me trouble once, and in the past 30 years there's been like one data corruption bug in it like this, and in the past 10 ext4 has had 3 and 2 of them didn't miss me.22:04
sfoxseveral decades of multiple company's emails, images of products from several hundred company's online stores including resize and cropped varients, several hundred websites, etc.22:04
sfoxthat adds up to a lot of tiny files.22:04
gnarfacesfox: yes, that's changed, and to my best recollection of the time frame, centos6 may have been the last one with slow xfs defaults22:04
sfoxno matter how many SSDs I threw at XFS, it's metadata lookup just slogged.22:05
sfoxwell thanks for the advice. I'll give xfs a try again22:05
sfoxI've since moved onto ZFS, but I still use ext4 in some places where I haven't had a need to change and it's historical.22:06
gnarfacesfox: basically the key i remember was there were two mount options for log/journal buffer settings, and the default was unacceptably low for modern hardware, which caused a bottleneck. if you manually set both these values to their maximum setting of 32k the performance problems mostly evaporated. deletes were still slower than with ext4 but not days slower. and reads then are faster on any cpu with more than 2 cores.22:06
sfoxlike my encrypted laptop.22:06
sfoxWould you suggest migrating all my ext4 filesystems to XFS now?22:06
gnarfacesfox: but none of that should be needed anymore, xfs defaults should be fine now.22:06
gnarfacesfox: eh, no, i would suggest you migrate one then see how you like it. don't get crazy.22:07
sfoxgnarface, If XFS is really so much better, why doesn't Devuan ship it by default instead of ext4?22:08
gnarface(er, more than 1 core i mean)22:08
gnarfacesfox: NIH syndrome22:08
gnarfacewell, it's literally not faster in every respect. deletes are still slower, and streaming of large single files is slower (a bit) so in certain performance benchmarks it doesn't look as appealing as ext4 for "what the kids are doing these days" (mostly producing HD content at home for youtube, apparently)22:09
gnarfacebut for the situation YOU describe - a giant filesystem of billions of little files gathered over decades.... that's what xfs is for22:09
sfoxThankyou for the suggestion.22:10
gnarfaceno problem. just try it, you might like it now.22:11
sfoxPerformance is important, but correctness and now tripping up and having silent corruption every couple of years due to carelessness of coding is more important to me and I can give up a few IOPs for.22:11
sfox*not tripping22:11
sfoxI wasn't aware that this was a recurring pattern for ext4. Clearly something I need to look into. I started using it because it was the default and i figured some engineer before me probably chose it for a better reason and sticking with the defaults would be better supported.22:12
gnarfacenah, it's chosen because it's the community darling, that's all.22:13
gnarfacewith open source, merit is often determined just by how many volunteers you can wrangle22:13
gnarface(wayland proves that)22:14
sfoxgnarface, can you shrink a XFS filesystem yet?22:14
gnarfaceheh. no :(22:14
sfoxpain22:14
gnarfacebut you can both grow and fsck them online!22:14
sfoxgnarface, one of the reasons I switched my servers to FreeBSD is because I was tired of conflicting interests and constantly changing directions the Linux ecosystem has.22:16
gnarfacei don't blame you22:16
gnarfacewe should move this conversation over to #devuan-offtopic22:16
rwpI also say +1 for xfs. Back at my previous $EMPLOYER we used it on file servers with heavy use and didn't have performance problems then. I can't replicate that load now.22:46
rwpNow I use it for the builtin fast fsck behavior. Recovery after a power loss is always fast.22:46
rwpXFS cannot be grown incrementally as efficiently as EXT4.  With XFS if one must grow it then double it in size.  Or at least use significantly large size increases.22:46
rwpXFS divides each chunk into quads for block allocation.  Small growth chunks mean small quads which works against efficient block allocation.22:47
golinuxI thought that almost an hour ago22:47
golinuxto #devuan-offtopic puleeze22:48
rwpIt's only been 30 minutes.  Even I am not ALWAYS at the keyboard. :-)22:50
_ds_I have the impression that this ext4 corruption bug is entirely down to incomplete or inappropriate backporting of patches.23:31

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