-
tm512
looking at xev's output, it doesn't seem to be receiving any XF86MonBrightness{Up,Down} keypresses, it only sees XF86WakeUp upon pressing the fn key
-
spmzt
I have a super weird error on pfctl inside the jail. apparently, my pf is still working and I got this error everytime I run: # pfctl -sr
-
spmzt
Assertion failed: (elems <= maxelems), function pf_nvuint_32_array, file /usr/src/lib/libpfctl/libpfctl.c, line 147.
-
jbo
rwp, guess what... VT-d was disabled in the BIOS... it was hidden under "System Agent Configuration". The "Enable Virtualization Technology" switch only enabled VT-x
-
jbo
now passthru is working :>
-
tm512
is there any way to stop files from being saved into /tmp from inheriting "wheel" as the group
-
rtprio
tm512: who is writing the files?
-
rtprio
tm512: you have to map the keys if you want brightness and shit to work
-
tm512
wheel gets inherited regardless of which user writes to /tmp
-
rtprio
then it sounds like /tmp has the wrong chmod
-
rtprio
drwxrwxrwt 9 root wheel 10 Feb 16 00:46 /tmp
-
tm512
also I *can't* map the keys for brightness control. as I said, only XF86WakeUp gets sent to the X server when the fn key is pressed. no distinct events are sent for the fn+brightness combos
-
tm512
supposedly the firmware is supposed to handle this
-
tm512
the mode and ownership for /tmp is the exact same on my system
-
rtprio
`file /tmp` says ?
-
rtprio
is the person writing files a member of wheel?
-
tm512
"sticky, directory", and as for being a member of wheel, my main user is, the user I'm running firefox under is not
-
tm512
files saved in /tmp from firefox get browser:wheel and then my main user basically loses write privileges to those files
-
rwp
jbo, Very good! I don't know why those are always vendor disabled by default.
-
jbo
I'm 100% okay with it being disabled by default (and that is what I would expect)
-
jbo
I am not okay with the convoluted graphical menu crap we have nowdays
-
rwp
tm512, In *BSD systems files always inherit the group of the parent directory. In Linux/SysV that is what the sgid bit on directories does. But it's the default for BSD.
-
rwp
tm512, Why doesn't the file ownership stay the owner of the file?
-
rwp
Isn't your browser running as your uid? That's where things are getting disconnected.
-
rwp
And alternately you could change the tmp to be $HOME/tmp so that it is written into a tmp directory in your $HOME and then the group would be your group.
-
tm512
well as I said I'm running firefox as a separate user, as an alternative to FF's lack of sandboxing on FreeBSD
-
rwp
Well, if it is running as a separate user then that separation of user thing is going to be working to keep you separated. :-/
-
rwp
But anyway the group setting to the group of the parent directory is core BSD behavior since forever. It's part of the landscape.
-
tm512
I added myself to the browser user's group, I guess I need these files to be set g+w by default though
-
rtprio
seems like a lot of extra effort
-
tm512
maybe capsicumizer would be a better solution though it seems like development on that has been abandoned, the github repo was archived iirc
-
tm512
bit distracted from this now since I'm back to getting "fault errors on pipe A" when I run picom. I'm starting to get worried that this laptop has faulty hardware, because the laptop is also back to making weird noises at bootup. maybe these things aren't related though and I'm making spurious correlations
-
rwp
The laptop fan might be failing, a typical problem, and at boot the bios usually turns the fan on at high speed before reducing the fan speed. That's the only thing that would make noise on newer machines.
-
rwp
Older machines with a cdrom/dvd would seek the mechanism. If you have one of those. Those are becoming more rare as time goes by.
-
tm512
rwp: it seems to be playing through the speakers
-
tm512
drm-515-kmod pretty reliably gets picom to throw fault errors. I thought things were working fine here on drm-510-kmod, but now it's throwing them
-
rwp
Weird noises through the speaker at boot time? I guess I have heard clicks and such from sound cards as drivers are loaded.
-
hernan
rwp: looks like a safe and effective way to get rid of open source
-
tm512
it's like buzzing/whining accompanied by popping at the end of the tone. one time, it was an incredibly loud tone blaring from the speakers that tbh scared the shit out of me
-
rwp
hernan, It seems like the Law of Unintended Consequences being known ahead of time to everyone else making these Known Consequences but apparently Ignored Consequences by the politicians.
-
hernan
rwp: in another safe and effective measure, they want to get rid of farmers (and the food that peolpe eat, which comes from farmers).. certainly the politicians are not coming up with that nonsense by themselves.. they cant think 2+2. They are receiving orders from above.. the groups that already control everything, every company, every pharma, every main stream media, every politician. Do you know the 3
-
hernan
company names ? that control everything?
-
tm512
so these sounds play when the machine first starts, before the BIOS splash shows, and then again while FreeBSD is enumerating disks during boot
-
tm512
I'm wondering if one of these drives is faulty and messing with the rest of the hardware
-
tm512
the sounds don't show up reliably though, they'll go away for a while before coming back
-
rwp
hernan, I don't believe in conspiracies when incompetence is sufficiently explanatory.
-
rwp
tm512, I can't imagine how a storage device (SSD? Surely not a spinner...) would be able to affect other hardware. Other than by shorting out the power supply which is just about it. It's a power connection plus a SATA data connection. It's not like that can reach out to other parts of the machine.
-
rwp
"Sufficiently advanced cluelessness is indistinguishable from malice."
-
topcat001
tm512: picom backend=glx, vsync=true ?
-
tm512
rwp: this laptop came with both a SSD and HDD
-
topcat001
might also want to toggle the use-damage flag
-
tm512
I haven't actually used the HDD for anything yet
-
hernan
-
VimDiesel
Title: Booking Holdings Inc. (BKNG) Stock Major Holders - Yahoo Finance
-
hernan
-
VimDiesel
Title: Pfizer Inc. (PFE) Stock Major Holders - Yahoo Finance
-
tm512
topcat001: it's basically the default configuration with shadows and fading disabled, but yes using GLX and with vsync enabled
-
tm512
I might also have glx-no-stencil enabled
-
rwp
tm512, I am a craphound and routinely buy older used equipment. And routinely remove spinning hard drives and replace them with solid state drives. It's a cheap upgrade. Spinning drives on mobile equipment was always problematic but it was just the best available option at the time. Time has passed and now better options exist cheaply.
-
tm512
rwp: I was planning on leaving the HDD in and using it for storing media but if I want to test the hypothesis that something is faulty regarding the storage, I guess my one option right now is to pull the HDD
-
tm512
if the noises persist, I suppose I could load a spare SATA SSD into the space where the HDD was, and clone my FreeBSD install over to it, before removing this M.2 SSD
-
rwp
If you are not yet using it then that would be an easy test. It's going to be making noise at power on reset time as it seeks the head. That might be part of the noise you are hearing.
-
rwp
I need to relocating. BBIAB.
-
tm512
this thing is making noises that do not sound anything like a hard drive
-
tm512
the sound is punctuated by popping noises that sound a lot like the end of an audio buffer not aligning with the phase of a waveform
-
rwp
It's haunted! It's either poltergeists or gremlins.
-
tm512
or like the kind of popping that I think would happen if the waveform had a DC offset? basically what happens when the DAC hits a brick wall where the signal centers back to 0
-
tm512
also if it were the HDD I'd expect to hear it every time the machine starts up or every time I access the HDD while it's idling, but I just don't
-
ketas
it's all in your head
-
tm512
got a video of this though man, my tablet's microphone is terrible. a lot of this sound is just drowned out by noise
-
ketas
computer is wideband emi generator
-
ketas
anyway
-
johnjaye
platter hdds are still useful though right
-
johnjaye
maybe not as OS drives. but like for general storage
-
ketas
cheap, don't lose data over time?
-
ketas
actually that sucks in flash
-
tm512
youtube.com/watch?v=QVndKgz87gg here's a video with the noises, though yeah this mic did not pick it up with the clarity I would've liked. the "fault errors" spam makes a cameo at the start when I reboot the machine
-
VimDiesel
Title: ThinkPad noises - YouTube
-
ketas
tm512: those pops?
-
ketas
i hear something in bg too
-
tm512
ketas: the pops are coming from the laptop, but there's a high-pitched whine between the two pops
-
ketas
hmm mic sucks then
-
ketas
or my phone speaker
-
ketas
the whine isn't unusual sadly :/
-
ketas
i guess only fix is usb sound card
-
ketas
i heard pssssh pop?
-
tm512
the noise isn't persistent, it only happens right before the BIOS splash, and right as FreeBSD starts detecting disks. and it's intermittent. it doesn't happen on every boot
-
ketas
only
-
ketas
if it happens before bios
-
ketas
that's shitty
-
ketas
but otherwise no noise?
-
ketas
i guess they optimized protections out
-
tm512
not just before BIOS, but when FreeBSD detects disks as well. this doesn't seem like something normal or expected, it seems like something is malfunctioning
-
ketas
it's not disks
-
ketas
it also inits sound
-
ketas
i guess that's that card doing init
-
ketas
not unusual to heard something but still
-
ketas
that's too much
-
ketas
yet, just hw is like that :/
-
tm512
I know the video is pretty blurry, but the sound shows up precisely when FreeBSD spits out info about the connected disks. it does not seem to coincide with sound hw initialization
-
ketas
hmm
-
ketas
but only on init?
-
ketas
so perhaps on that platform, doing init for storage causes sound to make weird output
-
tm512
again, it's only occasional. it seems like maybe it only starts happening when I haven't had the laptop powered off for a while, but that's speculation from an admittedly small dataset
-
ketas
weird
-
ketas
but only "cosmetic" issue?
-
tm512
this isn't the only noise I've heard it making, either, though the other noises it makes, I think it only happens right before the BIOS splash, and not when FreeBSD is booting. those other noises are louder, sometimes significantly so
-
tm512
one time it blared a sawtooth-wave like tone
-
tm512
I don't know if it's only "cosmetic", I'm worried it's a sign of some serious issues
-
tm512
kinda worried that the GPU fault error messages I'm getting have some relation to this, because those are also intermittent at least on drm-510-kmod
-
ketas
eh
-
ketas
dropped it?
-
ketas
it could be anything
-
tm512
I haven't dropped this laptop at all, but it was a refurb, so I dunno its history
-
tm512
anyway, huh, it did seem like there was a loose screw inside the laptop. when I heard that noise inside of it I thought it was a broken clip. though if that were short-circuiting anything I'm guessing the whole machine would be powering off at random
-
ketas
wtf
-
ketas
you never know actually
-
ketas
had one nos t60, did drop it a bit, nothing immediately, but i guess i just used it up too, i replaced inverter, then it lost bt, losed wifi if moved, lost fp, eventually stopped booting without any reason
-
ketas
i should take it apart and look
-
tm512
I guess to see if the drm fault errors are hardware related, *maybe* I could spin this thing up with Linux 5.10 or 5.15 and see if the same version of picom triggers the same messages? though maybe that's not definitive since the GPU drivers aren't identical
-
tm512
I can't even tell if this loose screw even belongs to this laptop, or if the refurbisher was just sloppy. the bottom cover screws are all accounted for
-
mason
tm512: See if you can find a teardown video. It'll show you all the screws.
-
ketas
tm512: so this laptop just has some screws loose
-
ketas
:p
-
topcat001
tm512: regarding your noise issue, I also use FreeBSD on some older machines, but use a Ubuntu live USB to check the hardware in such cases.
-
tm512
mason: it seems like the screw was supposed to be holding down something that covers the M.2 drive. a heat sink? it's entirely missing in my laptop
-
tm512
topcat001: the noises occur before the BIOS splash even shows, so I already know it's not OS-dependent
-
tm512
I was talking about trying Linux specifically in relation to this issue where picom causes my dmesg to be spammed with fault errors
-
tm512
still getting noises even with the HDD removed, though now they're different
-
tm512
ketas: so closely examining the video, it does seem like the noise is when the sound hardware gets initialized. or at least it coincides with the messages about hdacc/hdaa/pcm
-
tm512
hrm, can I blacklist the driver from even loading in order to test?
-
ketas
i think it's in
-
tm512
also, here's a video that much better showcases the noise though it's a bit more buzzy this time, compared to the first vid:
youtube.com/watch?v=0PB8YesP36Y
-
VimDiesel
Title: more ThinkPad noises - YouTube
-
ketas
iirc there is no way to disable built in module
-
tm512
this noise also plays when I wake the machine up from suspend, though nothing gets printed regarding the sound hardware
-
ketas
what the
-
ketas
!
-
tm512
I'll see if there are settings in the BIOS to disable the sound hardware entirely. might still play before the splash screen, but if it no longer plays while booting into FreeBSD, that narrows things down
-
ketas
but why use fbsd to fix it
-
tm512
I dunno what you mean
-
ketas
it does same in bios
-
tm512
what I'm talking about is preventing FreeBSD from initializing the sound hardware, see if that shuts it up. if it doesn't, then it probably isn't related to the sound hardware
-
topcat001
tm512: ah ok so the noise is an electrical issue it seems.
-
topcat001
tmiw: which DDX driver are you using in X?
-
topcat001
sorry tm512 ^^
-
topcat001
BTW even in Linux I sometimes get the fault errors, but they are very rare. Maybe one every couple of months.
-
tm512
pretty sure I'm using modesetting, though I did try intel without success
-
topcat001
which intel igpu is this again?
-
tm512
I dunno that I tried every combination of drm version and modesetting/intel though
-
tm512
it's a comet lake mobile iGPU, the CPU is an i3-10110U
-
topcat001
rule of thumb is old = intel, new = modesetting
-
topcat001
10th gen, ok
-
topcat001
most likely the bsd driver needs an update (not a useful comment sorry)
-
tm512
both Linux 5.10 and 5.15 came out a while after 10th-gen intel
-
tm512
and in this case, the 5.15 drivers seemed to be worse regarding the fault errors, at least on 5.10, for a while I wasn't dealing with any fault errors
-
tm512
but yeah, this is more than just a few, it completely fills up dmesg's buffer within like 10-15 seconds
-
topcat001
Ubuntu 20.04 LTS has kernel 5.15, for comparison
-
topcat001
It would be relatively quick to install on an external USB drive to check with some simple WM+picom
-
tm512
I was thinking Void Linux which has a much more vanilla kernel. I'm worried that there are a lot of confounding variables though, even though it sounds like FreeBSD tries to make the fewest number of changes possible to the Linux drivers in order to get them working
-
topcat001
cool
-
tm512
maybe I'll just have to try 15-CURRENT in order to get drm-61-kmod, though I don't really want to
-
tm512
so picom's xr_glx_hybrid backend doesn't produce the fault errors, though this is not optimal as far as performance goes
-
tm512
oh nevermind picom just didn't launch
-
tm512
have to specify --legacy-backends to get picom to use that backend, and when I get it to launch the fault errors show up
-
kenrap
btw, drm-61-kmod won't work with an Intel Arc GPU (or at least an Arc A770) since loading the i915kms module kernel panics for me, even when I already provided the correct firmware bins by hand. Don't get your hopes up there
-
tm512
this is a bit older than the Arc GPUs, I think
-
tm512
alright, well, this seems rather odd. I uninstalled 510, reinstalled 515, went to check it with both the modesetting and intel DDX drivers, both gave fault errors, so I moved back to 510, and the errors are no longer occurring even though nothing has changed
-
tm512
I am pretty worried that this laptop isn't doing too good
-
johnjaye
are you trying to revive an old laptop?
-
tm512
not really old. it's a ThinkPad E14 from 2019, I bought it as an upgrade from my previous laptop which is actually quite old now
-
tm512
wasn't prepared so I only caught the last bit of it, but here's that loud tone, one of the other sounds this laptop is making. though this one is less common. it plays from before the BIOS splash and continues playing until partway through the fbsd boot process as shown in the video:
youtube.com/watch?v=sK_A9MKgNOg
-
VimDiesel
Title: worse ThinkPad noises - YouTube
-
remiliascarlet
tm512: I believe the most vanilla Linux kernel is the one you can get from kernel.org.
-
tm512
remiliascarlet: but then you're stuck compiling from source
-
remiliascarlet
And?
-
tm512
and there's no need for me to do that when Void provides essentially vanilla kernel builds
-
tm512
especially pointless for some throwaway install just to test the i915 driver
-
remiliascarlet
The Linux distro I'm using is CRUX, so I already got used to having to compile my own kernel on every release, not even a big deal once you know your hardware configuration.
-
tm512
faced with the choice between compiling a huge piece of software from source and grabbing a binary that someone has already compiled, I'll generally take the latter
-
tm512
Void's Linux 5.15 package makes no modifications to the i915 driver, it's a good fit for this test
-
tm512
with the drm-510-kmod drivers, I would really like to know what makes picom cause the fault errors on some boots, but not on others. I'm also quite confused about how replacing 510 with 515, booting into 515, then downgrading back to 510 and rebooting seems to bring the system into a state where the fault errors don't happen
-
rtprio
how set are you in picom ?
-
tm512
as long as I'm using X11, quite set
-
tm512
I *suppose* I could try the TearFree option on the intel DDX driver, but in my experience I'm not sure that's ever done what it's supposed to do
-
tm512
at least in recent years, I get screen tearing even with TearFree turned on
-
rtprio
i will say, with configuration i've had to do a lot less horsing around with wayland
-
rtprio
i'm partial to sway, myself
-
tm512
I would prefer to actually figure out what the issue is instead of attempting to side-step it especially since I'm concerned that the fault errors are a manifestation of a hardware issue (along with the noises this laptop makes). I dunno if those errors are something that would be seen if the hardware was malfunctioning, though
-
rtprio
ah that noise is weird
-
tm512
I've got like 9 days left in the 30 day return period from the ebay seller, so I'm gonna have to do what I can to troubleshoot, and if there's nothing I can do I'm going to have to make an annoying decision
-
tm512
I don't want to have to return this. rather annoying process especially since this isn't just an envelope I can carry down to the neighborhood drop-box, and I'm pretty sure the seller doesn't have a replacement ThinkPad E14 they can send me, and I've got FreeBSD running fairly well on this thing, outside of needing wifibox and having these fault errors
-
tm512
but like suspend/resume? basically flawless outside of that seemingly common issue with GLX dropping hardware acceleration whenever there's a VT switch. just had to toggle the suspendswitch sysctl to sort that out, though
-
tm512
maybe I could keep the machine and get a partial refund for being sent malfunctioning hardware that might give out on me sooner than it otherwise would
-
tm512
I think I'm gonna try out 15-CURRENT w/ drm-61-kmod in a separate boot environment to see if that has any effect on the fault errors (I still don't even know what those are, tbh, or what effect they're having). I might also start pulling more hardware out of this thing to see if I can pin the noises to any particular component. clearly isn't the HDD
-
tm512
I'll take out the M.2 SSD, though first I'll need to clone my install over to a separate SSD which I'll probably just put in the now vacant 2.5" bay. I'm guessing I just clone the ZFS datasets over, but what about the bootloader. what's analogous to grub-install for FreeBSD's bootloader?
-
tm512
I could pull the wireless card and the battery as well
-
debdrup
You'll want to use gpart(8) to partition your disk before doing zpool create and subsequently zfs sending your datasets.
-
debdrup
Your partitioning will depend a bit on how your firmware is configured to boot, but it either involves GPT with UEFI ESP or GPT with UEFI-CSM.
-
debdrup
zfs-send(8) will make the transfer itself quite simple, at least.
-
tm512
kinda regretting that it took me this long to get aboard the ZFS train tbh
-
rtprio
tm512: do all OSes beep like that on boot?
-
tm512
rtprio: I've only had FreeBSD on this (well, Windows 11 was on it briefly, before I installed over it) but since the noises also occur during what seems to be POST and occasionally during the UEFI splash screen, gives me the impression that it's not related to the OS
-
tm512
I only booted into Win11 just to make sure the machine wasn't DOA, and I didn't get further than the part where it was demanding I bring the machine online and log in to a MS account
-
tm512
if I'm putting in a 2.5" SSD maybe I'll just install Linux first. hell, I could just pull the drive from my previous laptop, wouldn't even have to go through install/setup, I'd just have to configure picom to use glx instead of xrender (previous laptop is so old that it doesn't meet picom's GL requirements)
-
spmzt
I have a super weird error on pfctl inside the jail. apparently, my pf is still working and I got this error everytime I run: # pfctl -sr
-
spmzt
Assertion failed: (elems <= maxelems), function pf_nvuint_32_array, file /usr/src/lib/libpfctl/libpfctl.c, line 147.
-
lw
spmzt: that's a bug, you should file it at
bugzilla.freebsd.org
-
VimDiesel
Title: FreeBSD Bugzilla Main Page
-
spmzt_
I will, thanks
-
jbo
lw
-
hjf
having a bit of a problem with IPv6. i set up addresses on freebsd and on my machine, but i can ping my machine from freebsd but not freebsd from my machine
-
hjf
i don't have any firewall configured in the freebsd host... wth?
-
spmzt_
hjf: if you are sure that you don't have any firewall enabled, check if you recv the icmpv6 packet from your machine on your freebsd? (and if does it reply to your machine and the machine somehow ignore it?)
-
babz
dump the traffic on both hosts, check the routes
-
lw
jbo
-
jbo
lw!
-
lw
jbo: not to be rude, because i appreciate that you commit all my ports, but you could say your actual quesion rather than just saying my nick when you ping me :-P
-
jbo
lw, well I have no reason :p
-
jbo
#feelingLonely
-
hjf
ok tcpdump shows it receives the ARP request but doesn't respond
-
lw
jbo: do you want some ports to commit so you feel less lonely?
-
hjf
ff02::1:ff00:2: ICMP6, neighbor solicitation, who has fd10:c467:a267:1000::2, length 32
-
lw
-
VimDiesel
Title: 277017 – multimedia/libmpeg2: set LICENSE to GPLv2+
-
spmzt_
hjf: but not the icmpv6 echo?
-
babz
do you have a ll address ?
-
babz
ifconfig $IFACE inet6 auto_linklocal
-
hjf
sysctl net.inet6.icmp6.nd6_onlink_ns_rfc4861=1
-
hjf
-
VimDiesel
Title: 263288 – IPv6 system not responding to Neighbor Solicitation
-
spmzt_
-
VimDiesel
Title: 277093 – pf: Assertion failed: (elems <= maxelems), function pf_nvuint_32_array on stable/14 with RACK
-
Nixkernal
Question, i have installed VirtualBox after using it, some time gui's (from firefox to thunar) start to freeze (also on the screen) for more then 2minutes
-
Nixkernal
then everthing is laggy as hell, then normal again. After some time it starts to freeze again. I could trigger that espacially with qt-gui's
-
Nixkernal
it's FBSD14 with the amdgpu driver.
-
Nixkernal
has anyone else the same problem? When not loading the vbdrv-module everything is snappy again
-
jbo
lw, you're able to run factorio in wine?! :o :o :o
-
lw
jbo: can't everyone do that?
-
jbo
lw, factorio is the only game I care about these days and the only reason why I still boot windows sometimes. but has gotten rare because booting windows.
-
lw
jbo: it's working fine for me in wine-devel 9,2 (not in ports, patch in bugzilla)
-
lw
i had one complete system hang but since then it seems to be ok
-
jbo
lw, let me get back to you on that over the weekend or something
-
lw
jbo: just make sure you install d3dcompiler_47 from winetricks, wine's shader compiler can't compile Factorio's shaders
-
jbo
lw, testport just failed on 277020
-
lw
jbo: log?
-
jbo
lw, local build, have to copy pasta
-
jbo
-
VimDiesel
Title: tools/install-sh -m 644 include/windows.graphics.directx.direct3d11.idl /wrkdir - Pastebin.com
-
lw
that's odd. i'll try testport again later
-
jbo
that was on a 13.2-RELEASE jail
-
lw
i only support -current, but this error doesn't look release-specific
-
jbo
shouldn't we have a warning/error in the makefile if OS versions are restricted?
-
lw
i don't think this error is related to OS release, it's just weird
-
jbo
that I get
-
jbo
lw, same error happened on 14.0-RELEASE (just as info)
-
CorvetteZR1
i'm trying to run Flatout, it's free on gog right now. their nix version is basically just windows build packaged with old version of wine. when i try to run it, i get this error:
-
CorvetteZR1
wine: failed to initialize: libm.so.6: failed to map segment from shared object: Cannot allocate memory
-
CorvetteZR1
any ideas if there is a fix/workarond for this? or is it trying to do something freebsd just won't allow?
-
lw
jbo: i'll have a look later, feel more in a play games mood than debug ports mood right now :-)
-
jbo
lw, that is legit. I'll leave a note in the PR. no stress from my side.
-
lw
btw, Factorio did with with wine-devel 9.1 (which is in ports) so don't feel like you have to commit this just to play it
-
lw
s/did with/did work with/
-
johnjaye
lw: what tools do you use to debug something like that where it's a program on top of wine
-
lw
johnjaye: i've never had the need to debug something running under wine
-
johnjaye
ok. i don't know much about debugging on freebsd for that kind of thing.
-
lw
if i did need to do that, perhaps i'd start by seeing if WinDbg works under wine
-
lw
jbo: testporting wine-devel on -current now
-
lw
i don't have a testport script for 14 or 13, but if it doesn't fail maybe i'll make one
-
jbo
lw, in general, please also test for all currently supported -release versions when submitting port updates
-
jbo
(in general - if it's something that only works on -current then... you know the drill).
-
jbo
makes committer's life easier and your submissions will land earlier :)
-
lw
jbo: that's a lot more effort than you might think. like, to test mediaelch on 14 i'd need to create a whole X/Wayland environment
-
jbo
lw, not for testport
-
lw
testport != 'test a port'
-
lw
all it does it test that it builds, not that it works
-
jbo
hence I say testport and not test port ;)
-
jbo
note: if you are the _MAINTAINER_ of a port you are expected to also do runtime tests.
-
lw
well, you said 'test'...
-
jbo
true
-
jbo
s/test/testport
-
jbo
committers don't care about runtime issues (technically). that is the maintainer's job.
-
lw
i didn't see anything in the porter's handbook about this, it seems more reasonable to me to wait for users to report problems on odler releases, if there are any
-
jbo
which aspect are we talking about right now?
-
lw
runtime testing
-
johnjaye
i'd like to help out if possible. I've used Windbg but just for really basic things.
-
lw
like, i did not test mediaelch or sublime-music on 13 because i don't have a complete install of 14/13 sitting around just to do that
-
lw
if that's requirement to maintian a port... i will probably just not maintain ports :-/
-
lw
obviously if i was maintainer of something like Qt or glib then yes, i would do more testing and probably ask for exp-run before submitting patches
-
lw
but the amount of testing required can vary based on port, right?
-
jbo
-
VimDiesel
Title: Contributing to FreeBSD | FreeBSD Documentation Portal
-
jbo
> Build, install and test your port on as many platforms and architectures as you can.
-
jbo
"as you can" - I know what you're going to say ;)
-
johnjaye
so you have to have virtual machines or something right to do that?
-
jbo
everybody has a different solution/setup for that I think
-
jbo
also depends the ports
-
lw
jbo: i find this quite hilarious because the only port i took over maintainership of (rather than submitting as a new port) has been broken for months because no one can be bothered to commit a fix for devel/py-urwid
-
jbo
if it s non-GUI upstream with a built-in testing framework you can do a lot with testport
-
lw
if no one else cares about this, why should i...
-
jbo
lw, that is not the spirit we're looking for :)
-
lw
jbo: it's not the spirit i'm looking for either because i'd like my port to work
-
lw
but apparently we don't care if everything that depends on urwid is just broken?
-
lw
i mailed ports@ (twice) and python@ about this, no response
-
jbo
I cannot speak for python(@). I actually ran into an issue that would need some python patching which I wanted to ask you whether you'd be able to handle that :D
-
jbo
(platform detection crappery)
-
lw
that aside (but let me be clear that this whole thing has really soured me on maintaining anything, tbh), the way i see it is, it's not feasible for me to test my port on every architecture (i386, amd64, arm64, armv7, riscv64) x every release (13, 14, current), but if someone reports a problem on some release, i will look ingo that and fix it is possible
-
lw
i actually submitted this a month ago
bugs.freebsd.org/bugzilla/show_bug.cgi?id=276347 (trivial patch to mark the port as BROKEN since it is) and not even that is committed
-
VimDiesel
Title: 276347 – net-im/toot: mark as BROKEN since devel/py-urwid is broken
-
lw
so, idk, what is the right spirit here
-
jbo
wait, you're the maintainer of it?
-
lw
of net-im/toot, yes
-
jbo
can you update that BROKEN= message to specify the py-urwid version rather than "current"?
-
jbo
"Does not work with devel/py-urwid-X.Y currently in ports"
-
jbo
or something like that
-
lw
the version of py-urwid doesn't actually matter, the issue is that setuptools_scm is broken
-
lw
-
VimDiesel
Title: ⚙ D39288 devel/py-setuptools_scm: update to 8.0.4
-
lw
but someone could fix this for py-urwid specifically by committing the fix in
bug 274411
-
VimDiesel
274411 – devel/py-urwid Update to 2.2.x breaks several python packages
bugs.freebsd.org/bugzilla/show_bug.cgi?id=274411
-
jbo
I don't know the standard/requirements for BROKEN= values but personally I'd suggest putting a message in there referencing that diff or whatever. but I'll ask somebody who knows.
-
lw
tbh i would rather someone would fix urwid, i don't understand how there's been a patch for this serious bug since November and no one cares
-
jbo
I currently don't have enough experience to mingle with python@. If it would be a "person" maintainer I wouldn't mind looking into maintainer-timeout but python@ might have different ideas for reasons I am not aware of.
-
lw
i thought adding a BROKEN= tag would be a trivial change in the mean time, not something that requires a review by itself
-
jbo
BROKEN= does not require a review on your end but I am still under mentorship. My belt is being loosened lately but I have not been given permission to touch something like that without mentor approval yet :)
-
jbo
for example, the wine-devel PR I could commit without mentor review by now
-
jbo
lw, so you e-mailed python@ about this?
-
jbo
uuuf, 274411 is not even that big of a "patch"
-
jbo
unfortunately, I don't know the python ecosystem well enough to call a shot here. I'd try to get in touch with python@
-
lw
-
VimDiesel
Title: devel/py-urwid and devel/py-setuptools_scm (PR# 274411)
-
jbo
"stymied" holy f*
-
jbo
new word day
-
jbo
the TL;DR is that I'll not interfere with python@'s business.
-
jbo
I can ask around tho
-
lw
that's fair, i don't expect you to fix this. but you can see why this makes me laugh a bit when someone asks me to test my patches on 3 different freebsd releases, right? :-)
-
Demosthenex
jbo: didn't you do stumpwm?
-
jbo
Demosthenex, nope. I never wrote a single line of lisp. I'm a perl guy :p
-
Demosthenex
PERL!
-
jbo
Demosthenex, and I'm a user of bspwm
-
Demosthenex
must have been another j name
-
Demosthenex
i was chatting with the maintainer of stumpwm port ;]
-
jbo
lw, well the testing stuff should be unrelated to this, tbh. but I get your point of course. I just think it's irrelevant :p
-
lw
Demosthenex: that's jrm@
-
jbo
Demosthenex, that would be jrm
-
jbo
lw, do you feel like using your anger for something helpful? :D I'd have a little something that needs fixing and I'm not a python guy.
-
lw
jbo: sure, but i need more vodka + a cigarette first, feel free to type your question in the mean time :-)
-
jbo
lw, devel/emscripten.... upstream ships with emrun.py and that does platform detection which currently only handles Windows, Linux and MacOS. I did quick-n-dirty just default to LINUX=True yesterday but that is not proper and they apparently do gpu checks with glxinfo and all that crap.
-
» jrm waves to Demosthenex
-
Demosthenex
yay!
-
jbo
-
VimDiesel
Title: emscripten/emrun.py at main · emscripten-core/emscripten · GitHub
-
Demosthenex
i appreciate your time packaging something so exotic ;]
-
jbo
the secret is that usually (!) the exotic stuff is much easier to maintain because it has less bloat :p
-
jbo
-
VimDiesel
Title: files « chromium « www - ports - FreeBSD ports tree
-
Demosthenex
jbo: yeah, stumpwm should be one whole single binary file ;]
-
Demosthenex
given common lisp programs are typically distributed as a image file
-
jbo
I did not mean to diminish jrm 's efforts of course!
-
jrm
The StumpWM port/package is back to a single bundled binary. For a few years I switched to a tiny package that had a few deps (SBCL and a few CL libraries), but dealing with the FASL stuff was a pain.
-
lw
jbo: ah i do not know anything about emscripten
-
lw
isn't that llvm thing?
-
jbo
lw, yeah but that's irrelevant. emrun just spawns a webserver to serve an HTML file generated by em++
-
jbo
lw, emscripten generates webassembly from anything that has an LLVM frontend
-
lw
jbo: well, you know the Internet is only supported on three platforms nowadays (Windows, macOS, Linux), so it sounds like they did it right
-
lw
(do i seem bitter about this? i am)
-
jbo
alright, I'm gonna stop bothering you for now :)
-
lw
i would help but i know absolutely nothing about emscripten, sorry
-
lw
if you have more obscure C++ questions i can probably help with that
-
jbo
you don't have to - but it's totally fine :)
-
jbo
lw, yeah, I am trying to use coroutines for the first time :D
-
lw
co_<3
-
lw
jbo: testport showed the same issue with emulators/wine-devel 9.2, odd, i will investigate this later
-
dwho
Hello , I have crash when I want to use Pluma with MATE desktop , on AMD64
-
Demosthenex
what kind of crash?
-
jbo
lw, ack
-
dwho
Demosthenex: I don't know but I have a core dump
-
Demosthenex
i mean did the WM crash, did X crash, did the whole kernel crash and reboot?
-
dwho
But I don't know to use this core file.
-
jbo
you'd typically open it in the corresponding debugger (lldb,gdb, ...) along with the binary (ideally with debug symbols) and start investigating :D
-
dwho
Demosthenex: No , when I clic on , it's await and avort and I have a coredump, Pluma.core
-
dwho
jbo: Sorry , I don't know this, I'm beginner on freebsd. But I want to learn to make this.
-
Demosthenex
dwho: ok, so youhave X11 running, and MATE desktop up. you try to launch and application (pluma) and it coredumps
-
Demosthenex
generally you need to be a C developer to read a core dump, but you should certainly try to open it and see if there's an obvious cause
-
dwho
Demosthenex: Yes
-
dwho
I read the Pluma.core with ghex but I don't to extract info.
-
Demosthenex
you need a debugger, not hex dump
-
dwho
I haven't the knoledge to exploit core.
-
Demosthenex
-
VimDiesel
Title: Chapter 2. Programming Tools | FreeBSD Documentation Portal
-
Demosthenex
-
VimDiesel
Title: Chapter 2. Programming Tools | FreeBSD Documentation Portal
-
Demosthenex
dwho: that's a place to start. also check your logs in /var/log, the messages file may have something useful
-
dwho
Thanks, I read this and I learn.
-
Demosthenex
having a single failed app is an easy place to start
-
dwho
Demosthenex: Yes I read /var/log/message and I have "exited on signal 11 (core dumped)"
-
Demosthenex
progress!
-
dwho
I learn to will have the knowledge to exploit coredump, thanks fpr help.
-
jbo
lw, you're running jellyfin, right?
-
SponiX
Does Plex have hardware acceleration with FreeBSD and a Nvidia 3060 GPU?
-
dwho
Hello I want to use wireshark without root but I use a user with wheel group and
-
dwho
I modyfing /etc/devfs.conf with append own bpf* root:network and perm bpf* 0660
-
dwho
but my user don't capture with wireshark ?
-
beowuff
@SponiX I believe my Plex box has acceleration with an Nvidia card. Not the 3060, though. I'll double check.
-
V_PauAmma_V
dwho, is your user a member of the "network" group?
-
beowuff
Yes, my plex box has it enabled.
-
SponiX
beowuff: thanks, I appreciate you checking for me. I am still on the fence about migrating from Linux to FreeBSD
-
beowuff
The FreeBSD plex server lags behind when Plex is updated a few days, but the devs maintaining the port seem to be on top of things pretty well.
-
beowuff
I haven't had issues.
-
MarinosKK
hello
-
MarinosKK
has anybody managed to compile LocalAI in freebsd ?
-
meena
wow, csh might get functions, finally:
tcsh-org/tcsh #77
-
VimDiesel
Title: Introduce 'function' built-in. by Krush206 · Pull Request #77 · tcsh-org/tcsh · GitHub