libera/#devuan/ Wednesday, 2023-05-31

tom-1Hi all. Please tell me where I made a mistake when adding a mirror?12:45
tom-1deb https://mirror.ungleich.ch/mirror/packages/devuan chimaera main12:46
tom-1sudo nano /etc/sources.list12:46
stable_ztom-1: the official default config is12:52
gnarfacetom-1: deb http://deb.devuan.org/merged chimaera main12:52
stable_zdeb http://deb.devuan.org/merged chimaera12:52
stable_zsorry, as gnarface wrote:  deb http://deb.devuan.org/merged chimaera main12:53
stable_zsee https://www.devuan.org/os/packages12:54
tom-1stable_z:  Hello .I understand what you are talking about, I downloaded a new key and use it:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/6101a2aac9af573eda33415299f4841bbf6c8b82>)12:57
tom-1 * stable_z:  Hello .I understand what you are talking about, I downloaded a new key and use it:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/0e574e9640b94c1edb528d385adec3babc35a1e9>)12:57
tom-1deb https://mirror.ungleich.ch/mirror/packages/devuan chimaera main  ???12:57
tom-1👉️ https://pkgmaster.devuan.org/mirror_list.txt12:58
rrqtom-1: you misspell "merged"12:58
tom-1rrq: 🙏🤝12:58
tom-1deb https://mirror.ungleich.ch/mirror/packages/devuan/merged chimaera main12:59
tom-1like this right?12:59
stable_ztom-1: ungleich.ch seems to be offline...13:00
tom-1stable_z: it's not important, I'm just an example, I'll change it to another server, thanks for pointing out my mistake13:01
tom-1stable_z: I checked everything works thanks!13:10
tom-1Please tell me when I install the server option should I see the choice of environment as in this screenshot or will I only have two ssh options and a set of minimal programs?13:10
* tom-1 uploaded an image: (9KiB) < https://libera.ems.host/_matrix/media/v3/download/chat.dotmavriq.life/rcxAuDqYEnkNMGmMzkOECqoa/Screenshot_2023-05-31_07-10-30.png >13:10
stable_ztom-1: you can select / combine as many options as you like.13:12
onefangmirror.ungleich.ch has been having timeouts on https://sledjhamr.org/apt-panopticon/results/Report-web.html, it's weekly up statistic is down to 97%13:16
tom-1stable_z: the fact is that I do not have such a choice, I wonder if any changes were included or in the ***_server.iso**  variant there should not be an environment choice?13:39
stable_ztom-1: don't know about the 'server' iso... but you can pull in the whole desktop environment of your choice later.13:47
stable_zjust 'apt install task-[gnome|xfce|kde|lxde|lxqt|cinnamon|mate]-desktop'13:49
tom-1stable_z: Yes, I'm busy, I do it, I just wanted to understand what is included by default.14:45
tom-1Hello . Can you please tell me what is the alternative to network-manager so that I can see the ethernet logo on the panel.18:42
fsmithredtom-1, connman18:54
fsmithredconnman-ui and connman-gtk18:55
tom-1fsmithred: Hello . Thank you very much for the recommendation. I always check the applications on the free distro site, if they are there, then I install them, if not, then it is better to avoid such applications))20:15
tom-1and20:48
tom-1 conman is not possible to run without dbus.20:49
fsmithredtom-1, I don't think there's a gui network manager that doesn't require dbus.21:04
brocashelmthere isn't, from what i tried. all of them to some extent will need dbus. you even need dbus for graphical generators from shell like yad or zenity21:15
tom-1fsmithred: 👉️ https://www.hyperbola.info/packages/extra/i686/dhcpcd-ui/21:24
tom-1 just tested Devuan  and saw this problem. I would be grateful for advice on this problem, I was looking for answers but did not understand what the reason is.... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/5024e64b8055ab5020b09f9cfb0724f4cfbab226>)21:25
rhyHey, y'all!  How do I install nvidia proprietary drivers in devuan?  Mahalo in advance.21:40
rhyCan provide pastebin of my current non-working setup.21:41
rhyhttps://paste.debian.net/1281615/21:41
rhyhttps://paste.debian.net/1281616/21:41
brocashelmhave you tried reading the steps described at the archwiki? https://wiki.archlinux.org/title/Nvidia#Installation21:59
brocashelmi don't have any nvidia products with me to test, sorry22:00
gnarfaceoh hey rhy you made it22:01
gnarfaceneed to see the Xorg.0.log and find out what you tested that's broken22:01
latexrhy: apt install nvidia-driver22:04
latexalso try nvidia-detect22:04
rhyok...22:04
gnarfaceit's already there though22:05
gnarfacerhy: it's probably worth mentioning that devuan's official live images have nvidia drivers pre-loaded and working. since you're not using an official devuan release, you should download and boot one of the live isos to compare with22:05
rhyMy card is supported by all driver versions. :)22:05
latexnvidia drivers are pretty funky though. It's a shame people buy this crap22:06
rhyI tried that also, I think it's the prime/bumblebee issue.22:06
rhyEverything is defaulting to the Intel built-in.22:06
latexI had to insert nonsensical lines in my Xorg.conf to get monitor overclocking to work22:06
latexAnd the nvidia driver caps at 144 Hz22:06
latexWon't go any higher22:06
latexNice job nvidia22:06
rhyLinus was right for flipping them off.22:08
rhyStill is.22:08
rhynvidia-xconfig22:10
rhyWARNING: Unable to locate/open X configuration file.22:10
n4diryou wrote Xorg.conf with upper X22:11
n4dirwhich was the name if you created one quickly, with  a command, to check it, but to use it to had to put it to /etc/xorg.conf or such, no?22:11
gnarfaceit's /etc/X11/xorg.conf22:12
rhyLooking now....22:12
rhyI have xorg.conf.d22:12
rhybut no xorg.conf22:12
rhyAnd this is Devuan.  Maybe that's the issue?22:13
n4dirbut above you wrote Xorg.conf, no?22:13
rhyNo I did not.22:13
n4dirmy fault, sorry.22:13
rhyBut I am willing to, but have no idea how to.  :D22:13
gnarfacerhy: btw, if you're using one of those dual-gpu laptops, this hint about the DRI_PRIME=1 environment variable setting is probably relevant to you (even though the rest is about arch) https://wiki.archlinux.org/title/PRIME22:14
gnarfacein theory you should just need to set DRI_PRIME=1 for any programs you want to use the nvidia card22:14
gnarfacethe "prime-run" thing might be useful too22:14
gnarfacethis hardware was never well supported22:15
rhyReading now....  That could very well be my issue(s)22:15
gnarfaceit can be picky about versions of things22:15
gnarfacerhy: sorry it's a arch wiki. there's probably a debian version of this info somewhere but this came up first22:15
gnarfaceand your Xorg log is probably at /var/log/Xorg.0.log22:16
n4dirisn't it in the users home these days?22:16
gnarfacefor everyone but nvidia22:17
n4dirha22:17
gnarfacefor it to make it to ~/.local/share/xorg/ you can't be running Xorg as setuid root, and nvidia drivers don't support that22:17
gnarfacehowever if the nvidia drivers were completely inactive and he's using nouveau it might end up in ~/.local/share/xorg/ so i suppose worth checking there too if the one in /var/log is mysteriously outdated or something22:18
gnarfaceyea hmm, actually since it's a hybrid card i'm not sure what would happen22:18
gnarfacei suppose it's possible the problem is that xorg isn't setuid root because intel doesn't need it anymore, and that could be sabotaging the nvidia drivers too22:18
gnarfaceone way or another we need the log and some tests22:19
gnarfacerhy: if the log in /var/log/ is old check ~/.local/share/xorg/22:19
rhyhttps://paste.debian.net/1281623/22:20
rhyNot that old: 2 days ago.22:21
gnarfacerhy: yea, that's just the generic modesetting driver. this is clearly generated by only your intel card.22:21
rhyHaven't made any real changes since then.22:22
gnarfacerhy: well the Xorg.0.log should be written fresh every time xorg is started, so double check you're looking at the right one, but this is what i think we'd expect22:22
gnarfaceunfortunately it's not very helpful because nothing is going wrong in there22:23
gnarfacego back to testing the DRI_PRIME / prime-run stuff22:23
rhyI don't see prime-run anywhere....22:24
rhycan't apt install it either.22:24
gnarfacestart with the environment variable22:24
rhySo do that how?22:24
gnarfacelike it suggests on the wiki22:25
gnarfaceDRI_PRIME glxgears22:25
gnarfaceer, actually...22:25
gnarfaceDRI_PRIME=1 glxgears22:25
gnarfacestart with that22:25
rhyOpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)22:26
rhyThat's def the prob.22:27
gnarfaceactually this would be better, i think: __GL_SYNC_TO_VBLANK=0 DRI_PRIME=1 glxgears22:27
gnarfacerhy: here, i think i found the debian version of the info for this: https://wiki.debian.org/NVIDIA%20Optimus22:27
gnarfacethis may or may not be helpful too, seems to be a example of how to recreate prime-run: https://askubuntu.com/questions/1364762/prime-run-command-not-found22:28
gnarface(it appears to mostly be a shell script that sets some environment variables and loads a json file that came with the nvidia drivers)22:29
rhyHmmmmm22:32
rhySo I found primusrun instead of prime-run already in /bin22:32
rhyTried it with glxgears and got some odd FPS diff from just straight glxgears22:33
rhyFor some reason nvidia was less FPS.  LOL22:33
rhyDoing more testing now....22:33
gnarfaceodd, but it's progress22:33
gnarfaceif there were no difference, that would be unhelpful22:34
gnarfacemake sure as much as possible the versions of your nvidia-* packages match22:34
gnarfacesome of them won't, but double check that all of them that can do22:34
gnarface(just by making sure they're the latest ones from your current release and not just stale versions from a previous release that should have been removed during the upgrade)22:35
rhyHmmm Dolphin still reports mesa intel.22:36
rhyEven when typing primusrun dolphin-emu22:36
gnarfacethat's all i got, sorry. check all the versions on everything and then try it on the devuan live image22:37
gnarfacethere's one variable we still haven't accounted for, and that's peppermint22:37
rhyTesting OBS now....22:37
rhyJust got a segfault.  :D22:37
gnarfaceyikes22:38
gnarfacereally could be a package version mismatch, do check those22:38
gnarfaceor even one of the important ones missing, but it looked like you had all the ones i thought were necessary...22:38
gnarfaceat least for this22:38
rhyBut I think it was running on nvidia before it crashed...22:38
gnarfacebut i've never had one of these optimus devices myself22:38
rhynfo: Initializing OpenGL...22:39
rhyinfo: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1050 Ti/PCIe/SSE222:39
rhyinfo: OpenGL loaded successfully, version 3.3.0 NVIDIA 470.182.03, shading language 3.30 NVIDIA via Cg compiler22:39
gnarfacetry comparing glxinfo output with and without the primusrun thing22:39
rhyDid that... More FPS on mesa.  LOL22:40
rhyOBS is definitely running better and on nvidia rn.22:41
rhyThe nvidia encoder is still not available though... Hmmm22:44
gnarfaceyou might just be missing a package for the encoder22:46
rhyThat's my guess as well.22:46
gnarfacerhy: try this: apt-cache search ^libnvidia-encode22:47
gnarfaceit might be called libnvidia-encode1 or libnvidia-encode2 or something like that22:48
rhyYep.  libnvidia-encode1.  Got it going now. :D23:09
rhyThanks!23:09
gnarfacenp23:10
gnarfacefor the most part, this is all there is to the nvidia shuffle23:11
gnarface1) check all the versions of the installed packages are from the current nvidia release 2) install inexplicably missing packages23:12
gnarfaceit helps to know some very basic regexp behavior to do searches for them23:12

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