libera/#devuan/ Wednesday, 2024-01-17

nemobut I imagine you'dve noticed that00:00
ibanjaI don't have pulse. Everything worked fine until firefox made pulse a dependency.00:00
nemoibanja: it didn't technically make pulse a dependency00:00
nemoibanja: you can still use alsa if you want00:00
nemoyou just need to use the libpulse bridge.  they just decided they weren't going to support a dozen sound systems00:00
nemosticking to one API makes sense. esp w/ limited linux marketshare, even tinier non-pulse linux share00:01
nemoand their dev manpower00:01
ibanjaI think I messed everything up. I installed sndio which worked for awhile.00:01
nemoalso they were implementing a secure implementation in rust and I can imagine they didn't want to implement 2 or 300:01
nemoibanja: well. fire up pavucontrol for starters00:01
ibanjaeven if pulse is not installed?00:01
nemoI thought you said you were using pulse00:02
ibanjano, I stopped using it. Everything used to be fine then it all stopped working. I said it was when they made pulse a dependency for firefox, but I could be mistaken. It's been a over a year.00:03
brocashelmi solved this by appending apulse to firefox/firefox-esr00:03
ibanjaI am getting sick of cutting and pasting or going to another computer to have proper sound.00:03
brocashelmon a pure alsa system00:04
ibanjabrocashelm: I tried that with an alias--didn't work. How did you do it.00:04
brocashelmso just running the command "apulse firefox-esr" did the trick for me00:04
ibanjaSomething must be seriously broken on my system.00:04
brocashelmno need for alias; you could just modify your firefox launcher with apulse preceding it00:04
brocashelmand if you are not using pulseaudio, i'd just disable/uninstall it completely (that includes pavucontrol;volumecontrol-alsa and alsamixer can be used in its place)00:05
brocashelmapulse is useful for impossible situations like firefox00:05
brocashelmit's just pulseaudio emulation for alsa00:06
gnarfaceon current stable, firefox-esr audio works fine for me without any extra work00:06
brocashelmpoettering still loses00:06
nemoibanja: what I'm saying is they officially only support pulse,  but that doesn't require *you* to use it since all the sound systems out there have bridges00:06
ibanjapulse is uninstalled completely. I have pin prioritied it -100:06
nemoibanja: it's just an API. it's not like they are running a dæmon connecting directly to audio hardware ☺00:06
ibanjanemo: I know. I tried to set up sndio and it didn't work. I recently tried pipewire and it didn't work. Something is seriously wrong with my system.00:07
nemopulse frustrates me, and poettering too, but it's not my number one battle00:07
nemoso. eh. most of my stuff has it now00:07
ibanjaI just want working audio00:07
nemo... or pipewire in case of the steam deck ☺00:07
brocashelmjust don't use jack, pulseaudio, pipewire, or sndiod (better to just install openbsd if you want sndio, but that's OT)00:07
nemoibanja: yeah. that's why I gave up and just went with the defaults on audio00:07
brocashelmsticking to pure alsa is better in the long run00:08
nemomaybe if I was a sound engineer I'd feel differently00:08
ibanjaI just read about sndio and thought I would try it since my audio was tanked.00:08
brocashelmof course, packages like libpulse0 have to stay for compatibility with software00:08
ibanjaI am for sticking to pure alsa.00:08
brocashelmbut poettering is still pissed at you nonetheless00:08
ibanjaOK... I might have to do a complete reinstall on this computer. I have been running without reinstalling since jessie.00:09
brocashelmibanja: if it helps, refracta comes with alsa audio only00:10
brocashelmit's a devuan respin00:10
ibanjaI've heard of it... haven't checked it out. I'll do a quick search on it.00:12
ibanjathanks00:12
brocashelmnp, it's also maintained by one of devuan's staff (fsmithred), so it's pretty close to the source00:14
gnarfaceibanja: just out of curiosity, when audio is broken in firefox, does it still work with aplay and speaker-test?00:15
ibanjagnarface: yes it does00:35
gnarfaceok, just making sure00:35
ibanjaI have been thinking that maybe I should remove my firefox profile and start over. I did mess with some settings awhile back.00:36
ibanjathe only thing is that brave browser doesn't have audio either... so what is that about.00:37
ibanja?00:37
gnarfaceyou're on current stable, right? firefox-esr should be working. something is weird about that. yes, try just moving the profile directory elsewhere temporarily.00:40
brocashelmor run firefox-esr -P and create a new profile to test on, without moving/renaming anything00:41
gnarfaceah, neat trick00:41
ibanjagnarface: Chimaera00:41
gnarfacehmm, definitely should work then00:42
ibanjaI just tried  firefox-esr -P and still no audio.00:43
gnarfacemaybe there's also something up with what you're testing00:44
gnarfaceyou trying youtube or something?00:44
ibanjaI just tried youtube00:44
gnarfacemake sure you have that stupid cisco h264 plugin disabled, and then try just loading a local mp3 or wav file00:45
ibanjaI just tried another site that is not youtube.00:48
ibanjaI can play a local mp3 or wav file no problem.00:48
ibanjait's only browsers that won't play.00:49
gnarfaceyou sure the little volume slider on the actual youtube video player itself isn't muted?00:49
gnarfaceno no, i mean play the mp3 file in firefox, not just locally with whatever.00:49
ibanjayes. This has been over a year and I would have noticed that.00:49
ibanjamp3 in firefox doesn't work either. I have my own site with mp3 files and they don't play.00:50
gnarfaceand they don't play if you just load them off the harddrive with a file:/// url either?00:50
ibanjalet me try that.00:50
gnarfaceor rather, to be clear, they say they're playing but no sound comes out, right? we're not talking about an error or refusal to play, it's playing and there's just no sound? that's an important distinction00:51
ibanjaThe mp3 files on my site don't even play. Youtube advances but no sound, so I see video but no sound.00:53
gnarfacehuh, and locally with file:///?00:53
ibanjaI just tried loading a file directly firefox /path/file.mp3 and got the same results.00:53
gnarfacehmm, odd...00:54
gnarfacedo you have any ~/.asoundrc or other alsa config customization?00:54
ibanjafile:// doesn't gives me a file not found00:54
ibanjaI did, but I have removed it.00:55
gnarfaceneeds a directory, the third slash was root00:55
gnarfacetry: file:///home/ibanja/ or whatever00:55
gnarfacethree slashes was not a typo00:55
ibanjaoops... typo, with /// it doesn't work00:56
gnarfacehmmm, i wonder if you need to enable that00:56
gnarfacemy profile is kinda ol00:56
gnarfaceold00:56
ibanjaI am wondering if I have an issue in /etc/alsa/conf.d/00:57
ibanjaI have 13 files there00:57
gnarfacenah that's normal00:57
gnarfacewhen you tested aplay and speaker-test earlier, were you specifying a device on the command-line?00:58
ibanjaok... I misled. I forgot, but my speaker test doesn't user 'speaker-test'. When i run the actual command 'speaker-test' I get 'Playback device is default' ... 'Playback open error: -112,Host is down'01:02
gnarfaceO.o01:02
gnarface"host is down" actually still sounds like a pulseaudio error01:02
ibanjaI don't have pulse installed... Maybe I should just try installing pulse.01:03
gnarfacenot yet01:03
gnarfacetry it with -D"plug:\"dmix:hw,0\""01:04
gnarfacespeaker-test -c 2 -D"plug:\"dmix:hw,0\""01:04
ibanjacan't find card... No such device01:05
gnarfacewell that's pretty interesting01:05
gnarfaceusing HDMI?01:06
ibanjaaplay -l lists 'card 0: PCH [HDA Intel PCH], device 0: ALC3234 Analog [ALC3234 Analog]' as first on the list.01:06
ibanjaI don't use HDMI.01:06
gnarfacetry: speaker-test -c 2 -D"plug:\"dmix:PCH,0\""01:06
gnarfacebut that's hw:0 so i dunno why it wouldn't work01:06
ibanjaworked... got white noise01:06
gnarfacestarting to look like a possible driver issue here, but a simple one where you can just complete the setup if your ~/.asoundrc is right01:07
gnarfacebut not certain it's a driver issue... since the "host is down" issue kinda makes me wonder if it's still just trying to use pulseaudio01:07
gnarfaceinterestingly enough, the same ~/.asoundrc fixes it either way without ever informing you about which was at fault01:08
gnarfacefor some reason though, the default device, which is literally named "default" (or "!default" in the config, confusingly) isn't working for you, and it should01:09
gnarfaceand if it was, firefox-esr would probably also be working01:09
ibanjaI did install pipewire recently to try to fix the issue, to no avail. Should I remove all the pipewire stuff firs?01:09
gnarfaceaiui pipewire still uses pulseaudio so i don't know what purpose it serves without it01:09
ibanjapipewire didn't break firefox.01:09
ibanjaso I should remove it then. It does have a pipewire-pulse which I thought replaces pulseaudio, that's why I gave it a shot.01:10
gnarfacei couldn't say, i don't trust either one01:10
ibanjaI will remove pipewire for now. I would prefer a pure alsa fix.01:11
ibanjaWOW!!!! I removed all the pipewire bits and now my firefox works when I use 'firefox-esr -P'01:15
gnarfaceawesome01:16
ibanjaIt works in youtube and with mp3 files...01:16
ibanjaThanks a bundle. !!!01:16
gnarfacehooraaay!01:16
gnarfaceno problem01:16
brocashelmthat's good. i had a feeling you still had some pipewire/pulseaudio/jack/etc. crud laying around01:20
brocashelmnow you have a pure alsa system, and firefox-esr will default to it01:20
gnarfaceyea, i'm just surprised it didn't require manually recovering a file01:21
brocashelmi sanitize such systems with apt autopurge pulseaudio* pipewire* *jack* (note the placement of the asterisks; check the prompts to ensure nothing important gets removed)01:22
brocashelmsorry, jack* instead of *jack*01:22
gnarfacei would also add avahi* to that01:24
brocashelmyup01:25
gnarfaceand probably uh, network-manager01:26
gnarfacebut that's just me01:26
brocashelmnetwork-manager is the least shit of the few gui network applets i can use :\01:26
brocashelmconnman fucks up my resolvconf symlink for some reason01:26
monsoon777how do i change init to OpenRC on my fresh install?07:41
brocashelmfrom what i can tell, you just need to install the package openrc, which will replace rcconf and sysv-rc with openrc, librc1, and libeinfo1; reboot and then check that it is your new init07:51
n4dirif it was me i'd probably just reinstall, but it is said to be easy, and i found this forum thread: https://dev1galaxy.org/viewtopic.php?id=610507:51
n4diri sure recall it to be slightly different, but i might well recall wrong07:51
brocashelmagreed, just reinstall for best results07:52
n4diri told (here) that i would want to reinstall (a long running system) to switch init system, and was told there are easier ways (round the lines of what is in that thread)07:52
n4dirbut with a new installed system?07:53
n4dirbefore someone here can say for sure, you already re-installed07:53
monsoon777so i did07:57
monsoon777sudo apt install openrc -y && sudo apt remove sysvinit-core -y07:58
monsoon777and i rebooted, now NetworkManager isn't running07:58
n4dirhttps://wiki.gentoo.org/wiki/OpenRC#Usage08:01
n4dirfiddle with that a bit.08:01
monsoon777i checked, my system is now running runit instead08:04
monsoon777oh well08:04
brocashelmfrom what i can tell, even runit is partly implemented when compared to other distros (i.e. limited runsv/sv scripts in runit-services package), but it has made strides in recent years with more sysvinit services being ported over to runit08:09
monsoon777i see, thank you08:22
cousin_luigiJoril: Hello.09:57
cousin_luigiJoril: To continue yesterday's conversation, when one uses uwsgi, what does one have to use the webserver as a proxy? And in that case, I assume, uwsgi won't have any use for the certificates, right?09:58
Jorilcousing_luigi: Hi! I'm not very experienced with uwsgi, but it looks like nginx supports it10:03
Jorilas for SSL, uwsgi DOES support certificates, so I gues it's a matter of preference10:04
Joril*guess10:04
cousin_luigiJoril: I would rather have the webserver handle that part.10:32
cousin_luigiMaybe I don't really need uwsgi then.10:32
JorilAFAICS WSGI is a method to handle the webserver-to-webapp communication more efficiently than a simple "proxy_pass", so I guess that if the latter is good enough for your use-case, you don't need uwsgi :)10:35
baudouinhello :)11:03
cousin_luigiJoril: Well, it's on an embedded server and my use case is 3 clients.11:04
baudouinI'm looking for info on how to change DNS Servers name in a non-systemd distro - I'm running MXLinux 21 -11:04
cousin_luigibaudouin: edit /etc/resolv.conf ?11:04
JorilUnless it's coming from DHCP11:06
baudouin@cousin_luigi, it looks like my ISP DNS server are listed there every time I turn my laptop on11:07
cousin_luigiunsure if ifupdown allows to get only the address11:07
cousin_luigiand not the nameserver11:07
cousin_luigibaudouin: You might want to work on your dhcp server then11:08
cousin_luigiYour router, I assume. Set alternative nameservers there, per client if possible.11:08
baudouin@cousin_luigi, thanks - I will investigate in that direction :)11:09
rrq# This file contains the reload/restart commands needed for using a12:51
rrq# newly updated uacme certificate. See the uacme-listener boot service12:51
rrq# (i.e. /etc/init.d/uacme-listener)12:51
* rrq oops. wrong window12:52
blizzowI'm trying to debootstrap a ceres installation. Debootstrap was failing on some packages so I made some exclusions: 'debootstrap --arch amd64 --exclude=logrotate,cron,cron-daemon-common,cpio ceres /mnt'14:31
blizzowAfter chrooting, installing things is continually throwing errors. Many seem related to mkinitramfs.14:33
blizzowstuff like this - '/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found'14:33
blizzowThe kmod package is installed, but the link '/sbin/modprobe -> /usr/sbin/kmod' doesn't exist. I saw some forums saying there is a package called mmdebootstrap that will ger around this but can't find it. What's the right way to debootstrap ceres?14:36
gnarfaceblizzow: sounds like usrmerge breakage. /sbin/modprobe symlinks to /bin/kmod here.16:16
gnu_srsI'm working on reverting packages to re-populate essential packages to /bin,/sbin, /lib. kmod is one of them.16:26
gnarfaceexcellent!16:27
cousin_luigiJoril: Sorry again, I think I'm almost set up, but there is no principal!16:38
cousin_luigiI can't access via web, do I have to do that from command-line16:38
cousin_luigi?16:38
blizzowThe one I'm really surprised is broken during debootstrap is cpio. update-alternatives complains about /bin/mt-gnu not being around. I thought cpio was a fundamental gnu/linux tool and wouldn't fall prey to the update-alternatives hell.17:04
blizzowIf I use --variant=minbase during installation, debootstrap finishes a bit cleaner but still not perfect. In the forums, I see a 'solution' to use mmdebootstrap, but I can't find any package or program called mmdebootstrap. Anyone know where I can find this?17:12
blizzowhttps://dev1galaxy.org/viewtopic.php?id=634017:12
gnu_srscpio is also one of the packages I've patched to avoid usrmerge.17:20
blizzowgnu_srs, glad you're on it - I'm still not sure what usrmerge is.17:21
gnarfacebunch of fucking kids are like "there's too many directories in linux! let's put everything in ONE directory!"17:22
gnarfacevandals and idiots.17:22
golinuxSelective repackaging to avoid usrmerge is not a solution . . .17:23
gnu_srsgolinux: Why?17:23
gnu_srsFor now it is around 10 packages to fork :)17:24
gnu_srsAnd I volunteer!17:25
blizzowoh f*ck, Lennart is behind this?17:26
gnarface*sigh* of course, but we're drifting offtopic17:27
blizzowIsn't he the one behind the systemd clusterf*ck?17:27
gnarfacewell, the money is all coming from IBM and RedHat17:27
gnarfaceshame they're wasting it on spinning wheels17:28
adam_free2airblizzow: sudo apt update && sudo apt install mmdebstrap17:33
golinuxgnarface: And Microsoft!!!17:34
blizzowDamnit, this guy is singlehandedly responsible for so many problems with linux. His clout to get changes implemented in major distros has literally wasted years of man hours in troubleshooting and confusion.17:34
gnarfaceblizzow: no arguments here, but we should take the griping session to #devuan-offtopic17:35
gnarface...lest this channel become choked with it 24/717:35
blizzowapologies.17:35
blizzowI will gripe over there.17:35
cousin_luigiJoril: Sorry if I keep pestering you, but could you please check your radicale configuration to see how logs are handled?18:06
movedMacBook2DV1hi all, happie new year and its good to c you all. after about a month since successfully and happily running devuan - i realise that bluetooth drivers were not installed or else xfce would have such a setting in settings manager or  even MATE would have applet or icon on the top panel that denotes bluetooth setting to turn it on / off.. can19:15
movedMacBook2DV1someone please let me know how to make linux autofind / auto probe hardware for missing drivers ?19:15
movedMacBook2DV1and where to such driver packages - i can do synaptic / apt - but how do i know what packages/driver modules to install ?19:15
gnarfacemovedMacBook2DV1: all the available drivers are definitely 100% installed with a stock kernel.19:16
gnarfaceyour problem must be either that they're not being loaded, or that you're missing some (possibly xfce-specific) bluetooth tool19:16
movedMacBook2DV1before switching to devuan i was running fedora for a month and its gnome settings gave me an option to switch on bluetooth on or off and that was running running 6.6 kernel19:17
movedMacBook2DV1i see19:17
gnarfacewell on current stable the kernel is 6.1, so if your hardware's drivers were only in a later kernel they might be missing... maybe there's a newer kernel in backports already though, that would be the normal fix in that case19:18
gnarfacebut, it's best not to guess19:18
gnarfaceit's best to know19:18
gnarfacefirst good thing to know would be which driver you actually need19:18
movedMacBook2DV1true dat19:18
gnarfaceyou don't happen to remember the module name do you?19:19
movedMacBook2DV1actually it ran well in - debian 10 - so i dont see why it wouldnt be picked up on debian 12 / dv1 519:19
movedMacBook2DV1i dont remember module name to modprobe it..19:19
gnarfacehmm19:19
movedMacBook2DV1actually its this exact machine and this wiki - https://wiki.debian.org/InstallingDebianOn/Apple/MacBookPro/Early-2015-13-inch - bluetooth worked here19:21
gnarfacehmm, you could just be missing permissions too19:21
gnarfacethat page doesn't seem to say anything about bluetooth19:21
gnarfacewhat does "hcitool dev" give you?19:22
movedMacBook2DV1actually thats the exact model / machine spec of my machine... and this 1st line -19:23
movedMacBook2DV1    Debian Stretch runs very well on this version of the MacBook Pro. You need an amd-64 CD image - made me wanna get into debian and eventually i moved on to dv1 after a bit of research19:23
movedMacBook2DV1it  gives me 1 device19:24
movedMacBook2DV1$ hcitool dev19:24
movedMacBook2DV1Devices:19:24
movedMacBook2DV1    hci0    C4:B3:01:C0:91:F819:24
gnarfacehmm, ok, that's a good sign. if the device shows up that way, your driver loaded19:24
gnarfacei can't tell you what xfce package you might be missing for a gui control on it, but someone around here who uses xfce might.19:25
movedMacBook2DV1so this means that i dont need to modprobe / rmmod some modules but just get some apt packages19:25
gnarfacehonestly, you can probably set it up with command-line tools entirely, but yea i think to get a GUI you are probably missing something19:25
movedMacBook2DV1i remember something like blueman applet when i was playing around some DEs i can look it and hope it adds control over it19:25
gnarfacei don't see anything named 'xfce-bluetooth' so your guess is as good as mine19:25
gnarfaceblueman is a existing package19:26
gnarfacedo you have it installed?19:26
gnarfacesomething like this might help: apt-cache search '^blue(z|t)'19:28
gnarfaceand: dpkg -l |grep blue19:28
gnarfacei can't be sure what you're missing, but it'll probably have "blue" in the name19:29
movedMacBook2DV1i blindly ran apt install blueman19:30
gnarfaceadd your user to the bluetooth group too19:30
movedMacBook2DV1and guess what - xfce settings manager has bluetooth functionality to switch it on / off19:30
movedMacBook2DV1so things looks ok..19:30
gnarfaceoh, cool19:30
movedMacBook2DV1i might have to test run it by connecting to some bluetooth speakers / transfering some files / pics just to check if it works or if i can tether internet tthru it19:31
gnarfacedepending on how your session is setup, you might not need to be in the "bluetooth" group to do stuff as a non-root user, but note that on debian and fedora and other systemd distros, it would not be a required step but on devaun you might still need to do it19:31
movedMacBook2DV1chuser USERNAME blueToothGroup ? - i can get syntax from internet but where do i get the bluetooth group name ?19:32
movedMacBook2DV1interesting..19:32
gnarfacethe group is literally named 'bluetooth' (i got it from the debian wiki but you can probably just look in /etc/groups19:32
gnarface)19:33
gnarfaceer, /etc/group19:33
gnarfacehere, you'll want to make a backup of this page before they delete it: https://wiki.debian.org/SystemGroups#Other_System_Groups19:34
movedMacBook2DV1and group - it is singular19:34
movedMacBook2DV1thanks so much gnarface - you are the most helpful - whenever i ping something - you are the one to respond almost immediately..19:34
gnarfaceno problem19:35
movedMacBook2DV1thnx all .. bye19:41
blizzowI just finished installing daedalus on a lenovo Thinkpad X1 Carbon 5th gen. I know it has the crappy nvidia 'optimus' hybrid graphics. Currently I have done 'apt install nvidia-driver nvidia-cuda-mps vulkan-tools' What is the proper way to enable/use my nvidia card on this laptop?23:34
blizzowAlso, I do get 'errors were encountered while processing: nvidia-persistenced' after doing this. I also got something similar with zfs-zed but uninstalled it. I'm not sure what nvidia-persistenced is and if I can uninstall it or fix it.23:36
gnarfaceblizzow: nvidia-persistenced is useless; usually broken and actively harmful when it's working right. feel free to just remove it.23:36
blizzowgnarface, done, thank you. Any recommendations on what is needed to run accelerated graphics?23:37
gnarfaceas for your nvidia card in that hardware... TBH i'd just ignore it. recent developments from Intel and AMD contributions to MESA have made the crappy integrated intel video now faster than most of the nvidia devices they were paired with23:38
gnarfaceif you want to make it work just for academic purposes (chasing emotional sunk-cost fallacy) i wouldn't blame you, the problem is solutions that actually work on all hardware in this class are nonexistent23:40
gnarfaceso some people might have luck with only older stuff like bumblebee(?) and the newer thing is uh... DRI_PRIME?23:40
gnarfacesomething like that23:40
gnarfacehang on, i'll see if i can find a relevant link about it23:41
gnarfacehmmm... maybe DRI_PRIME is only for AMD though23:42
gnarfaceanother keyword comes to mind... optirun?23:43
blizzowgnarface, thanks again. I would like to be able to offload some graphics processing to the nvidia card sometimes. the card is good at transcoding video etc. Also, if I want to feed the nvidia gpu to a VM and keep my intel card running the desktop, I'd like to have that option.23:43
gnarfaceah, yea those are valid use cases23:44
gnarfacenvidia's hardware video decoder still looks better than everyone else's (though it's been intimated to me that they violate standards to accomplish that)23:44
gnarfaceand afaik the only way to get working hardware accel in a VM is with a dedicated gpu23:45
gnarfaceblizzow: ah! here we go: https://wiki.debian.org/NVIDIA%20Optimus23:46
gnarfacelast i was looking into this, it was hit+miss whether any particular hardware would work or not, and often there was no clues either way23:46
gnarfacemaybe things are better though, i'd be interested in hearing how the tests work out for you23:46
gnarfacebut, like i said, MESA on Intel is a lot faster than it used to be, so you might find the comparative performance of the NVidia card to be somewhat disappointing now23:48
gnarfaceand don't even bother with NOUVEAU23:49
blizzowI did the nouveau long ago. Too much pain.23:49
blizzowGoing to reboot and see what comes of the nvidia driver install.23:49
gnarfaceit's not worth the trouble unless you have the one specific 780 that almost everything works on23:49
gnarface(nouveau that is)23:50

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