00:15:37 anyone else upgrade to 13.2-RELEASE in a digitalocean droplet and now more than once on a reboot you have to access the recovery console to manually `service digitaloceanpre start` and `service digitalocean start` to finish the startup procedures, which include getting an IP address (and therefore normal SSH access)? 00:18:58 might be an easy fix, but all i know is i would think the /usr/local/etc/rc.d/ files would all be run on their own. i see they both require `cloudinit` which i don't see anywhere .. hmmm 00:24:03 hm.. i wonder if this is a `pkg install py39-cloud-init` away... though it's odd that this issue didn't exist before, and i sort of think cloud-init and cloudinit are likely different 00:36:25 i can only guess that it's the case that this is a result of DO no longer officially supporting FreeBSD, so they don't have some sort of injection of the cloud-init package into their alternative base system, or something like that. 01:07:07 DigitalOcean are not actively supporting FreeBSD anymore AFAIK. 01:25:23 they aren't. i suspect they had a way to install cloud-init automatically, a way that only went away in 13.2-RELEASE, which is a little confusing because they stopped supporting FreeBSD before 13.1-RELEASE IIRC 01:57:19 hi 03:28:21 meena: ^ 05:03:45 ARG i think i'm having wifi + ssh IPQOS issues again. i keep logging in and then rapidly hanging and disconnecting. what's the right qos flags to stop this madness? 06:22:01 scoobybejesus: i haven't tested digitalocean lately, but yes, aside from no longer supporting cloud-init, they also stopped supporting the digitalocean data source 06:28:33 scoobybejesus: see https://github.com/canonical/cloud-init/pull/4130 / https://github.com/canonical/cloud-init/issues/4172 06:28:34 Title: Move DigitalOcean before ConfigDrive datasource in default list by dermotbradley · Pull Request #4130 · canonical/cloud-init · GitHub 09:18:27 scoobybejesus: I removed the digitalocean services long ago and just put the network conf in rc.conf because it wasn't reliable 09:29:42 Does anyone know if vt|stty changed something or if vim 9 did as in console "Backspace" key works as "Delete"? FWIW "stty" shows "erase" to be "^?". "Backspace" key in (n)vi seems to be working as expected 09:39:40 I think I saw that on some mailing list c 2019-2022 (perhaps?) but a search for the issue bring up nothing that recent 09:40:48 parv: you think it could be a regression? 09:42:12 meena, I really do not know 09:43:06 I ought to compile+test vim 8 version 09:45:19 Oh crap! User error seems as "vim -u NONE" has the "Backspace" key working as expected *ugh* (also relief) 09:45:54 parv: good thing you tried that before going off compiling a pile of code 09:47:06 meena, Thanks for the prodding 09:48:27 On that note, later ... 12:45:21 Freshly installed FreeBSD 14-CURRENT, when i install pkg, i get "Newer FreeBSD version for package pkg" -> https://termbin.com/s6ve 12:45:51 does this mean there has been a new nightly? or 14-CURRENT version of the kernel released while i was installing my system? 12:45:56 if so what should i do here? 12:47:23 you should probably be building it from ports. to me it looks like you are installing a prebuilt pkg 12:48:06 current will most likely always be ahead of packages that are built for that system. 12:48:51 Ignore the mismatch and continue? [y/N]: Y 12:49:50 if it does not work then (cd /usr/ports/[...]/pkg && make install) 12:50:19 handbook will cover updating ports and packages 12:51:30 /usr/ports/ports-mgmt/pkg 12:52:29 CmdLnKid: That's much clear now. Thank you. Will do, i will try to build from ports, since the main reaosn to install 14 was to try as much as i can debug PR 271938. 12:52:31 271938 – Excessive heating on Lenovo Thinkpad E450 even with CPU @ 100% idle https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271938 12:53:03 sozuba, good luck man 12:54:26 thanks :) 12:57:00 added info pciconf -lv may lead you to the right path to load some modules that may tie into your heating problem 12:57:52 notice lines that start with "none0@" 12:58:25 where loadable modules may be available in /boot/{modules,kernel}/ 12:59:08 id suggest looking at i2c and smbus mods 13:01:55 CmdLnKid: should i add the output of pciconf -lv to the PR? is that what you meant? 13:02:31 you can yes that would probably help but inspecting that output for you may lead you to solving that problem yourself 13:03:06 ive always found ibm derived hardware has quite a bit of complexities to solve by loading modules 13:03:09 and yes, I believe that this oculd be the GPU heating that's affecting everything, including the GPU. But i am just a noob and have no experience sprting such issues. Anyway,nothing wrong with that approach right? :D 13:03:56 nope 13:04:14 its just how we all learn 13:04:38 hrm. so wireshark does show tcp retransmits during ssh session, so maybe its not qos. 13:04:55 but... hanging for up to a minute at a time. wonder what i can tune to make that retry faster 13:06:05 demosthenex, ifconfig IF -rxcsum -txcsum possibly 13:06:35 possibly also on lo0 13:06:52 but unfortunately i couldn;t find the right tool to output my GPU temp like in linux. I am still searching. One of the issues in testing this was having both i915kms and amdgpu loaded in kld_list, which caused a pacnic and crash, as in PR 271897. Follwoing a comment that this is drm-610-kmod issues and the necessary commits is already implemented and is available for packages built for 14 13:06:54 If you search freebsd tuning you'll get a nice website that does some nice network tuning 13:07:27 If you are on irc you gfx card is fine 13:07:28 CmdLnKid: so its bad wifi, it's likely legit that i'm having retransmits 13:07:50 yeah thats def another thing to evaluate 13:08:10 Buy another device test and return 13:08:26 move the access point across the yard 13:08:31 ;-) 13:08:56 Buy a wifi range tester channels as well 13:09:16 i had a cable, puppy broke it. wifi thru 2 ww2 quality brick/plaster walls 13:09:17 My router has a spectrum analyzer and move the wifi to a non congested channel 13:09:24 Or do what info and don't use wifi 13:09:47 Must be a strong puppy 13:09:48 i jsut wanted to make ssh a bit more resilient, i'm ok if it pauses a few seconds, but whole minutes looking like it terminated is a problem 13:09:54 no just teething 13:09:56 Puppy power 13:09:59 indeed 13:10:15 demosthenex, lol yeah that would be frustrating 13:10:29 Best way to fix a broken cable is repass or those telephone snap thingies 13:10:29 http://demosthenes.org/tmp/bjorn/20230607.jpg can't be mad at that face 13:10:46 i'm already purchasing replacement cables and finding a new cable route 13:10:50 My dog chewed mine twice 13:11:02 in the mean time, i'm on wifi. i'm just trying to find some tunables to improve the behavior a bit 13:11:04 Just patches it 13:11:26 as long as you have the tools 13:11:56 I do networking as a hobby so I have all the tools 13:11:59 use some pvc pipe to contain it 13:12:32 Or get the good stuff with conduit and use for outdoors 13:12:41 Makes the puppy chew it and still runs 13:13:02 Or you can paint it with a tubing bitter 13:13:04 spray it with some nasty tasting stuff like jalepeno juice 13:13:11 ;-) 13:13:11 Yeah 13:13:20 unfortunately this brick flat has no cable runs, i can't access any plenums, the walls are solid, and i can't even find a gap along the steam pipes between rooms 13:13:35 Stop bitching and get to working 13:13:50 rofl 13:14:01 impact drill will work 13:14:02 so i'm laying cable under my carpet tiles to a door, under the door (replacing that with a flat cable due to door dmg), up a set of stairs, and over a wooden divider. that's where he caught it 13:14:24 In that case I would use wifi 13:14:29 Hah 13:14:54 its a 30m cable, because the ISP entrance is on the lower floor :P 13:15:06 your dog loves to watch you work 13:15:39 Put wifi on third floor whole house get some decent range and speed however I did some analyze and chose channels no one was using 13:15:40 indeed 13:15:51 yep, i did channel analysis, np there. 13:16:00 but 5g can't pass thru the walls, only limited 2g 13:16:25 Router is in my room pcs are in my room 13:16:32 i had a powerline ethernet repeater,but its not reliable and overheats ;] 13:16:50 yikes. im in a 110 occupancy complex, wifi here is pretty much shit all the time. 13:16:52 I tried that and got dialup speeds 13:17:03 Oh I own my home so yeah 13:18:09 i may go RV in the not so long future and become the traveling network systems guy 13:18:26 hate being locked down to a single place 13:19:37 thankfully i never thought id have a wife that would be onboard with that ... turns out she's the one heading it up now 13:22:00 ofcourse on the side of the RV ... its going to say "Powered by FreeBSD" 13:25:43 hehe nice 13:27:38 That's stupid 13:27:51 Should be GasBSD 13:28:33 hahahaha maybe if the FreeBSD foundation wants to get into fossil fuels 13:29:04 You didn't get it 13:29:07 Wtf man 13:29:14 lol 13:29:49 Freebsd foundation would .. well let's not go there 13:33:08 CmdLnKid: some trivia for you 13:33:27 colonel sanders in the kitchen with the tea bag! 13:34:52 lol 13:35:26 Whatever floats ya boat man 13:35:40 KFC was good as a kid now it's garbage 13:36:53 too much optimizing 13:37:32 how can i make chicken taste even more like chicken 13:38:16 Add more chicken 13:38:21 To the chicken 13:38:34 and then spray it with chicken 13:39:12 thats a sad definition of the linux kernel 13:39:16 And slap it with chicken paste and rub 13:39:40 Yeah reading git commits logs from Linux is funny 13:39:53 But it still has better hw support so I still use it 13:40:44 <- slackware since '94 soooooo it'll most likely always be in my toolchain 13:41:12 Waiting on some things for a new machine 13:41:24 Have Slackware in bhyve on my list 13:41:53 Still need a nve and a y cable for two ssds in a zfs raid1 13:41:56 virtualbox here atop macos 13:42:12 all other serious equipment has freebsd 13:42:22 Apple ... 13:42:39 yeah yeah, great client when compared to ms 13:42:54 I like Ms it's my main os 13:43:02 Or make doom eternal work in wine 13:43:05 with bsd behind the scenes 13:43:48 Userland 13:45:30 I have a iMac that sadly will need to be stuck on the current or replaced 13:46:17 As the new os dropps support for 2017 models 13:46:23 I blame CmdLnKid 13:46:33 lol 13:46:44 hackintosh that shit 13:47:10 its worthwhile especially if it includes iTerm2 13:47:57 Mom said she would buy a new one 13:48:00 So I said ok 13:48:13 Then I said enjoy your aeg 13:48:28 My what... 13:49:11 lol 13:49:46 Got this Lenovo for 299 13:50:52 Main os drove will be nve with 13.2 and backup will be 2x500 in whatever the equi a raid 10 is in zfs 32 gb of rams and a y cable for the extra drives 13:51:36 And it should fit in a book in my closet 13:51:42 nook 13:52:21 hi 13:52:36 Sup 13:52:53 Mr Blue Sky 13:53:14 Is it just me or does the latest Vagrant box not work? - 'freebsd/FreeBSD-14.0-CURRENT' version '2023.06.15 13:53:36 sorry havent been a vagrant fan 13:53:51 Yeah no 13:53:52 * SamuelMarks suggests running `vagrant init freebsd/FreeBSD-14.0-CURRENT && vagrant up` to replicate 13:54:22 Yeah still no 13:54:36 $$ may change that though 13:54:41 🤔 13:54:51 hahaha 13:55:02 *, why use vagrant on BSD instead of jails? Porting? 13:55:08 SamuelMarks: good luck with that 13:55:49 avlaxis - I'm having fun supporting everything from MS-DOS to FreeBSD to SunOS. My host changes, but currently I'm on Linux 13:55:55 avlaxis, cause it has very good repeatable results 13:56:32 great for devops type of shit or web designers trying to understand what they are deploying on 13:56:57 docker is more popular than vagrant 13:57:13 why use less popular tool? convenience? familiarity? 13:57:30 jails is probably the least known but it's been around forever and just works 13:57:34 Familiar 13:57:36 id rather deploy on docker if needed but vagrant though 13:58:11 everyone has a niche tho 13:58:15 There are FreeBSD docker images? 13:58:17 Web host just added support to docker 13:58:22 I was looking at some other Hashicorp product a week or two ago and gave up part way through due to support tickets flying in 13:59:00 Boundary that's it 13:59:26 supposedly some ztna secure access solution 14:51:10 freebsd/FreeBSD-13.2-RELEASE failed also 14:51:29 OpenBSD I just tried; works like a charm 14:51:37 as always :D 17:12:47 this is biting me again 17:12:48 ld-elf.so.1: /usr/local/lib/gcc10/libstdc++.so.6: version GLIBCXX_3.4.30 required by /downloads/tailwind-freebsd-x64 not found 17:13:04 ldd says libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x15c663fdc000) 17:13:37 I'm guessing I want to re-order ldconfig 17:13:43 to use gcc12 instead of 10 17:15:00 and I should use /etc/ld-elf.so.conf for this 17:17:23 you're running a binary compiled by someone else? 17:18:44 again you are not reading the error message 17:19:27 how so? 17:20:09 pastebin the following since people get upset when you post it here 17:20:19 file taild-wind... 17:20:24 and ldd tailwind.. 17:20:45 the problem seems quite clear 17:20:55 ldd says it's loading gcc10/libstdc++.so.6 17:21:07 gcc10/libstdc++.so.6 does not contain a version GLIBCXX_3.4.30 17:21:31 (because that version is from gcc12+) 17:21:48 ah 17:21:58 this implies the code was linked against gcc12's libstdc++ 17:21:59 I was waiting for dch rto reply not you 17:22:09 so yeah he had it right 17:22:21 https://www.irccloud.com/pastebin/qcfQeWZi/ 17:22:23 Title: Snippet | IRCCloud 17:22:55 so the issue is I'm building this cursed tailwind nodejs abomination for other people 17:23:03 and telling them install gcc12 you should be fine 17:23:12 and you would be correct 17:23:14 but on *my* system I have gcc10 as well 17:23:27 did you use -Wl,-rpath=/usr/local/lib/gcc12 17:23:28 however getting others to install something is hard 17:23:29 and I don't know yet how to order ths 17:23:44 RhodiumToad: sadly it is not possible to build tailwind's embedded nodejs stack with that 17:23:45 (as specified in the install message for gcc12) 17:23:52 why not? 17:23:54 its truly an abominations 17:24:07 because npm is an enormous pile of shit 17:24:19 that downloads all of nodejs, builds it again with custom flags 17:24:53 tried getting ghost blog to work 17:24:54 and it is not practical (in terms of my time and frustration levels) to build it and figure out where and how in the cascading nest of downloading garbage 17:25:03 have to hack the hell out of it to make it work 17:25:05 to find the precise point to patch it 17:25:07 yeah 17:25:09 gave up after editing it 5 times 17:25:19 however its a fundamental tool for my startup, so ... 17:25:24 either fix this or use linux 17:25:40 what I'm not clear on are 2 things 17:25:58 1. what happens when gcc x or y version is installed, wrt the ldconfig settings 17:26:18 2. can I control this order, using /etc/ld-elf.so.conf somehow? 17:26:19 what exactly is this you are wanting to install ? 17:26:53 I want tailwind-freebsd-x64 to just run without complaining about glib 17:27:17 the overall project is a web project with esbuild + tailwind ui + a pile of other stuff 17:27:24 was looking morwe towards "this app name and link to website" 17:27:45 there is no site to linjk to yet, its a bespoke app at this m 17:27:47 *point 17:28:10 your typing is worse than mine, please get off the PC, take a coffee break and come back, thank you 17:28:41 cpet: whatever. I have a 2 inch cut in my middle finger here. I have made ... 2 typos in a paragraph. 17:28:42 dch: what happens when you install gccN is that it creates a file /usr/local/libdata/ldconfig/gccN 17:29:11 so no github link either 17:29:11 ldconfig looks in that dir to find entries to add to the library lookup path 17:30:09 cpet: I'm not being obtuse here. I just don't want to waste your time while you go from zero knowing nothing about how elixir + phoenix use and build web apps with esbuild, tailwind, and a bunch of other stuff. 17:30:48 https://github.com/tailwindlabs/tailwindcss/releases 17:30:50 Title: Releases · tailwindlabs/tailwindcss · GitHub 17:30:50 cpet: I can build tailwind on freebsd, as this weird packaged binary, but as soon as there's multiple gcc available, it doesn't run. And I'm hoping to fix that 17:31:18 cpet: please, don't waste your time here. you will simply end up back staring at the issues on github that I have raised there. full circle. 17:31:19 it looks like the rc.d/ldconfig script sorts the directories contained in those files when adding to ldconfig_path 17:31:39 RhodiumToad: so these 2 ldconfig files are just the paths that the libraries live in 17:31:44 wow so much for "someone got off work early today lets play with some stuff" 17:31:48 but ok you do you 17:32:30 dch: yes 17:32:50 cpet: my last reply. I'm not being facetious, this represents 6 months of hacking to get something a lot of people really appreciated. You're welcome to stop responding if you don't think you can offer something constructive. 17:33:05 dch: stopped caring after you replied with "dont waste your time" 17:33:44 dch: I don't see any obvious way of influencing the order 17:34:56 I was hoping that it would add gcc12 first, then gcc10 in the hope that the newer version has the right bits 17:35:31 what it actually does is this: 17:35:51 _files=`find ${i} -type f; if [ -n "${_files}" ]; then ldconfig_paths="${ldconfig_paths} `cat ${_files} | sort -u`" 17:36:04 in /etc/rc.d/ldconfig it just loops over the dirs and does a `sort u` 17:36:08 so the resulting list will be ordered as by a text sort of the resulting paths 17:37:16 I will see what `${ldconfig} -elf ${_ins} ${_LDC}` prints 17:37:39 I guess you could put this in rc.conf: 17:38:08 ldconfig_paths="${ldconfig_paths} /usr/local/lib/gcc12" 17:39:09 so it ends up executing `/sbin/ldconfig -elf /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/ffmpeg4/lib /usr/local/lib/alsa-lib /usr/local/lib/compat/pkg /usr/local/lib/gcc10 /usr/local/lib/gcc12 /usr/local/lib/mysql /usr/local/lib/mysql/plugin /usr/local/lib/perl5/5.32/mach/CORE /usr/local/lib/qt5 /usr/local/lib/qt6 /usr/local/llvm11/lib /usr/local/llvm14/lib /usr/local/llvm15/lib /usr/local/llvm16/lib 17:39:10 /usr/local/share/code-oss /usr/local/share/ungoogled-chromium` 17:39:25 which as expected sorts gcc10 before gcc12 17:40:13 and if I swap over gcc10/gcc12 there, run ldconfig again with that 17:40:14 it works 17:40:18 cool 17:40:31 that'll work until the next thing does service ldconfig restart 17:40:33 so I can see about reordering that a bit 17:40:37 which most package installs do 17:40:42 yeah exactly 17:40:53 but at least my understanding has advanced 17:41:10 maybe safer to do ldconfig_paths="${ldconfig_paths} /usr/local/lib /usr/local/lib/gcc12" 17:41:30 oh, not needed 17:41:31 I tried btw `patchelf --set-rpath /usr/local/lib/gcc12 ...` but this breaks the nodejs embedded garbage sadly 17:41:52 maybe it has other rpaths already? 17:42:11 so you'd need to add the new one to the list rather than replacing what's already there 17:42:15 maybe theres a tool I can use to dump this stuff. unfamiliar territory for me. 17:42:24 readelf or objdump 17:42:34 ^ thanks RhodiumToad 17:43:03 no thank you for not allowing me to waste my time 17:47:56 cool so wombling through rtld(1) shows me I can use `env LD_LIBRARY_PATH=/usr/local/lib/gcc12 /downloads/tailwind-freebsd-x64 -h` 17:48:14 this is not ideal but is at least usable for end-users of tailwind 17:51:55 could of told you that if you would of 1. allow me to find what you were using and 2. give me a stie to download it or src instead of "dont waste your time" 17:53:00 LD_LIBRARY_PATH has its drawbacks, but yes that is one solution 18:02:02 https://www.irccloud.com/pastebin/82wpu9pO/build.yml 18:02:04 Title: Snippet | IRCCloud 18:02:20 AFAICT that is the last build (at sourcehut) that produced a working artefact 18:03:02 I tried many different ways unsuccessfully to convince tailwind to either build node statically, or at least to include the specific rpath into the build 18:03:26 and in version 3.30+ upstream tailwind switched build system again so I gave up 18:03:34 uh 18:03:51 or install a linux distro in bhyve run that, run what ever dumb programs arent that well portable 18:03:53 and boom 18:04:11 if you're putting your own cc in ~/bin to make the build use it, you could put a script in there that invoked gcc12 -Wl,-rpath=foo "$@" 18:04:25 I can list the various things I tried, maybe there is something I missed 18:04:42 or port it to clang and stop using gcc ;/ 18:04:57 thank you meena, vkarlsen, and grahamperrin. i will probably check those DO init scripts for anything interesting and then just put it directly in rc.conf since the provisioning details should never change anyway 18:05:05 for nodejs in general we can build with `if (targetPlatform === 'freebsd') { args.push('--fully-static'); args.push('--enable-static');` but thats insufficient here 18:05:27 also tried `export LDFLAGS='-Wl,-rpath=/usr/local/lib/gcc12'` 18:05:53 which is supposed to do what RhodiumToad proposed above, I will your trick tonight 18:06:11 scoobybejesus: that's not entirely true. Azure recently switched to having the network config run on every boot 18:06:46 ah, good to note, thank you again 18:07:32 Azure still supports a BSD ? 18:09:48 putting LDFLAGS in the environment is still subject to the vagaries of whatever the build decides to do 18:10:24 hence why I suggested putting it in the script 18:13:00 cpet: FreeBSD, at least 18:16:16 that is a better solution 18:16:35 maybe thats possible to get it to build statically even that way 18:18:37 if only it didnt take an hour ++ to build each time 18:19:01 ok to recap what I learned, assuming I get it right 18:19:44 - installing both gcc10 + gcc12 causes gcc10 to come before gcc12 in ldconfig because the rc.d script has `sort -u` in there 18:20:06 - it seems unwise to fiddle with something so fundamental to many programs just to fix on1 annoying nodejs binary 18:20:26 - the LD path is only required for binaries that have not got rpath embedded inside 18:20:35 - ports tree obviously handles this already for us 18:20:45 (at compile time) 18:21:28 ports tree does indeed try and handle that as automatically as possible 18:21:42 setting an env var is a terrible workaround but may do as a last resort 18:22:07 - best option is to fix the build (will try RT's trick later) 18:22:25 - next best is to post-build try to splice in the rpath 18:25:02 when I try using brandelf, we get this weird output 18:25:42 https://www.irccloud.com/pastebin/P2tuSO0r/welp.txt 18:25:43 Title: Snippet | IRCCloud 18:26:35 AFAICT this vercel/pkg script, which is used to both build a custom version of nodejs, and to append the bytecode of the globbed js files on the end, doesn't like the size changing unexpectedly 18:33:50 there are good ways to embed bytecode in executables that don't rely on assumptions about the size of the file, I guess it's not using those 18:35:12 the method I've used before is ld -r -b binary -o data.o somedatafile 18:35:26 yeah 18:36:10 it's possible to do something similar with objcopy 18:36:40 nice yes 18:39:34 Hello all, quick question: I bought a 7900XTX and I'm trying to get X to work. I installed drm-kmod, did "sysrc kld_list+=amdgpu" and as per the handbook, I specified the driver in /usr/local/etc/X11/xorg.conf.d. All I get is a mouse pointer in the center of the screen but no X, any ideas would be greatly appreciated 18:39:53 indeed, thats how this was worked around for nixos 18:39:54 https://github.com/NixOS/nixpkgs/pull/48193/files#diff-b65952dbe5271c002fbc941b01c3586bf5050ad0e6aa6b2fcc74357680e103ea 18:39:55 Title: now-cli: init at 11.4.6 by brendan-hall · Pull Request #48193 · NixOS/nixpkgs · GitHub 18:40:06 https://github.com/NixOS/nixpkgs/pull/48193/files#diff-b65952dbe5271c002fbc941b01c3586bf5050ad0e6aa6b2fcc74357680e103eaR25 18:40:07 Title: now-cli: init at 11.4.6 by brendan-hall · Pull Request #48193 · NixOS/nixpkgs · GitHub 18:40:31 wxsabi: how are you starting X, and what's in the logs? 18:42:20 RhodiumToad: I set sddm to load in /etc/rc.conf(this was working with my old 3090ti). the logs say "No screen found" 18:43:58 pastebin the logs 18:44:35 (trying to load X in rc.conf is a pet peeve of mine; it does NOT belong there. the right place is /etc/ttys) 18:44:51 (and if sddm doesn't work in /etc/ttys, that's a bug) 18:45:46 RhodiumToad: I just noticed it also says "Failed to load module radeon. Driver does not exist". But lemme see about pastebin the logs. I'm not used to the console so it's gonna take me a minute 18:46:04 oh, try removing whatever you put in xorg.conf.d 18:46:20 RhodiumToad: ok 18:46:21 for drm-kmod drivers, autodetection should be sufficient. 18:49:42 RhodiumToad: now it's saying that it cannot run in framebuffer mode, I double checked and drm-kmod is indeed installed. I'm checking /etc/rc.conf, is it supposed to be kld_list="amdgpu" or kld_list=amdgpu? 18:49:43 and the simplest solution, if nodejs allows it, is to build this against gcc10 from quarterly 18:52:56 wxsabi: the quotes are usual 18:53:19 wxsabi: technically it's shell syntax so an unquoted single word is ok, but it's discouraged 18:53:50 wxsabi: pastebin the logs? 18:54:52 is sddm itself not starting, or is it failing after you log in? 19:02:27 wxsabi: is this current by chance ? 19:04:48 RhodiumToad: https://pastebin.com/uLr0QQh2 19:04:49 Title: GNU nano 7.22940.895]Ivar /log/Xorg.0. logX.Org X Server 1.21.1.7X Proto - Pastebin.com 19:05:15 cpet: 13.2-RELEASE 19:05:57 install xf86-video-ati 19:05:59 wxsabi: is /dev/dri empty? 19:06:32 RhodiumToad: sorry for the delay, pastebin was difficult for me. sddm is not starting that I can tell, all I get is a mouse pointer but the rest remains in console mode if that makes sense 19:06:35 for some reason I get this when I have two vid cards 19:06:40 and works fine when I take one out 19:07:05 wxsabi: easier to use e.g. termbin.com using cat file | nc termbin.com 9999 19:07:09 2940.898J (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support 19:07:22 dpaste.org can be pasted to using curl 19:07:24 would have to force a BusID 19:07:37 or change the topic to one that works 19:07:40 wxsabi: do you have multiple cards? 19:07:50 RhodiumToad: /dev/dri no such file or directory 19:08:19 so y'all can cry at how bad my hack is, but https://www.irccloud.com/pastebin/CQ7wSWYy/hexdump is the nodejs code that handles unpacking stuff 19:08:20 Title: Snippet | IRCCloud 19:08:30 as expected its not obj/elf format aware at all 19:08:41 RhodiumToad: not multiple cards, I used to have a 3090 ti, sold it and now I have an AMD 7900XTX 19:08:59 wxsabi: amdgpu loaded ? 19:09:09 wxsabi: what (if any) messages were displayed on the console when loading amdgpu? 19:09:11 card is rather new so good luck with it 19:09:24 and calculating length of both payload and prelude before/after fixing rpath, its 4096 bytes extra 19:09:33 using textproc/bbe from ports (a binary-like sed) 19:09:35 bbe -e 's/44141048/44145144/' -e 's/47838014/47842110/' tailwind-freebsd-x64 > tailwind-abomination 19:09:41 "fixes" this 19:09:42 RhodiumToad: seems to like to ask the same crap I ask for so ill just go back to fixing shell issues 19:10:06 cpet: I added it to /etc/rc.conf, is there a way to check that it DID load? 19:10:10 I will try recompiling with the suggestions above tonight, maybe I can produce a cleaner binary 19:10:44 wxsabi: you rebooted after? take a look at the output of dmesg 19:10:51 RhodiumToad: Is this one of the messages that appear during boot? 19:11:03 RhodiumToad: yes, I rebooted 19:11:21 paste the dmesg output to termbin 19:11:39 thanks for helping me work through this one 19:11:47 dch: yw 19:16:39 RhodiumToad: https://termbin.com/trche 19:19:52 wxsabi: so i don't see anything there from drm 19:20:06 RhodiumToad: so it's not loading? 19:20:31 oh wait, here it is: [drm] amdgpu kernel modesetting enabled. 19:20:53 is there anything in /dev that belongs to the video group? 19:21:09 RhodiumToad: lemme see 19:24:00 RhodiumToad: this is what ls /dev returns htpps://termbin.com/cvkg 19:26:21 find /dev -group video -ls 19:29:01 RhodiumToad: https:termbin.com/1zj1 19:30:01 RhodiumToad: https://termbin.com/1zj1 19:30:36 what user is sddm trying to run as? 19:31:54 is xf86-video-amdgpu installed? if not, install it 19:32:19 RhodiumToad: good question... my guess is that as root since it's in /etc/rc.conf 19:32:26 RhodiumToad: ok, I don't think it's installed 19:33:41 RhodiumToad:ok, it's installed, should I reboot and test? 19:34:26 ya 19:34:30 ok 19:34:42 hello everyone, i'm new to freebsd and ports collection and wanting to compile emacs, do i need to uninstall the existing binary one first? 19:35:26 crzjp: Nope. 19:35:29 you don't need to uninstall it before building, but you will want to uninstall it before installing the one you built 19:36:03 thanks for the responses, ill compile it now! 19:39:00 and in my final terrible incantation: 19:39:08 perl -pe 's/(var PAYLOAD_POSITION = .)(\d+)/$1 . ($2 + 4096)/e; s/(var PRELUDE_POSITION = .)(\\d+)/$1 . ($2 + 4096)/e;' < tailwind-freebsd-x64 > tailwind-abomination 19:40:00 I can't think of another tool that would let me combine regex substitution with eval'd code without shame 19:40:39 RhodiumToad: still no luck, but, should I add the conf file to /usr/local/etc/X11 as per the handbook? 19:41:00 RhodiumToad: we deleted it a little bit ago 19:46:02 wxsabi: shouldn't need it. 19:46:17 wxsabi: do you see the display mode change during boot? 19:46:37 also what;s the output of pciconf -lv 19:50:22 RhodiumToad: https://termbin.com/cjoi 19:50:31 RhodiumToad: no change that I can see 19:51:33 RhodiumToad: what baffles me is that there is a mouse pointer, doesn't that mean that at least some level of graphics is working? I can move it and select text 19:52:41 did you check whether x is running on another vt? use alt-Fn on the console to switch 19:53:18 mouse pointer works in text mode if moused is active 19:57:01 RhodiumToad: x is not running 19:57:50 I have to go for a while, I will be back later (hour or two) 19:58:14 RhodiumToad: sure thing, I greatly appreciate your help! 21:14:53 back 21:18:16 wxsabi: any progress? 21:19:51 RhodiumToad: nope, I tried Xorg -configure but that created a huge config file that didn't work, so I deleted it 21:21:12 RhodiumToad: I wonder if the card is just not supported? my old Nvidia card "just worked" following the instructions in the handbook 21:21:48 you said fbsd 13.2 ? 21:22:02 what does kldlist -v show 21:22:35 and what exact kms package versions are installed 21:26:53 RhodiumToad: yeah, fbsd 13.2-RELEASE, kldlist -v says command not found 21:27:01 kldstat -v sorry 21:27:07 what command can i use for kms check? 21:27:38 probably pkg info -d drm-kmod should work 21:28:01 that displays the dependencies of the drm-kmod package (which is a meta-package that just installs other stuff) 21:28:31 termbin.com/mrsi 21:30:32 termbin.com/9u4c 21:30:54 RhodiumToad: i think those work without the https? 21:31:18 they work well enough, don't worry about it 21:33:13 ok. let me have a quick gleg at the source to check if your pci ids seem to be supported 21:33:40 RhodiumToad: thanks a lot! I really appreciate you helping me 21:34:59 hm. 21:38:28 seeing a distinct lack of mention of either 0x744c or Navi 31 21:38:47 looks like the GPU is too new for this drm-kmod release 21:38:53 I was afraid of that :-( 21:39:50 but it is what it is. Vesa should at least give me a desktop, right? or don't even think about it? XD 21:41:05 one would hope; but I'm way out of practice with fiddling with X in the absence of a usable card 21:42:30 ok, I'll play with it some and see what I can come up with. But thanks a lot though 21:42:51 https://wiki.freebsd.org/GraphicsOld/SCFB <-- that might be relevant 21:42:52 Title: GraphicsOld/SCFB - FreeBSD Wiki 21:45:00 (I actually got this desktop, which has the Skylake intel video, before freebsd had support for that; but I avoided that issue by ordering a low-end nvidia card with it) 21:46:08 * RhodiumToad hoping that eventually he will be able to use the nvidia card for the host and the intel gpu for a VM, but can't do that yet 22:44:32 Seeing as pciconf -lv shows the iGPU attaching via PCI, I don't see why it shouldn't work. 22:46:02 Intel GVT-g, which is what lets you pass a single iGPU to multiple VMs, doesn't work yet - but a recent commit was pushed, that at least mentioned it in passing (though didn't do anything to change whether it works or not). 22:46:48 I'm also very unclear how one iGPU with a set of outputs can work with multiple VMs in terms of switching outputs, but I guess it's up to the hypervisor to handle that? 22:47:33 It also only works for a very small subset of devices, and it was removed from the newest generation of chips, so I'm not sure working on it now is the best use of resources. 22:48:10 https://github.com/intel/gvt-linux/issues/126 22:48:12 Title: Ice Lake support? · Issue #126 · intel/gvt-linux · GitHub 22:48:12 126 – newsyslog isn't run by default https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=126 22:49:21 Confusingly, Xe seems to require SR-IOV - which is what Intel should've started using in the first place, some might argue. On the other hand, there's no signs Xe will be a very long-lived product line, so *shrug* 22:58:18 there was nothing indicating that amdgpu had attached the device; it showed up only as vgapci 22:58:52 oh you mean my GPU passthrough desire? 22:59:33 i am new on freebsd but already i am giving a hard time for myself. :( My system is unbootable and i use liveCD option now. i have to mount my /boot/efi which is on /dev/ada0p11 but i can not as getting Invalid filesystem. gpart show does see the partition but does not show the device path. like /dev/ada0pXX . no such geom... 23:00:18 what's the actual output from gpart show? 23:00:18 even if i use mount -t msdosfs 23:00:43 (if you can get any networking from the livecd then you can paste to termbin using blah | nc termbin.com 9999 23:00:46 RhodiumToad: it does list all the 13 partitions. 23:01:05 and index 11 shows as type "efi" ? 23:01:23 file -s /dev/ada0p11 shows what? 23:01:50 but i have diskID and label not showing the /dev/ada0__XX. it should show ada0p11 23:02:19 I can't interpret what you mean by that last 23:03:17 the thing is i was installing it as manual zfs guide and having efi on p11 partition and freebsd on p12 partition. i have other efi partitions also for windows and linux systems. so i dont want create new partition table with gpart. 23:03:57 you didn't already have an efi partition? 23:04:03 (you can't have more than one on a disk) 23:04:15 yes. it does show type efi 23:05:38 i always had three efi. one for windows and one for linux systems (they are sharing) and one for freebsd. it was working well 23:08:22 ada0p3 ada0p4 and ada0p11 are efi. i dont use grub for windows and freebsd but dedicated entry in BIOS. thats why. 23:09:22 so how can i mount ada0p11 ? 23:09:44 file -s /dev/ada0p11 shows what? 23:10:43 can not open (no such file or directory) 23:11:10 do you have any networking enabled in the livecd? 23:11:27 i want to reinstall bootcode but first i should mount it somehow... 23:12:27 RhodiumToad: uh...no 23:13:07 i was importing my pool called root but no network 23:13:09 can you do so without too much trouble? 23:13:28 i can. but i sont know how... 23:13:52 do you have a wired connection or only wireless? 23:13:57 netif? 23:14:04 wireless 23:14:57 eh. too much trouble 23:15:03 but i can get wired if really neccessary... 23:15:10 it'll be a lot more convenient 23:15:43 usually all it takes is plugging it in and doing dhclient re0 or whatever the interface name is 23:16:01 (assuming you have dhcp going already) 23:16:44 ok then. just a bit complicated as i have mobilewifi with tplink M7650 and the router is on bridge mode....but it does work. i did use it on arch-chroot also and was working. just i need few mins to set it up 23:16:55 sorry for trouble 23:20:26 ok. i have pluged ethernet cable now. but after service netif start still cant ping 23:21:56 service netif start won't do anything unless you have interfaces defined in rc.conf 23:22:05 probably easier to just use dhclient 23:22:15 on liveCD how to check /etc/rc.conf ? 23:22:22 cat /etc/rc.conf 23:22:27 it may not exist 23:22:32 yep 23:22:42 no exist 23:22:58 what's the network interface name? 23:24:39 alc0 23:25:42 and if you do dhclient alc0 what happens? 23:28:08 DHCPDISCOVER starts. but i cant get IP 23:28:20 how to list all interfaces? 23:28:34 ifconfig -a 23:28:44 you might need ifconfig alc0 up 23:28:46 no working leases 23:30:10 just double check. i have only two interface. alc0 and lo0. so alc0 should be the one. 23:31:51 but ping gives no route to host..... 23:32:23 if dhcp didn't work that's not surprising 23:32:39 did you try dhclient again after doing ifconfig alc0 up ? 23:32:44 and etc/resolv.conf also does not exist....but i have the pool... 23:32:52 let me try again 23:36:22 how to restart dhclient? service routing restart?? 23:37:03 if you started it manually, then kill it and start it again 23:37:20 don't mess with the service commands unless you have a fully filled out rc.conf 23:38:20 debdrup: i hope I live for a long time :( 23:39:51 now DHCPDISCOVER switching the interface up and down....weird 23:41:28 no DHCPOFFERS received... 23:41:49 you're sure it's plugged in on a network with working dhcp? 23:44:16 yes 23:44:34 netstat -in shows any non-zero counters for the interface? 23:44:46 let me check 23:45:40 no. doesnt 23:46:00 not even for Opkts? 23:47:13 opkts 63 23:47:23 and Ipkts 0? 23:47:39 189 23:48:16 so my guess is no dhcp server 23:48:52 I was gonna say, can you try a different dhcp client, but, not getting any network might make installing packages a bit difficult 23:49:10 not trying to install packages, just want a way to get output onto termbin 23:49:41 might make everything difficult 23:50:16 could you configure a manual IP on it? 23:51:22 i have got issue with this when my system was healthy. as i could not get proper dhcp values. as i have two wifi network. one is huawei with 192.168.8.x and the other one is 192.168.0.x range. so all the time i had uncomment wpasupplicant to get proper dhcp... 23:51:38 right but this isn't wifi 23:51:47 but wired never tried. this is the first time. 23:51:52 i know... 23:52:00 does arp -an show anything? 23:52:50 but dhcp should be the same. 192.168.0.1 should be on resolv.conf. but cant check it... 23:53:13 arp -an no output 23:53:39 i donno what is that btw 23:55:02 you could try something like ifconfig alc0 192.168.0.123/24 up 23:56:17 192.168.0.126. the mobile wifi router was giving ip already. just freebsd does not get it... 23:56:38 i was checking just now... 23:59:59 linkstate ether media: Ethernet autoselect