00:36 sysadmin: ATTENTION: This channel will be terminated. Any nicks remaining in the channel will also be terminated. This action cannot be undone.
00:39 imirkin: sysadmin: seems doubtful. but i'll help you out.
00:40 HdkR: pfft
00:40 HdkR: Ah, they tried that in #radeon as well
00:52 ericonr: lmao
01:33 karolherbst: https://gitlab.freedesktop.org/karolherbst/ci-scripts/-/blob/65ad26a1999420d7f05bb649c9dae0333aa6f153/ci/gitlab-ci.yml :(
01:34 karolherbst: I think I am overengineering this a little
01:35 airlied: karolherbst: I assume rebases won't go throught that
01:35 karolherbst: why not?
01:36 karolherbst: or do you mean like if we rebase nouveau-next or whatever target we have?
01:36 airlied: karolherbst: yes those ones
01:36 karolherbst: good question
01:36 airlied: like if you want to move from 5.10 to 5.11 base
01:36 karolherbst: we could add a pipleine we can manually trigger to rebase
01:36 airlied: I suppose you could also backmerge
01:36 karolherbst: yeah...
01:36 karolherbst: but that will be a bit overkill
01:37 airlied: but either way you probably don't want that going via a git rebase --exec
01:37 karolherbst: my solution was that somebody just force pushes or so...
01:37 airlied: ah cool yeah makes sense
01:37 karolherbst: airlied: yeah... that's just for plain MRs atm
01:37 karolherbst: we also have the problem that when we rebase nouveau-next that all active MRs are borked
01:38 karolherbst: airlied: actually.. the rebase is a huge issue we might have to think about
01:39 airlied: for misc-next we never rebase I don't think
01:39 airlied: I think it just always gets a backmerge
01:39 airlied: whereas for drm-next I always rebase
01:39 karolherbst: airlied: you think this is too much or the thing users want to see? https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/2#note_925450
01:40 karolherbst: airlied: I think a back merge is probably better for MRs
01:40 karolherbst: we just have to.... trick it through the CI somehow and probably through a custom pipeline which just pulls from linus/master or so
01:41 karolherbst: because... it should just go through as long as there are no new commits...
01:41 airlied: karolherbst: do you need to dump the artifacts into the MR?
01:41 karolherbst: yeah...
01:41 karolherbst: they are invalid after a day though
01:41 airlied: it just feels a bit RHEL like where it you hit people in the face with too much info
01:42 airlied: but yeah one day isn't long enough there
01:42 karolherbst: the comment will stay, but.. I mean this was an #error inside a header file
01:42 karolherbst: the error log shouldn't be too long in the normal case
01:42 karolherbst: I already do make -k magic to really only print the errors
01:42 karolherbst: or make I should only print 10...
01:43 karolherbst: something
01:43 airlied: like compared to the amount of info mesa produces in the MR vs in artifcats it seems a lot
01:43 karolherbst: huh? what do you mean specifically now?
01:43 karolherbst: that the comment is too verbose?
01:45 karolherbst: ehhh.. make doesn't support an error count for -k
01:45 karolherbst: uhh
01:45 airlied: if you fail a mesa buidl you just told the pipeline failed
01:45 airlied: you then have to dig the pipeline
01:45 airlied: instead of it spamming the MR which might have interesting discussion in it
01:45 karolherbst: I think I will just head -n 50 the output
01:46 airlied: like if you want the MRs to have interesting discussion in them then you need to limit the automated output in them
01:46 karolherbst: yeah..
01:46 airlied: esp when it comes to reviews
01:46 karolherbst: I think it is still valuable to print the result, but I also wanted to make it manually triggered
01:47 karolherbst: but anyway.. just toying around atm and seeing what actually works
01:53 airlied: karolherbst: checkpatch and building are a pretty good start
01:53 karolherbst: airlied: but yeah.. I am also unhappy about the output of checkpatch
01:53 karolherbst: but.. I have a solution here
02:14 karolherbst: airlied: better? https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/2#note_925478
02:16 airlied: karolherbst: yeah that seems nicer
02:18 karolherbst: airlied: I am also thinking of checking a few different build configs.. but that could be a bit much
02:18 karolherbst: but.. then we have those configs disabling some features and had build errors in the past
02:19 karolherbst: oh well.. it's getting late
15:21 karolherbst: https://gitlab.freedesktop.org/nouveau/ci-scripts/-/merge_requests/4 :)
15:24 karolherbst: I might add checks for arm builds in the future, but I think that's good enough for now
19:18 sysadmin: Remember Bitcoin in 2008??? Pi is a new digital currency developed by Stanford PhDs, To claim your piece of pi goto https://minepi.com and use "ilkde" as your invitation code. Get your piece of the pi now!
19:19 ajax: sigh
19:19 imirkin: "T" for "Time to leave"?
19:20 RSpliet: What even is a +q?
19:20 ajax: "quiet"
19:21 ajax: means they can't speak in the channel. considered to be slightly less inflammatory than a straight ban, for some reason.
19:23 ccr: it's like inverse of "voice"
19:23 ccr: aka +v
19:23 RSpliet: fair. Don't know whether "less inflammatory" matters at all in this situation, but w/e
19:24 airlied: well for a lot of bots they don't realise they've been quieted, whereas the do realise they've been kicked
19:24 airlied: so it's like keeping a phone scammer on the line
19:24 ccr: you could think of it as "shadow ban", except the recipients can see it
19:24 ccr:nods
19:25 RSpliet: Yeah, plus bans are hard. Good chance their IP is a tor exit node
19:25 ajax: that's the $a bit of the usermask. $a:ajax matches "user logged in as ajax"
19:26 RSpliet: oh this is an authenticated user? lol
19:26 ajax: that plus requiring registration to be voiced on a channel...
19:28 ccr: out of morbid curiosity -- are there any other "regulars" than marten/whomever the .ee headcase is on many mesa/etc channels
19:28 imirkin: just joss.
19:29 ccr: I've been hanging out here for quite some time and "he" (marten whomever) is the one I've encountered most often
19:29 ccr: "here" as in #nouveau, #dri-devel and #intel-gfx etc
19:29 imirkin: yep. just joss ( = martm)
19:29 ccr: ah
19:31 ccr: hmm.
19:34 ccr: are there any "easy" kernel/dri/mesa tasks for nouveau that I could possibly take up on? thus far I've fixed one small kernel bug and worked somewhat on Python and C stuff in Mesa related to Gallium driver tracing (scripts and the trace stuff itself in auxiliary/driver_trace)
19:37 RSpliet: imirkin is most likely to know. Although he tends to hoover up a lot of the "easy" tasks. And the difficult ones too... just calls them easy and solves them too
19:37 ccr:nods
19:37 imirkin: ccr: yeah, so the problem with the easy tasks
19:37 ccr: :)
19:37 imirkin: is that they're much easier than the hard ones
19:37 imirkin: and sometimes one doesn't have a ton of "thought" time to commit
19:37 imirkin: and so one just fixes the easy stuff
19:38 ccr: indeed
19:38 imirkin: the hard bits have much more staying power
19:38 ccr: I totally get it
19:38 imirkin: so the thing that'll drive my suggestions will be ...
19:38 imirkin: what GPU do you have?
19:38 ccr: my problem is that while I have lots of experience with C etc but I don' really have much experience about Mesa itself, or modern GPU stuff
19:39 imirkin: ccr: too bad you weren't born with the knowledge like all of us were...
19:39 ccr: my main desktop GPU is Intel Haswell 4600
19:39 imirkin: :)
19:39 ccr: :D
19:39 RSpliet: ccr: is there something that really really, and I mean really really really, bothers you about nouveau?
19:39 imirkin: ccr: nouveau doesn't work well on Intel GPUs
19:39 ccr: but I also have NVidia whatnot 218
19:39 imirkin: do you have any "in-scope" GPUs
19:39 imirkin: ok, GT218?
19:40 ccr: yeah
19:40 ccr: AND
19:40 RSpliet: imirkin: did you not need one of those for your compute work? :-P
19:40 imirkin: RSpliet: too late, plugged one in.
19:40 imirkin: RSpliet: the GDDR5 board works better than i thought
19:40 ccr: the one I fixed the kernel bug for .. whatchamacallit
19:40 RSpliet: just can't change its clocks
19:40 imirkin: RSpliet: yeah ... any thoughts on what i need to do for that?
19:40 imirkin: seems like we should have most of the pieces in place
19:41 ccr: a NV4E
19:41 imirkin: RSpliet: is it mostly a question of "insert flap A into slot B"? or is there a lot of tracing/etc left?
19:41 ccr: or GeForce 6510 Go in my craptop
19:41 imirkin: ccr: i consider nv3x to be abandonware at this point. you're welcome to improve things on it if you like. i could give many pointers. but it's hard and ancient.
19:42 ccr:nods
19:42 RSpliet: imirkin: I'd say the latter. I suspect in the end the memory script won't differ much from GDDR3, but you may get to deal with pushing PLLs to their limits and with link training that we've only done for *one* GT218 and for Fermi+
19:42 imirkin: RSpliet: hm ok
19:43 RSpliet: Oh, and that one gt218 (which happened to be my now-defunct-and-non-existent laptop) is different from all the other link training too!
19:43 imirkin: RSpliet: is there something more i should do than just get mmiotraces of transitioning between perf levels?
19:44 RSpliet: imirkin: I'll leave you to decide whether it's a good or a bad thing that there's like three of those GDDR5 cards in existence. I think the one I owned is now in Ben's hands.
19:44 RSpliet: It does mean that you can't exactly do a very exhaustive exploration of all possible options. It also means they probably all have the same GDDR5 configuration and a first stab implementation works good enough (... famous last words)
19:45 imirkin: RSpliet: yeah, i mean i could do something super-non-portable which works well for my board
19:45 imirkin: and if anyone else ever shows up, we can incorporate their data ;)
19:45 RSpliet: And there's a good chance that works for all the boards. It really wasn't that popular I don't think :-D
19:45 imirkin: there are laptops with it
19:45 imirkin: someone filed a bug about it
19:45 imirkin: some sort of general instability
19:46 ccr: imirkin, I'm rather happy with the level of NV4E functionality with Nouveau at the moment. unles it regresses, of course.
19:46 imirkin: ccr: so the thing about GT218 is that it's an older gen, and most of its features have been completed
19:46 imirkin: i'm trying to think what you could do
19:46 imirkin: ccr: are you interested in opencl?
19:46 RSpliet: please say "scan-out buffer" :-P
19:47 ccr: there is an occasional hibernation issue that sometimes it hard-hangs (picture comes up) when unhibernating, but sometimes it works
19:47 RSpliet: Or whatever that cache is called. NISO buffer?
19:47 ccr: imirkin, not much, but if I can be of help, sure
19:47 imirkin: ccr: i wouldn't hope to fix that suspend resume issue
19:47 imirkin: i have no idea how one might go about even investigating what such a problem would be
19:48 ccr: I don't care that much either, it only hangs very rarely
19:49 RSpliet: imirkin: gt215_ram_calc() is where a lot of magic still needs to go for GDDR5
19:49 imirkin: RSpliet: ok
19:49 imirkin: well first it'd probably be prudent to get some traces
19:49 imirkin: oooh, i wonder if i did that back in the day....
19:49 imirkin: noooope
19:50 tpefreedom: How well does nouveau support the nvidia 16 sereis (1650/1660 and variants)?
19:50 ccr: define "well"
19:50 imirkin: tpefreedom: define 'support' (not to mention 'well')
19:50 RSpliet: imirkin: Yep. My modus operandi was "stop X, flip one bit in the ramcfg VBIOS table, enable trace, start X, diff the ramfuc script"
19:50 ccr: :D
19:51 imirkin: tpefreedom: everything since GTX 900 requires signed firmware, so there's no reclocking
19:51 imirkin: which means you get something like 10% of the card's max perf, all things being equal
19:51 RSpliet: but all things aren't equal. :-D
19:51 imirkin: otherwise pre-ampere boards are fairly well supported at this point.
19:51 ccr: in one of my experiences, with Ubuntu 20.04 (IIRC) a GTX 1660 card hung with NVidia blob v460 but worked (booted) just fine with Nouveau of that particular distro
19:53 ccr: but it's always Your Mileage May Vary
19:53 tpefreedom: Are there any recent graphics cards that work well w/o the proprietary drivers (and with the replacement drivers)?
19:54 ccr: you again need to define what "well" actually means
19:54 RSpliet: ccr: for a bit of background on that NISO thing I shouted earlier: if you want to change your DRAM clock, one of the things you need to do is make sure that there's no active users of the DRAM.
19:54 RSpliet: One of the consumers of DRAM is "display scan-out", basically copying pixels to your monitor one at a time
19:55 imirkin: tpefreedom: AMD and Intel.
19:55 RSpliet: In the good old "single monitor" days, the trick to make this all work fine is to defer your DRAM clock change to the monitor's VBLANK period - a short pause (~0.5ms) that's good enough to stuff this in
19:56 RSpliet: However, GT218 supports two monitors. Unless the two monitors' VBLANK periods are synchronised (they're not), that doesn't work
19:56 ccr: tpefreedom, if you choose a NVidia card and hope to use open source drivers, you "have chosen poorly" https://stephenthelawyer.files.wordpress.com/2018/04/he-chose-poorly-2-1.jpg
19:57 RSpliet: Enter the NISO buffer: a little "pixel cache" between DRAM and scan-out that can hold pixels for long enough to be able to do the DRAM clock change without starving the monitor of precious pixels
19:57 ccr: hmm.
19:57 tpefreedom: I have not chosen a gpu or computer yet. I just noticed that a lot of inexpensive gaming laptops have some variation of the 1650 or 1660.
19:57 RSpliet: I think the configuration of that buffer is fairly simple on GT218. It's just a bunch of memory, and somewhere you can configure how that memory is divided over the two monitors
19:58 RSpliet: But... I never looked into it in too much detail.
19:58 RSpliet: And nouveau doesn't configure it afaik
19:58 RSpliet: The benefit of configuring it is flicker-free multi-monitor reclocking on nouveau. Right now if you have more than 1 monitor, you get flicker for one frame
19:59 RSpliet: It's a prerequisite for looking into "load-based" reclocking (rather than manual, which is the best we can do right now)