libera/#devuan/ Monday, 2022-10-03

brocashelmbgstack15: have you tried installing the nvidia-vdpau-driver package? have you tested with an amd gpu (which relies on vdpau) to confirm it is indeed an nvidia issue?00:20
brocashelmjust looking through here right now: https://wiki.videolan.org/VLC_GPU_Decoding00:21
brocashelmhttps://wiki.archlinux.org/title/VLC#Fault_when_playing_a_video00:23
bgstack15woah; on my other Devuan Ceres system that uses an AMD GPU, the video also does not play in vlc.00:41
bgstack15So maybe it's a VLC problem.00:44
brocashelmreally? i can get vlc to play videos and i use amd gpus (rx 560)00:44
brocashelmprobably a missing driver?00:44
bgstack15With latest apt-get dist-upgrade from today?00:44
brocashelmi'm on ceres so yes00:44
bgstack15maybe it's a bgstack15 thing then00:45
brocashelmpersonally, i use video drivers from some ppas (i know, i know) and have no issues00:45
brocashelmit's fair game if you're on unstable, tbh00:45
bgstack15True, true00:45
bgstack15I hate dealing with drivers. I always just use proprietary crap because it's the fastest way to get what I want.00:46
brocashelmyeah, especially with nvidia00:46
brocashelmi even manually updated my firmware-amd-graphics by downloading from the kernel git site00:46
bgstack15I can live with nouveau except for one video game.00:46
brocashelmsince the ceres version is old as fuck (august 2021!)00:47
brocashelmbut yeah, try apt search vdpau nvidia and see what might be missing00:47
bgstack15I said the problem also occurs on my AMD GPU Devuan Ceres installation00:48
bgstack15I doubt it's limited to just this one nvidia system then.00:49
Necrodiverhow i solve this? Use MPV *runs away*00:57
bgstack15Yes, I use mpv for a few things (one crappy usb-wifi system where mpv caches from nfs much, much better than vlc does)00:57
bgstack15I think my issue is the same as:00:58
bgstack15https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102103200:58
bgstack15where they mention it's also in Ubuntu, and link to a wrong launchpad.net/bugs ID number. it should be https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/199141800:58
bgstack15And vlc can then play video when I run with `--no-embedded-video`00:58
bgstack15oh my, the comment that said that, is only 4 hours old! I'm tracking this problem almost in real-time!00:59
xrogaanXorg conf time. Anybody know if I can put several ``MatchDevicePath'' in a ``Section'' of an xorg config file?02:37
bgstack15       There are two types of match entries used in InputClass sections. The first  allows  various  tokens  to  be02:50
bgstack15       matched against attributes of the device. An entry can be constructed to match attributes from different de‐02:50
bgstack15       vices by separating arguments with a '|' character. Multiple entries of the same type may be supplied to add02:50
bgstack15       multiple matching conditions on the same attribute. For example:02:50
bgstack15man xog.conf(5) on Devuan Ceres02:50
bgstack15*xorg.conf02:50
bgstack15so yes02:50
xrogaank02:52
xrogaanI just took a look at /etc/init.d/sddm... It's not what I thought it would be.03:00
xrogaanthere is no restart routine.03:01
xrogaanhow do I restart xorg in that case?03:01
bgstack15xrogaan: maybe stop and then start sddm? Surely those actions are defined.03:53
xrogaanxorg did restart properly this time. Wasn't so last time.03:59
xrogaanas in the needrestart daemon was still complaining about outdated binaries03:59
xrogaanbut here, the config got reloaded properly.03:59
onefanggnarface: Just woke up, but from memory, the default qemu user networking includes it's own built in DHCP server.07:20
FilipZ1Hi! I would like to try connecting directly with the wpa_supplicant, using wpa_gui. How should I run it, so I wouldn't get "Could not get status from wpa_supplicant"?07:57
gnarfaceonefang: yea, it seems as though that's the case. it didn't help that the gateway default is insane and the man page refers to it as "the guest-visible address of the host" and never once refers to it as a gateway or default route08:03
rrqFilipZ1: check out https://www.devuan.org/os/documentation/install-guides/chimaera/network-configuration.html08:04
gnarfacei must have run though this all at least once before but it was too weird to keep in my head. i'll have to keep better notes this time08:04
onefangOr write scripts like I do.08:04
gnarfacewell i had, but it only worked for bsd08:05
gnarfacewhich seems super weird08:05
gnarfacelike the bsd installer has some magic integration with qemu08:05
rrqFilipZ1: esp the note about group netdev08:05
onefangI've not tried BSD in a VM, so no idea.08:05
gnarfaceit was a while back so maybe something just changed08:06
onefangCould be.08:06
onefanghttps://wiki.archlinux.org/title/QEMU   https://documentation.suse.com/sles/11-SP4/html/SLES-all/cha-qemu-running.html#cha-qemu-running-networking  might help.08:07
FilipZ1rrq: 1. What does "iface default inet dhcp" mean here? 2.I do not have the wpa_supplicant.conf file.Why would it be like this on the first place? In the etc/wpa_supplicant folder I have just 3 files, named: action_wpa.sh, functions.sh, and ifupdown.sh. Should these be here?09:29
rrqyes, and you may have to write your own wpa_supplicant.conf then09:33
rrqthat one is also later being edited by wpa_supplicant to fill in connection information09:33
rrqor maybe it's wpa_gui that fills it in09:34
rrqadd the three lines as per doc09:34
FilipZ1in the interfaces I have: "auto lo", and next "iface lo inet loopback". What is it for?09:35
rrq"auto lo" tells the networking init script to bring up lo, and "iface lo inet loopback" tells how to configure lo when brought up09:36
FilipZ1Where is this init script? Should I care about this, or just remove it and make it look like in "Standard DHCP wireless setup"?09:39
rrqthe ifupdown init script is /etc/init.d/networking .. you shouldn't remove that09:40
rrqyou need the lo setup as well; the doc tells about the addition for DHCP wireless09:41
rrqif you want to track things in detail: the wpa-roam tag is handled b y the "wpasupplicant" script(s) that are held in the /etc/network/if-*.d/ directories as event handlers09:44
FilipZ1But it isn't described under that previous link. Then, should I leave it here, and paste the content of "Standard DHCP wireless setup" in the next lines?09:44
rrqyes those four lines should be added09:45
rrqthe file /etc/network/interfacces may also have comment lines starting with # and blank lines09:45
FilipZ1But what does "iface default inet dhcp" do?09:47
FilipZ1I mean the "default"09:47
rrqthose four lines tell the networking init to bring up the wlan0 interface automatically and then use the wpa-roam feature of wpasupplicant... that feature will use the "default" configuration if the connection is not declared statically09:47
rrqactual documentation in "man wpa_action" about that09:48
* rrq biab09:49
rrqb09:56
rrqfyi, further down in network-configuration.html is "manual multiple mixed wirelsess setup" that includes a static configuraiton for a certain connection (named "at_home" in the example)09:59
FilipZ1Thank you! I made these changes. What should i do next, so this could reload?10:00
FilipZ1Without restarting the system, I meant.10:01
rrqifdown --force wlan0 ; ifup wlan010:02
rrqshould be enough ... not sure if you need to kill wpa_supplicant as well "at the semi-colon"10:03
rrqthen it's a matter of opeating wpa_gui10:04
FilipZ1Thanks! It seem to work10:04
FilipZI cannot have a stable connection even when using ifupdown alone, though wpa_gui.13:22
FilipZIt suddenly repeatedly drop the connection and reconnect after some time.13:22
FilipZCould somebody help me fix this issue?13:23
FilipZIt seems that doing ifdown and ifup again, on the wlan interface fixes this issue untill it starts breaking again after some time.13:24
Kingsyquestion, is it possible that you need to create init.d scripts for some packages manually?13:40
onefangIf some are only supplying systemd init units, then yes.  Same with some packages only supplying systemd time units intsead of cron jobs.  Saw one of those recently.13:42
onefangThere is a package with some of the missing init scripts though.13:42
Kingsyis it possible to check somehow? the one in question right now for me is geoclue213:42
onefangorphan-sysvinit-scripts13:43
onefangAll the sysvinit scripts live in /etc/init.d.13:43
Kingsyyeah ijt doesnt have a script in there. the docs are hazy on it. some say you don't need to run the agent it gets spawned automatically. some say you do. but what I know nright njow is it doesnt work unless I run the agent manually :D :D13:44
Kingsyhow does orphan-sysvinit-scripts work?13:44
Kingsyno man page or binary for that one.13:44
onefangReading /usr/share/doc/orphan-sysvinit-scripts/README.Debian might help.13:45
bgstack15I apparently don't have it installed! The source is here: https://salsa.debian.org/matthew/orphan-sysvinit-scripts13:45
bgstack15perhaps the debian/ dir will provide useful information for you13:46
ltsLooks like gentoo does not provide an init script for geoclue either. Seems not a package needing to be run as a service13:46
lts(It's often nice to borrow openrc scripts from gentoo)13:46
Kingsythanks onefang and bigpresh13:47
Kingsyoops13:47
Kingsybgstack15: *13:47
Kingsylts: very confusing...13:47
bgstack15From apt-cache show: "GeoClue is a D-Bus geoinformation service"13:47
bgstack15so it would get triggered by dbus. Sometimes those sorts of things don't run in the background; they only get invoked by dbus when something looks for org.geoclue.example13:48
bgstack15Sometimes such things can be set up to run all the time though.13:48
Kingsybgstack15: yeah you are spot on. weirdly it deoesnt spawn and I dont know why. I uguess though this isnt a devuan thing and I'll just keep looking. :D13:49
Kingsythanks13:49
bgstack15So silly question time: Do you have dbus running?13:49
Kingsyyeah I run bpswm like this -> exec dbus-launch --sh-syntax --exit-with-session bspwm13:50
bgstack15also, have you tried running GeoClue daemon manually (probably as root), perhaps with any flags to keep it in the foreground, to see what it displays?13:50
KingsyI havent, only an agent I found,  which runs and then in turn allows redshift to run (which is what I am using geoclue for)13:51
Kingsyperhaps the agent in this case is the daemon13:51
bgstack15perhaps "agent" is a client software that would ask dbus to send a message to geoclue?13:51
bgstack15I don't know; sorry, I don't know this software at all.13:51
Kingsyno its all good. just helpful to discuss. I'll just have a bit more read around/.13:52
bgstack15I recall not using redshift because of all the dbus/geoclue/Internet-connected "good"ness13:52
KingsyI know...13:52
Kingsydo you know if there is alternative to getting a nice screen hue?13:52
bgstack15just to control colors on my display... it discriminates against people in a basement with no windows!13:52
onefangThe manual controls on the monitor?13:52
FilipZ"question, is it possible that you need to create init.d scripts for some packages manually?", I didn't do anything like this, and don't know what's this about.13:52
Kingsyonefang: I was hoping to do it by software.13:53
bgstack15ooh, actually, so I came across something like that very recently13:53
bgstack15yeah, X11, right?13:53
Kingsyyup13:53
FilipZSorry if it wasn't a message to me.13:53
hagbardbgstack15: It also works fine without all that BS, just with a locally configured longitude and latitude.13:53
KingsyI don't think I will even switch to wayland. although I am curious13:53
Kingsyhagbard: I still found it a bit hit and miss. but I gguess I need to tweak the config more.13:53
bgstack15https://github.com/nicholasbishop/xrandr-slightly-fewer-tears13:53
bgstack15was exactly what I was looking for, except that it controls the entire X11 display (across multiple monitors) as one.13:54
bgstack15I modified it to use multiple monitors separately.13:54
bgstack15If you want that link, I can share that too.13:54
Kingsyoooooo13:54
Kingsybgstack15: sure if you could share please.13:54
bgstack15https://bgstack15.ddns.net/cgit/xbright/about/13:55
bgstack15The app is hacky indeed, particularly in the [easy to change; python] hard-coded limits for brightness. I'm guessing the color temperature might also be limited in ways; I know almost nothing about color temperature of stuff.13:56
Kingsyhmm yeah that doesnt look good for me.13:56
bgstack15But these sliders operate immediately, which is what I wanted!13:56
Kingsyoh hang on13:56
bgstack15I haven't bothered to build a dpkg for this app, but I do just use it from my ~/dev/ directory where all my git repositories go, and I tend to use it after playing that one Wine game that appears to mess with my X11 brightness settings.13:58
Kingsybgstack15: its a big buggy, the setting seems to reset back to default after a few seconds.13:59
bgstack15woah, that did not happen for me. You might have that geoclue/redshift daemon running still!14:00
Kingsyah perhaps! LOL I bet it is that.14:00
bgstack15and the app also echos the parameters it invokes xrandr with, so if you find a setting you like, just copy-paste that and use that from the command line and then you won't need this GUI anymore.14:01
Kingsyyeah this is super useful! thanks for this14:02
* bgstack15 high-fives Kingsy14:03
e3d3Bluetooth is started on boot, although I don't have it specified in /etc/xdg/autostart OR ~/.config/autostart. What is responsible for this ? (I use Devuan Chimaera)16:17
gnarfacecheck in /etc/init.d/16:19
e3d3I've /etc/init.d/bluetooth. Where can learn what to do with it: man systemv, systemd shim, other stuff ??16:24
e3d3I've found ...16:24
gnarfaceactually you can disable it easily in /etc/default/bluetooth16:25
gnarfacejust read the comments in that file, one of them should be about setting a variable to make it not boot16:25
e3d3Do I need to activate this somewhere or will it automatically be effective on the next boot ?16:27
gnarfaceshould be effective on next boot16:27
gnarfaceno other action needed than setting the variable in that file16:28
gnarfacelol just to be annoying i guess they made it so you set BLUETOOTH_ENABLED=1 to disable it16:29
gnarfacemakes perfect sense16:29
gnarfacejust make sure that works, if that works you don't have to learn the other way yet16:30
e3d3If that is true than I should start on boot. I have BLUETOOTH_ENABLED=116:30
onefangAlso you might need to make sure that /etc/init.d/bluetooth is also enabled.  sysv-rc-conf is the best tool for that.16:30
gnarfacewait we're trying to disable it, right?16:31
e3d3yes, I want to disable it on boot16:31
gnarfaceso it's running even though you have the same default as me?16:32
onefangThen s/enabled/disabled/ in what I just said.16:32
gnarfaceit shouldn't be doing that but yea sysv-rc-conf can easily override whatever16:32
e3d3I'll install sysv-rc-conf and try it.16:33
onefangAs for disabling bluetooth, I do it the easy way, never install any bluetooth software.  B-)16:35
onefangAlas the hard way is to chisel that chip out of my motherboard.16:36
e3d3onefang: The bluetooth software is installed by default on Devuan Chimaera, and I even don't know if I have bluetooth hardware onboard, only that I never use it.16:37
onefangYou could probably uninstall it.  I do debootstrap installls, with recomends turned off, nothing gets installed unless I ask for it.16:39
e3d3I understand. Wish that I know enough of all the services etc. to do the same.16:41
e3d3I normally use the default available 'Session and startup' menu item (GUI) but this program doesn't do what it pretends16:44
gnarfacethat's most likely for per-user startup items16:45
gnarfaceactivates at login16:45
onefangYes the word "session" implies window manager session.16:46
gnarfacealso all optional16:46
e3d3Seems that I can't avoid learning the init system tricks to understand why programs start that are not specified in autostart or rcX.d16:48
e3d3specially because of geoclue16:49
gnarfacewell, the per-user stuff is actually part of the window manager16:50
gnarfaceare you sure bluetooth was actually starting though?16:50
gnarfacedid you check to see if it was running?16:50
gnarfaceit occurs to me that it may have merely said it was starting at boot, but not actually started due to the /etc/default/bluetooth setting16:51
e3d3I see it in top/htop after booting16:51
gnarfaceoh16:51
gnarfaceweird16:51
e3d3gnarface: I think that I prefer to write a little script that ~/.profile invokes, to kill the bluetooth after booting, instead of learning about the init-system and the stuff around it. It is too much for something I normally never encounter. Still thank you for your kind help.17:03
e3d3I think bluetooth is disabled on boot, after I found the necessary info to use sysv-rc-conf in 'man 8 init'. Next step is find out how to disable gleoclue, that doesn't show up in sysv-rc-conf, rcX.d or one of the autostart folders.17:16
FilipZ1I get an error "wpa_supplicant: /sbin/wpa_supplicant daemon failed to start", and next "run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1" when trying to restart the wlan0 interface with ifup wlan0 . What could cause it, and how to fix it. At least temporarily by restarting proper things, at worst.23:12
FilipZ1This is a second issue that I have with the wireless software, and the previous randomly breaks the connection, making the wpa_gui repeatedly restarting it, but that could be temporarily fixed with the use of ifdown, and ifup, if there werent this second issue.23:17
rrqprobably a file permissions thing... that it's not allowed to write the "pidfile(s)" ...23:27
rrqmmm you have /run/wpa_supplicant/ directory with 0640 root:netdev permissions?23:30
rrqactually 0750 root:netdev23:34
rrqaka drwxr-x---23:34
FilipZ1I do not have wpa_supplicant directory in /run/23:35
rrqhmm I'm not sure when/how that is made ... the scripts involved are /etc/wpa_supplicant/ifupdown.sh and /etc/wpa_supplicant/functions.sh23:37
rrqI have a vague memory I did something extra when I updated the conf to use groupt netdev, but it was a while ago23:38
FilipZ1How is it visible that the "functions.sh" is involved?23:40
rrqthat directory is important as it holds a control socket... maybe create it manually for now23:41
rrqfunctions.sh is included into ifupdown.sh (line 50)23:42
rrqah line 105 of ifupdown.sh picks the DIR= setting of the configuration ... (so it's my fault it's using that one)23:44
rrqso creating one manually is probably the way to go23:45
rwpFilipZ1, Can you summarize the current problem? What does your /etc/network/interfaces file look like?23:47
rwpI only know you are experiencing trouble with wifi and wpa_supplicant.23:47
rrqhe's following https://www.devuan.org/os/documentation/install-guides/chimaera/network-configuration.html23:48
rrqthe "Standard DHCP wirelsess setup"23:48
rwpSeems like that should work.  Though I always use a different configuration myself.23:49
rrq(it seems that doco is missing the creation of the socket dir /var/run/wpa_supplicant/)23:49
rwpI am sure that when I have run exactly that configuration previously that the socket directory was created automatically.23:51
rwpThat doesn't mean things have not changed now.  So much has changed.  And not for the better.23:51
rrqthe scripts involved don't have any mkdir ... so maybe it is/was part of installation before23:52
rwpwpa_supplicant creates it itself internally.  I just tested that here and verified that it does.23:58
rwpOn Chimaera.23:58
* rrq afk23:59

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