05:56anholt: RSpliet: I don't think an intel atom board would be much use for testing.
06:03anholt: imirkin: what kind of power does that imac mini take?
06:05anholt: so close. https://gitlab.freedesktop.org/anholt/mesa/-/jobs/17967715#L1783
06:05anholt: nouveau drm has probed. wonder why we're not getting novueau
06:15anholt: nvc0_screen_create:1084 - Base screen init failed: -19
06:15anholt: oh, this is firmware isn't it.
06:16imirkin: anholt: most likely ... you can check dmesg to see if it didn't init properly
06:16imirkin: anholt: not sure precisely what kind of power, iirc there's a power brick + DC power of some sort
06:17anholt: imac seems really likely to come in under 15 watts
06:17imirkin: you know which thing i'm talking about right?
06:17anholt: no clue
06:17imirkin: it's the little mini-pizza box thing
06:17imirkin: like that. but 10 years older.
06:17anholt: I interacted with mac mini in the first iteration of a thing with that name.
06:18imirkin: anholt: https://www.ebay.com/itm/124967454184?hash=item1d18a405e8:g:J-AAAOSwiyRhcwCi
06:19anholt: https://www.amazon.com/Compatible-Apple-Supply-Adapter-Charger/dp/B07LB52QHS slightly over 15w.
06:20imirkin: wow... https://support.apple.com/en-us/HT201897
06:20imirkin: all detailed
06:20imirkin: 13-15W - 110W
06:20imirkin: so _slightly_ outside your power budget
06:21anholt: the sharp drop on transition to m1 there :)
06:21imirkin: anholt: as for the firmware issue, you just need stuff in /lib/firmware/nvidia/nv12b (or gm20b or whereever it's shipped)
06:21imirkin: anholt: if you built nouveau in, then the firwmare has to be added to the kernel too
06:22imirkin: i.e. it just needs to be available whenever nouveau loads
06:22anholt: yeah, I'll probably need to do a build as a module, so we can load late enough
06:22imirkin: you can also do CONFIG_EXTRA_FIRMWARE
06:22anholt: I really like how msm can load the gpu firmware late
06:23imirkin: (not highly recommended, but just fyi about it existing)
06:23imirkin: patches welcome :)
06:23anholt: Yeah, I don't think we should dump 524k of tegra firmware into everyone's tftp payload.
06:24imirkin: more of an fyi to get you going
06:24anholt: yep. there are definitely a few hacks here
06:25anholt: (like a hand-built kernel still because there's no way I'm debugging this all through container rebuilds)
09:40RSpliet: anholt: Sure. That atom board is essentially a Mac Mini with a shittier processor but same GPU. The atom 330 only has an 8W TDP (25W for the Mac Mini Intel P7350). I think the total system still came in around 20W.
09:41RSpliet: IIRC that gen of Atom was really bad at DVFS
09:46RSpliet: Oh no, it's 20W idle, over 40W under load O.o
16:42karolherbst: anholt: so.. for CI the main thing is I don't really have much time. I do have hardware though which I could host at home (but super unreliable, because.. ISPs are crappy and everything)
16:42karolherbst: I planned to follow mupuf guide and do at least post merge testing or sometihng
16:42karolherbst: but not sure when
16:45karolherbst: RSpliet: running propber CI on that hw still takes ages though
16:53karolherbst: imirkin: btw.. I don't think that the vbios patch is correct
16:53imirkin: pretty sure it is.
16:53karolherbst: soo.. let's assume you call nvbios_read with bios, 0xff and 0x1
16:54karolherbst: then it checks 0xff + 1 for OOB
16:54anholt: karolherbst: if you wanted to send a batch of suitable hw my way, I should be able to get it up as pre-merge testing within a week or so. or I can go order some.
16:54karolherbst: which 0xff clearly isn't if the size is 0x100
16:54karolherbst: there is an implicit -1 hidden in the >=
16:54karolherbst: size is just the "size" of the access in byes
16:55karolherbst: anholt: I can ask nvidia to send you tons of it :D
16:55karolherbst: mostly tegras only though
16:55karolherbst: in case you think this would be helpful I can ask them
16:55imirkin: karolherbst: check my email
16:55anholt: karolherbst: tegra is what I can take in this setup, basically. "<15w and I can find a poe splitter to plug it into"
16:55imirkin: karolherbst: where i gave the proper example
16:55anholt: karolherbst: you could ask, or I would love an introduction if you have a contact.
16:55karolherbst: anholt: yeah.. that was my plan as well. I have a jetson nano at home
16:56karolherbst: anholt: yeah, I will have a meeting next week about jetson with nvidia, but I will write an email before that
16:56karolherbst: the reason we discuss mesa CI anyway is, because it caused fedora blocker bugs twice in a row :D
16:57karolherbst: (with nvidia that is)
16:57karolherbst: but they don't want to host it themselves...
16:57karolherbst: anyway, so much for background
16:57anholt: context helps!
16:58karolherbst: anholt: is 15W a hard limit?
16:59anholt: I think there's some higher end POE that can go higher, but 15w is easy at least
16:59anholt: (and it's what this switch can do)
17:00karolherbst: mhhh... mhhh
17:00karolherbst: not enough I guess
17:00karolherbst: the nano itself already needs 15W and that's like the lowest end.. let me check
17:01karolherbst: yeah... 4A@5V max
17:01anholt: tk1's 15w tdp it looks like
17:01karolherbst: well.. normally it's good enough
17:01karolherbst: 3A is also good enough for the nano
17:01karolherbst: but it can draw more
17:01karolherbst: and for the tk1 it mostly depends on having a PCIe card or not
17:02karolherbst: soo.. if you are fine connecting devices which can potentially draw more than 15W then that's fine
17:02anholt: right, tdps are for no addons, but for this setup we're talking about no peripherals.
17:02karolherbst: I know that 10W isn't enough for the nano
17:02imirkin: karolherbst: imagine you have a bios of size 4, and you're trying to access a 4-byte thing at offset 0
17:02karolherbst: and under high load it crashed due to not enough power
17:02imirkin: karolherbst: 0 + 4 == 4. so the "invalid" check has to be 0 + 4 > 4
17:03karolherbst: imirkin: you read byte 0. 1. 2 and 3
17:03karolherbst: but still
17:03imirkin: the current check is >=
17:03imirkin: it needs to be >
17:03imirkin: the current check disallows reading the last byte
17:04karolherbst: ohhh, right.. I thought the wrong way around
17:04karolherbst: *was thinking
17:05karolherbst: I thought the patch is limiting it by another byte :D
17:06imirkin: yeah, that's what's confusing -- it's the condition for the _error_
17:06karolherbst: I replied to the patch
17:11karolherbst: anholt: anyway, what are you using to control PoE? custom scripts tight to the switch or something else?
17:12anholt: (WIP docs, obvs. questions appreciated so I can fill them out some more)
17:12karolherbst: I do have a netgear switch here :D not even sure it has an API besides doing shitty HTTP calls
17:12anholt: if it's "managed" then it probably has snmp
17:12karolherbst: probably there is something, dunno
17:12karolherbst: anholt: yeah it is
17:13karolherbst: I think...
17:13anholt: (note: making assertions about networking here not actually backed up with any relevant experience)
17:13karolherbst: might be "stupid" managed
17:13karolherbst: netgear GS310TP here
17:13karolherbst: it does have 30W per port though
17:13imirkin: if there's a web ui, there's snmp
17:13karolherbst: imirkin: you'd think that...
17:13imirkin: at least on every switch i've seen
17:14anholt: https://community.netgear.com/t5/Smart-Plus-and-Smart-Pro-Managed/GS310TP-snmp-poe-disable/td-p/1796094 nice
17:14karolherbst: these days you also have non managed ones wiht web UI
17:15anholt: my networking friend was like "you don't really want to use snmp, for configuring network you really want to use some combination of this collection of python libraries"
17:15karolherbst: anholt: that's why I have a machine standing here which would do that
17:15karolherbst: with two network cards
17:15imirkin: nobody wants to use snmp :)
17:15karolherbst: worst case... I have some docker containers managing the second network :D
17:17karolherbst: but this switch is strange
17:17karolherbst: it can only do 55W in total for Poe...
17:17anholt: yeah, finding lots of total poe was one of the hard parts. thus the big previous-gen cisco.
17:18karolherbst: yeah.. I wanted something cheap
17:18karolherbst: paid like 100€ for that one
17:19anholt: XW7BXYgHucaAsNyxuCgGLsAyy9aUKo3Tzi6c0F8jW2Dq%252Fi5cvzzyOjW9meI%252FMYLf47rE55XEuaReOOnuCPhQ8cIfUwiqiMHB%252FekVTBlu%252Bp%252BebF5ntfzc9Lo2tdrSpUSqfMMxwrC%252FTkNNJT%252BWkrZ8bQsb4epgF2hU%252FmvAmz%252BKYLaDR6dtW5mgW00fPPBiZxljMXi%7Cclp%3A2334524%7Ctkp%3ABFBM3OXF0dFf <-- basically what I'm on, one with a 750w power supply
17:19karolherbst: anyway.. having a nano and the tk1 one and my plan was to just install whatever mupuf tells us to and "it should work"
17:19anholt: eep! sorry for spam.
17:19karolherbst: anholt: 750W, but only 15W per port? sound slike a 64 port beats
17:19anholt: 48. I think there's some overhead allocated too.
17:20karolherbst: well.. the switch itself also needs power
17:20karolherbst: but given that my switch is 8 port and 30W _per_ port, but only 55W total, yours might also allow more per port
17:22karolherbst: wow... ciscos page is as shitty as my opinion about them
17:23karolherbst: "Each of the PoE ports on the Catalyst 2960 switches deliver up to 15.4 W of PoE." okay....
20:36Lyude: imirkin: yep! if you need my attention on something feel free to poke me via email or irc
20:38ccr: PoE = Poke over Ethernet
20:38imirkin: still waiting on this one: http://bash.org/?4281
20:39ccr: I remember headlines from years (could be a decade now) about a company that was developing "smell over internet" or so
20:39imirkin: uhh ... smell-a-vision?
20:39imirkin: i thought that was a SNL thing
20:40imirkin: or something along those lines
20:40imirkin: scratch & sniff
20:41ccr: one can only imagine the possibilities for hacks/attacks on such technology :P
20:41imirkin: wow, i didn't realize these things were real
20:42imirkin: "audience members in the balcony complained that the scents reached them several seconds after the action was shown on the screen"
20:42imirkin: making the sound "show up" at the same time across a whole movie theater is actually a surprisingly difficult problem. smell must be doubly so.
20:43ccr: I'd be willing to bet that some day someone will get the idea of combining such thing with AR/XR/VR .. assuming the current AR/XR/VR hype survives long enough.
20:44imirkin: "Current obstacles of mainstream adoption include the timing and distribution of scents, a fundamental understanding of human olfactory perception, the health dangers of synthetic odours, and other hurdles."
20:44imirkin: so ... yeah. other than that, it's almost there :)
22:26anholt: karolherbst: yeah, looks pretty solidly like this switch can do 30w with a fancier splitter.
22:26anholt: good news: more hardare support. bad news: more hardware support.
22:55karolherbst: anholt: what do you mean by fancier splitter?
22:55karolherbst: with its own power supply or something?
22:55anholt: poe+ (.at rather rather than just .af)
22:56karolherbst: ohh you meant in general
22:56karolherbst: I thought with your switch
22:56karolherbst: yeah.. you can do way more over poe if you really want to
22:56karolherbst: 100W or something?
22:57karolherbst: my netgear one does 30W as I mentioned
22:57HdkR: poe++ is 100w :D
22:57karolherbst: yep :P
22:58karolherbst: W per port isn't the huge issue overall
22:58karolherbst: overall power is a problem
22:58karolherbst: so in the end it gets cheaper to buy few smaller switches than a 2kW monster
23:01HdkR: At least microtik and unifi have some nice PoE switch options these days if you do want to go that route
23:02karolherbst: HdkR: the huge issue is just, that with the devices we discuss here, you need a poe splitter for each anyway :(
23:02karolherbst: or at least _something_
23:03HdkR: Right, they don't support PoE
23:03karolherbst: although there are ways to get poe support the jetson, just not at 48V
23:04karolherbst: huh.. there are also 48V hats...
23:05HdkR: oh hah
23:05karolherbst: or smaller modules like this one: https://www.iotamy.com/20W-PoE-Module-for-Jetson-Nano
23:05HdkR: I guess you can't slap one on a Xavier though
23:05karolherbst: but that's just a splitter
23:06HdkR: Might as well as just buy a regular splitter at that point