alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - https://gitlab.freedesktop.org/panfrost - Logs https://freenode.irclog.whitequark.org/panfrost - Discord Discard
<alyssa> PSA: Markdown+pandoc+LaTeX+beamer is a dream
* alyssa will never be opening LibreOffice Impress again
NeuroScr has quit [Quit: NeuroScr]
<alyssa> So, Midgard has a cute feature for eliding vertex shaders in full-screen draws.
<alyssa> I'm figuring out how this works since it's adorable and dramatically simplifies wallpapering
<alyssa> ^ Preliminary notes from staring at some traces :vsp'd
<alyssa> Ahhhh I just discovered desktop PWA support in Chromium/Linux
<alyssa> I don't know who's responsible for this but this is amazing oh my gosh ^_^
NeuroScr has joined #panfrost
<Ashy> rockpro64 just arrived
<Ashy> \o/
<Ashy> merry xmas to me
<HdkR> woo
<alyssa> Ashy: \o/
<alyssa> Trying to implement elided draws in the driver
<alyssa> It's a little slow work, since this is the first time I've touched the cmdstream in at least a month
<alyssa> And I'm a little distracted since, like, finals :P
<Ashy> hopefully over the xmas break i should get panfrost building and running at least
<Ashy> i can read and write C but have never done anything with gpu drivers or opengl so hopefully i can be vaguely useful at some point
<alyssa> Wee
<alyssa> Aaaa the Maccabeats are so good ^^
<alyssa> Alyssa: OK, I have a tiler-only job going through
<alyssa> Alyssa: Not actually fullscreen yet, have to figure out how that gets specified
<alyssa> Alyssa: ..unless..
<alyssa> Ahhhhhhh that's hilarious
<alyssa> There's no such thing as an elided draw at all
<alyssa> They literally just... "run the vertex shader in software" and pass that as the varyings
<alyssa> Cuuuuute
<alyssa> This kind of thing is why I love Mali GPUs :p
<alyssa> It's just... so adorable!
<alyssa> You can't not smile!
<HdkR> Is "software" CPU side or GPU side?
<alyssa> HdkR: Like, they don't do any vertex job. They just invoke the fragment job, and where you're supposed to pass the pointer to the vertex shader output, they hardcode the floats corresponding to fullscreen :p
<HdkR> Nice, I love it
urjaman has quit [Ping timeout: 268 seconds]
<alyssa> HdkR: ^^
<HdkR> If I'm remembering correctly I think AMD can technically skip their vertex stages as well?
<alyssa> I'd believe it
<alyssa> HdkR: I'd be deeply amused if there are workloads where it's actually faster to run the VS in software :p
<alyssa> (and then FS in hardware)
urjaman has joined #panfrost
<HdkR> There are some pieces of hardware that used to be out there where vertex work wouldn't maintain high throughput and would be faster running on the CPU
<HdkR> But I'm pretty sure those days are no longer here
<HdkR> Plenty of hardware that did VS and then FS was on CPU side though
<alyssa> Mm?
<HdkR> Pica 200 for example has its vertex processing in hardware but if you need to do anything "fragment" related then you have to do it on the CPU
<HdkR> Silly GPU from DMP, The Pica300 added a fragment processor on the hardware but nothing shipped with it
<alyssa> HdkR: That seems so incredibly backwards
<alyssa> Seeing as the whole point of GPUs is (imo) accelerating the fragment pipeline
<HdkR> :D
<NeuroScr> so much to learn
<NeuroScr> need to get work on my opi again
<HdkR> Lyude: Status update on this Razer Blade Sealth 13.3". Linux gets 4.5-5 hours of battery life by default. Windows would probably hit 6hours. Looks like a major battery suck is the Realtek audio not having PM enabled by default, The Elan Touchscreen not having PM, and maybe the Alpine Ridge Thunderbolt controller not having PM?
<HdkR> I've just disabled the touchscreen and enabled PM on the realtek audio
<HdkR> Also the MX150 is a mess with Nouveau but that's a known issue so I just have it outright disabled
<Lyude> HdkR: try turning it on, that's what I do
<Lyude> Sometimes things break
<Lyude> That's good your bios let's you disable the nv GPU though
<HdkR> Yea, I turned on PM on the Realtek device. seems fine. I can try enabling it on Alpine Ridge as well
<alyssa> HdkR: I'm assuming you checked powertop?
<HdkR> Yea, that's what I'm looking at
<alyssa> Cool
<alyssa> tomeu: Progress update, since I'll be poofing for sleep and exams and whatever soon
<alyssa> I mostly figured out the detailed of elided quads (fragment-only jobs, no vertex shader, used for fullscreen blit shaders)
<alyssa> My mesa is able to draw a quad with that, with some caveats
<HdkR> Lyude: Not disabled in the BIOS so it still shows up as a device, but it seems to not be sucking power like a vampire
<alyssa> Next up is wiring up a blit shader (texture read) and hooking in a texture, with the last framebuffer as the texture source
<alyssa> Then just shuffling around some bookkeeping and Weston should do the right thing
<alyssa> In the meantime, I suspect there are a myriad of other stuff for you to play with? :P
<Lyude> HdkR: thats good
cwabbott has quit [Quit: cwabbott]
cwabbott has joined #panfrost
<tomeu> alyssa: amazing!
<tomeu> alyssa: indeed, for good or for bad :)
<tomeu> guess I should go back to the DT patch for the nanopc, reqork the regulator tree once more and send again
<alyssa> Alright :)
cwabbott has quit [Client Quit]
<alyssa> tomeu: Should add, it'll be slow
<alyssa> This is the slow fallback path, which we need for spec compliance anyway
cwabbott has joined #panfrost
<alyssa> Actual partial updates (with buffer age/partial update extensions) can come later, of course :)
<tomeu> alyssa: yep, makes sense
paulk-leonov has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
<Ashy> hmm, not sure how the 20mm fan is supposed to attach to the 20mm heatsink on the rockpro64
<Ashy> it came with 4 screws but there's no threads on the heatsink
<HdkR> Ashy: You have to force thread it yourself, which is a bit crap
<HdkR> I just took it off myself. It wasn't spinning under Linux anyway
<Ashy> oh really? guess i'll test it first then
NeuroScr has joined #panfrost
<Ashy> HdkR: yeah fan doesn't work for me either on ubuntu
<Ashy> hdmi works with the ayufan kernel though
<Ashy> no sound out the 3.5mm port
<HdkR> I couldn't throttle the CPU cores under heavy load so I figured w/e on the fan
<HdkR> Good enough for compiling :P
<Ashy> heh, nice
NeuroScr has quit [Quit: NeuroScr]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has joined #panfrost
raster has joined #panfrost
BenG83 has quit [Ping timeout: 250 seconds]
NeuroScr has quit [Quit: NeuroScr]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
BenG83 has joined #panfrost
BenG83 has quit [Remote host closed the connection]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
<Lyude> HdkR: probably need the fan enabled in DT or something like that, I had to do that with my vim2
BenG83 has joined #panfrost
BenG83 has quit [Quit: Leaving]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Remote host closed the connection]
rhyskidd has joined #panfrost
NeuroScr has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
adjtm has quit [Quit: Leaving]
NeuroScr has quit [Quit: NeuroScr]
raster has quit [Quit: Gettin' stinky!]
<alyssa> ^ Ahh this is amazing, <3 Collabora
<urjaman> "android finally using drm" sounds like "finally????" but yeah i got it :p
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
<alyssa> urjaman: \p/
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has joined #panfrost
BenG83 has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
adjtm has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
anarsoul|2 has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
urjaman has quit [Ping timeout: 246 seconds]
urjaman has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
belgin has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
raster has joined #panfrost
belgin has quit [Quit: Leaving]
BenG83 has quit [Quit: Leaving]
adjtm has quit [Remote host closed the connection]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #panfrost
stikonas has joined #panfrost
NeuroScr has joined #panfrost