<tomeu>
EmilKarlson: the TODO there refers to the lack of reason decoding
<tomeu>
not to that particular failure
<tomeu>
EmilKarlson: a trace could tell us where that other problem is :)
<EmilKarlson>
yup, apparently startx removes all environment
<tomeu>
maybe run X directly?
<EmilKarlson>
the funny thing is, I see the env in my session, but not on Xorg
<EmilKarlson>
oh right, Xorg is suid
<EmilKarlson>
but that should not clear all environment though, I guess
<tomeu>
what about: sudo PAN_MESA_DEBUG=trace X
<alyssa>
EmilKarlson: Clearing env for suid is reasonable, the env is an attack vector and for a suid binary that means local privilege escalation (getting root)
<alyssa>
("Why do you know so much about vulnerabilities/exploitation...?")
<EmilKarlson>
yes, but IIRC only parts of the env are cleaned by default
<EmilKarlson>
like LD_PRELOAD
<EmilKarlson>
which I guess is the easiest one
<EmilKarlson>
what is the string that I'll need to find in mesa trace?
<tomeu>
EmilKarlson: maybe just share it with us
<tomeu>
along with the fault messages in dmesg
<EmilKarlson>
heh, too large for pastebin
<EmilKarlson>
it'll take a while
<EmilKarlson>
only 144M
<EmilKarlson>
in general I am not sure I got the matching kernel messages, so I might want to precheck
<EmilKarlson>
if that's not useful, I can try to capture it again
<EmilKarlson>
I'll need to run X as root, that's the only way I got it working, other might be to remove suid and add some user permissions, but I am not sure how that works, or does it work at all
<tomeu>
EmilKarlson: would you be able to test with patches such as that one?
megi has quit [Ping timeout: 246 seconds]
<EmilKarlson>
I can probably manage, will take a second, so better not wait for it
* tomeu
is about to start his weekend
<EmilKarlson>
next week is fine
<EmilKarlson>
have a nice weekend
<tomeu>
thanks, you too! o/
<EmilKarlson>
alyssa: are you btw. at the point where you are actively using Panfrost on Kevin?
<EmilKarlson>
or rather passively, as in it's stable enough not to hinder work
<alyssa>
EmilKarlson: At work (so 40h/wk), I've been using Panfrost full-time since the end of May :)
<alyssa>
Off workhours I use a different Kevin with no GPU accel since I don't want the temptation to overwork myself ;)
<EmilKarlson>
makes sense
<alyssa>
EmilKarlson: (Case in point -- at the end of May, I stopped caring and started bringing my Panfrost-Kevin to class. It was fine, until all of a sudden we had to do something online and I had to recompile mesa due to patching a bug.)
<alyssa>
;P
<alyssa>
Needless to say, things have stabilized a lot since then
<alyssa>
Uy, my pipelineing register stuff is wacked
jcureton has joined #panfrost
<jcureton>
robher: regarding "drm/panfrost: Add support for GPU heap allocations" on dri-devel, i'm currently working with a physical (not FPGA) platform that has a T720 with a single shared interrupt line
<EmilKarlson>
alyssa: cool, the progress indeed has exceeded my expectations
<alyssa>
EmilKarlson: Thank you!
<alyssa>
Wait, where did my writeout optimization patch go
<alyssa>
I swear I wrote that maybe a week ago
<alyssa>
Am I.. am I hallucinating?
<alyssa>
Do I write code in my sleep?
<daniels>
that would explain a lot tbf :P
<alyssa>
daniels: Rude :p
<alyssa>
daniels: Found it thanks to git log --all --grep
<alyssa>
....Granted that doesn't prove I was awake when I wrote it
<robher>
jcureton: okay, it may be easier to support than I said. We just need all the handlers to set IRQF_ONESHOT.
<daniels>
alyssa: you are familiar with git reflog, right?
<jcureton>
robher: okay! i'll try to find time today or early next week to clone that series and try it out
<alyssa>
daniels: Only vaguely
raster has quit [Remote host closed the connection]
<alyssa>
Argh, blend shaders are so broken
<alyssa>
How that code worked before is a mystery
adjtm has quit [Ping timeout: 245 seconds]
* alyssa
made writeout more aggressivr
* alyssa
just landed the opts from the past few days (minus the aggressive writeout which is still in CI)
<alyssa>
But why stop here? :)
megi has joined #panfrost
adjtm has joined #panfrost
afaerber has joined #panfrost
yann has quit [Ping timeout: 244 seconds]
pH5 has quit [Quit: bye]
<cyrozap>
Do I write code in my sleep?
<cyrozap>
oops, bad paste :P
<cyrozap>
<alyssa> Do I write code in my sleep?
<cyrozap>
Sometimes I look at code I wrote months/years previously and have _absolutely no recollection_ of _ever_ writing it.
<cyrozap>
Same for IRC messages--sometimes I grep through my logs since a particular conversation seems familiar, and it frequently turns out that yes, I _did_ have _the entire exact same conversation_ before.
<cyrozap>
Or I'll just be looking through my logs to remind myself of something, and I see words that claim to have been written by me, and sound like something I wrote, but I can't ever remember writing them.
<cyrozap>
It's really eerie.
<alyssa>
cyrozap: Memory is a strange thing
<alyssa>
I can remember specific dates of memorable-but-largely-inconsequential events in my life
<alyssa>
I have no idea what I had for lunch yesterday.
<alyssa>
Leftover noodles maybe?
* alyssa
remembers now.. maybe..
<alyssa>
But I can remember random hex sequences from REing :p
<cyrozap>
Consciousness in general is a strange thing ;)
<cyrozap>
But yeah big mood on the "random hex sequences" thing
<cyrozap>
Especially MMIO register addresses and bits
<cyrozap>
Going back to a project after 6 months and seeing some bytes/addresses/packet captures, "oh yeah I remember how this all works"
<cyrozap>
Reading code I didn't comment in enough: "...what the hell is this?"
<wens>
ok, chromium gpu rasterization with panfrost fails with: emit_alu:995: Unhandled ALU op fddx
<wens>
this is on veyron speedy, running mesa @ 95732cc9ef3
<alyssa>
Though I'm not sure why it thinks they are
<anarsoul>
aren't they part of GLES3?
yann has joined #panfrost
<Lyude>
._., love how the moment I go to try to figure out the scpi issue on my T820 it just mysteriously goes away
<Lyude>
alyssa: ^ should definitely have the system up and running this weekend, all that's left is just applying chewitt's patches for panfrost and that shouldn't take more then a couple minutes, but I'll probably have to do it this afternoon or tommorrow
<alyssa>
Lyude: chewitt: Alright, thank you for the update :)
<alyssa>
anarsoul: Yes, 3.0
<alyssa>
(IIRC)
<alyssa>
Copyprop with swizzles.. totes not over my head T_T
<alyssa>
instructions in affected programs: 672 -> 574 (-14.58%)
<alyssa>
This seems suspicious for something not even intended as an opt :/
<alyssa>
But I'm not complaining
stikonas has joined #panfrost
davidlt has quit [Ping timeout: 244 seconds]
<robher>
jcureton: I've updated my panfrost/heap-noexec branch which should work for shared irqs. Any testing would be appreciated.
stikonas has quit [Remote host closed the connection]