-
scoobybejesus
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)?
-
scoobybejesus
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
-
scoobybejesus
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
-
scoobybejesus
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.
-
ox1eef_
DigitalOcean are not actively supporting FreeBSD anymore AFAIK.
-
scoobybejesus
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
-
SamuelMarks
hi
-
grahamperrin
meena: ^
-
Demosthenex
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?
-
meena
scoobybejesus: i haven't tested digitalocean lately, but yes, aside from no longer supporting cloud-init, they also stopped supporting the digitalocean data source
-
meena
-
VimDiesel
Title: Move DigitalOcean before ConfigDrive datasource in default list by dermotbradley · Pull Request #4130 · canonical/cloud-init · GitHub
-
vkarlsen
scoobybejesus: I removed the digitalocean services long ago and just put the network conf in rc.conf because it wasn't reliable
-
parv
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
-
parv
I think I saw that on some mailing list c 2019-2022 (perhaps?) but a search for the issue bring up nothing that recent
-
meena
parv: you think it could be a regression?
-
parv
meena, I really do not know
-
parv
I ought to compile+test vim 8 version
-
parv
Oh crap! User error seems as "vim -u NONE" has the "Backspace" key working as expected *ugh* (also relief)
-
meena
parv: good thing you tried that before going off compiling a pile of code
-
parv
meena, Thanks for the prodding
-
parv
On that note, later ...
-
sozuba
Freshly installed FreeBSD 14-CURRENT, when i install pkg, i get "Newer FreeBSD version for package pkg" ->
termbin.com/s6ve
-
sozuba
does this mean there has been a new nightly? or 14-CURRENT version of the kernel released while i was installing my system?
-
sozuba
if so what should i do here?
-
CmdLnKid
you should probably be building it from ports. to me it looks like you are installing a prebuilt pkg
-
CmdLnKid
current will most likely always be ahead of packages that are built for that system.
-
CmdLnKid
Ignore the mismatch and continue? [y/N]: Y
-
CmdLnKid
if it does not work then (cd /usr/ports/[...]/pkg && make install)
-
CmdLnKid
handbook will cover updating ports and packages
-
CmdLnKid
/usr/ports/ports-mgmt/pkg
-
sozuba
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.
-
VimDiesel
271938 – Excessive heating on Lenovo Thinkpad E450 even with CPU @ 100% idle
bugs.freebsd.org/bugzilla/show_bug.cgi?id=271938
-
CmdLnKid
sozuba, good luck man
-
sozuba
thanks :)
-
CmdLnKid
added info pciconf -lv may lead you to the right path to load some modules that may tie into your heating problem
-
CmdLnKid
notice lines that start with "none0@"
-
CmdLnKid
where loadable modules may be available in /boot/{modules,kernel}/
-
CmdLnKid
id suggest looking at i2c and smbus mods
-
sozuba
CmdLnKid: should i add the output of pciconf -lv to the PR? is that what you meant?
-
CmdLnKid
you can yes that would probably help but inspecting that output for you may lead you to solving that problem yourself
-
CmdLnKid
ive always found ibm derived hardware has quite a bit of complexities to solve by loading modules
-
sozuba
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
-
CmdLnKid
nope
-
CmdLnKid
its just how we all learn
-
Demosthenex
hrm. so wireshark does show tcp retransmits during ssh session, so maybe its not qos.
-
Demosthenex
but... hanging for up to a minute at a time. wonder what i can tune to make that retry faster
-
CmdLnKid
demosthenex, ifconfig IF -rxcsum -txcsum possibly
-
CmdLnKid
possibly also on lo0
-
sozuba
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
-
cpet
If you search freebsd tuning you'll get a nice website that does some nice network tuning
-
cpet
If you are on irc you gfx card is fine
-
Demosthenex
CmdLnKid: so its bad wifi, it's likely legit that i'm having retransmits
-
CmdLnKid
yeah thats def another thing to evaluate
-
cpet
Buy another device test and return
-
CmdLnKid
move the access point across the yard
-
CmdLnKid
;-)
-
cpet
Buy a wifi range tester channels as well
-
Demosthenex
i had a cable, puppy broke it. wifi thru 2 ww2 quality brick/plaster walls
-
cpet
My router has a spectrum analyzer and move the wifi to a non congested channel
-
cpet
Or do what info and don't use wifi
-
cpet
Must be a strong puppy
-
Demosthenex
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
-
Demosthenex
no just teething
-
cpet
Puppy power
-
Demosthenex
indeed
-
CmdLnKid
demosthenex, lol yeah that would be frustrating
-
cpet
Best way to fix a broken cable is repass or those telephone snap thingies
-
Demosthenex
-
Demosthenex
i'm already purchasing replacement cables and finding a new cable route
-
cpet
My dog chewed mine twice
-
Demosthenex
in the mean time, i'm on wifi. i'm just trying to find some tunables to improve the behavior a bit
-
cpet
Just patches it
-
CmdLnKid
as long as you have the tools
-
cpet
I do networking as a hobby so I have all the tools
-
CmdLnKid
use some pvc pipe to contain it
-
cpet
Or get the good stuff with conduit and use for outdoors
-
cpet
Makes the puppy chew it and still runs
-
cpet
Or you can paint it with a tubing bitter
-
CmdLnKid
spray it with some nasty tasting stuff like jalepeno juice
-
CmdLnKid
;-)
-
cpet
Yeah
-
Demosthenex
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
-
cpet
Stop bitching and get to working
-
CmdLnKid
rofl
-
CmdLnKid
impact drill will work
-
Demosthenex
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
-
cpet
In that case I would use wifi
-
cpet
Hah
-
Demosthenex
its a 30m cable, because the ISP entrance is on the lower floor :P
-
CmdLnKid
your dog loves to watch you work
-
cpet
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
-
Demosthenex
indeed
-
Demosthenex
yep, i did channel analysis, np there.
-
Demosthenex
but 5g can't pass thru the walls, only limited 2g
-
cpet
Router is in my room pcs are in my room
-
Demosthenex
i had a powerline ethernet repeater,but its not reliable and overheats ;]
-
CmdLnKid
yikes. im in a 110 occupancy complex, wifi here is pretty much shit all the time.
-
cpet
I tried that and got dialup speeds
-
cpet
Oh I own my home so yeah
-
CmdLnKid
i may go RV in the not so long future and become the traveling network systems guy
-
CmdLnKid
hate being locked down to a single place
-
CmdLnKid
thankfully i never thought id have a wife that would be onboard with that ... turns out she's the one heading it up now
-
CmdLnKid
ofcourse on the side of the RV ... its going to say "Powered by FreeBSD"
-
Demosthenex
hehe nice
-
cpet
That's stupid
-
cpet
Should be GasBSD
-
CmdLnKid
hahahaha maybe if the FreeBSD foundation wants to get into fossil fuels
-
cpet
You didn't get it
-
cpet
Wtf man
-
CmdLnKid
lol
-
cpet
Freebsd foundation would .. well let's not go there
-
cpet
CmdLnKid: some trivia for you
-
Demosthenex
colonel sanders in the kitchen with the tea bag!
-
CmdLnKid
lol
-
cpet
Whatever floats ya boat man
-
cpet
KFC was good as a kid now it's garbage
-
CmdLnKid
too much optimizing
-
CmdLnKid
how can i make chicken taste even more like chicken
-
cpet
Add more chicken
-
cpet
To the chicken
-
CmdLnKid
and then spray it with chicken
-
CmdLnKid
thats a sad definition of the linux kernel
-
cpet
And slap it with chicken paste and rub
-
cpet
Yeah reading git commits logs from Linux is funny
-
cpet
But it still has better hw support so I still use it
-
CmdLnKid
<- slackware since '94 soooooo it'll most likely always be in my toolchain
-
cpet
Waiting on some things for a new machine
-
cpet
Have Slackware in bhyve on my list
-
cpet
Still need a nve and a y cable for two ssds in a zfs raid1
-
CmdLnKid
virtualbox here atop macos
-
CmdLnKid
all other serious equipment has freebsd
-
cpet
Apple ...
-
CmdLnKid
yeah yeah, great client when compared to ms
-
cpet
I like Ms it's my main os
-
cpet
Or make doom eternal work in wine
-
CmdLnKid
with bsd behind the scenes
-
cpet
Userland
-
cpet
I have a iMac that sadly will need to be stuck on the current or replaced
-
cpet
As the new os dropps support for 2017 models
-
cpet
I blame CmdLnKid
-
CmdLnKid
lol
-
CmdLnKid
hackintosh that shit
-
CmdLnKid
its worthwhile especially if it includes iTerm2
-
cpet
Mom said she would buy a new one
-
cpet
So I said ok
-
cpet
Then I said enjoy your aeg
-
cpet
My what...
-
CmdLnKid
lol
-
cpet
Got this Lenovo for 299
-
cpet
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
-
cpet
And it should fit in a book in my closet
-
cpet
nook
-
SamuelMarks
hi
-
cpet
Sup
-
CmdLnKid
Mr Blue Sky
-
SamuelMarks
Is it just me or does the latest Vagrant box not work? - 'freebsd/FreeBSD-14.0-CURRENT' version '2023.06.15
-
CmdLnKid
sorry havent been a vagrant fan
-
cpet
Yeah no
-
» SamuelMarks suggests running `vagrant init freebsd/FreeBSD-14.0-CURRENT && vagrant up` to replicate
-
cpet
Yeah still no
-
cpet
$$ may change that though
-
cpet
🤔
-
CmdLnKid
hahaha
-
avlaxis
*, why use vagrant on BSD instead of jails? Porting?
-
cpet
SamuelMarks: good luck with that
-
SamuelMarks
avlaxis - I'm having fun supporting everything from MS-DOS to FreeBSD to SunOS. My host changes, but currently I'm on Linux
-
CmdLnKid
avlaxis, cause it has very good repeatable results
-
CmdLnKid
great for devops type of shit or web designers trying to understand what they are deploying on
-
avlaxis
docker is more popular than vagrant
-
avlaxis
why use less popular tool? convenience? familiarity?
-
avlaxis
jails is probably the least known but it's been around forever and just works
-
cpet
Familiar
-
CmdLnKid
id rather deploy on docker if needed but vagrant though
-
CmdLnKid
everyone has a niche tho
-
SamuelMarks
There are FreeBSD docker images?
-
cpet
Web host just added support to docker
-
avlaxis
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
-
avlaxis
Boundary that's it
-
avlaxis
supposedly some ztna secure access solution
-
SamuelMarks
freebsd/FreeBSD-13.2-RELEASE failed also
-
SamuelMarks
OpenBSD I just tried; works like a charm
-
cpet
as always :D
-
dch
this is biting me again
-
dch
ld-elf.so.1: /usr/local/lib/gcc10/libstdc++.so.6: version GLIBCXX_3.4.30 required by /downloads/tailwind-freebsd-x64 not found
-
dch
ldd says libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x15c663fdc000)
-
dch
I'm guessing I want to re-order ldconfig
-
dch
to use gcc12 instead of 10
-
dch
and I should use /etc/ld-elf.so.conf for this
-
RhodiumToad
you're running a binary compiled by someone else?
-
cpet
again you are not reading the error message
-
RhodiumToad
how so?
-
cpet
pastebin the following since people get upset when you post it here
-
cpet
file taild-wind...
-
cpet
and ldd tailwind..
-
RhodiumToad
the problem seems quite clear
-
RhodiumToad
ldd says it's loading gcc10/libstdc++.so.6
-
RhodiumToad
gcc10/libstdc++.so.6 does not contain a version GLIBCXX_3.4.30
-
RhodiumToad
(because that version is from gcc12+)
-
cpet
ah
-
RhodiumToad
this implies the code was linked against gcc12's libstdc++
-
cpet
I was waiting for dch rto reply not you
-
cpet
so yeah he had it right
-
cpet
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
so the issue is I'm building this cursed tailwind nodejs abomination for other people
-
dch
and telling them install gcc12 you should be fine
-
cpet
and you would be correct
-
dch
but on *my* system I have gcc10 as well
-
RhodiumToad
did you use -Wl,-rpath=/usr/local/lib/gcc12
-
cpet
however getting others to install something is hard
-
dch
and I don't know yet how to order ths
-
dch
RhodiumToad: sadly it is not possible to build tailwind's embedded nodejs stack with that
-
RhodiumToad
(as specified in the install message for gcc12)
-
RhodiumToad
why not?
-
dch
its truly an abominations
-
dch
because npm is an enormous pile of shit
-
dch
that downloads all of nodejs, builds it again with custom flags
-
cpet
tried getting ghost blog to work
-
dch
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
-
cpet
have to hack the hell out of it to make it work
-
dch
to find the precise point to patch it
-
dch
yeah
-
cpet
gave up after editing it 5 times
-
dch
however its a fundamental tool for my startup, so ...
-
dch
either fix this or use linux
-
dch
what I'm not clear on are 2 things
-
dch
1. what happens when gcc x or y version is installed, wrt the ldconfig settings
-
dch
2. can I control this order, using /etc/ld-elf.so.conf somehow?
-
cpet
what exactly is this you are wanting to install ?
-
dch
I want tailwind-freebsd-x64 to just run without complaining about glib
-
dch
the overall project is a web project with esbuild + tailwind ui + a pile of other stuff
-
cpet
was looking morwe towards "this app name and link to website"
-
dch
there is no site to linjk to yet, its a bespoke app at this m
-
dch
*point
-
cpet
your typing is worse than mine, please get off the PC, take a coffee break and come back, thank you
-
dch
cpet: whatever. I have a 2 inch cut in my middle finger here. I have made ... 2 typos in a paragraph.
-
RhodiumToad
dch: what happens when you install gccN is that it creates a file /usr/local/libdata/ldconfig/gccN
-
cpet
so no github link either
-
RhodiumToad
ldconfig looks in that dir to find entries to add to the library lookup path
-
dch
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.
-
cpet
-
VimDiesel
Title: Releases · tailwindlabs/tailwindcss · GitHub
-
dch
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
-
dch
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.
-
RhodiumToad
it looks like the rc.d/ldconfig script sorts the directories contained in those files when adding to ldconfig_path
-
dch
RhodiumToad: so these 2 ldconfig files are just the paths that the libraries live in
-
cpet
wow so much for "someone got off work early today lets play with some stuff"
-
cpet
but ok you do you
-
RhodiumToad
dch: yes
-
dch
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.
-
cpet
dch: stopped caring after you replied with "dont waste your time"
-
RhodiumToad
dch: I don't see any obvious way of influencing the order
-
dch
I was hoping that it would add gcc12 first, then gcc10 in the hope that the newer version has the right bits
-
RhodiumToad
what it actually does is this:
-
RhodiumToad
_files=`find ${i} -type f; if [ -n "${_files}" ]; then ldconfig_paths="${ldconfig_paths} `cat ${_files} | sort -u`"
-
dch
in /etc/rc.d/ldconfig it just loops over the dirs and does a `sort u`
-
RhodiumToad
so the resulting list will be ordered as by a text sort of the resulting paths
-
dch
I will see what `${ldconfig} -elf ${_ins} ${_LDC}` prints
-
RhodiumToad
I guess you could put this in rc.conf:
-
RhodiumToad
ldconfig_paths="${ldconfig_paths} /usr/local/lib/gcc12"
-
dch
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
-
dch
/usr/local/share/code-oss /usr/local/share/ungoogled-chromium`
-
dch
which as expected sorts gcc10 before gcc12
-
dch
and if I swap over gcc10/gcc12 there, run ldconfig again with that
-
dch
it works
-
dch
cool
-
RhodiumToad
that'll work until the next thing does service ldconfig restart
-
dch
so I can see about reordering that a bit
-
RhodiumToad
which most package installs do
-
dch
yeah exactly
-
dch
but at least my understanding has advanced
-
RhodiumToad
maybe safer to do ldconfig_paths="${ldconfig_paths} /usr/local/lib /usr/local/lib/gcc12"
-
RhodiumToad
oh, not needed
-
dch
I tried btw `patchelf --set-rpath /usr/local/lib/gcc12 ...` but this breaks the nodejs embedded garbage sadly
-
RhodiumToad
maybe it has other rpaths already?
-
RhodiumToad
so you'd need to add the new one to the list rather than replacing what's already there
-
dch
maybe theres a tool I can use to dump this stuff. unfamiliar territory for me.
-
RhodiumToad
readelf or objdump
-
dch
^ thanks RhodiumToad
-
cpet
no thank you for not allowing me to waste my time
-
dch
cool so wombling through rtld(1) shows me I can use `env LD_LIBRARY_PATH=/usr/local/lib/gcc12 /downloads/tailwind-freebsd-x64 -h`
-
dch
this is not ideal but is at least usable for end-users of tailwind
-
cpet
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"
-
RhodiumToad
LD_LIBRARY_PATH has its drawbacks, but yes that is one solution
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
AFAICT that is the last build (at sourcehut) that produced a working artefact
-
dch
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
-
dch
and in version 3.30+ upstream tailwind switched build system again so I gave up
-
RhodiumToad
uh
-
cpet
or install a linux distro in bhyve run that, run what ever dumb programs arent that well portable
-
cpet
and boom
-
RhodiumToad
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 "$@"
-
dch
I can list the various things I tried, maybe there is something I missed
-
cpet
or port it to clang and stop using gcc ;/
-
scoobybejesus
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
-
dch
for nodejs in general we can build with `if (targetPlatform === 'freebsd') { args.push('--fully-static'); args.push('--enable-static');` but thats insufficient here
-
dch
also tried `export LDFLAGS='-Wl,-rpath=/usr/local/lib/gcc12'`
-
dch
which is supposed to do what RhodiumToad proposed above, I will your trick tonight
-
meena
scoobybejesus: that's not entirely true. Azure recently switched to having the network config run on every boot
-
scoobybejesus
ah, good to note, thank you again
-
cpet
Azure still supports a BSD ?
-
RhodiumToad
putting LDFLAGS in the environment is still subject to the vagaries of whatever the build decides to do
-
RhodiumToad
hence why I suggested putting it in the script
-
meena
cpet: FreeBSD, at least
-
dch
that is a better solution
-
dch
maybe thats possible to get it to build statically even that way
-
dch
if only it didnt take an hour ++ to build each time
-
dch
ok to recap what I learned, assuming I get it right
-
dch
- installing both gcc10 + gcc12 causes gcc10 to come before gcc12 in ldconfig because the rc.d script has `sort -u` in there
-
dch
- it seems unwise to fiddle with something so fundamental to many programs just to fix on1 annoying nodejs binary
-
dch
- the LD path is only required for binaries that have not got rpath embedded inside
-
dch
- ports tree obviously handles this already for us
-
dch
(at compile time)
-
RhodiumToad
ports tree does indeed try and handle that as automatically as possible
-
dch
setting an env var is a terrible workaround but may do as a last resort
-
dch
- best option is to fix the build (will try RT's trick later)
-
dch
- next best is to post-build try to splice in the rpath
-
dch
when I try using brandelf, we get this weird output
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
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
-
RhodiumToad
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
-
RhodiumToad
the method I've used before is ld -r -b binary -o data.o somedatafile
-
dch
yeah
-
RhodiumToad
it's possible to do something similar with objcopy
-
dch
nice yes
-
wxsabi
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
-
dch
indeed, thats how this was worked around for nixos
-
dch
-
VimDiesel
Title: now-cli: init at 11.4.6 by brendan-hall · Pull Request #48193 · NixOS/nixpkgs · GitHub
-
dch
-
VimDiesel
Title: now-cli: init at 11.4.6 by brendan-hall · Pull Request #48193 · NixOS/nixpkgs · GitHub
-
RhodiumToad
wxsabi: how are you starting X, and what's in the logs?
-
wxsabi
RhodiumToad: I set sddm to load in /etc/rc.conf(this was working with my old 3090ti). the logs say "No screen found"
-
RhodiumToad
pastebin the logs
-
RhodiumToad
(trying to load X in rc.conf is a pet peeve of mine; it does NOT belong there. the right place is /etc/ttys)
-
RhodiumToad
(and if sddm doesn't work in /etc/ttys, that's a bug)
-
wxsabi
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
-
RhodiumToad
oh, try removing whatever you put in xorg.conf.d
-
wxsabi
RhodiumToad: ok
-
RhodiumToad
for drm-kmod drivers, autodetection should be sufficient.
-
wxsabi
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?
-
dch
and the simplest solution, if nodejs allows it, is to build this against gcc10 from quarterly
-
RhodiumToad
wxsabi: the quotes are usual
-
RhodiumToad
wxsabi: technically it's shell syntax so an unquoted single word is ok, but it's discouraged
-
RhodiumToad
wxsabi: pastebin the logs?
-
RhodiumToad
is sddm itself not starting, or is it failing after you log in?
-
cpet
wxsabi: is this current by chance ?
-
wxsabi
-
VimDiesel
Title: GNU nano 7.22940.895]Ivar /log/Xorg.0. logX.Org X Server 1.21.1.7X Proto - Pastebin.com
-
wxsabi
cpet: 13.2-RELEASE
-
cpet
install xf86-video-ati
-
RhodiumToad
wxsabi: is /dev/dri empty?
-
wxsabi
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
-
cpet
for some reason I get this when I have two vid cards
-
cpet
and works fine when I take one out
-
RhodiumToad
wxsabi: easier to use e.g. termbin.com using cat file | nc termbin.com 9999
-
cpet
2940.898J (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
-
RhodiumToad
dpaste.org can be pasted to using curl
-
cpet
would have to force a BusID
-
cpet
or change the topic to one that works
-
RhodiumToad
wxsabi: do you have multiple cards?
-
wxsabi
RhodiumToad: /dev/dri no such file or directory
-
dch
so y'all can cry at how bad my hack is, but
irccloud.com/pastebin/CQ7wSWYy/hexdump is the nodejs code that handles unpacking stuff
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
as expected its not obj/elf format aware at all
-
wxsabi
RhodiumToad: not multiple cards, I used to have a 3090 ti, sold it and now I have an AMD 7900XTX
-
cpet
wxsabi: amdgpu loaded ?
-
RhodiumToad
wxsabi: what (if any) messages were displayed on the console when loading amdgpu?
-
cpet
card is rather new so good luck with it
-
dch
and calculating length of both payload and prelude before/after fixing rpath, its 4096 bytes extra
-
dch
using textproc/bbe from ports (a binary-like sed)
-
dch
bbe -e 's/44141048/44145144/' -e 's/47838014/47842110/' tailwind-freebsd-x64 > tailwind-abomination
-
dch
"fixes" this
-
cpet
RhodiumToad: seems to like to ask the same crap I ask for so ill just go back to fixing shell issues
-
wxsabi
cpet: I added it to /etc/rc.conf, is there a way to check that it DID load?
-
dch
I will try recompiling with the suggestions above tonight, maybe I can produce a cleaner binary
-
RhodiumToad
wxsabi: you rebooted after? take a look at the output of dmesg
-
wxsabi
RhodiumToad: Is this one of the messages that appear during boot?
-
wxsabi
RhodiumToad: yes, I rebooted
-
RhodiumToad
paste the dmesg output to termbin
-
dch
thanks for helping me work through this one
-
RhodiumToad
dch: yw
-
wxsabi
-
RhodiumToad
wxsabi: so i don't see anything there from drm
-
wxsabi
RhodiumToad: so it's not loading?
-
RhodiumToad
oh wait, here it is: [drm] amdgpu kernel modesetting enabled.
-
RhodiumToad
is there anything in /dev that belongs to the video group?
-
wxsabi
RhodiumToad: lemme see
-
wxsabi
RhodiumToad: this is what ls /dev returns htpps://termbin.com/cvkg
-
RhodiumToad
find /dev -group video -ls
-
wxsabi
-
wxsabi
-
RhodiumToad
what user is sddm trying to run as?
-
RhodiumToad
is xf86-video-amdgpu installed? if not, install it
-
wxsabi
RhodiumToad: good question... my guess is that as root since it's in /etc/rc.conf
-
wxsabi
RhodiumToad: ok, I don't think it's installed
-
wxsabi
RhodiumToad:ok, it's installed, should I reboot and test?
-
RhodiumToad
ya
-
wxsabi
ok
-
crzjp
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?
-
ek
crzjp: Nope.
-
RhodiumToad
you don't need to uninstall it before building, but you will want to uninstall it before installing the one you built
-
crzjp
thanks for the responses, ill compile it now!
-
dch
and in my final terrible incantation:
-
dch
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
-
dch
I can't think of another tool that would let me combine regex substitution with eval'd code without shame
-
wxsabi
RhodiumToad: still no luck, but, should I add the conf file to /usr/local/etc/X11 as per the handbook?
-
wxsabi
RhodiumToad: we deleted it a little bit ago
-
RhodiumToad
wxsabi: shouldn't need it.
-
RhodiumToad
wxsabi: do you see the display mode change during boot?
-
RhodiumToad
also what;s the output of pciconf -lv
-
wxsabi
-
wxsabi
RhodiumToad: no change that I can see
-
wxsabi
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
-
RhodiumToad
did you check whether x is running on another vt? use alt-Fn on the console to switch
-
RhodiumToad
mouse pointer works in text mode if moused is active
-
wxsabi
RhodiumToad: x is not running
-
RhodiumToad
I have to go for a while, I will be back later (hour or two)
-
wxsabi
RhodiumToad: sure thing, I greatly appreciate your help!
-
RhodiumToad
back
-
RhodiumToad
wxsabi: any progress?
-
wxsabi
RhodiumToad: nope, I tried Xorg -configure but that created a huge config file that didn't work, so I deleted it
-
wxsabi
RhodiumToad: I wonder if the card is just not supported? my old Nvidia card "just worked" following the instructions in the handbook
-
RhodiumToad
you said fbsd 13.2 ?
-
RhodiumToad
what does kldlist -v show
-
RhodiumToad
and what exact kms package versions are installed
-
wxsabi
RhodiumToad: yeah, fbsd 13.2-RELEASE, kldlist -v says command not found
-
RhodiumToad
kldstat -v sorry
-
wxsabi
what command can i use for kms check?
-
RhodiumToad
probably pkg info -d drm-kmod should work
-
RhodiumToad
that displays the dependencies of the drm-kmod package (which is a meta-package that just installs other stuff)
-
wxsabi
termbin.com/mrsi
-
wxsabi
termbin.com/9u4c
-
wxsabi
RhodiumToad: i think those work without the https?
-
RhodiumToad
they work well enough, don't worry about it
-
RhodiumToad
ok. let me have a quick gleg at the source to check if your pci ids seem to be supported
-
wxsabi
RhodiumToad: thanks a lot! I really appreciate you helping me
-
RhodiumToad
hm.
-
RhodiumToad
seeing a distinct lack of mention of either 0x744c or Navi 31
-
RhodiumToad
looks like the GPU is too new for this drm-kmod release
-
wxsabi
I was afraid of that :-(
-
wxsabi
but it is what it is. Vesa should at least give me a desktop, right? or don't even think about it? XD
-
RhodiumToad
one would hope; but I'm way out of practice with fiddling with X in the absence of a usable card
-
wxsabi
ok, I'll play with it some and see what I can come up with. But thanks a lot though
-
RhodiumToad
-
VimDiesel
Title: GraphicsOld/SCFB - FreeBSD Wiki
-
RhodiumToad
(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)
-
» 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
-
debdrup
Seeing as pciconf -lv shows the iGPU attaching via PCI, I don't see why it shouldn't work.
-
debdrup
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).
-
debdrup
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?
-
debdrup
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.
-
debdrup
-
VimDiesel
Title: Ice Lake support? · Issue #126 · intel/gvt-linux · GitHub
-
VimDiesel
-
debdrup
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*
-
RhodiumToad
there was nothing indicating that amdgpu had attached the device; it showed up only as vgapci
-
RhodiumToad
oh you mean my GPU passthrough desire?
-
tyler82
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...
-
RhodiumToad
what's the actual output from gpart show?
-
tyler82
even if i use mount -t msdosfs
-
RhodiumToad
(if you can get any networking from the livecd then you can paste to termbin using blah | nc termbin.com 9999
-
tyler82
RhodiumToad: it does list all the 13 partitions.
-
RhodiumToad
and index 11 shows as type "efi" ?
-
RhodiumToad
file -s /dev/ada0p11 shows what?
-
tyler82
but i have diskID and label not showing the /dev/ada0__XX. it should show ada0p11
-
RhodiumToad
I can't interpret what you mean by that last
-
tyler82
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.
-
RhodiumToad
you didn't already have an efi partition?
-
RhodiumToad
(you can't have more than one on a disk)
-
tyler82
yes. it does show type efi
-
tyler82
i always had three efi. one for windows and one for linux systems (they are sharing) and one for freebsd. it was working well
-
tyler82
ada0p3 ada0p4 and ada0p11 are efi. i dont use grub for windows and freebsd but dedicated entry in BIOS. thats why.
-
tyler82
so how can i mount ada0p11 ?
-
RhodiumToad
file -s /dev/ada0p11 shows what?
-
tyler82
can not open (no such file or directory)
-
RhodiumToad
do you have any networking enabled in the livecd?
-
tyler82
i want to reinstall bootcode but first i should mount it somehow...
-
tyler82
RhodiumToad: uh...no
-
tyler82
i was importing my pool called root but no network
-
RhodiumToad
can you do so without too much trouble?
-
tyler82
i can. but i sont know how...
-
RhodiumToad
do you have a wired connection or only wireless?
-
tyler82
netif?
-
tyler82
wireless
-
RhodiumToad
eh. too much trouble
-
tyler82
but i can get wired if really neccessary...
-
RhodiumToad
it'll be a lot more convenient
-
RhodiumToad
usually all it takes is plugging it in and doing dhclient re0 or whatever the interface name is
-
RhodiumToad
(assuming you have dhcp going already)
-
tyler82
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
-
tyler82
sorry for trouble
-
tyler82
ok. i have pluged ethernet cable now. but after service netif start still cant ping
-
RhodiumToad
service netif start won't do anything unless you have interfaces defined in rc.conf
-
RhodiumToad
probably easier to just use dhclient
-
tyler82
on liveCD how to check /etc/rc.conf ?
-
RhodiumToad
cat /etc/rc.conf
-
RhodiumToad
it may not exist
-
tyler82
yep
-
tyler82
no exist
-
RhodiumToad
what's the network interface name?
-
tyler82
alc0
-
RhodiumToad
and if you do dhclient alc0 what happens?
-
tyler82
DHCPDISCOVER starts. but i cant get IP
-
tyler82
how to list all interfaces?
-
RhodiumToad
ifconfig -a
-
RhodiumToad
you might need ifconfig alc0 up
-
tyler82
no working leases
-
tyler82
just double check. i have only two interface. alc0 and lo0. so alc0 should be the one.
-
tyler82
but ping gives no route to host.....
-
RhodiumToad
if dhcp didn't work that's not surprising
-
RhodiumToad
did you try dhclient again after doing ifconfig alc0 up ?
-
tyler82
and etc/resolv.conf also does not exist....but i have the pool...
-
tyler82
let me try again
-
tyler82
how to restart dhclient? service routing restart??
-
RhodiumToad
if you started it manually, then kill it and start it again
-
RhodiumToad
don't mess with the service commands unless you have a fully filled out rc.conf
-
Xe
debdrup: i hope I live for a long time :(
-
tyler82
now DHCPDISCOVER switching the interface up and down....weird
-
tyler82
no DHCPOFFERS received...
-
RhodiumToad
you're sure it's plugged in on a network with working dhcp?
-
tyler82
yes
-
RhodiumToad
netstat -in shows any non-zero counters for the interface?
-
tyler82
let me check
-
tyler82
no. doesnt
-
RhodiumToad
not even for Opkts?
-
tyler82
opkts 63
-
RhodiumToad
and Ipkts 0?
-
tyler82
189
-
RhodiumToad
so my guess is no dhcp server
-
meena
I was gonna say, can you try a different dhcp client, but, not getting any network might make installing packages a bit difficult
-
RhodiumToad
not trying to install packages, just want a way to get output onto termbin
-
meena
might make everything difficult
-
RhodiumToad
could you configure a manual IP on it?
-
tyler82
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...
-
RhodiumToad
right but this isn't wifi
-
tyler82
but wired never tried. this is the first time.
-
tyler82
i know...
-
RhodiumToad
does arp -an show anything?
-
tyler82
but dhcp should be the same. 192.168.0.1 should be on resolv.conf. but cant check it...
-
tyler82
arp -an no output
-
tyler82
i donno what is that btw
-
RhodiumToad
you could try something like ifconfig alc0 192.168.0.123/24 up
-
tyler82
192.168.0.126. the mobile wifi router was giving ip already. just freebsd does not get it...
-
tyler82
i was checking just now...
-
tyler82
linkstate ether media: Ethernet autoselect