libera/#devuan/ Thursday, 2022-02-17

ananimususI fix last problem with bluetooth. The point was that rtbth-dkms for some reason blacklist rtbth module in modprobe.d07:09
ananimususThanks to all those who helped07:09
ananimususHopefully it will be easier with nvidia proprietary drivers...07:12
ananimususHow many different packages. I need nvidia-legacy-390xx. What is the difference? https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=*nvidia*390xx*&x=submit07:45
gnarfacehow do you know you need that one if you don't know the difference?  it's for older hardware.  they don't support cards indefinitely but they do make a legacy driver for the most recent handful of deprecated generations07:48
gnarfacethe README.txt should say which model ranges07:48
ananimususI know the driver version thanks to https://www.nvidia.com/Download/Find.aspx?lang=en-us08:03
ananimususI'm interested in how the variations of this driver version in the devuan repository differ08:03
gnarfacenot sure what other distinctions you're wondering about08:09
gnarfacethe legacy one isn't updated anymore other than making sure it builds and in general 3rd party/commercial support is not available for it either (Battle.net and Steam both require a newer version)08:10
gnarfaceso you can expect that it will not get new opengl/vulkan features either08:11
gnarfacebut it should work as well as the new one does on new hardware with software in the distro08:11
gnarfacein some cases you might have better luck with the nouveau driver but they're limited cases08:12
gnarfacestill, sometimes it is nicer just to use mesa instead of nvidia's opengl08:13
ananimususI'm talking about the difference between `nvidia-legacy-390xx-driver`, `nvidia-legacy-390xx-alternative`, `nvidia-legacy-390xx-driver-bin`, `nvidia-legacy-390xx-kernel-dkms`, `nvidia-legacy-390xx-kernel-source` and `xserver-xorg-video-nvidia-legacy-390xx`08:50
gnarfaceoh, those aren't variations.  those are all just different parts of the same driver09:18
gnarfaceit's spread across multiple packages09:18
ananimususThe drivers for the video card were installed without problems, not like on Arch. But I have one more trouble: after changing the TTY, xorg closes.14:55
ananimususlol, it opens on the seventh TTY15:03
KittyI am being told that I need non free firmware15:29
Kittyand the file is regulatory.db15:29
Kittyany idea where I find this ?15:29
gnu_srs1Kitty: wireless-regdb?15:35
xrogaanKitty: 'apt-file search regulatory.db'15:57
xrogaan> https://manpages.debian.org/bullseye/apt-file/apt-file.1.en.html15:58
ananimususAnd another error. After `nvidia-xconfig --prime`: `WARNING: error retrieving symbol nvCfgIsPrimaryDevice from libinvidia-cfg.so.1: /usr/lib/x86_64-linux-gnu/libinvidia-cfg.so.1: undefined symbol nvCfgIsPrimaryDevice`. Also, in Xorg.0.log: `(EE) No devices detected.`15:59
ananimususI apologize for distracting those errors that I could correct myself.  I'm just tired of fixing them.  But now there is a really interesting problem.18:00
ananimususI have no errors in Xorg.0.log, but I end up with just a pure black screen18:01
ananimususXorg.0.log: https://paste.debian.net/123126318:03
ananimususxorg.conf: https://paste.debian.net/123126418:03
DPAananimusus: There are a few things you could try. First, you could check that the backlight of the monitor is on (not 0) "cat /sys/class/backlight/*/{,max_}brightness", and if not, set it to a bigger value.18:27
DPAThen, you could check with xrandr if any mode is in use. There should be one with a star next to it.18:27
DPALastly, you could try swapping the 2 Device sections in the config around. I think 0 and G0 are screen numbers. I think the G means the other one is the primary one, and the second one offloads the planes of it's screen to it. Or maybe it was the other way around, not sure. That may impact if the attached monitor gets configured automatically or not.18:31
DPAI'm not sure what the impact on rendering is with that / which one gets used in which case.18:31
ananimususBrightness set to maximum18:35
ananimususxrandr: `Can't open display`18:36
DPAYou'll have to run it as the same user X is started as, and set DISPLAY appropriately. It's usually DISPLAY=:0, but sometimes it's other low numbers.18:38
DPA(If you use lightdm, "su - lightdm -s /bin/bash" can be used to switch to that user)18:42
ananimususSwapped parts "Device" of intel and nvidia. Now unstead black screen. Now instead of a black screen, the picture on the screen is frozen19:01
ananimususxrandr still `Can't open display`.  Used the right user, set DISPLAY to the value from .Xauthority19:08
ElPresidenteWhich package should I use if I want to run runit without replacing sysvinit's init?  just "runit"?20:04
fsmithredrunit-init will pull in runit20:04
fsmithrednot sure what you mean, though20:05
ElPresidentefsmithred: I don't want to replace the init binary provided by sysvinit.  I just want to run runit services alongside sysvinit.20:06
fsmithredrunit just uses sysv scripts if there aren't run scripts, and it uses rcS scripts to start20:06
ElPresidenteOh, I didn't know that.  I thought I would have to rewrite literally everything for runit!20:06
fsmithredif you want it to use something other than sysv scripts for most things, you need to provide the run scripts.20:07
fsmithredThere are a couple of good sources for them, and I have a live-iso with some of them enabled.20:07
ElPresidentefsmithred: I'm trying to set up a syncthing instance but they only provide a runit or systemd script.20:07
fsmithredoh20:08
fsmithredthat seems weird20:08
ElPresidentemhm20:08
fsmithreddid they have sysv scripts with older versions? You might be able to use that if it exists.20:09
fsmithredor write your own based on the service file and the run script. Not sure if that would be easier than switching to runit.20:09
fsmithredhere's a good runit discussion on the forum, including posts from the runit maintainer: https://dev1galaxy.org/viewtopic.php?id=371620:10
ElPresidentefsmithred: Is there a guide on changing inits?  Also, does choosing runit when installing Devuan give me more runit scripts compared to my current install where I chose sysvinit?20:14
ElPresidenteI'm more experienced with runit and really should've chosen that at install.20:14
fsmithredno, you get runit scripts for gettys and openssh-server. That's all right now.20:14
ElPresidenteOh that's totally fine then.  Do those come with the runit package?20:15
fsmithredI think the scripts come with those packages20:16
fsmithredthat's the usual way: the package provides its own init script or service file (until they decide to stop maintaining the init script)20:17
ElPresidenteOkay, so I'm going to install runit-init and move my init over.  Thank you.20:21
ElPresidente(my weechat instance runs on the server and I access it through ssh so brb)20:21
fsmithredFWIW, looks like upstream syncthing also support upstart.20:24
ElPresidentefsmithred: that was surprisingly easy20:27
fsmithred:)20:35
fsmithredElPresidente, some of the runit files or links might be slightly different from what you have used.20:37
ElPresidentefsmithred: I see.  So far so good.  Man I love runit.20:38
erich_zannHehey, i try to install zfsutils-linux and zfs-dkms but this will remove openrc, can someone help with this really strange problem. i did already 2 times reinstall openrc, but this is a real problem20:58
erich_zannThe following packages were automatically installed and are no longer required:20:59
erich_zann  libeinfo1 librc120:59
erich_zannThe following packages will be REMOVED:21:00
erich_zann  openrc21:00
erich_zanni think it is about that it will install sysv-rc21:00
fsmithredI'm not seeing why (looking at package deps)21:01
fsmithredtry --no-install-recommends and see if that makes a difference21:01
erich_zannahhh i forgot this option... i try it now21:01
erich_zannnope, same21:02
erich_zannThe following NEW packages will be installed:21:02
erich_zann  libnvpair3linux libuutil3linux libzfs4linux libzpool4linux sysv-rc zfsutils-linux21:02
erich_zannif i try just install sysv-rc , it will remove openrc21:02
fsmithrednext trick is to try installing with aptitude and see if it gives you any more information21:02
fsmithredyeah21:02
erich_zannThe following packages have unmet dependencies:21:03
erich_zann sysvinit-core : Depends: sysv-rc but it is not going to be installed or21:03
erich_zann                          openrc but it is not going to be installed or21:03
erich_zann                          file-rc which is a virtual package and is not provided by any available package21:03
fsmithredwhich thing wants sysv-rc?21:06
WoCsysvinit-core21:07
erich_zannah sorry i've thought this line is in21:08
erich_zannyes21:08
erich_zannsysvinit-core21:08
fsmithredBreaks: openrc,21:08
fsmithred^^^ apt show zfsutils-linux21:08
fsmithredhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=90143621:10
fsmithred* Drop OpenRC support due to the difficulties of merging upstream21:10
ShorTiethat snucks21:25
ElPresidenteno real workaround?21:26
ElPresidenteshould I be linking runit services to /etc/runit/runsvdir/current?  i'm used to void where it's /var/service (which i think is a symbolic link to that but i'm double checking)21:30
fsmithredElPresidente, I don't know without looking at my notes. See that link to the forum I posted.21:40
erich_zannoh cmon, this is right now really frustrating :( ok back to void. but thanks 4 the help21:42
ElPresidentefsmithred: so it appears runit provides update-service script, which basically just does that lol21:46
Guest54how do i start Apache on devuan21:51
fsmithred Guest54 /etc/init.d/apache2 start|stop|restart21:56
Guest54why init.d21:59
fsmithredbecause that's where the script is22:04
fsmithredalso: service apache2 start22:04
fsmithredwill work22:04
Guest54i thought init.d is systemd22:04
fsmithredsystemd uses /etc/systemd/system/22:27

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