libera/#devuan/ Sunday, 2021-02-28

e3d3After updating I get error messages complaining that the postinstall script for linux-image-amd64 can't find grub, which is logical because I installed grub on another partition/distro. How can I get rid of the error messages (https://pastebin.com/CmngvCzC) ?08:38
cronoliouseless trick might be install grub but install into mbr09:57
cronoliothen it again and again will generate grub.cfg wich never will be used :)09:58
qaluHi had a problem too with UEFI and devuan couple days ago, whats the current problem?09:59
cronoliomy answer for someone who been leave this channel10:03
cronolio12:38:22) e3d3: After updating I get error messages complaining that the postinstall script for linux-image-amd64 can't find grub, which is logical because I installed grub on another partition/distro. How can I get rid of the error messages (https://pastebin.com/CmngvCzC) ?10:03
cronolio*but NOT install into mbr10:07
qaluHah okay, will post some bug reports later with my issues10:07
rainmanp7hello10:53
rainmanp7Welcome tallship10:57
furrymcgeehello11:01
furrymcgeeI see there was good news abou devuan release :)11:03
scetchpunkhello ther13:13
scetchpunkthere*13:13
scetchpunkCan someone help me with a problem?13:13
gnarfacejust ask your question and be patient, it's a slow channel13:14
gnarfaceasking for permission to ask a question doesn't typically get answered on IRC13:15
scetchpunkThanks. Sorry for my english.13:15
scetchpunkok13:15
scetchpunkThere is a question: recently I installed Devuan Beowulf (xfce) on notebook wia life installer. I have only lan connection but no wifi. Broadcom wifi chip BCM43142A0. The non-free repo of devuan I added to /etc/apt/source.list and after installed the package broadcom 8021113:20
scetchpunkbut wifi still not working13:20
scetchpunkI don't know what to do right now13:20
fsmithredbroadcom is a pain in the ass. Here's the debian wiki page for that chipset: https://wiki.debian.org/wl13:22
fsmithredscetchpunk, make sure wicd has the right name for your wireless device13:23
fsmithredip a13:23
fsmithredto see what it's called13:23
fsmithredthen in wicd, go into Preferences to see what the default wireless interface is set to. Make sure it matches the name you found.13:24
fsmithredyou might need to maximize the wicd window to find the preferences.13:24
daimonhey all got a really odd problem, I just installed an nviia graphics card in my system and the driver appears to have hooked properly ... but all the fonts on my screen turned absolutely tiny13:38
daimonalso the driver seems to be saying it failed even though its working:13:38
scetchpunkthere is no wifi name13:38
scetchpunkomg13:38
daimonhttps://dpaste.org/y3Xq13:38
fsmithredscetchpunk, review the wiki page to see if you missed any steps13:39
scetchpunkfsmithred, I'll try13:40
gnarfacedaimon: use paste.debian.net if you want me to actually take a look, but the usual issue is either you need the version from beowulf-backports or you're just missing a few packages13:45
gnarfacedaimon: make sure the nouveau driver got blacklisted properly too and isn't loading13:46
gnarfacedaimon: and make sure you are using the nvidia drivers from the repos, not from the nvidia.com installer13:46
daimonyeah its also drawing to large the entire screen13:48
daimonlike its drawing off the edge of the screen13:48
daimonyeah I am using the one from api13:48
daimonapt *13:48
daimonI unuinstalled the nouveau driver entirely13:49
daimonapt remove xserver-xorg-video-nouveau && apt-get install nvidia-legacy-390xx-driver13:49
daimonI put it in the dpaste pastebin13:49
daimonhas to be legacy for this card the new one does not support it13:49
daimonbut the entire screen is somehow zoomed it, likes its been drawn 'off' the edge of the screen13:51
daimonfor instance the menu in xfce is not on the screen its off to the top left of it13:51
daimon-20,-4013:51
daimonand the font its using for all menus (only) appears to be about 1px13:51
daimonapplications fonts are ok though13:52
gnarfacecheck the xorg log, the font size issue might be related to mis-detected DPI13:54
gnarfaceoverscanning is a monitor/display physical issue though13:54
daimonthe intel card that systerm also has did not have that issue13:55
daimonboth displays was fine13:55
gnarfaceyou might have to specify the horizontal and vertical refresh ranges from the monitor manual13:55
gnarfaceit's a physical issue that is dependent on software13:55
gnarfacenot damage; OSD misconfiguration13:55
gnarfacebut like i said, it might be because of mis-detected horizontal and vertical refresh ranges too13:56
gnarfaceyou can compare the Xorg log to the monitor manual13:56
gnarfacei'm sorry nvidia stuff is like this13:56
gnarfacei didn't do it though13:56
gnarfaceusually you have to adjust a little at both ends when you change hardware unless the display has an auto-adjust feature13:56
gnarfaceand even if it has an auto-adjust feature, you will probably have to call it again manually in this case13:57
daimonhttp://paste.debian.net/1187269/13:57
daimonI am not 100% sure what to look for13:57
daimonthe screen going wrong is the LG one13:58
gnarfaceseems like paste.debian.net is down from here now sorry13:58
gnarfacemaybe it'll be back up in a minute or two13:58
daimonyou mean the one you just told me to use :P13:58
daimonhttps://termbin.com/0u4d13:58
gnarfacei know, sorry.  but you're looking for lines with "(EE)" in them13:58
daimon[   664.000] (EE) open /dev/fb0: No such file or directory13:59
daimon  664.529] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"14:00
daimon[   664.534] (--) NVIDIA(0): DPI set to (30, 30); computed from "UseEdidDpi" X config14:00
daimon30, 30 sounds very low14:00
gnarfaceyes, that's certainly wrong unless you're using a projector14:00
daimonits a 72" 4K tv14:00
gnarfaceyou also probably neglected to add your user to the "video" group14:00
gnarfaceand you forgot to install acpid14:01
daimonnah all users are in the video group14:01
daimonacpid installed but I doubt that would help the EDID thing14:01
gnarfaceyou can define custom modelines for the monitors if just adding the manual's listed horzontal and vertical ranges isn't enough, but usually it is14:02
daimonhow would I know what to add and where14:02
gnarfaceit's not uncommon for monitors to have inaccurate EDID anyway, but it's also important to note that using the wrong adapter can sabotage EDID transmission too14:03
gnarfaceconsult the xorg.conf man page and the README.txt bundled with the nvidia drivers in /usr/share/doc/ somewhere14:03
gnarfacethe xorg.conf man page will list general syntax but the individual xorg drivers all have their own supplementary documentation14:04
daimonhow do you generate the xorg.conf again14:04
daimonthere used to be a way to call it to generate one14:04
gnarfacenormal projects put them in man pages like everyone else, nvidia just puts theirs in a readme.txt in /usr/share/doc/14:04
gnarfaceyou should be able to generate one with the nvidia-settings tool actually14:04
gnarfacebut you don't need the whole thing anymore14:04
gnarfaceyou can just specify the stanzas you want to be non-default14:05
gnarfacethere might be a way to get "X -configure" or something like that to cough up a config still but it's more trouble than its worth14:05
daimonwhat makes it really weird is that slim has the right everything14:05
daimonright size fonts and size14:05
daimonits only when it gets into xfce4 it goes wrong14:06
gnarfacethat's probably an important clue14:06
gnarfacebut since your driver install is not complete it's also not a surprise14:06
daimonto what the last time I used x it was called Xfree86 ;p14:06
gnarfaceslim composites by default and xfce does not, iirc14:06
gnarfacewhat's highly ironic here is that slim is usually the one causing the graphical issues, not the other way around14:07
gnarfacethat's how we know your situation is really fubar14:07
daimonits just a plain X nothing special14:07
daimonnot even a really expensive card or anything14:08
gnarfaceyou're fighting an uphill battle14:08
gnarfaceit's not fair but anything older than 700 series cards are being killed off through strategic driver breakages14:09
gnarfaceyou might need the legacy driver to work with that card, but it's no guarantee anything else will work right with the legacy driver14:09
gnarfacei know it won't help you right now, but next time buy AMD14:10
daimonit was the only card the system could runm14:11
daimonits a SFF with very strict power restrictions14:11
gnarfacethat's what i finally did, after doing this stupid dance with over half a dozen generations of artificially obsoleted nvidia cards14:11
daimonand this was the only card that was a SFF form factor I could buy14:11
daimonthat was under 50W14:11
gnarfaceunderstandable14:11
daimonso im fkcued basically there is no way to make this owrk?>14:11
daimonso im fkcued basically there is no way to make this work *?14:12
gnarfacedid you try nouveau yet?14:12
daimonit half works14:12
daimonit does not support more than one screen14:12
gnarfacehmmm14:12
daimonI mean technically it does not need to14:12
daimonas long as it supports the monster 72" 4K one14:12
gnarfacedid you try using xrandr to enable the second screen?14:12
daimonlets see14:12
daimonlet me reboot the system after removing the nvidia one14:14
daimonI think its baked it into memory14:14
daimonwell this is fun14:16
gnarfacethe motherboard BIOS can cache it too14:16
daimonI removed the nvidia driver and installed novuou14:16
daimonand its sitll using nvidia(0) somehow14:16
gnarfaceaccording to https://nouveau.freedesktop.org/FeatureMatrix.html nouveau should mostly support that card14:16
daimonPackage 'nvidia-legacy-390xx-driver' is not installed, so not removed14:17
gnarfacethat sounds like it never finished installing14:17
gnarfacesay, did you have the linux-headers-* package for your kernel?14:17
gnarfacenvidia dkms would have needed that to work right14:17
daimonyyeah it did all the dkms stuff14:18
daimonand it did install correctly14:18
daimonand even removed correctly14:18
daimonbut seems to still be being used by xorg in favour of nouvou14:18
gnarfaceyour monitors, are they connected by cables that have adapters?14:18
daimonno14:18
daimonone is vga direct the other is hdmi direct14:18
daimoni dont use adapters they always suck14:18
gnarfacethe vga plug, is it one of those ones with missing pins?14:18
daimonthe vga screen works well on all video cards14:19
daimonthat is the 15" philips tft14:19
daimonits the hdmi one that is being a problem14:19
gnarfaceoh, that's not the one with the overscanning issue?14:19
gnarfacei see14:19
gnarfaceyea, also check that HDMI display for a auto-adjust mode...14:19
gnarfacebut fix up your xorg.conf settings first14:19
daimonI already did, it does not appear to have it14:19
daimonbut first I need to figure out howto disable the nvidia driver proiperly14:19
gnarfaceslim will need to be restarted too14:20
daimonI just stopped it for the moment14:20
gnarfacejust blacklist the nvidia driver for now14:20
daimonroot@plex:/var/log# echo 'blacklist nvidia' >>/etc/modprobe.d/BLACKLIST-video.conf14:20
gnarfacemake sure xorg is detecting the right ram amount too14:20
daimonthat should do it right14:20
gnarfaceyou might also have to specify the video ram amount14:20
daimonshould be 1GB on that card14:21
daimonlet me wait till it reboots14:21
daimonit should come up with the nv driver this time instead14:21
gnarfacei *think* the only rule is the file has to end in .conf14:21
daimonI might unplug the tft14:21
daimonsee this is meant to be an emulation box of sorts14:21
daimonit has UAE,retroarch etc14:21
daimonso kiddo can play old games on big tv14:21
daimonhence the small form factor plugged into giant tv ;)14:21
daimonso if nv does work but it only supports one screen14:22
daimonthat is fine as long as it supports that huge tv14:22
gnarfacewell, make sure you're using xrandr at the console and xrandr settings in the xorg.conf to do this; twinview is deprecated14:22
gnarfacealthough i note that tv-out isn't listed as working for that card, which could be the problem here if one of those outputs is being counted as the tv-out14:22
daimonig ignored the blacklist and loaded nvidia anyway14:23
gnarfaceimpossible14:23
daimon[    60.098] (==) Matched nvidia as autoconfigured driver 014:23
daimon[    60.099] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so14:23
daimonill just rm the so14:23
gnarfaceis this a AGP card?14:23
daimonpcie14:23
gnarfacesome of the AGP cards needed a full cold boot to vacate the module sometimes14:24
daimonhmm now slim won't start at all14:24
gnarfaceyou might have better luck with lightdm14:24
daimonnah slim is fine it worked fine with ther intel nv and nvidia14:24
daimontill I rm'd /usr/lib/xorg/modules/drivers/nvidia_drv.so14:24
gnarfaceslim is just a lot more picky than lightdm about driver issues, that's all14:25
daimon[   167.785] (WW) Warning, couldn't open module nv14:25
gnarfacedeprecated almost 20 years ago14:25
daimonthat looks like nouveau is not installed properly14:25
gnarfaceno, nv is not nouveau14:25
gnarfacenv is gone14:25
daimonhttps://termbin.com/0y6l14:26
daimonI appear to have no drivers at all now14:26
gnarfaceyou also appear to still have a configuration somewhere that's attempting to load the nvidia driver by name14:26
gnarfacethat wouldn't be happening otherwise14:26
daimonnot added by me I do not even have an Xorg.conf yet14:27
daimonroot@plex:/etc# find . -name "Xorg.conf"14:27
daimon0 found14:27
daimonroot@plex:/etc# find . -name "Xorg.conf"14:27
daimon[   167.485] (==) Using system config directory "/usr/share/X11/xorg.conf.d"14:27
daimon --- lets see whats here14:27
gnarfaceit would need to be -iname or lower-cased14:27
daimon"/usr/share/X11ah ha14:27
gnarfacebut also, how did you do any of the changes we discussed without adding an xorg.conf?14:27
daimonroot@plex:/usr/share/X11/xorg.conf.d# mv nvidia-drm-outputclass.conf ~14:28
gnarfaceall the shit i typed was assuming you were telling me that you were making changes to an xorg.conf snippet, and actually testing them......14:28
daimonsomething snuck that in14:28
daimonyou mean the modeline stuff?14:28
daimonI have not got to it yet, you told me that legacy drivers are piles of crap moments later14:28
gnarfaceyea but i still expected you to actually have completed the tests that you said didn't work14:29
daimonwhich tests14:29
gnarfaceotherwise we're not really having a reality-based accounting of this whole situation here, are we?14:29
daimonI do not know what tests your actually talking about except the modeline thing14:30
daimonand for that I would need time to research it14:30
gnarfaceyou were supposed to construct an xorg.conf14:30
gnarface... snippet14:30
gnarfacewith the device stanza for the nvidia driver14:30
gnarface... specifying horizontal and vertical refresh ranges as listed by the manual14:30
gnarface... (the monitor's manufacturer-supplied specification manual)14:31
daimonyes but I would need to go find those for this tv that will take days14:31
gnarface... as well as the video ram count14:31
gnarface... and possibly xrandr settings for position/offset of the monitors, default resolutions, etc14:31
daimonok let me go look up howto make an xorg.conf14:32
gnarfaceit shouldn't take days to find the manual for the monitor14:32
gnarfaceevery legal electronic device on the planet has a FCC id imprinted on it14:32
Gramcori have setup a vps server with nginx, which i want it to auto-upgrade every week (as i rarely login) for patches etc (security mostly). i have been told i can use unattended-upgrades script, which i would need to modify 2 files and also a cron script. wouldn't it be more simple to use the cron script specified at the last post here? https://unix.stackexchange.com/questions/178626/how-to-run-unattended-upgrades-not-daily-but-every-few-hours14:32
gnarfaceyou can use that id to track down the manufacturer through the fcc website if google won't find it14:32
Gramcorany reason not to go with the cron?14:32
daimonI mean I am not 100% sure its going to help to much now14:32
daimonX won't start14:32
gnarfacewell then it can't hurt either, can it?14:33
daimonGramcor, as long as you tied the cron to something that checked there was patches to actually apply, I can't see a problem with it14:33
daimongnarface, ok so you want me to go create /etc/X11/xorg.conf14:34
Gramcordaimon, no the cron runs this every week:  apt-get -q update && apt-get dist-upgrade -yq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"14:34
Gramcorand possibly a reboot after this just in case14:34
gnarfacedaimon: you need about 5 lines of one.  it's not an arduous task and you're making it harder on yourself by avoiding facing comprehension effort14:35
daimonhttps://termbin.com/6ui614:36
daimonok I have an xorg.conf14:36
gnarfacedaimon: i could write for you but you're still going to have to find that damned monitor manual.  the DPI setting should be in it too, but unlike horizontal and vertical refresh, the DPI can be calculated with a ruler and basic algebra14:36
daimonso I assume I only need the screen section14:36
gnarfaceyou need screen and device sections at least14:36
gnarfaceyou also need at least one monitor section14:37
gnarfacethe rest you can probably skip14:37
gnarfaceat this point we have proven you have multiple problems, but we haven't proven that one of those problems is not still just missing something like libgl-nvidia-glx or whatever14:38
gnarface(which would leave a working setup that only fails when the compositor tries to engage or anything tries to use opengl)14:39
gnarface(which includes slim)14:39
gnarface(and firefox)14:39
daimonhttps://termbin.com/cjdo14:39
daimonok dokey I made the xorg.conf smaller14:39
gnarfacemonitor14:39
gnarfacethe screen section refers to a monitor you've not given a monitor section for14:40
gnarfacethink it out here14:40
gnarfacethis was meant to be human readable14:40
daimonactually14:40
daimon[   567.408] (EE) no screens found(EE)14:40
daimonits not detecting any screens at all14:40
daimonah14:41
daimon[   567.398] (==) No monitor specified for screen "Screen0".14:41
gnarfaceyea, what i just said14:41
daimonwait but I have a Screen0 in xorg.conf14:41
gnarfacebut no monitor section for it14:41
daimonok dokey added a monitor section for it14:42
gnarfaceyou would put TWO monitor sections if you get two monitors attached14:42
daimonI just disconnected the small tft14:42
daimonits just got the HDMI tv at the moment14:42
gnarfaceone at a time is fine14:43
daimonhttps://termbin.com/5lob14:43
daimonwell it found the screen now it seems to have a problem with DRM14:43
gnarfacemight still be missing packages14:44
gnarfacenouveau uses mesa14:44
daimonsomething is wrong because before I installed the legacy nvidia driver14:44
daimonthis did work with nouvou14:44
gnarfaceso now you need to replace all that nvidia opengl stuff with mesa stuff14:44
gnarfaceyes, you need to put it all back14:45
daimonI mean as I said it worked for one screen, but it did work14:45
gnarfacewas it this screen?14:45
gnarfacemaybe just to only debug one thing at a time, start with the screen that worked14:45
daimon  470  apt install xserver-xorg-video-nouveau14:45
daimonI did reinstall xserver-xorg-video-nouveau14:45
daimonand the driver is found and used14:45
gnarfacedpkg -l |grep libgl114:46
daimondpkg -l |grep libgl114:46
gnarfacelibgl1-mesa...14:46
daimonhttps://termbin.com/gm2i14:46
gnarfaceambiguous and disturbing14:47
gnarfaceyou shouldn't have both the nvidia and mesa stuff at once14:47
gnarfacei didn't think it would even let you actually14:47
gnarfacelibgl1-nvidia-legacy-390xx-glvnd-glx:amd6414:47
gnarfaceget rid of this14:47
daimonwell I did not force anything lol14:47
gnarfaceget rid of every package with the word nvidia in it14:47
daimonI am just removing all of them14:48
daimonthen re-installing them14:48
daimonxserver-xorg-video-nouveau now nwats to install 200M of packages14:48
gnarfaceit should be wanting to install other packages14:49
gnarfacenot reinstall the same ones14:49
gnarfaceit should be wanting to install the mesa equivalents14:49
gnarfaceand that's hopefully going to fix the mess you jmade14:49
gnarface*you made14:49
daimonhttps://termbin.com/b4ou14:49
daimonnow it says this14:50
daimonhey I only used apt to install the nvidia legacy driver :P14:50
gnarfacestill missing libgl1-mesa-glx at least14:50
gnarfaceand i don't recognize the first one at all14:50
gnarfaceit's suspicious14:50
gnarfaceoh, maybe i have it actually14:51
gnarfacenevermind on that14:51
daimonok I installed libgl1-mesa-glx14:51
gnarfacebut you're at least missing libgl1-mesa-glx, which is *critical* for all the opengl&hardware compositing to work14:51
gnarfaceyou might be missing other mesa stuff14:51
gnarfacetry installing mesa-utils14:51
gnarfacelibglx-mesa0?14:52
gnarfacelibglu1-mesa?14:52
gnarfacemesa-vulkan-drivers?14:52
daimon update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/legacy-390xx because link group nvidia is broken14:53
daimonwhen I installed libglu1-mesa14:53
daimonlet me reboot see if slim comes up by some miracle14:53
gnarfacehopefully it will come out in the wash by being removed completely later in the process14:53
gnarfacewait14:53
daimonok14:53
gnarfaceyou got rid of the xorg.conf right?14:54
gnarfacemove it out of the way14:54
daimonnot yet14:54
gnarfacewell14:54
gnarfaceno wait14:54
gnarfacedon't move it out of the way14:54
daimonlibglu1-mesa?14:54
gnarfacebut make sure to try it both ways, and diff the xorg.confs14:54
daimonroot@plex:/etc/X11# mv xorg.conf xorg.conf.old14:54
gnarfaceno14:54
daimonalways do14:54
daimonnever remove configs :)14:55
gnarfacethe xorg.confs, try it with and without that new snippet you made, and diff the xorg logs14:55
gnarfacemaybe you'll get lucky and it will just work though, yea14:55
daimonand we got it14:55
daimon[    63.776] (II) NOUVEAU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)14:55
gnarfacei noticed "power management" was set as "work-in-progress" by the way... you should really look into that.  you might need to manually turn the fans on to keep it from cooking14:56
gnarfacethat's unlikely but possible and has happened before..... more likely is that it'll be locked into low power mode and you'll have to poke at files in /sys/ to make it change clock speeds14:56
daimonthere is no fan on that card14:56
gnarfaceoh14:57
daimonsff card remember :P14:57
gnarfaceinteresting14:57
daimonits jsut got a massive block of copper on it14:57
daimonbasically covering the entire of the card14:57
daimonwonder if I can get it to do 4K14:57
gnarfacelol14:57
daimonno I takei t :)14:57
gnarfacei wonder what the temperature will be14:57
daimonhmm xfce4 started kinda weird14:58
daimonno panels14:58
gnarfacei really have no idea what to expect14:58
daimonbut it is working perfectly has all the desktop stuff14:58
gnarfaceyou might have better luck with the backports kernel or you might not14:58
gnarfaceit's a lot newer14:58
daimonhey its working and that's enough14:58
daimonits only playing amiga and snes games14:58
daimonlet me just check glxgears runs14:59
gnarfacethey can help you more in #nouveau but they'll also tell you to buy AMD first, and after you've gone through that talk they'll want you to build the latest vanilla upstream kernel with their patches, probably14:59
gnarface(and then give them debugging feedback)14:59
gnarfaceif it works and is stable and fast enough and not cooking itself.... i can't imagine there would be any chance of payoff for that effort really though15:00
gnarfacebut there really might be a way to set clock speeds manually, not sure15:00
gnarfaceit works on some cards not others, i don't really keep track but it's all on that featurematrix15:01
daimonits like the opposite of freebsd15:02
daimonon freebsd you go for nvidia for an easy time15:02
daimonand stay away from ati/radeon15:02
gnarfaceprobably also worth mentioning that the same mixed opengl installs package snafu that sabotaged nouveau for you probably was sabotaging your nvidia legacy driver tests15:03
gnarface*too15:03
gnarfaceso now that you know how to sort that out, in theory you should be able to figure out how to switch back based on what i showed you15:04
gnarfaceyou might get better support out of the legacy driver yet15:04
gnarfaceas a driver, nouveau is actually much better for xorg support... just not as hot across the board for the hardware side support15:05
gnarfaceas a driver, nouveau is a much better driver overall15:05
gnarfacebut it's hobbled by its nature as a reverse-engineered driver15:05
gnarfacei couldn't guess which will actually be better in your use case15:06
daimonsometimes RE drivers actually expose hidden functionality15:06
daimon302 frames in 5.0 seconds = 60.367 FPS15:06
daimonold card doing 1080p15:06
gnarfacebut i do know that nouveau *might* work in Steam and the nvidia legacy drivers will not15:06
daimonnot to bad15:06
daimonits playing youtube at the moment and the MAIN thing I needed is there15:07
daimonsee this tv only has one source of sound Optical/Digital15:07
daimonI have nothing capable of outputting that on this system, the actual intel onboard was fine15:07
daimonbut I wanted the TV sound as well, so I wanted HDMI15:07
daimonso I could use that as the sound carrier :)15:07
gnarfacehdmi audio is a whole separate mess15:08
daimon'it just works' :D15:09
daimonwell it can carry peppa pig's youtube channel playing through it and that is enough for this use case15:10
daimonwell and UAE playing moonstone a hard days knight when the kid has gone to bed ;)15:10
daimonI even managed to get a copy of ZOOL for the megadrive as well, the amiga version would not work15:10
gnarfaceif you want to enable the second monitor on the fly from the xorg.conf at boot up you can just search the xorg.conf man page for RandR15:11
daimonxrandr15:11
gnarfacethat should give you all the relevant controls15:11
daimonyeah I used it before but xfce has a gui version anyhow15:11
daimonbut what happened was the second screen just did not appear like it never noticed it even plugged in15:12
gnarfacethere is a binary tool you can use after boot too, yea, xrandr... xfce4 probably has a gui tool too15:12
daimonbut then again as this is working now it really does not matter15:12
daimonsee the tft had speakers in it, that took a standard audio jack15:12
daimonso I was playing the sound through that as I did not have a card that could do HDMI for the speakers on the big tv15:13
daimonnow I do, I no longer need the little tft15:13
gnarfacei see15:13
gnarfacehow sad for the little tft though15:13
daimonseriously big expensice tv does not accept standard audio jack15:13
daimoncome on lg15:13
daimonits not to bad its seen a lot of action, whenever I have to go sort out a server or something like that, I take the little thing with me15:14
daimonits seen more action than any other screen in this house15:14
daimonit has a brother upstairs that is basically the same but does not have speakers inbuilt, if I ever get around to building a dos machine I will likely put them on that15:14
daimonthey are both far older than the tv and the three hd's on this main workstation and I bet after all these modern screens die, those two will still be working well15:15
daimonold hardware does not die15:15
morruth_https://zen.yandex.ru/media/pwe/14-foto-na-kotoryh-vse-reshaiut-udachnyi-rakurs-i-podhodiascii-moment-602a43760454f6146ad74ed915:19
morruth_oops, wrong channel15:19
daimongnarface, just checked as a well general checkup looks like it detected the card ram correctly :)15:45
daimon[    4.682997] nouveau 0000:04:00.0: DRM: VRAM: 2048 MiB15:46
gnarfacecool15:47
daimonit does look like nvidia is still lurking somewhere though https://paste.debian.net/1187277/15:48
daimonnouveau beat it to the post15:48
daimonnot sure I want to touch it now it seems to be working15:48
daimonroot@plex:/home/paul# apt purge nvidia-*15:52
daimonhttps://paste.debian.net/1187278/15:52
daimonhope I do not regret this -_15:52
fsmithredI didn't regret it when I did it.16:03
daimon:)16:11
daimonit still seems happy but I guess I won't know till I reboot16:11
Gramcorhey16:12
daimonand I can't do that now as peppa pig will be on for the next few hours16:12
daimondo not want hitting with toys and screamed at16:12
Gramcor /etc/apt/apt.conf.d/  if there are two files in here: 10-local and 20-local with the same options. which one dominates?16:12
fsmithredGramcor, they get used in order, so I guess it depends on what's inside them16:12
Gramcorso the one with the bigger number overrides the others16:13
Gramcorif they have the same option16:13
fsmithredyeah, for instance if they set a variable, the second one would be the one that sticks.16:14
Gramcorok thanks16:14
fsmithreddo you know who made them?16:14
Gramcoryes i read about unattended-upgrades which creates 20-autoupdates file16:18
Gramcorand i want to create 21-autoupdates-local so it isn't overwritten16:18
fsmithredif they contain different things, then apt might do both things.16:21
fsmithredPer default a file which ends with .disabled, ~, .bak or .dpkg-[a-z]+ is silently16:24
fsmithred       ignored.16:24
fsmithredman apt.conf16:24
daimonin fstab is the option to have some file systems mounts not auto mounted ,noauto so for instance: nas:/mnt/HD/HD_b2 mnt/nas_volume2 nfs netdev,defaults,noauto 0 016:31
daimonI would also like to remove 'plexmediaserver' from autostart would it just be: 'sysrc plexmediaserver disable'16:32
xinomilothere's also 50unattended-upgrades, maybe you need to use 99-something..16:34
daimonone more thing, is there an alternative in linux for this application: https://www.freebsd.org/cgi/man.cgi?query=daemon&sektion=816:34
daimonah linux has its own daemon16:35
fsmithredxinomilo, have you done any more with runscripts?16:36
xinomilono, not yet16:39
xinomilojust reading about network-manager in forum, might also try that next...16:42
daimonhttps://dpaste.org/Caq3 advanced startup script design ;p16:42
fsmithredit's working for me, just maybe some logging weirness16:42
xinomilotbh, since latest debian upstream paranoia, i was about to abandon it :D16:47
fsmithredwhich paranoia?16:50
xinomilohttps://lists.debian.org/debian-ctte/2020/11/msg00006.html16:51
xinomilothankfully, dev1 forked that too.. :)16:51
daimonI am curious ... is there a better way to do this: https://dpaste.org/QMw416:52
fsmithredyeah, it's not a good situation. That's actually one of the reasons I'm playing with runit now.16:54
daimonthere we go little less stupidhttps://dpaste.org/PpNU16:59
daimonthere we go little less stupid https://dpaste.org/PpNU16:59
daimonstill seems wrong but eh16:59
luser978fsmithred: why not stay with wicd? not enough?17:43
fsmithredluser978, someone has to update it for python317:43
luser978yes but that's not a big deal afaik?17:44
fsmithredthen why hasn't it already happened?17:44
luser978is there a maintainer?17:44
fsmithredI see a python3 branch in the wicd repo at salsa.debian.org. Last entry in changelog is Apr 2018, last commit was a year ago. Here's a piece from the changelog:17:47
fsmithredUpload to experimental to get a broader testing base of the python3 port17:47
fsmithred  and the dhcpcd5 changes. Not yet fully functional again.17:47
luser978wicd devel is rumored to be in #wicd on freenode.17:48
luser978last release is from 201617:48
luser978 /join and ask?17:48
fsmithredhttps://salsa.debian.org/debian/wicd17:48
fsmithredsure, you can ask how they're doing. They probably want people to test.17:49
luser978I am not logged in to freenode, can't talk17:52
luser978I am happy with wicd on beowulf for now.17:53
fsmithredI've been happy with it for years.17:55
golinuxping17:55
fsmithredThere's a 2019 version in experimental, but the one in beowulf has been devuanized. I don't know what the new one needs.17:55
fsmithredhi17:56
golinuxpm17:56
luser978reading python porting docs, does not sound like a big deal, porting from 2 to 3. I hardly know any python.18:14
daimonhey all quick q20:03
daimonah nm20:03
sixwheeledbeastthat was quick20:04
daimonhmm I made a folder owned by root:users, all files and folders under it are also of the same ownership20:04
daimonchmod is 664 for files and 775 for directories20:04
daimonbut when a user lets say paul:users creates something it becomes owned by 'paul:paul'20:05
daimonI want everything in that structure to only ever be created with the group 'users' how do I accomplish this20:05
daimonanna paul and root are all members of the group 'users'20:05
daimonI also want all created files to always be 664 and directories to be 77520:06
lts-"chmod g+s directory" will make the group of new files to be same as the directory20:07
daimonthere is already quite a large tree of folders and files if I apply that recursively (assume +r) will that be ok?20:07
daimonor shall I do find -type d . -exec { chmod g+s $1 } ... or w/e it is will need to look at the man page20:08
lts-umask will handle 664 and 775 for new creations, but I'm not sure can you do that separately for files and directories20:08
daimonI only want it to apply to that directory structure as well20:08
lts-The g+s will only work for files created after running that20:08
daimonnot all files and folders20:08
lts-Your example is what I'd try. Do a quick test and see does it do what you want20:09
daimonok dokey20:09
daimondoing find . -type d -exec chmod g+s {} \;20:09
daimonnow let me try change create something20:10
daimon-rw-r--r-- 1 paul users 0 Feb 28 19:10 Test_file20:10
daimonset it 64420:10
lts-You need to edit the umask to do the 664 part20:10
daimonhow do I edit umask so it only affects things in a certain path20:10
daimon /home/.roms in this case20:11
daimonI really should make it it's own partition and shove it in /mnt/roms but eh can do that later20:11
daimondrwxr-sr-x  2 paul users 4096 Feb 28 19:10 test_directory20:12
daimonbut yes ... umask would work but I do not want that to be the default user mask for everywhere, just that single tree20:13
lts-Doing a mount with bind option might be able to use its own umask. You can use that to mount a local directory to a local directory20:13
daimon--create-with-perms=permissions, -o create-with-perms=...20:13
lts-"mount -o bind,umask=002 dir1 dir2" perhaps20:15
daimonhttp://manpages.ubuntu.com/manpages/xenial/man1/bindfs.1.html20:15
daimonI was looking at the fuse based bindfs20:15
daimonseems to have more options20:15
daimonincluding just outrightly forcing the user/group20:15
lts-Sounds good. I just tested and looks like my example above just uses the normal umask. So please do try with fuse instead20:17
daimonsuppose the only other options would be ACL's20:17
daimonbindfs -u emulate -g emulate --create-as-mounter --create-with-perms=664 --multithreaded /home/.store/roms /mnt/roms20:22
daimonlets see!20:22
daimon-rw-rw-r--  1 emulate emulate    0 Feb 28 19:29 test20:29
daimonperfect! :)20:29
lts-Well done20:29
daimonnow the great work can begin I have a massive stack of sega, snes and amiga roms, most work ~~ but require a bit of effort20:30
daimonsome things especially in the amiga realm require really specific configs20:30
daimonso going to try 10 random roms a day validate what they work on and sort them out into a structure that represents its config20:30
daimonamiga/a500/...20:30
daimonetc20:30

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