00:58 mbrost: what going with amdgpu - Intel's CI failing build the step: https://patchwork.freedesktop.org/series/175390/ a little annoyed as this 2nd issue this week amdgpu failing the build
06:54 tzimmermann: airlied, do you have an error message for the broken drm-misc-next PR? i build the PRs before ending them and didn't get an error
07:17 tzimmermann: airlied, is it this build problem you're seeing? https://lore.kernel.org/dri-devel/20260929-drm-fix-of_get_bridge-build-regression-v2-0-6da431d8f180@bootlin.com/
07:29 lucaceresoli: mripard: I see, thanks for letting me know, and see you there
08:03 tzimmermann: lucaceresoli, hi. what's the status of https://lore.kernel.org/dri-devel/20260929-drm-fix-of_get_bridge-build-regression-v2-0-6da431d8f180@bootlin.com/ ?
09:10 lucaceresoli: tzimmermann: all the patches fixing regressions are applied to drm-misc-next
09:11 lucaceresoli: tzimmermann: patches 5-6 are not applied, they need v3, but they are improvements, not fixes
09:21 javierm: tzimmermann: the buffer sharing thing was a rabbit hole :)
09:49 airlied: tzimmermann: yes that one I think all the patches were in misc-next when I looked
09:50 airlied: agd5f: ^ mbrost amdgpu build fail please check
09:52 tzimmermann: airlied, but then your build should work (?)
10:58 tzimmermann: lucaceresoli, thanks. is there anything else about that work that might break the build? i got an error report from airlied about a missing of_get_bridge and i'm still confused where that comes from
10:59 tzimmermann: javierm, i'd assume this problem will come back from time to time
10:59 lucaceresoli: tzimmermann: no breakage AFAIK
11:00 tzimmermann: ok, i see :/
11:01 lucaceresoli: tzimmermann: airlied: what's the error? Do you have an error msg to share or something?
11:01 tzimmermann: i don't, that's my problem :)
11:02 javierm: tzimmermann: yeah, agreed
11:03 lucaceresoli: tzimmermann: uh? There is no error? Or there is an error but no message/log?
11:04 tzimmermann: dave reported a build error, but not the error message. and now i'm confused about what it could be
12:45 kisak: Asking a dumb question, is MESA_EXTENSION_OVERRIDE wired into mesa Vulkan drivers? Specifically pondering if MESA_EXTENSION_OVERRIDE="-VK_KHR_shader_abort" is functional or not.
12:49 kisak: easy enough to test later.
13:11 dj-death: kisak: I don't think it is
13:12 dj-death: kisak: it's just a GL thing
13:41 agd5f: airlied, mbrost should be fixed. I reverted albert's KUNIT changes
13:59 Ristovski: MESA_EXTENSION_OVERRIDE indeed is GL only
14:41 zmike: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/44863
14:43 alyssa: 🍿
14:45 alyssa: zmike: The amount of CO2 emitted to generate that is surely less than the CO2 than the CO2 from building/testing all the deleted code for the next forever, so from an ethical perspective---
14:46 zmike: the amount of mental suffering I endured was far less than it would've been to do it manually
14:46 zmike: so from an ethical perspective...
14:46 linkmauve: Ow, that means we’ll have to maintain a separate branch for PowerPC support? :/
14:47 zmike: or maybe just use a computer that is not older than alyssa
14:47 alyssa: hallo :-)
14:47 alyssa:waves innocently
14:47 linkmauve: And here I just started a few months ago a new driver for a GPU found only on PowerPC…
14:52 psykose: which one
14:53 linkmauve: The Nintendo Flipper.
14:53 linkmauve: As found in the GameCube, Wii and Wii U.
14:54 linkmauve: All three being big-endian.
14:54 karolherbst: I'm kinda on the edge there in _general_, but to everybody that wanted to fix big-endian code I always made the same suggestion: rip it all out and start from scratch
14:55 karolherbst: and deleting it all is the same path whether we want to delete or properly support big-endian
14:55 karolherbst: might not have to go _that_ far, but the format code needs a full rewrite
14:55 linkmauve: People have been fixing r300 on PowerPC too recently.
14:56 karolherbst: the "let's reverse the channel order" approach was very naive and it falls apart once you hit packed formats, which one does with the few relevant uses cases on BE: VNC
14:57 alyssa: zmike: also full disclosure, when you said you were going to do this at XDC i thought you were shitposting
14:58 zmike: you should know better than that
14:58 zmike: the best shitpost always takes it to the limit
14:59 karolherbst: linkmauve: yeah and on BE systems one can simply use the older mesa version, and a newer version only gets you one think: regressions. The fixes can be cherry-picked. Maybe there should be a big_endian branch for fixes.. dunno
14:59 karolherbst: 26.3 will have BE support
14:59 karolherbst: and that's going to be supported for a while
15:00 linkmauve: karolherbst, no, older Mesa versions were broken too, unless you mean very-old-and-thus-impossible-to-build-with-modern-toolchains, bugs are getting fixed.
15:00 karolherbst: yeah I mean.. I was working on fixing big-endian too at some point in my life
15:00 linkmauve: At least upgrading from 24.something to main let me use my G4 iBook fine nowadays.
15:01 karolherbst: and I've concluded that ripping it all out is the fastest path to proper big endian support
15:02 linkmauve: karolherbst, in how long will it get proper support, after ripping it out?
15:02 karolherbst: probably never
15:02 linkmauve: My best guess would be never again, as people would push against it ever being reintroduced.
15:02 karolherbst: it kinda depends..
15:03 karolherbst: I think if you do it properly, the maintenance burden will be lower
15:03 karolherbst: the entire attempt started off from wrong assumptions
15:04 karolherbst: but then again.. on those old machines using newer mesa isn't necessarily gaining you anything. So we could also just do 26.3 for a while and then mesa-be-edition which is just 26.3 with even more fixes
15:05 linkmauve: Bug fixes in common code is already a thing, plus it means the whole thing will continue to build fine without also requiring older versions of a lot of things.
15:06 linkmauve: 26.3 might be fine for a while, but will it continue to be maintained in ten years? Let alone in one?
15:07 karolherbst: nobody is going to run BE machines in 10 years
15:07 karolherbst: I get why people have this sentiment about BE, but it's a dead architecture for anything GPU related
15:08 linkmauve: I don’t see why this would be different from today.
15:08 linkmauve: My Wii won’t magically grow a little endian CPU.
15:08 karolherbst: yeah, but it's going to be fine using mesa as it is today + a handful of more fixes
15:09 karolherbst: like what would the benefits of main on that device? regressions and some fixes? Might just pick the fixes and have a be branch
15:09 karolherbst: BE users could still report things, and maybe somebody fixes something BE specific there
15:09 linkmauve: I don’t think I can keep up with backporting every fix ever.
15:10 karolherbst: I don't see how most fixes (99%) are going to be relevant to those platforms
15:10 karolherbst: I honestly don't think it's going to be much work. Gallium already sees little actual development, and most fixes are more driver related.
15:11 linkmauve: I don’t expect to sift through all commits finding the 1% relevant.
15:11 karolherbst: git log on the r300 driver should give you all of them
15:11 karolherbst: might just pick all there - gallium API changes
15:12 karolherbst: but we can also keep it if nobody minds
15:14 linkmauve: I think that would be my preferred path, and we can still remove some bits and redo them properly if needed.
15:15 karolherbst: yeah.. the format handling really needs some deeper thoughts on how to solve that
15:15 karolherbst: I think anything done properly there will also make the code less messy overall
15:16 alyssa: karolherbst: zmike: In case you were wondering why we had the governance discussion, it's for stuff like this (((:
15:16 zmike: I wasn't wondering
15:16 zmike: I'm an all-rounder anarchist
15:18 karolherbst: alyssa: I do think that if we'd have somebody that formally collects all the opinions on such a topic and presents it to everybody (or makes a decision in a group we all trust) is a good idea anyway. I have many thoughts on this, though I also don't know if I'd wanted to make a _formal decision_ on that myself for... reasons
15:18 alyssa: Yeah
15:30 MrCooper: karolherbst zmike: really sorry to bring this bad news, RHEL supports s390x which is big endian, so dropping big-endian support from Mesa isn't gonna fly
15:30 karolherbst: there is no automatic "RHEL needs this" to "mesa has to support this"
15:31 dwfreed: RHEL is welcome to pay people to continue maintaining it
15:31 alanc: Solaris still ships Mesa for SPARC, but I wouldn't demand you support BE just for us
15:32 karolherbst: yeah.. and as I said: if people really need this, we can have a big-endian branch, even upstream
15:33 linkmauve: MrCooper, which GPUs are commonly used on s390x?
15:33 glehmann: probably just llvmpipe
15:34 karolherbst: yeah.. it's llvmpipe for VNC mostly
15:35 MrCooper: yeah, no HW acceleration
15:35 karolherbst: reason I've looked into big endian was, that packed formats were broken in that use case, because apparently with a 16 bit VNC connection you get RGB565 or something wild
15:35 karolherbst: and that was broken
15:37 linkmauve: So far I’ve mostly used waypipe, but from BE to BE, as the endian swapping helper didn’t work correctly.
15:37 linkmauve: I should test rgb565 too someday, but getting clients to use that isn’t super easy.
15:38 karolherbst: yeah...
15:38 karolherbst: 16 bit VNC will
15:38 MrCooper: to be clear, I'm no longer on the team which handles Mesa for RHEL, I'm just pointing it out
15:40 alyssa: for some context, we had a discussion at XDC about "how do we handle political issues in Mesa, particularly around boutique platform support? (hardware or software)"
15:41 alyssa: because usually someone wants to support XYZ and someone else wants it gone because of support burden and..
15:41 alyssa: we don't really have a great way of resolving those conflicts except through piles of burnout-inducing gitlab flaming
15:42 alyssa: I don't think either the maximalist (support all the things always!) or the minimalist (delete anything that's not Pantherlake) approaches are viable.
15:43 alyssa: I think Mesa has been doing a reasonably good job striking a balance in recent years, but with a .. considerable interpersonal cost to get there.
15:44 alyssa: https://indico.freedesktop.org/event/12/contributions/577/attachments/381/547/mesa-governance.pdf
15:45 karolherbst: that workshop was very constructive and I want to thank everybody that participated there as well
15:50 jenatali: +1
16:44 lumag_: For the BE support, I can repeat what I wrote in the MR. Debian/s390x is a BE thing, which uses Mesa (llvmpipe). So it's not just killing 'r300g on Macs which stopped to be produced before some of the developers were born'.
16:45 lumag_: ok, I see s390x was already mentioned
16:46 dwfreed: people who run s390x are welcome to pay for people to maintain it; I even know the head of the open source program office at IBM for s390x, I could ask her about it
16:47 lumag_: mupuf, eric_engestrom: I got a bit stuck on the gfx-ci/firmware side. You've bumped the linux-firmware srcrev to get newer navi10 firmware, but now a630 workaround is somwhow stuck because the job fails on navi10.
16:53 mupuf: lumag_: do you have a link to the failing job?
16:53 lumag_: mupuf: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/111638468
16:55 mupuf: looks like the dut needs a cache reset
16:55 mupuf: will do in a second
16:57 lumag_: hmm, thanks
16:58 lumag_: mupuf: if it's a false alarm, I'm sorry, just looked like a conincidence (your bump hadn't isn't a part of mesa)
17:06 mupuf: lumag_: yeah, I know, the issue is that deleting some containers takes forever on this machine. Just need to clear the cache
17:10 CounterPillow: As someone who hates bug endian and the people who somehow think it's the One True Way To Order Bytes rather than that being an artefact of whatever system of notation they use, I think the nuclear MR approach to starting discussions is better at eliciting panicked responses than nuanced attempts at finding solutions because it lacks a problem statement.
17:11 CounterPillow: i.e., maybe edit the opening post to add a justification
17:12 dwfreed: "bug endian" freudian slip? :D
17:13 CounterPillow: intentional pun ;)
17:19 CounterPillow: Like if the main point of contention is that CI time is wasted to fail tests on platforms nobody uses, then just don't allow BE runners in CI without some corporate commitment of maintenance signed in blood. The hobbyists won't mind, they are going out of their way to use broken stuff recreationally.
18:03 tzimmermann: zmike, karolherbst, MrCooper, same for suse. we ship s390x, which uses BE
19:30 CounterPillow: next zmike troll PR: removing all of OpenGL (Apple said it's deprecated)
19:33 Company: the trick with BE is to keep it compiling, nobody is gonna use it or find out it doesn't work - same with 32bit
19:34 Company: if your CI is too good, they will also run it and then complain if it finds something
19:34 Company: so the trick is to disable those tests in advance with a "doesn't work on BE yet", then nobody finds out
19:35 jenatali: From my perspective, "keep it compiling" isn't enough. It imposes a tax every time someone touches something where endianness matters, where most people don't care and can't really validate the result of that thought. So people have to pay attention and care but still break it anyway
19:36 Company: that assumes anyone notices when it breaks
19:37 jenatali: I mean the discussion here is that there's apparently people that care
19:38 Company: no, there's people who ship it
19:38 Company: that doesn't mean there's people who run it
19:39 dwfreed: And just reply to bug reports with "Patches welcome" :>
19:40 Company: I learned that from keithp 20 years ago when he said something like: "if you want to remove an X extension, you subtly break it and if 3 years later nobody has filed a bug you can remove it"
19:40 jenatali: Ah yes, the scream test
19:40 Company: (don't remember if it was 3 years or 5 releases or what he said)
19:42 Company: GTK gets bugs for 32bit and BE issues only when Debian runs the testsuite as part of the build
19:42 Company: others like Fedora and Suse file issues only about compilation errors
19:43 Company: but nobody ever complained that the whole dmabuf fourcc situation is a mess on big endian
19:44 Company: because VkFormat is host-endian and fourccs are little endian
19:44 Company: and half the code I've seen maps that correctly and the other half just treats both as host-endian
19:45 Company: in the larger ecosystem I mean, not Mesa in particular
19:49 dcbaker: Company: Funny, when he told me that like 20 years ago he told me to break it completely :D
19:51 airlied: dwfreed: we are maintaining it
19:51 airlied: RH does pay someone to fix s390x bugs in mesa
19:52 airlied: there's someone trying to fix one right now
19:53 airlied: zmike: I've got my claude generated replace zink with angle MR nearly ready :-)
19:53 zmike: airlied: do it
19:53 zmike: free me from this flesh prison
19:54 airlied: then we should merge gfxstream over virgl, oh wait someone already got away with that
20:00 dcbaker: Let's just delete Gallium. Its not like it provides any value over using N-on-VK layers anyway
20:08 karolherbst: that's the secret plan of shiva
20:16 mbrost: agd5f: thanks - Intel CI is up and running again
20:23 dwfreed: airlied: great! apologies for being a bit snarky, but I've had some experiences where that wasn't the case
20:51 airlied: dwfreed: we don't care about BE use-cases outside of llvmpipe on s390x though
20:55 dwfreed: that's totally fair
20:55 dwfreed: only maintain what the customers pay you to maintain
21:01 mareko: an important subject for shiva will be CPU-bound games, i.e. any games where CPU load demand > GPU load demand, so all games where the settings are sufficiently low for a GPU, not strictly low per se
21:24 dcbaker: karolherbst: I'm out of the loop, what is shiva?
21:24 dcbaker:hasn't had a chance to catch up on XDC yet
21:24 karolherbst: dcbaker: something Faith was cooking up to play around with a vulkan version of gallium, but different
21:25 dcbaker: ahhhh, right. I hadn't connected the shiva name to that
23:07 mareko: any increase of CPU overhead may make Mesa less attractive for cases where an alternative (non-Mesa) driver exists
23:08 karolherbst: depending on the architecture it doesn't have to lead to increased overhead though... we could do better than galliums vtable approach if that's really helpful
23:11 airlied: mareko: SHIVA_THREAD=1 :-)
23:12 mareko: yeah, I think I mentioned asynchronous shader compilation in some workshop
23:15 karolherbst: I'm also wondering how much a general threaded architecture makes sense for vulkan.. but probably not much given the overhead could be also quite high
23:15 karolherbst: the way threaded context does it in gallium is a bit awkward
23:18 mareko: there is also non-zero interest in making zink-on-radv competitive with radeonsi
23:19 karolherbst: yeah.... at least for nouveau that's the model we'll be going with. I was kinda wondering how much work it would be to move the threading up a few layers there for OpenGL
23:19 karolherbst: or do we already have something close to the API layer?
23:21 mareko: GL is already thoroughly multithreaded in common code except shader compilation
23:23 karolherbst: right...
23:23 karolherbst: I want to fix shader compilations for OpenCL as well...
23:23 karolherbst: I might have ideas how to properly thread it
23:25 mareko: RADV is going in the direction of inserting conditional code into shaders in cases where radeonsi compiles variants
23:29 mareko: TC already requires that all create shader functions must be callable from any thread, and some drivers schedule those calls on their own array of compiler threads
23:30 karolherbst: right... I know that some drivers take weirdo locks there that slow things down
23:30 karolherbst: need to get back to that
23:45 Company: <karolherbst> I'm also wondering how much a general threaded architecture makes sense for vulkan
23:45 Company: I was wondering how much of an intermediate layer shiva is going to introduce
23:46 Company: like, gallium does caching and whatnot, and not just simple passthrough to drivers
23:46 Company: whereas Vulkan was made to avoid that middle layer
23:47 Company: but with shiva that middle layer is there, and then someone is gonna try adding some caches and then the benchmarks are gonna go faster
23:47 Company: because application code is often crappy, no matter if it's GL or Vulkan