libera/#devuan/ Friday, 2023-09-01

maskerinobut i really don't think that's it.00:00
maskerinoand yes, i've been running these commands you've posted in apt00:00
maskerinoand i still get the warnings in apt00:00
debdognala?00:00
maskerinoit's a different apt front end.  but it's entirely cosmetic00:01
maskerinoit just adds nice block characters00:01
rwpI don't know then.  If it were me I would browse /var/lib/apt/lists, delete the files there, and then apt-get update again to get fresh copies of them back.00:01
maskerinooh i have a feeling that will work let me try00:01
maskerinowill that remove any extra ppas i've added?00:01
rwpDevuan does not have PPAs.00:01
rwpWhich means that if you have added them that may be the source of the problem.00:02
rwpHowever the files I mentioned above are local cached copies of files that are downloaded.00:02
maskerinoi can't use add-apt-repository?00:02
rwpIt's your system!  You can do anything you want to do to it.  But as the joke goes, if you break it then you get to keep both halves of it. :-)00:03
maskerinoi did sudo rm /var/lib/apt/lists/* and that didn't work either00:03
rwphttps://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian00:03
debdogare there files in /etc/apt/sources.list.d/ ?00:04
debdogother than devuan-baseconf00:04
maskerinoi see files there and none of them are in devuan-baseconf lol00:04
debdogsorry, my bad *other than devuan.list00:05
rwpAny files in /etc/apt/preferences.d/* ??00:05
maskerinonone in preferences.d, and there isn't devuan.list there either00:06
rwpAnd no /etc/apt/preferences file either?00:06
maskerinonope the file doesn't even exist00:06
rwpCould you pastebin the output of "apt-cache policy"?00:07
maskerinoyeah one second00:08
maskerinocould the problem be that i added a debian source accidentally?00:09
rwpPossibly.00:09
maskerinosome of the files in /etc/apt/sources.list.d had things labelled as debian00:10
rwpWhat files are in /etc/apt/sources.list.d/* ??  That was a previous question asked above.00:11
maskerinohttp://paste.debian.net/1290620/00:11
maskerinooh that's it00:11
maskerinolet me try something00:11
rwpYes.  There are a lot of sources outside of Devuan listed there!00:12
maskerinowhere lol?  You're just saying ones that aren't from devuan.org?00:13
rwpIf it were me I would move all of those files to a saved location not there.  Start with just the basic devuan source.list file.00:13
rwpThen review each of those files you saved off one by one and verify that they are still useful.00:14
rwpIt looks like you have multiple mirrors of devuan listed for example.  You only need one mirror listed.00:14
maskerinoso how am i supposed to safely add sources?00:16
rwpAlso also a VScode repository, which _should_ be compatible but I am always suspicious of 3rd party repositories.00:16
maskerinoyeah removing those files did the trick00:16
maskerinobut i use those softwares regularly00:16
rwpHow to safely add sources?  I use my favorite editor.  (Which for me is emacs.  But vim is just the same too.)00:17
maskerinouse it to do what00:17
rwpYay!  On solving the problem.  After having only the devuan sources available and everything happy I would add only the VScode source in and see if things continue to be happy.00:17
maskerinoyup00:18
maskerinovscodium doesn't break it00:18
rwpI did not see any other 3rd party repositores in your apt-cache policy output.  So at that point you would be done.00:18
maskerinowait so i just added all the .list files back and it worked00:19
maskerinowth00:19
maskerinonothing changed?00:19
rwpWhy would you put all of those extra mirrors back?  After having everything cleaned up?00:20
maskerinoi didn't clean anything up that's my point lol00:20
maskerinoi just move the files temporarily to ~, ran apt update, and moved them back and no more errors00:20
rwpAs to your specific question it is probably a race condition between the different mirror entries.  Order matters.00:20
debdogapt-magic00:20
rwpIf there is only the one then there ordering is easy.00:21
maskerinogotchaa00:21
rwpIf there are a dozen then any of the dozen might happen first.00:21
maskerinoso how can i safetly add more next time00:21
maskerinoso this doesn't happen again00:21
rwpWhy do you want to add more?  Let's start there.  Because I don't understand it.00:21
maskerinowell i mean i had to add sources for sbt for example00:22
rwpSBT?  I am not familiar.  But the specific ones I am commenting upon are the ones indicated by the apt-cache policy output which shows duplicate devuan repositories.00:23
maskerinook so I just have to avoid duplicates?00:24
maskerinowhy can't apt figure out how to remove duplicates itself?00:24
debdogprolly because its missing AI00:25
debdogSCNR00:25
rwpmaskerino, These tools do exactly what you tell them to do.  Because that allows people to do clever things.00:26
maskerinoi've been programming for a long time, i understand that00:27
maskerinowhy isn't there an `apt --clean-duplicates update` option00:28
maskerinoor a more descriptive error00:29
rwpI suppose in seriousness the reason no option exists is that the authors did not think editing the files with an editor and doing it manually was difficult.00:29
maskerinocan i combine all my sources into one file that way I can check for duplicates more easily?00:29
rwpYes.00:30
maskerinocool00:30
rwpFor example I see mirrors.dotsrc.org/devuan/devuan and mirror.koddos.net/devuan/devuan and mirror.checkdomain.de/devuan/devuan and on and on...00:31
rwpFor example I see sledjhamr.org/devuan/devuan which is the primary mirror along with the others.00:31
maskerinounrelated, but if I close this terminal with irssi (not ctrl-z or disown or whatever), will I be able to read chat history when I come back00:31
rwpIf sledjhamr is there then no other ones are needed.00:31
maskerinoyou see those in my file?00:31
rwpIf irssi exits due to terminal close then it will not save history.00:32
maskerinook00:32
rwpBut the /topic command will show the topic and the topic will show the irc log site.00:32
maskerinoyeah i figured that's how you're intended to view message history00:33
rwpTo keep a persistent irssi running it's typical to use screen or tmux to leave it running in the background when one disconnects.00:33
rwpThen one can connect back up to the tmux or screen and resume the previous terminal still running irssi.00:33
maskerinoyeah tmux i've used before00:34
maskerinobut what about messages that happen when you're offline, can you just not view those easily in terminal?00:34
rwpIf one is offline from IRC then there is nothing locally to collect those messages.  (Other than the independent 3rd party logging site mentioned above.)00:34
maskerinoyeah but you can't have a script that downloads them when you start up?00:35
rwpThe IRC servers do not themselves log anything.00:35
rwpI am not aware of anything that does that, but something could do that, and I probably would not know about it.00:35
maskerinogotcha00:36
rwpAlso there are irc bouncer proxies which many people use that remain persistently connected and will dump out the last 50 lines (or other configured number) of lines upon reconnection.00:36
rwpznc for example does 50 lines by default.  I don't know about bip or quassel.00:36
rwpAll of this discussion about IRC would be excellent discussion in #devuan-offtopic where we chat about things not directly Devuan related.00:37
debdogquassel is great (if you have a server which is connected 24/7)00:37
maskerinonp i have to go anyway.  Thank you for your help00:37
onefangrwp: sledjhamr isn't "the primary mirror", it was just the first external package mirror, but seems to be one of the better ones since lots of people keep recommending it.  Also my mirror.02:25
onefangpkgmaster is the primary package server that the others sync to, so not actually a "mirror".  But we try to keep the load on pkgmaster low by suggesting people NOT use it directly.02:26
onefangWhich is why I moved pkgmaster to the end of the mirror list, so it was no longer at the top and getting used a lot.  Then sledjhamr ended up at the top, coz it was second.  B-)02:27
al1r4d> If irssi exits due to terminal close then it will not save history.02:40
al1r4drwp, use xmpp <-> irc bridge, like me :)02:40
rwpal1r4d, I solve the problem by never leaving. I just continue to exist always. But both on and away from the keyboard.04:14
rwponefang, The problem I was commenting upon though was that the poster had like a dozen of the mirrors all specified all at the same time in multiple sources.list.d/* files.04:15
rwpWhich also included sledjhamr, and if sledjhamr was there then there was no need or all of the rest.04:15
ted-iousCan devuan handle root on zfs without breaking when zfs updates come out?05:21
ted-iousOr do they have to be upgraded carefully by hand or something?05:21
rwpted-ious, AFAIK ZFS is not natively supported by Devuan but by OpenZFS using DKMS (Dynamic Kernel Module Support).06:42
rwpAnd when I say Devuan there I mean Debian since that's the way it is on Debian.  It's supported as a DKMS build.06:43
johndo100ZFS is amazing06:43
rwpI agree!  ZFS is awesome.06:44
ted-iousI guess I'm asking how well that works since the packages are not native and the kernel support isn't normal for zfs.06:50
rwpI am only running root on ZFS on FreeBSD.  I can't say about it on Devuan.  But you could try it and then you would know.06:55
johndo100I have ZFS on Devuan before, not on root but it was fine.07:02
systemdleteI'm now getting messages from apt update saying that the label for the repo has been changed from "devuan security" to "devuan-security" (the dash is the important part here, I think)09:34
systemdleteI've been tooling with apt for days (daedalus) and have not seen this until just now.09:34
rrqhappened the 25th Aug ... do "apt update" and answer yes09:42
systemdleteI did.  But I have been doing repeated installs for a week now, and never got this message before.  If I had, it would have held up my scripts, but I have not had that.09:42
systemdleteI've already fixed my scripts by adding "-y" to all calls to apt.09:43
rrqit would have come with the first "apt-get update"09:43
systemdleteI would have expected that to be the case, yes.09:43
systemdleteLike I said, I've been doing a lot of installs, so I would think I'd seen this by now.09:44
rrqunless you have a cacher in the way09:44
systemdleteIn a VM?09:44
rrqI mean some repo cacher (apt-cacher or something) ..09:45
systemdletenah.  When I say re-install, I mean, totally from scratch.09:45
systemdleteempty root file system09:45
rrqright.. only "update", which updates you meta files would be relevant for this09:45
rrqupgrades and installs uses the meta files you have09:46
systemdletewhat does that mean?09:46
systemdleteYou mean the ones on the CDROM/ISO image I am using?09:46
systemdleteI don't think those change!  LOL09:46
systemdlete(unless I misunderstand you)09:46
rrqyour installed system has packages and package meta files (or vice versa)09:47
systemdlete"installed?"09:47
systemdletesorry09:47
rrqall apt commands refers to the meta files you have on your system, except "apt-get update" which updates those meta files09:48
systemdleterrq:  Since I am starting over and over again, each time, I should have a fresh copy of whatever comes with the devuan install ISO image.09:48
systemdleteSo every time I have installed (or re-installed), from scratch, I should have had a re-set09:49
systemdleteand then apt update should have shown me those messages, at least for the installs I've done since the 26th when, as you say, those chages took place09:49
systemdletebut they didn't.09:49
systemdleteIt is ONLY when I ran the install this most recent time that I saw the messages.09:49
systemdleteNo?09:50
rrqyes. mmm right.. any time you would do manual apt update after installation it would have mentioned that change09:50
systemdletebut... it didn't.09:51
systemdleteLike I said, I have carefully taken the precaution of inserting a "-y" wherever I call apt so that it won't hang my scripts.09:51
systemdletebut that is only since a few minutes ago, since this last install attempt.09:52
systemdleteLook, I'm not really blaming anyone, or claiming there's an awful bug somewhere.  But it is bizarre to me.09:53
systemdleteAnd I admit I don't fully undestand all of apt and the debian package system and the repos (though I am slowly catching on)09:54
rrqyes that sounds odd. whay's the sources.list line concerned? is it a particular repo that is late updating?09:54
systemdletedevuan-security09:55
systemdletenot sure which repo09:55
systemdleteI saw the message a couple times I think09:55
rrqthe host part of the line09:55
systemdletehttp://deb.devuan.org/merged that part?09:56
systemdleteshould I be using pkgmaster instead?09:56
rrqwell... some people prefer pkgmaster for devuan-security, yes09:57
onefangBut I try to discourage everyone using pkgmaster, so the mirrors don't get bogged down.09:58
rrqjust to avoid possibilityof  such updating delays, if that's what it was09:58
systemdleteahhhhh09:58
rrqonly for daedalus-security09:58
systemdletethat WOULD definitely explain it, IFF that is really what happened.09:58
systemdleteright, and that's what the message was from09:59
systemdletesecurity09:59
systemdleteso pkgmaster gets security updates before the deb ones?09:59
onefangI'm also trying to get the package mirrors updating every 30 minutes.  Some are still 1 to 3 hours, but I'm making progress.09:59
rrqpkgmaster is the master repo that all repos mirror09:59
systemdleteah... so maybe I just ran into a laggard mirror then?10:00
systemdleteand that's fine.10:00
onefangPossibly.10:00
systemdleteIn fact, I am smiling now.10:00
systemdleteI am RELIEVED.  At least there is some logical explanation (at least likely, anyway)10:00
systemdleteI didn't know what the heck was going on.10:00
systemdletegetting into the guts of installation is interesting, but a bit scary at times.  I always wonder if I overlooked something important, probably something I did not know anything about.10:01
systemdleteSo I really appreciate rrq and onefang taking a moment to clear it up.10:02
rrqyeah the correction was something that was discovered when daedalus became stable, or maybe a little bit later10:02
systemdleteWell, that's OK.  It sounds like the mirrors are just trailing behind a bit.  I might have hit one just now, in this most recent install attmempt, that was seriously behind (5 days?)10:03
rrqyour ISO is a daedalus live I suppose?10:03
systemdleteit's the minimal install I've been using.10:03
onefangI keep an eye on these things with my apt-panopticon.  Any package mirror that isn't updating every 30 minutes I temporarily remove from the deb.devuan.org DNS-RR.10:04
* systemdlete looks up into the sky to see where onefang is pointing10:04
onefanglol10:04
systemdletethat must be the management for the repo servers or somthing like that?10:04
onefanghttps://sledjhamr.org/apt-panopticon/results/Report-web.html  http://veritas.devuan.org/apt-panopticon/results/Report-web.html  https://ap.in.devuan.org/apt-panopticon/results/Report-web.html  https://mishka.snork.ca/apt-panopticon/results/Report-web.html10:05
* systemdlete adds that link to his "reading list" for someday when they have copious time on their hands...10:05
onefangStuff I wrote in Lua to track the health of the Devuan package mirrors.10:05
onefangWell four links, I track the health from various places around the world.10:06
systemdleteThe issue here, though, is... 5 days?10:06
systemdleteis that even possible?10:06
onefangYes sounds odd.  Shouldn't be, due to what I said above.10:07
systemdleteI mean, did I get a server that is located in a DC in one of the US's many war zones?10:07
systemdleteOr somewhere in the Tampa area?10:07
systemdletewho knows, right?10:08
rrqyou said you started with the "minimal install" whihc was made before 25th I suppose10:08
systemdleteright.10:08
onefangMirrors have to tell us which country they are in, and which they are happy serving.10:08
onefangAnd those countries are listed in https://pkgmaster.devuan.org/mirror_list.txt10:09
systemdleteI forget exactly when I switched from the netinstall.  But it was a few days back.10:09
rrqso doing "apt update" on that particular system anytime after 25th would get the message10:09
systemdleteDays and nights just all kind of melt into one another when I get deep into one of these projects...10:09
systemdleterrq:  Yes.  We agree.  That is the expected outcome.10:09
onefangSo what rrq is saying is that the 5 day old repo is your install medium.  I think.10:10
systemdleteonefang:  Could there be a rogue server somewhere?10:10
systemdletesupply-chain attack?10:10
onefangThat's one of the reasons for apt-panopticon.  It downloads packages and checks hashes and stuff.10:11
systemdleteonefang, you are late to my little "party" here.  Ive been doing repeated installs while trying to work out the kinks in my installatin method10:11
systemdleteI'm using a combo of debootstrap and some hand-crafted sh scripts10:12
onefangI've been busy trying to find anew home, now I'll be busy moving for the second time this year.  I hope to settle down so I can work more on things like apt-panopticon.  It needs to check CC mirrors now, and other things.10:12
systemdleteIt's part of a checklist to ensure I don't forget what I did last time...10:12
systemdlete"CC"--command and control, Communist China, can't contact, what?10:13
onefangI switched from debootstrap to mmdebstrap for chimaera, and write my own scripts for installing using that.10:13
systemdletemmdebstrap?  There is such a thing?10:14
systemdleteI will HAVE to look at that.10:14
onefangYep.  A little faster, with some extra features.10:14
systemdleteIs mmdebstrap on the devuan ISO's?10:15
onefangCountry Codes.  CC.deb.devuan.org, where the CC is replaced by the country code you want.10:15
systemdleteor do I need to spin one myself?10:15
onefangmmdebstrap is in the repos, dunno if it's on the ISOs.10:15
systemdleteit is clearly NOT on the minimal ISO10:16
systemdletebut that's OK.  I am thinking that I want to start creating my own boot media anyway.  But that has to wait.  I want to get through daedalus first.  Maybe for excalibur10:17
onefangI just found out about bdebstrap.  "bdebstrap is an alternative to debootstrap and a wrapper around mmdebstrap to support YAML based configuration files."10:18
systemdletethank goodness someone had the good sense to create yet another markup language for us to learn.10:21
systemdlete(j/k)10:21
onefanglol10:21
systemdleteActually, what really helps me the most is when there are 18 variations of the same language, because that helps create confusion as well as lots of incompatibilities to deal with.10:22
systemdletebut I am getting waaaay OT and a certain hall monitor is going to send me to the principal's office shortly if I don't quit.10:23
systemdleteI also noticed bdebstrap when I was looking up mmdebstrap10:23
onefangTo right mate, that's a royal pain in the bloody arse, variations in language.  Think yourself lucky I didn't use proper 'strain.10:24
onefangOOps, that's "proper 'strine".10:24
systemdleteactually, I rather like the whole British accent thing10:24
systemdleteSounds odd to this American, but then again, so do a lot of Americans10:25
onefangOK, waaay OT now.  lol10:25
systemdletelol10:25
systemdleteyeah10:25
Guest4359since linux is multiuser why we need seat management software ?15:50
gnarfaceGuest4359: i agree with the sentiment, but it's not really a Devuan support issue. please join #devuan-offtopic for such conversations.15:52
gnarfaceit's by far not the first or the stupidest thing they're doing to us upstream15:53
Guest4359ok sorry15:53
gnarfaceno big deal15:53
gnarfacewe just like to keep this channel clear for actual support issues. if everyone was allowed to bitch about Debian's vandalism of Linux in here, there'd be no room for anything else.15:53
Guest4359i apologize.15:54
gnarfacewe have #devuan-offtopic for all sorts of other philosophical discussions though, feel free to join it and stay connected to both15:54
Guest4359gnarface, i've  posted my question there.15:55
gnarfacewere you the person who asked about salix then left 2 minutes later?15:56
gnarfacethat's also a #devuan-offtopic type question15:56
gnarfacealso, in general it's a good idea to wait longer for responses, they can be slow but people do read the scrollbacks15:56
bgstack15I'll start here, because I am indeed using Devuan. Does anyone here have experience getting Nvidia legacy drivers to get your X11 display to get to the 1920x1080 native resolution of the laptop display? I cannot figure out why it doesn't think LVDS-1 can get to that resolution.16:27
bgstack15(Amusingly, btw, X11 happily squishes higher resolutions into its perceived max if you forcefully add with --newmode and --addmode)16:28
gnarfacebgstack15: not specifically on a laptop but i'm sure i've made it work before. ymmv depending on nvidia card model though...16:28
bgstack15GK107M (GeForce GTX 660M), on an Alienware M71x R416:29
bgstack15nvidia-detect choked, but installing nvidia-* whatever warned me that it needed nvidia-tesla-470-driver so I installed that.16:29
gnarfaceone generation newer than the last one i had before switching to AMD. should work...16:30
bgstack15even nouveau got to 1600x900; but contemporary reviews of this laptop called it "native 1920x1080 resolution"16:30
bgstack15And in the graphical nvidia-settings program, it shows "Display devices: None" yet clearly I have a display device...16:30
gnarfaceright, should work. first thing i'd check is to make sure all your packages with nvidia in their names are of the same version16:31
gnarfacethere's more than one legacy, and i see you found the tesla drivers too, so "nvidia-*" definitely is not what you want, that's a mess16:31
bgstack15yes, sorry, I didn't run "apt-get install nvidia-*" I am not sure which "nvidia-driver" or similar package I tried to start with16:31
gnarfaceactually, just paste the output of "dpkg -l |grep -i nvidia" to paste.debian.net and i'll sanity check it for you.16:31
bgstack15I was trying merely to summarize here16:32
gnarfacenow, this is a fully devuan distro of one version, right? you didn't mix other distros or repos or releases in with it, and you didn't use the nvidia.com shell script driver installer, right?16:32
gnarfacefollow-up to that... any backports packages?16:33
bgstack15I'm on Ceres16:33
gnarfacei see16:33
bgstack15I have not run any nvidia.com shell script16:33
bgstack15I didn't think of that...16:33
gnarfaceceres could be half the problem right there, but let's proceed anyway16:33
gnarfacedpkg -l |grep -i nvidia16:33
gnarfacewe make sure you have the right driver packages, then we'll try to poke at the settings with xrandr16:34
gnarfaceyou don't have any xorg.conf yet, right? you might need it but start without.16:34
gnarface(i'm assuming you're not using wayland)16:35
bgstack15This is X1116:38
bgstack15I had no xorg.conf, but then I tried the nvidia-xsettings with sudo to save to /etc/X11/xorg.conf16:38
bgstack15that prevented X11 from displaying anything! I'm shocked lightdm didn't fail out. It merely got stuck16:39
bgstack15i'm struggling with dpaste right now... hold on16:39
gnarfacei don't think it actually saves to xorg.conf, it saves to something like ~/.stupidnvidiasettingsrc and it doesn't work unless you then have nvidia-settings in your WM's startup items (and obviously if you need something for Xorg to even launch first this isn't a viable alternative to actually having /etc/X11/xorg.conf)16:40
gnarfacebgstack15: please, use paste.debian.net or just /msg it to me16:40
bgstack15https://bgstack15.ddns.net/stackbin/1ea2dcac-2df5-4e6c-a4b6-537cc61336bb16:40
gnarfaceyea, i'm not clicking on that16:40
bgstack15Did curl change?! Now I need --data-binary '@-' instead of before (according to my docs) --data-raw '@-'16:41
gnarfacedunno, seems plausible though16:41
bgstack15well, that's my pastebin so I don't know how to help you16:41
gnarfacenobody will click on links to my servers either. don't take it personally.16:41
bgstack15And I bothered to get a let's encrypt cert.... nobody would ever visit when I was using my own CA16:42
bgstack15when I run dpaste, I always get "free(): double free detected in tcache 2"16:42
gnarfacehmm, i don't know what that's about either.16:42
bgstack15let me get a browser up on the affected system and use the front-end to dpaste16:42
gnarfacejust /msg the paste to me, i'll wait16:43
bgstack15https://paste.debian.net/1290674/16:43
bgstack15I don't have an irc client on the affected system.16:43
gnarfaceok that works16:43
gnarfaceok, yea this is a mess16:43
gnarfaceyou need to get all that tesla stuff outta there16:44
bgstack15I believe I removed all nvidia stuff, and then ran "install nvidia-tesla-470-driver firmware-misc-nonfree"16:44
bgstack15The nvidia-driver thing told me I need the tesla thing16:44
bgstack15but OK16:44
gnarfacewell wait, this is a x86 laptop, right? not some nvidia shield or tegra development board right?16:44
bgstack15I will try anything, lol. It's not an important system yet.16:44
bgstack15This is a i7-3610QM16:45
bgstack15so guessing 64-bit16:45
gnarfaceyea, you definitely don't want tesla then. that's their driver for their ARM hardware16:45
gnarfacewhy the hell did it even let you install that? sigh16:45
bgstack15hm, nothing on the debian nvidia page made it sound like Tesla was for ARM16:45
gnarfacemaybe i'm confused, but this is definitely not the legacy driver you said you were trying to install16:45
gnarfacethe legacy drivers all have "nvidia-legacy" in their name16:45
bgstack15https://wiki.debian.org/NvidiaGraphicsDrivers#Tesla_Drivers16:46
bgstack15dpkg -l | grep nvid now shows nothing at all!16:46
bgstack15lemme reboot...16:46
bgstack15I actually like nouveau just fine, but for this one game I play, I need Nvidia max performance, lol16:46
gnarfacei understand. start with this package search: apt-cache search ^nvidia-legacy16:47
bgstack15wilco after reboot16:47
gnarfacewhatever tesla is for, it's not for laptops16:48
gnarfaceand it's definitely not for 600 series geforce cards16:48
gnarfacemaybe it's for their bitcoin mining rigs or something, that's what the description on the link you pasted suggests16:48
gnarfacei might have got "tegra" and "tesla" conflated in my head but they're definitely not what you want16:50
bgstack15oh, I know what happened. the freaking-annoying dpkg INTERACTIVE frontend said "the above card requires either the non-free legacy NVIDIA driver (package nvidia-tesla-470-driver) or the free Nouveau driver.16:50
bgstack15so that's why I installed that package by name.16:50
bgstack15but now I'm trying nvidia-legacy-340xx-driver16:51
gnarfacethat set should work16:52
gnarfacedo you see any later than 340 in there?16:52
bgstack15Thankfully I'm not interested in chasing the latest drivers (and cannot even, with this 2013 laptop) for anything. I want things to work one way, and then never ever change. So if we can get this going with any random 340xx or 304xx or whatever, then I'll do that.16:52
bgstack15there's a nvidia-legacy-390xx-driver16:53
bgstack15oops, should I have picked that?16:53
gnarfaceyes, use that one. i assume the tesla thing must be some sort of mis-detect, because those are also 470.* drivers, and nvidia.com lists the last supported driver version for your card is 418.11316:53
gnarfaceso what you want is the latest you can get up to 418.11316:53
gnarfacei didn't see any nvidia-legacy-4* packages in pkginfo.devuan.org so 390xx is probably what you want16:53
bgstack15https://us.download.nvidia.com/XFree86/Linux-x86_64/525.105.17/README/supportedchips.html (linked from that Debian nvidia page) indicates that my GTX 660M is supported on the 470.xx driver16:54
gnarfacehmm, weird because that's not the one their driver search gives me16:54
bgstack15oh, so that tesla business had the 470 in it...16:54
gnarfacetheir driver search gives me this https://www.nvidia.com/Download/driverResults.aspx/153717/en-us/16:54
gnarfacenot sure if the search results will carry through with just that url though...16:55
gnarfacehmm, seems to though16:55
gnarfacetrust me though, that 660M is definitely in the category of "legacy"16:56
bgstack15I think I used to once use the nvidia.com stuff (in my Fedora days) but I prefer the Devuan packages when possible. I could try the nvidia.com stuff if this legacy-340 stuff or legacy-390 doesn't work16:56
bgstack15Oh, I know. This laptop is from 201316:56
gnarfaceonly use the nvidia.com shell script as a last resort. it's almost certain to "work" in the sense that it'll probably give you a one-time working setup, but it will run roughshod over your package dependency tree and the next time you try to update your graphical stack it'll break16:57
gnarface(it does have an uninstall option now but it usually doesn't actually clean up after itself very well)16:58
bgstack15ah, the link for the 390.144 driver indicates that the GTX 660M is still supported by it.17:00
gnarfaceyea, i'm certain it should go up to 418.113 but it looks like 390 is the latest in debian17:01
gnarfaceand there's probably a good reason why17:02
gnarface(like the later versions are all crashy)17:02
bgstack15hm, after the reboot with 340 installed, lsmod shows "nvidia" but fewer than normal nvidia things, and nvidia-settings says I'm not using the nvidia driver...17:05
bgstack15I'm removing, and will install the 39017:05
gnarfaceafter you get the 390 driver in, paste me the "dpkg -l |grep -i nvidia" output so i can sanity check it again17:05
bgstack15yep17:05
gnarfaceand we may still have to do a couple config changes to make it work17:06
bgstack15Is rebooting necessary? Can I just rmmod nvidia and restart lightdm?17:07
gnarfacespecifically, you may need to add "nomodeset" to your kernel command-line, blacklist the nouveau driver, and create a minimal xorg.conf to give it some non-auto-detected operating boundaries17:07
gnarfacei would recommend a reboot with this hardware.17:07
gnarfaceymmv but nvidia cards historically have often required a full reboot, and sometimes actually a full shutdown + cold boot17:07
gnarface(though the cold boot thing i haven't noticed being strictly necessary since the AGP era except in a couple weird crash cases)17:08
bgstack15https://paste.debian.net/1290678/17:14
bgstack15my dpkg -l | grep nvid17:14
bgstack15nvidia-settings says it appears that I'm not using the NVIDIA X driver....17:15
bgstack15should I run `nvidia-xconfig` as root now?17:15
gnarfaceno17:15
gnarfaceblacklist nouveau, add nomodeset to your kernel command-line, then reboot once more, but i think you need to remove these 525.* packages too17:16
gnarfaceto the best of my understanding, these packages are from non-legacy versions and not even the same version at that, they all have to go: nvidia-modprobe, nvidia-vulkan-common, nvidia-xconfig, nvidia-egl-common17:17
gnarfacebut nvidia-settings probably just says that becuase nouveau beat nvidia to the punch. blacklisting it should fix that part.17:18
gnarface(let me know if you need help with specifics on those tasks)17:18
bgstack15nouveau is already blacklisted. I updated grub with nomodeset.17:18
bgstack15Unfortunately nvidia-vulkan-common, nvidia-egl-common, and nvidia-xconfig want to remove the *390* drivers....17:18
gnarfacedamnit17:18
gnarfacealright, leave them then, but that might be a problem17:19
gnarfacethere's no nvidia-legacy versions of those in sight in the repos you could install isntead?17:19
gnarfaceinstead*17:19
bgstack15should I use nvidia-legacy-390xx-vulkan-icd17:19
bgstack15?17:19
gnarfaceyea, try it. see if that will kick the 525 version out17:20
bgstack15I don't know exactly what yet, the vulkan-common package pulls in17:20
gnarfacein general you don't want a heterogeneous mix of nvidia driver package versions. it's not smart enough to know it won't work.17:20
bgstack15well I already have the nvidia-legacy-390xx-vulkan-icd and nvidia-legacy-390xx-egl-icd packages17:21
bgstack15but that common business is still here and wants to remove the legacy drivers...17:21
gnarfacedamn, ok so this is ceres and this may just be simply broken but let's ignore those and move forward for the moment17:21
gnarfacelet's get you a decent xorg.conf17:22
gnarfaceuh, hang on, fabricating one17:23
bgstack15oh, I was able to remove the nvidia-xconfig package though.17:23
bgstack15(That probably would have helped with the xorg.conf...)17:23
gnarfaceeh, maybe17:23
gnarfacethis part isn't so hard for me though, just gimme a minute17:23
gnarfaceconsulting some notes17:23
gnarfaceok, we need one set of figures from your laptop's manufacturer manual: we need the horizontal and vertical refresh ranges of the panel17:25
gnarfaceof the display panel17:25
gnarfacei'm typing this xorg.conf up while you find that17:26
gnarfacewe might need to consult the output of "xrandr" while Xorg is running, but at the moment that's a bit of a catch-22 problem17:27
bgstack15well, the owner's manual and reference guide do not have "horizontal" or "refresh" anywhere in the docs.17:28
bgstack15er, refresh rate, 60Hz17:28
gnarfacewait, it says 60Hz for which?17:30
bgstack15Maximum resolution 1920 x 108017:31
bgstack15Dimensions17:31
bgstack15Height 215 mm (8.46 inches)17:31
bgstack15Width 382 mm (15.04 inches)17:31
bgstack15Diagonal 439 mm (17.28 inches)17:31
bgstack15Refresh rate 60 Hz17:31
bgstack15that is all17:31
gnarfacestand by17:32
bgstack15now, lshw shows that the display is using driver=i915. Do you think I should blacklist that?17:33
gnarfaceno, not yet. hmm, but is this one of those hybrid laptops with two gpu vendors?17:33
gnarfaceit's possible we're going about this all wrong if the nvidia card isn't the only video device17:34
gnarfacei just finished the xorg.conf for you though, minus the horizsync and vertrefresh values17:34
bgstack15well, i915 is the built-in Intel thingy17:34
bgstack15I think every i5/i7 always has a native one as part of the chip17:35
gnarfacewell, depending on how the bios is setup the intel one may have to be the primary17:35
bgstack15I don't recall seeing an option for "primary graphics card" but if I had seen one, I would have set it to nvidia.17:35
gnarfacehttps://paste.debian.net/1290683/17:36
gnarfacewell, here's the example xorg.conf i just created under the assumption that this laptop only had a nvidia card17:36
gnarfacethe only thing wrong with it is i had to fudge the values for the Monitor section's HorizSync and VertRefresh fields17:37
gnarfacemaybe nvidia-xconfig can get those17:37
gnarfacemaybe xrandr can too17:37
gnarfacebut the intel/nvidia hybrid gpu situation might explain a lot about why it thought you had a tegra mining rig17:38
bgstack15ok, rebooting with that xorg.conf in place.17:38
bgstack15(Tesla)17:38
gnarfacetesla, right.17:38
bgstack15ooh, Fn+F7 is "I/D GFX"17:40
gnarfaceso, the way the hybrid laptops typically work, is you actually configure xorg to the intel video card, then you use some command-line program or some environment variable (DRI_PRIME? something like that) as a pass through to offload games and other 3d tasks to the nvidia card on a per-command-execution basis17:40
bgstack15I bet it takes software in the OS to react to it, but maybe I should have tried pressing that...17:40
gnarfacebut, the fancier laptops, have a way to just change the nvidia card to the default one and you don't have to mess with dri prime nonsense17:40
gnarfaceunfortunately i don't have a lot of first-hand experience with this generation of hardware so you'll kinda have to figure it out from there17:40
bgstack15lightdm is not showing or running; haven't figured which. that xorg.conf must be incomplete17:41
bgstack15I did just modprobe -r i915; maybe I should just move that xorg.conf out of the way and see if it loads up the nvidia card now?17:41
gnarfaceif the nvidia card isn't active, it would have no way to use this. it's possible you need a xorg.conf that loads the intel driver17:41
gnarfacewell17:42
gnarfacetry it17:42
gnarfacebut if that doesn't work, try swtiching "intel" for "nvidia" on line 68 of that xorg.conf and reboot17:42
gnarfaceanyone here have one of these alienware hybrid gpu laptops or know if they can have the nvidia card be the default or at least know how to use dri_prime right with it?17:44
gnarfacebgstack15: see if you can locate a binary called "prime-run" or something like that, in case we have to use the intel card as a passthrough17:45
gnarfacebgstack15: i think this is the relevant debian wiki page: https://wiki.debian.org/NVIDIA%20Optimus17:46
gnarfacethe thing in their example ServerLayout section might help, i've never seen that;     Inactive "intel"17:46
gnarfacewe just need to get xorg up at all, then you can poke at it with xrandr17:47
gnarface(nvidia-settings might start working right too then)17:47
gnarfacesorry we went so far down the road of assuming there was only a nvidia card, that was costly and confusing17:49
bgstack15lol, i hadn't said anything about it having hybrid graphics17:53
bgstack15I suppose it qualifies, merely because i7s always have their own17:53
gnarfacei think this is the definition of hybrid graphics, but they come in a few different forms17:53
gnarfaceit would explain why the nvidia driver packages and the nvidia-settings tool misdetected you17:54
gnarfaceunfortunately i'm not up on the latest developments for working with them17:54
bgstack15this is a 2013 laptop, so we don't need the latest.17:55
gnarfacewell, when last i looked into it, if you didn't have a bios setting (or bios-enabled hotkey) to switch the nvidia one to the primary, then the only option was to use the intel one as the default for xorg, and as a passthrough for the nvidia card on certain tasks17:56
gnarfacethis wiki page seems to suggest they've moved the ball forward further than that, but it's not clear those developments will help you with the legacy driver17:56
djphbgstack15: laptops "only(tm)" offer "Hybrid Graphics" since like ehhh 2009 / 10 or something, where basically the discrete GPU is "only(tm)" a co-processor, rather than actually driving the displays17:56
gnarfaceyou're kinda stuck in a weird position here17:56
djphYeah, it's only relatively recent that they started getting less bad (albeit it's still worse than a desktop with truely discrete graphics)17:57
gnarfacedjph: do you happen to know how to fix this? we can't get even xorg running at the native display resolution17:57
gnarface*can't even get17:57
djphWith nouveau, right?17:58
* djph reads scrollback17:58
gnarfacetried with nouveau (presumably, or modesetting) and with nvidia-legacy-39017:58
gnarfaceworking on nvidia-legacy-390 and i think it would have worked at this point if the intel gpu wasn't in the way17:59
debdogI have no clue about the technical details of my laptop but in my case this helped: http://us.download.nvidia.com/XFree86/Linux-x86_64/390.42/README/randr14.html18:00
debdoga) the xorg.conf and b) the "xrandr --setprovideroutputsource modesetting NVIDIA-0" which I put in fluxbox' startup script18:00
gnarfacebgstack15: ^^18:02
djphI remember *SOMETIMES* nVidia cards are slow at getting EDID information before xorg wants to timeout and just do something "safe(tm)" (like 640x480)... with ubuntu, restarting X (ctrl+alt+bksp) usually helped. But it's been 5 (6?) years since that 2012 era machine died on me :(18:03
gnarfaceyea, i see that    Inactive "intel" thing here too. that might be key18:03
gnarfaceyou can actually dump the EDID info to a binary blob and just tell the xorg.conf to load it directly from harddrive. that might help with the latency race condition issue18:04
djphyeah, I don't remember what the "permanent(tm)" fix was (I mean, other than replacing it with some no-nVidia laptop because I stopped playing "heavy" games as much)18:05
bgstack15er, well, now, whenever I switch virtual terminals it just goes all blue and does nothing.18:08
bgstack15oh and capslock isn't working either, so maybe it's entirely hung18:08
gnarfacebgstack15: is that with the "Inactive "intel"" thing in the ServerLayout section of your xorg.conf?18:09
bgstack15I think that's with no xorg.conf at all, so whatever it autogenerates....18:10
bgstack15although I'm rebooting atm and will try to grab it before lightdm starts up18:11
bgstack15lol, it's a brand new install. Maybe I'll just install Devuan again. It's not the worst thing in the world.18:11
gnarfacebgstack15: try merging the xorg.conf i gave you with the relevant parts from this one: http://us.download.nvidia.com/XFree86/Linux-x86_64/390.42/README/randr14.html18:11
bgstack15yeah, i did. lightdm wouldn't display anything with any tweaks I tried after merging those.18:11
rrqnote that the daedalus Xorg with seatd don't like VT switching (I missed the beginning of this though)18:11
gnarfacebgstack15: what did the Xorg log say? oh, yea, maybe disable seatd too18:12
bgstack15oh, I did disable seatd once. I might have already autopurged it too, though18:12
gnarfacebgstack15: i'd like to see the Xorg.0.log after a failed run18:12
rrqyeah, that Xorg version is not good with VT switching... in fact you might want to roll back xserver-xorg-core to the chimaera version, until it's fixed for daedalus18:17
bgstack15i cannot get it to respond at all, and my sysvinit foos failing. I added to my kernel command "init=bin/bash" but is that the right way to get to single-user mode with sysvinit?18:18
bgstack15er, /bin/bash18:19
gnarfacebgstack15: "single"18:19
gnarfaceiirc18:19
gnarfacein the kernel command-line18:19
rrqor boot with "init=bin/bash" and use "exec /sbin/init -s" (I couldn't find "single" in the initrd scripts)18:28
rrqeh /bin/bash :)18:29
masonbgstack15: /bin/sh (dash)20:30
DrHydehello gang, what's up with netatalk? It was in Chimaera, it is in Ceres, but is missing from Daedalus!21:06
masonDrHyde: Not in Debian Bookworm, hence not in Daedalus.21:06
DrHyde<sadface>21:07
golinuxTry backports?21:07
DrHydenot in bookworm-backports either21:07
golinuxIt may be eventually or works some magic yourself . . .21:10
golinux-s21:11
DrHydeyeah, i can always build it from source in extremis21:11
masonDrHyde: I think most folks are using Samba in that space nowadays anyway.21:14
masonMacs can all use SMB, and I think the Netatalk code hasn't seen a lot of use.21:15
DrHydethey are, i've been procrastinating about switching for years because i'm very lazy :-)21:15
masonhttps://www.bleepingcomputer.com/news/security/synology-warns-of-critical-netatalk-bugs-in-multiple-products/21:15
DrHydei suppose now's a good time to switch21:15
masonSo, that's not as out of date as I thought, if they were updating it that recently.21:16
masonHm, very recent updates: https://en.wikipedia.org/wiki/Netatalk21:18
masonSo I stand corrected.21:18
mason(I used to use it for Time Machine back-ups at a place I worked.)21:19
gnarfacebgstack15: uh, this probably should have been asked before, but you're in the "video" group, right?22:19

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