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
urjaman has quit [Ping timeout: 250 seconds]
cwabbott has joined #panfrost
urjaman has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
cwabbott has quit [Ping timeout: 252 seconds]
cwabbott has joined #panfrost
cwabbott has quit [Ping timeout: 252 seconds]
anarsoul|2 has quit [Ping timeout: 244 seconds]
cwabbott has joined #panfrost
cwabbott has quit [Ping timeout: 252 seconds]
cwabbott has joined #panfrost
cwabbott has quit [Ping timeout: 252 seconds]
afaerber has quit [Ping timeout: 268 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #panfrost
<tomeu> Lyude: cool about getting the devicetree platform working on the meson board
<tomeu> Lyude: I haven't even tried to get the srw-based winsys to work, and went straight to a proper one
<tomeu> I'm mostly testing with kmscube
cwabbott has joined #panfrost
<HdkR> Lyude: Board arrived, trying to do initial bringup now
<tomeu> Lyude: I think I have everything needed so that mali renders into the bos that kmscube uses as kms fbs, but Im' getting a bunch of this and just a black screen:
<tomeu> [14901.583907] mali ff9a0000.gpu: error detected from slot 0, job status 0x00000058 (DATA_INVALID_FAULT)
<tomeu> [14901.597681] mali ff9a0000.gpu: t6xx: GPU fault 0x58 from job slot 0
<tomeu> so next I'm going to check that the right buffers are being passed around
<tomeu> hmm, looks like I'm stuffing the right pointer in the atom
<Lyude> tomeu: yeah I am getting the same thing; also I'm not using the devicetree platform
<Lyude> I just have some guesses as to why it isn't working
<Lyude> haven't gotten a chance to try them out, been mostly trying to just get past those issues
<Lyude> (also-i posted some fixes to my panfrost mesa branch)
<Lyude> for now I must try to tackle another issue: rest. good night
<Lyude> 💤
<tomeu> rest well!
<HdkR> Interesting, the boot media on this device doesn't see the flash storage past the bootloader
<HdkR> Need to copy the rootfs over to a USB drive
<HdkR> er, little bit munged sentence but w/e
<tomeu> HdkR: I'm quite happy with nfsroot here, fwiw
<HdkR> Might be worth looking in to eventually
<tomeu> Lyude: ok, got those to go away by replacing any other remains of the fake framebuffer: s/ctx->framebuffer.gpu/((struct panfrost_resource *) ctx->pipe_framebuffer.cbufs[0]->texture)->gpu[0]
<tomeu> now I get no complaints, and even get a single line at the top of the screen!
<tomeu> and changing the glClearColor values also changes that line accordingly, so I think we're onto something :)
<HdkR> 1D display is all we need in life
<HdkR> Confirmed that the fbdev driver is working on this device at least
<HdkR> Which is nice
<HdkR> Oops, resized the partition and forgot to run check on it to actually resize it
<HdkR> I'm really bad at partition management in terminal. Too used to gparted :D
<tomeu> alyssa, Lyude: have pushed my winsys WIP: https://gitlab.freedesktop.org/tomeu/mesa/commits/winsys
<tomeu> any ideas on why only the top line is displayed are welcome
<tomeu> guess it could be that what some part thinks is the first line, is actually the last one
<tomeu> could explain why there's a tiny amount of crap being displayed at random locations
<tomeu> but the first line always seem to be whatever is glCleared
<tomeu> that makes me think it isn't AFBC, or tiled or anything else
<tomeu> guess another possibility is that I'm passing a wrong width, height, stride, etc somewhere
<HdkR> Ack. I hate when PS1 is bugged and I get no cursor in a VT
pH5 has quit [Quit: bye]
pH5 has joined #panfrost
<sphalerite> congratulations people you managed to crash my terimnal :p
<HdkR> woo
<sphalerite> aaah it was Lyude with their 💤
<sphalerite> st doesn't like emoji.
<sphalerite> yeah, the "suckless" terminal. Pffff. :p
<HdkR> hah
BenG83 has joined #panfrost
<Ashy> oh it's sleeping z's, had to zoom to ridiculous levels to see it
<HdkR> Once I get a few kinks worked out on this board then I should be able to start diving in to it properly
<HdkR> :D
<Ashy> which board?
<HdkR> A bifrost based board that is running Linux
robclark has quit [Read error: Connection reset by peer]
robclark has joined #panfrost
afaerber has joined #panfrost
<HdkR> Some people have fixed the ACPI crap on the Surface Book 2. It might actually be a halfway decent Linux device :D
<Lyude> tomeu: this is awesome, thank you!
<Lyude> alyssa: ^ we are getting a winsys :)
<HdkR> I'm looking forward to a winsys
<Lyude> tomeu: I'll help review code next chance I get and try running it on my vim2
<Lyude> sounds like it should actually work :)
<HdkR> Lyude: Did we get replay working on bifrost devices previously?
<Lyude> HdkR: I think cwabbott did
<HdkR> Alright, that'll be the first step then
<Lyude> HdkR: btw, once I've got panfrost a little farther in terms of upstreamability I'll probably try getting my hikey 960 running a mainline kernel to help out
<HdkR> nice!
<Lyude> *reallllllllly wants to help with a bifrost compiler if that becomes a thing :)*
<HdkR> Actually, I should see wtf kernel this device runs
anarsoul|2 has joined #panfrost
<HdkR> Claims 4.9.99
<HdkR> Lyude: Which one did the Hikey board ship with?
<Lyude> HdkR: some old Android thing
<Lyude> I'm going to make it run mainline though most likely
<HdkR> Oh right. It was some munged thing wasn't it
<HdkR> Lyude: Good news, I've dropped all my side projects aside from one to start working on this
<cwabbott> HdkR: I don't think I ever replayed a graphics trace, although it's certainly doable.. at this point I'd just skip to the driver
<cwabbott> although I did do my shader runner, which launches compute kernels
<tomeu> Lyude: it's quite wip-y
<tomeu> haven't make any progress on the only-first-line problem yet
<tomeu> have only noticed that adding a delay doesn't help with it
<tomeu> and that dumping the BO to disk shows what is displayed
<HdkR> cwabbott: I see. I can at least trace and inspect then
pH5 has quit [Quit: bye]
<tomeu> /* The default is upside down from OpenGL's perspective. Plus, for scanout we supply our own framebuffer / stride */
<tomeu> hmm, that's a tiny bit suspicious...
<tomeu> right, we now have a spinning cube :)
<HdkR> :D
<HdkR> That's awesome!
<tomeu> guess at the end most of the work was removing the references to the ad-hoc framebuffer
<tomeu> there's some rendering artifacts and it hangs after a while in the submit ioctl
<tomeu> probably related to how I commented out reading from the device
<HdkR> Details details :P
<HdkR> TIL that Amlogic is within 10 miles of my apartment
<Lyude> HdkR: nice
<Lyude> I'm still pushing at work to try to get time for this thefe
<Lyude> *there
<HdkR> I would adore to be paid to work on panfrost but that won't happen :P
<tomeu> there's a fair bit of people working for consultancies such as collabora hacking on etnaviv, I expect something similar to happen with panfrost at some point
<tomeu> pushed my latest changes
<tomeu> weston fails to create a FB, guess that's next thing for me
<tomeu> then wayland clients :)
<HdkR> Sure, get it to a stable enough point and companies will be interested in it
<HdkR> It's a good thing :)
pH5 has joined #panfrost
BenG83 has quit [Quit: Leaving]
<HdkR> Lyude: I'm thinking about frisbee'ing my Surfacebook 2 if recent ACPI fixes aren't as good as they could be. Potentially going with the just announced Razer blade stealth 13" instead. Suggestions, alternatives, rants? :)
<alyssa> tomeu: Woo, super exciting!
<alyssa> tomeu: And yes, it'd be the last line first line thing let's see
<alyssa> The issue is uh
<alyssa> (Sorry I've been afk a lot)
<alyssa> tomeu: See the code in panfrost_new_Frag_framebuffer about being upside down from OpenGL's perspective?
<alyssa> Comment out the "framebuffer +=" and "stride =" lines and it should render the whole thing, albeit upside-down
<Ashy> HdkR: 2nd hand ThinkPad
<Ashy> they're still the best so long as you get a T series
<Ashy> might even be possible to jam a rk3399 sbc in a ThinkPad chassis at some point
<Ashy> that would be sweet
<HdkR> Ashy: Sadly I'm spoiled by features and can't handle low resolution displays anymore ;)
<Ashy> yeah fair enough
<Ashy> I bought a T450 and upgraded the panel to a 1080 ips a few months back
<Ashy> cost about $450aud total
<HdkR> Razer's new 13.3" has a 4k panel in it
<Ashy> ah yeap
<HdkR> This SB2 also has Marvell Wifi/BT, so its connectivity under Linux won't ever be amazing
<Lyude> HdkR: uh
<Lyude> i have a razer blade stealth, I love it
<Lyude> but-one must pay a price
<Lyude> Don't expect firmware updates
<Lyude> That includes thunderbolt firmware which is actually a lot more important then it sounds
<Lyude> like: currently my machine only works with a small selection of tb3 docks because of the outdated firmware
<Lyude> also they aren't working with us on support anymore, razer was at one point but between RH and them it's just been radio silence for a couple months now
<Lyude> anyway, yeah I didn't go with a new thinkpad because of the low resolutions
<Lyude> but I think they're finally starting to get better about that
<Lyude> my honest professional opinion, as someone who has actually handled all of these laptops: I'd go with Dell XPS or HP Zbooks, and of course: stay far away from nvidia
<Lyude> In fact, stay significantly farther away then normal from nvidia because none of their new chips work properly with runtime pm (or in many cases-at all) with nouveau
<Lyude> and we can't fix it until nvidia actually stops dragging their feet
<Lyude> so, seriously, stay away from nvidia. don't even look at those laptops with nvidia chips, don't even think about them!
<Lyude> also
<Lyude> it's not a yes BUT
<Lyude> i finally have a path to getting time for working on panfrost at work :)
<Lyude> which is VERY EXCITING
<Lyude> i am vibrating with excitement
AntonioND has joined #panfrost
<Ashy> sweet!
<Ashy> i have a xps 13 from work that is pretty good, the keyboard is average at best though unfortunately
<Ashy> 4k touchscreen is real nice though
<Ashy> i still prefer the old thinkpad because of the keyboard though
<HdkR> Lyude: I was actually planning on disabling the MX150 in the thing
<HdkR> Also, totally just hosed my surface book because of bitlocker
<Lyude> don't count on it
<Lyude> not all laptops have an option to disable the dedicated gpu anymore, many don't
<Lyude> most, even
<Lyude> seriously-stay WAAAAAAAAAAAAAAAAAAAAAAAAY away from nvidia
<Lyude> it will be a decision you regret I promise
<HdkR> Should I come over to RH then? :p
<Lyude> hehe :p
<Lyude> i meant laptop wise
<Lyude> or wait that was the joke whoops
<Lyude> multitasking a bit too much
<HdkR> hah
<HdkR> But the razer is so nice :(
<Lyude> they are good machines but you will pay the price with firmware updates
<Lyude> also do the stealths not have non-nvidia versions now?
<Lyude> i've got a blade stealth and all it has is an intel GPU
<HdkR> they do, just doesnt have a 4k panel then
<Lyude> wtf
<Lyude> seriously?
<Lyude> this has a 4k panel
<Lyude> :(
<HdkR> yea, super rude
<Lyude> yeah that sucks
<Lyude> was almost considering getting another of these for my next machine but I guess not
TheKit has quit [Ping timeout: 250 seconds]
TheKit has joined #panfrost
<cyrozap> <Lyude> i am vibrating with excitement
<cyrozap> Lyude right now: https://i.imgur.com/tFhDy7F.gif
<Lyude> cyrozap: hehe, yep
<Lyude> temmy excitttd
<Lyude> :3:3:3
AntonioND has quit [Quit: Quit]