ChanServ changed the topic of #freedesktop to: https://www.freedesktop.org infrastructure and online services || for questions about freedesktop.org projects, please see each project's contact || for discussions about specifications, please use https://gitlab.freedesktop.org/xdg or xdg@lists.freedesktop.org
ximion has quit [Remote host closed the connection]
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #freedesktop
tzimmermann has joined #freedesktop
sima has joined #freedesktop
jsa has joined #freedesktop
oneeyedalien has joined #freedesktop
<bentiss>
daniels: looks like I found out what we can do to restrict the numbers of cpus for a job: https://dockerlabs.collabnix.com/advanced/security/cgroups/ -> basically instead of saying we have 1 runner with a limit of 8 concurrent, we need to create 8 runners, each of them has a dedicated set of cpus (0-7, 8-15, etc...). This way, nproc sees only 8 cpus and we are guaranteed to not
<bentiss>
leak that information
<mupuf>
bentiss: fantastic!
<kode54>
are you rolling your own runner tech?
AbleBacon has quit [Read error: Connection reset by peer]
<bentiss>
kode54: ???
<kode54>
sorry
<kode54>
I was under the mistaken impression that such an oversight would have been considered at the outset by some runner/container tech
xiawei has joined #freedesktop
<bentiss>
kode54: no need to apologize, I was just not sure what you meant
<bentiss>
kode54: the cpus argument from docker now works, but the job still sees the 64 cpus, which means it tends to create 64 jobs when running make. I just realized that we can assign cpus to a pod, and with a small loop, we can split the load
<kode54>
oh
<kode54>
so you were invoking Docker incorrectly for what you wanted, and needed to learn a workaround
<kode54>
(not that I knew this either)
<bentiss>
we were just using the gitlab-runner docker, but without parameters
<kode54>
cgroups does what you need? awesome
<kode54>
glad you got that sorted, then
<bentiss>
yeah
<bentiss>
now I "just" need to write the configuration script and re-deploy the runners
<bentiss>
not sure I'll get to it today
lynxeye has joined #freedesktop
oneeyedalien has quit [Quit: Leaving]
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #freedesktop
___nick___ has joined #freedesktop
<MrCooper>
cool stuff, anyway
a-l-e has joined #freedesktop
jsa has quit [Ping timeout: 480 seconds]
___nick___ has quit []
___nick___ has joined #freedesktop
___nick___ has quit []
___nick___ has joined #freedesktop
jsa has joined #freedesktop
xiawei has quit [Quit: Leaving]
mripard has joined #freedesktop
ximion has joined #freedesktop
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #freedesktop
guludo has joined #freedesktop
ximion has quit [Remote host closed the connection]
<eric_engestrom>
(posting it already because at least I'm 100% confident this MR can't do anything bad)
jsa1 has joined #freedesktop
jsa has quit [Ping timeout: 480 seconds]
jsa has joined #freedesktop
jsa2 has joined #freedesktop
jsa1 has quit [Ping timeout: 480 seconds]
jsa has quit [Ping timeout: 480 seconds]
<mupuf>
eric_engestrom: oh, thanks!
jturney has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
lsd|2 has joined #freedesktop
lynxeye has quit [Quit: Leaving.]
<mupuf>
daniels: I'm upgrading the kernel for the a750 to 6.11, and I managed to boot an upstream kernel without any firmware built-in. Instead, the firmware files (~20 MB) are packaged an extra initrd. Any idea where I could store this initrd since not all of them are in linux-firmware?
<mupuf>
This split will allow upreving the kernel using generic kernels such as b2c's or gfx-ci/linux
<mupuf>
So far, my best proposal would be in a wiki page of b2c... but maybe a package in.gfx-ci/linux?
<daniels>
a wiki page?
<daniels>
I was going to say, if you built the kernel out of gfx-ci/linux then you could just upload the initramfs next to the kernel uploaded from there
<daniels>
but if you're building out of random external source trees and hosting it externally, then you could just host the initramfs in the same place, built however the kernel is built
<mupuf>
My goal would be first to use a generic b2c kernel... which is upstream with a couple of serial patches I need to upstream
<mupuf>
My issue with the current way we build kernels is having the config hand modified and updated periodically. It makes it hard to know what was defconfig and what was meant
<daniels>
I'm just kinda confused as to why we'd tie together random external kernels with an initramfs from a different kernel tree?
<mupuf>
Oh, right! The reason is simple, the initrd ONLY contains firmware files
<mupuf>
So, view it as an overlay
<mupuf>
Linux can have many initrds appended to one another
<daniels>
I guess you're also looking at a different kernel tree, because gfx-ci/linux doesn't contain bits from defconfig :\
<mupuf>
And they will all get extracted in order
<mupuf>
Hmm... then things may have changed!
<mupuf>
Sorry for the noise then
<daniels>
it's been that way since literally the first commit :P
<daniels>
.gitlab-ci/build.sh will apply the defconfig used for the platform, then apply kernel/configs/mesa3d-ci_${ARCH}.config as overrides
<mupuf>
??? Didn't I create this repo? 🤣
<daniels>
and the latter only contains stuff that a) isn't in the upstream defconfig, and b) is required to run on our devices
<mupuf>
Am I becoming senile? 🫣
<daniels>
lol, what
<daniels>
are you saying that you don't want to use gfx-ci/linux because you don't like the way you did gfx-ci/linux, but isn't the way gfx-ci/linux does things?
ManMower has joined #freedesktop
<mupuf>
YES! That's indeed what I said, and I get the irony. I didn't mean it can't be fixed, it's just making less sense right now for me to maintain two kernels
<mupuf>
Hence why I maintain the b2c one which I also use for the ci gateways
<mupuf>
That's when I hit the need for multiple configs
<daniels>
well I have the perfect kernel tree for you!
<mupuf>
Ha ha 😅
<zmike>
mupuf: I'll bring a rocking chair and an extra warm sweater to xdc for you
<mupuf>
Alright, I'll take another look at it and see if I can contribute back my config builder.
<zmike>
we'll put you off in a corner where you can get your rest without being disturbed
<mupuf>
zmike: great, I already bought the tea! Thanks 🤣
tzimmermann has quit [Quit: Leaving]
bmodem has joined #freedesktop
jturney has joined #freedesktop
jsa2 has quit [Ping timeout: 480 seconds]
<zmike>
is it just me or is gitlab slower than usual the past few days
AbleBacon has joined #freedesktop
Kayden has quit [Quit: -> JF]
bmodem has quit [Ping timeout: 480 seconds]
jsa has joined #freedesktop
___nick___ has quit [Ping timeout: 480 seconds]
plutunion has quit [Remote host closed the connection]
___nick___ has joined #freedesktop
mripard has quit [Remote host closed the connection]
jsa has quit [Ping timeout: 480 seconds]
Caterpillar has joined #freedesktop
Caterpillar has left #freedesktop [Konversation terminated!]