-
ukky
l00py: one option would be to install 'screen', or tmux. Start 'screen'. Type your shell commands. To scroll output buffer, Crtl+A ESC, then PgUp/PgDn to scroll, type 'q' to exit copy mode.
-
l00py
ukky ah great idea ty
-
l00py
btw just got home from work if i got you the X log in about 15 min would you still be willing to look at it?
-
ukky
l00py: yes, I'll be around for another hour.
-
l00py
great time for 1 of the ram sticks to go bad and reboots to be super slow heh
-
l00py
just in case i don't make it by the time you leave will you be here tomorrow?
-
ukky
l00py: post the link when ready. My IRC client will keep logging when I'am away. I will be here tomorrow.
-
l00py
ok tyvm
-
l00py
ok got it
-
l00py
-
l00py
G200eR2 matrox card. booting uefi. dell power edge R720. freebsd 14.2. xf86-video-mga installed
-
ukky
l00py: I've got your log.
-
l00py
ukky ok great ty. and for background info, when i install a GUI linux it works fine. and even here, X and i3 start. but quickly it bogs down to a crawl and dies
-
ukky
l00py: (EE) MGA(0): Need at least 24300 kB video memory at this resolution, bit depth
-
l00py
-
l00py
and i don't know what the video mem msg means. i don't have an xorg.conf so if my card doesn't have enough mem why doesn't it just pick a lower rez?
-
ukky
That board has 16MiB of video memory. I do not think the bug you posted is related.
-
l00py
so you think the prob is the lack of video mem?
-
ukky
90% sure
-
l00py
how can ubuntu desktop work fine on it?
-
l00py
and i3 on guix
-
l00py
and why doesn't X just pick a lower rez that needs less video mem?
-
ukky
you can grab Xorg.log from Ubunto and see which resolution X picks up.
-
l00py
ya that's an idea
-
ukky
it might be related to kernel driver (Linux vs FreeBSD).
-
l00py
ok so i got a question, i normally run bhyve vms from within x. i start the bhyve vm, then i start tiger vnc or whatever, and i can get a gui to the vm guest. but if i can't use X from freebsd, how do i run bhyve vm guests? would i still start tiger vnc but from a vt?
-
ukky
You can run X on your video card, but you need custom xorg.conf to lower your resolution.
-
l00py
i have an xorg.conf for it i made but it wasn't starting but i thikn i did something wrong. can i termbin it and show you? it'll take < 5 min
-
ukky
post it
-
l00py
ukky termbin.com/6j5j
-
l00py
-
l00py
i'm not sure if the VGA-0 monitor identifier is right. when i tried to use it iirc it said no screens detected or smth
-
l00py
-
ukky
monitor is not a problem. That board has only 16 MiB of video RAM. (1920 x 1080 x 4 x 3) requires 23.7 MiB.
-
l00py
so any way to force my xorg.conf to use a lower rez that'll fit?
-
l00py
like 1024x768 is fine
-
l00py
-
ukky
please do not set refresh rate and sync frequencies
-
l00py
ok
-
l00py
see the "Supported standard timings" line in the xorg log output?
termbin.com/998i
-
l00py
hsize: 1280 vsize 720 refresh: 60 vid: 49281 is lowest rez it seems?
-
l00py
what do you want me to try?
-
ukky
You have to look what EDID reports. But again, do not set any refresh/frequency. Driver should pickup appropriate timings according to your resolution.
-
l00py
1024x768@60Hz is in supported established timings output from my xorg log output
-
l00py
should i try 1024x768?
-
ukky
try 1280x1024x32bpp
-
l00py
k brb
-
ukky
This mode takes less than 16 MiB of video memory
-
l00py
-
l00py
not sure where to stick 32 but i assumed it was depth wanna make sure tho before i try
-
l00py
down in "Screen" section
-
l00py
i added the subsection
-
ukky
We should fix 'VGA-0' before you test it
-
l00py
ok how?
-
l00py
i didn't know how to find out the identifiers for the interfaces of my monitor. there's vga and hdmi but i don't know their ID
-
ukky
In section "Screen" add this: Monitor "VGA-0"
-
l00py
ok then try it?
-
ukky
Let's also change depth to 24 (from 32). 24 is enough.
-
l00py
ok brb
-
l00py
k it started but still super laggy. and i tried to type xrandr but when i'd type x 2 x would be in screen
-
l00py
termbin.com/jfai is x log
-
l00py
termbin.com/gddv is xorg.conf
-
mrelcee
I really came to appreciate freebsd's loader.efi and beadm with all 14.2 upgrade fails the past month. It woulda been a bigger pain to have to deal with booting a usb stick to unmess it...
-
mrelcee
Thats very well put together and thought out
-
SponiX
I'm still learning the basics of bectl
-
ukky
l00py: (EE) MGA(0): [drm] Direct rendering only supported with G200/G400/G450/G550.
-
ukky
l00py: G200eR2 is not G200. G200 is add-on card.
-
l00py
is there a generic driver i could use? or any other ideas?
-
l00py
i hate to admit it works fine on linux butnot freebsd
-
ukky
I am pretty sure DRM on G200eR2 is supported in Linux kernel.
-
l00py
but not freebsd?
-
ukky
I will grep FreeBSD kernel source for that error above.
-
l00py
tyvm
-
SponiX
mrelcee: why did you have upgrade fails?
-
mrelcee
it was puking on settiing up rc.conf. freebsd-update was essentially dumping a non configured / generic rc.conf file with all of the possible settings and seemingly other things botched up because copying a backup copy in still left me with errors.. so it was stuck booting up single user with no networking
-
mrelcee
after release failed, I gave dug up docs on using pkgbase and it was perfect
-
ukky
l00py: could you try 'modesetting' Xorg driver instead of 'mga'?
-
l00py
ukky any other changes or just that?
-
ukky
Just replace 'mga' with 'modesetting'
-
l00py
brb
-
Tenkawa
-
Tenkawa
it doesn't look promising "optimistic"
-
mrelcee
maybe there was a bad character in the rc.conf or other file that tripped up freebsd-update but lets it boot fine? thats about all I can think of - I honestly havent really examined that further once it was running
-
mrelcee
by the time i made it there I was pretty sick of sifting through freesd configuration files :)
-
Tenkawa
ukky: it looks like with the mga link at bottom there's a fair bit of discussion
-
l00py
-
ukky
Tenkawa: The link you posted is another option to try, but it requires patching xf86-video-mga
-
Tenkawa
yeah
-
l00py
hm not loading lemme try again
-
l00py
-
Tenkawa
unfortunately from my research I think that might be the only fix... due to how that driver works
-
Tenkawa
(only a short bit of research though)
-
l00py
ukky are we out of hope my dude?
-
l00py
i'd try the patch idea but that's out of my league
-
ukky
according to my search, FreeBSD kernel does not support G200eR2 (the whole G200e/G200eH/G200eR/G200eW family). And Xorg 'mga' driver does not support G200e* too.
-
l00py
and no generic driver would do it?
-
ukky
I don't think the patch for Xorg 'mga' driver would work, as initialization of G200e* is different from regular G200.
-
l00py
so basically these servers are X less, or X and linux, and that's the choice
-
ukky
If you have extra PCI/PCIe slot, you could by el cheepo nVidia for primary video.
-
l00py
i could but i don't wanna sink any $ into these turdboxes they're so old and slow
-
ukky
If you only remote-connect, you can install xrdp server instead of vnc.
-
Tenkawa
ukky: yeah if there's no subsequent kernel patch to go with it I agree and the only refernce in the entire codebase is this;
-
Tenkawa
./share/misc/pci_vendors: 0534 G200eR2
-
l00py
that's a decent idea
-
Tenkawa
so I agree with you
-
l00py
if i was to pick up a cheapo server video card that fbsd still supports what do you recommend?
-
l00py
it's a dell poweredge r720
-
l00py
with riser card already in it
-
Tenkawa
l00py: do you ssh to it?
-
l00py
no
-
Tenkawa
ah ok
-
l00py
have kvm hooked up to it
-
Tenkawa
I was going to say ssh X11 forwarding works well too
-
Tenkawa
That's how I use all my non-primary mchines
-
Tenkawa
er machines
-
ukky
nVidia NVS 290 was working for me (XRDP + X). I could remote-connect and have X graphics.
-
l00py
and hook up a monitor to it?
-
ukky
I did not start X locally. XRDP server starts X with xrdp X driver (software rendering).
-
Tenkawa
l00py: I hook up the monitor to a faster machine with a better display and do all video via netwok
-
Tenkawa
Its simikar to what ukky is referring to
-
Tenkawa
er similar
-
l00py
i run a bhyve vm guest (freebsd) with xrdp and it works fine
-
Tenkawa
Nod.
-
l00py
i'll keep it in mind, but that's rdp to a bhyve guest, not rdp to a host that's also running bhyve guests lol
-
l00py
ukky really appreciate you taking so much time to help me on this
-
l00py
atleast now i know it's not an option to do freebsd + X for running the vms
-
Tenkawa
Cheers all.. be back tomorrow... l00py good luck..
-
ukky
you are welcome
-
l00py
tyvm Tenkawa
-
l00py
just threw debian on box, i3 runs just fine. fast af, lots of panels open
-
l00py
now i gotta decide how i'll get freebsd under it and run the debian as vms
-
l00py
wew what a day
-
Posterdati
I found that i915kms module created the problem with standby
-
Posterdati
this is an hybrid video machine: intel + nvidia
-
nerozero
Hi there, I'm looking for a VPS service with FreeBSD support
-
nerozero
Any recommendation ?
-
nerozero
I have found this one:
contabo.com/en/storage-vps Does anyone have experience working with Contabo ?
-
Posterdati
nerozero: take a look at ircnow
-
HER
nerozero: vultr
-
HER
but its possible to install "manually" in other mainstream ones..
-
TommyC
^
-
TommyC
lowendtalk if you want a good forum to search for some possible options
-
nerozero
docs.ircnow.org/vps/vps - $60USD per year / 2GB RAM /20GB SSD <== VS ==> 4cores / 800GB 8.55/month
-
nerozero
contabo
-
nerozero
-
HER
linode had freebsd option available in the past.. digital ocean also had it... i have no idea why they removed it.. maybe almost no one used ?? who knows.. but sucks they removed the option
-
TommyC
$60 USD for that seems kinda...expensive.
-
TommyC
Please don't tell me they used the word "premium" in there somewhere.
-
jemius
Does zstd compression also have that feature of not compressing imcompressible data?
-
jemius
-
jemius
docu only states that about LZ4
-
jemius
Furthermore, the compression list at the end of the article does not list zstd yet. JFYI
-
antranigv
does anyone know what the `vmwait` state is? and what it means if every process is stuck in vmwait mode?
-
nimaje
jemius: afaik, for zstd, zfs makes a fast test with lz4 to see if it is compressable at all
-
jemius
nimaje, hm. Why with LZ4?
-
nimaje
antranigv: my guess would be vm = virtual memory, is your ram and swap nearly full?
-
antranigv
don't think so. I have around 1TB of memory available
-
TommyC
holy hell...wat
-
ketas
big machines
-
nimaje
jemius: afaik, lz4 is really good at detecting uncompressable data and the cases where lz4 can't compress, but zstd could aren't worth much, so a fast fail via lz4 is preferable to using zstd on uncompressable data, even if it means running lz4 in some fast settings for the test and zstd for compression on compressable data
-
jemius
nimaje, interesting, thx
-
nimaje
apparently it does even an zstd-1 step in between, if lz4 didn't compress enought and decides then if it should really compress
truenas.com/community/threads/game-…ion-that-saves-cpu-and-space.113247
-
mzar
yes, lz4 is fine for ZFS, but zstd is cool for use in pipe with zfs send
-
td123
Hi, I'm trying to report a bug related to
freebsd.org/releases/14.2R/announce in the vagrant section, the image is missing and returns a 404 when using vagrant. I confirmed that it is missing on
portal.cloud.hashicorp.com/vagrant/discover/freebsd My question is what product & component should I file the ticket under?
-
dch
td123: misc is fine, if you reference the PR# that will help
-
td123
dch: Thanks! opened report at
bugs.freebsd.org/bugzilla/show_bug.cgi?id=283202 I did find that Spam is an odd name for the component but I guess that's what it is.
-
dch
hmm not really, spam is a category for marking spam tickets as spam
-
dch
I will see if I can fix this up
-
td123
oh, I see, I didn't realize misc was under the base system
-
td123
dch: thanks for fixing this up
-
dch
base system / 14.2-RELEASE / misc was what I meant, but my explanation sucked
-
dch
td123 thanks for the report, the 14-STABLE images go up correctly so this is something that borked just for the release
-
jemius
what's zstd-fast in ZFS compression? A certain mode compressing faster but generating larger output?
-
jemius
I'm not aware of such modes in zstd. Just the compression speed from 1-20
-
jmnbtsls1E
nerozero: i think any provider should support freebsd transparently so long as they allow you to upload your own image. i think there are better options than contabo. if you want i can PM you some options
-
vuk
hello, for some reason every time i login on my freshly installed freebsd machine i get 1000: command not found. any idea in what config does this happen so i can just delete that line?
-
ketas
did you manage to put that into shell *rc?
-
ketas
or you didn't do any of this?
-
nerozero
jmnbtsls1E, Thank you so much for paying so much attention to my question. I will appreciate a lot if you share your experience in regards to VPS providers.
-
jmnbtsls1E
OK, PMed you
-
l00py
omg fbsd so good. first i got 4 physical nics aggregated using lagg. then i have a bridge if that joins the lagg0 and a bunch of taps, and now i can run vms and host system networking through bridge that goes out over whatever physical nic has cable plugged in loooool
-
pertho
hi.. I got a jail set up with enforce_statfs=1, allow.mount.fdescfs, and allow.mount.procfs.. but when I go into it, I don't see them mounted. What's the proper way to make sure they're mounted?
-
l00py
i guess i can't use tigervnc-viewer from vt. is there a way to do it? i can't run X on this box so i need somehow
-
l00py
so how do we use bhyve to run guest vms without X, if vnc is needed to get a view of the running guest and configure it for later ssh and stuff?
-
l00py
surely bhyve doesn't require that X or wayland is installed?
-
dansa
I've been looking at the handbook to see how to search through the ports collection on the command line.
-
dansa
I remember years ago there was something like ``make search''
-
dansa
But I can't recall what it was.
-
dansa
How do I search the ports collection on the command line?
-
HER
l00py: connect to the console: vm console <vm_name>
-
HER
dansa: find /usr/ports | grep <pkg_name> ?
-
HER
thats for ports..
-
HER
but i think you want to search packages: pkg search <pkg_name>
-
l00py
her where is 'vm' command from?
-
HER
l00py: ah, its from vm-bhyve
-
HER
you are using plain bhyve ?
-
l00py
ya plain
-
HER
must be some similar command
-
l00py
ya must be hmm
-
l00py
virtio-console bhyve feature maybe?
-
dansa
HER: there used to be a ``make search'' or something like that. I know about ``pkg search''. I mean /usr/ports specifically. There used to be. Perhaps it's been removed.
-
HER
dansa: i never seen a make mixed with search
-
HER
but who knows
-
HER
l00py: could be..
-
dansa
For how many years have you been using FreeBSD?
-
HER
l00py: or maybe not
-
dansa
I could be having false memories...
-
HER
dansa: for 15 years
-
dansa
But I remember using about 20 years ago.
-
HER
but i dont know everything :)
-
dansa
Do you use the ports for 15 years?
-
HER
initially yes.. but been on binary only for long time
-
dansa
Then I'd think you would've known.
-
dansa
Perhaps you forgot! :)
-
HER
-
dansa
Nice! Thank you!
-
HER
dansa: first time i see this =p but i dont see how that is better than find /usr/ports | grep whatever
-
dansa
That's the ports I know. :)
-
dansa
Less typing?
-
dansa
Nicer output.
-
HER
aha..
-
dansa
-
HER
➜ ~ make -C /usr/ports search name=^mc
-
HER
makeThe search target requires INDEX-14. Please run make index or make fetchindex.
-
HER
bah =p
-
HER
find just works with anything FS :)
-
HER
but nice to learn a new thing
-
dansa
:)
-
dansa
Hey... an INDEX is going to make things faster, too.
-
dansa
Okay---I know find works with an index too. :)
-
dansa
But the output is totally superior in make search.
-
l00py
her is that vm console command using com1 stuff internally?
-
l00py
i think that's a serial console?
-
HER
l00py: dont know
-
HER
l00py: yes looks like it: vm console name [com1|com2]
-
HER
l00py: By default this will connect to the first com port specified in the client configuration, which is usually com1. Alternatively you can specify the com port to connect to.
-
HER
This looks forthe nmdm(4) device associated with the virtual machine,and connects toxictra1h it with cu(1)
-
HER
-
l00py
hmm
-
l00py
her and when you run vm console, you attach to the console of the guest vm, right from vt even?
-
HER
yes
-
HER
l00py: deciding to install vm-bhyve ? go for it !
-
HER
if you dont like, just uninstall
-
l00py
no i gotta use bhyve directly so just working through that. looks like -s,virtio-console,/home/l00py/test.sock to start. i'll try that and see if it fails to run
-
l00py
weird. when i started my bhyve command with the old vnc -s 29,fbuf... config it ran fine. but after replacing that line with -s 4,virtio-console,port1=/home/l00py/test.sock it didn't run, it said error opening bootrom /usr/local/share/uefi-firmware/BHYVE_UEFI.fd no such file or di
-
l00py
r
-
l00py
ok installed bhyve-firmware and got that file
-
l00py
deleted .sock. now command runs!!
-
l00py
now i need to figure out how to attach a vt term to that sock
-
l00py
i found originall PR for the virtio-console feature to bhyve
reviews.freebsd.org/D7185
-
l00py
i tried what it said, socat - test.sock but then it gave error E unknown device/address "test.sock"
-
l00py
damn
-
HER
cu maybe ?
-
l00py
ya lemme see bout that
-
l00py
cu -l ...?
-
l00py
i tried cu -l test.sock but didn't work
-
HER
-
l00py
do i use that even if i'm using -s 4,virtio-console... ?
-
HER
l00py: i think you can use that without your option
-
HER
give it a try
-
HER
or mix both
-
l00py
so what's test.sock for then?
-
HER
l00py: dont know, where did it came from ?
-
HER
i dont see that listed in that link
-
HER
forums.freebsd.org/threads/headless-bhyve.55872/#post-317654 : The most common way of running bhyve guests "headless" is to use null modem devices.
-
HER
You attach the serial console of the bhyve guest to a null modem 'A' port using the -l option:
-
HER
bhyve ... -l com1,/dev/nmdm0A ...
-
HER
thats pretty clear
-
HER
try that
-
l00py
it's in the man page for bhyve for the emulator option virtio-console
-
HER
well, you are on a dead end right now.. try the alternative ? :p
-
l00py
ya hehe
-
l00py
so don't have the -s 4,virtio-console line at all to start?
-
l00py
i was reading that link and there was a link to the handbook and in it it said "-l com1,stdio" so i tried that just for fun and it WORKED except when i selected graphical installer there was an error about unsupported video or smth and it didn't really continue
-
l00py
is that fixed if i do the null modem thing?
-
HER
l00py: try it
-
HER
i dont know :)