#
#asahi-gpu · 2021-01-23 02:45
davidrysk[m](just in general)
#asahi-gpu · 2021-01-23 02:45
davidrysk[m]there's so much log spew
#asahi-gpu · 2021-01-23 02:44
bloomgood news is that all of my code should be pushed now so we can do a proper upstream thing
#asahi-gpu · 2021-01-23 02:42
bloomwhen i get obsessed with something i get OBSESSED
#asahi-gpu · 2021-01-23 02:42
bloom:)
#asahi-gpu · 2021-01-23 02:42
bloomnah, life comes in waves
#asahi-gpu · 2021-01-23 02:42
davidrysk[m]:(
#asahi-gpu · 2021-01-23 02:41
bloomi've been neglecting { school, work, myself } a little bit, will be taking a bit of time off from asahi to recuperate
#asahi-gpu · 2021-01-23 02:41
davidrysk[m]fault 21:36:27.798856-0500 kernel void IOGPUScheduler::hardware_error_interrupt(IOInterruptEventSource *, int): GPURestartBegin stampIdx=85 type=1
#asahi-gpu · 2021-01-23 02:41
bloomthat does sound interesting yes
#asahi-gpu · 2021-01-23 02:41
davidrysk[m]marked "volatile fault"
#asahi-gpu · 2021-01-23 02:41
bloommaybe this weekend :)
#asahi-gpu · 2021-01-23 02:40
davidrysk[m]I see a lot of things about gpu restart
#asahi-gpu · 2021-01-23 02:40
davidrysk[m]bloom: can you check if putting gpu in the filter box for the streaming log gives you the output?
#asahi-gpu · 2021-01-23 02:39
modwizcodewoo
#asahi-gpu · 2021-01-23 02:39
bloom(🎉 was because I was nervous I messed up the push, good to have a sanity check that it builds on anyone else's machine hah)
#asahi-gpu · 2021-01-23 02:37
davidrysk[m]and yeah Apple basically went to a journald style logger
#asahi-gpu · 2021-01-23 02:37
davidrysk[m](I put gpu in the filter box)
#asahi-gpu · 2021-01-23 02:37
bloomchrisf: ^^
#asahi-gpu · 2021-01-23 02:37
bloomthe fact the kernel knows about texture handles is horrifying
#asahi-gpu · 2021-01-23 02:37
davidrysk[m]these are kernel (IOGPUFamily) messages
#asahi-gpu · 2021-01-23 02:37
bloomoh, interesting, I missed that then
#asahi-gpu · 2021-01-23 02:36
davidrysk[m]> fault 21:36:27.804306-0500 kernel trying to get apparently bogus texture handle 0
#asahi-gpu · 2021-01-23 02:36
davidrysk[m]after adding the bad make_ptr40 I see things like
#asahi-gpu · 2021-01-23 02:36
bloom🎉
#asahi-gpu · 2021-01-23 02:36
davidrysk[m]yep
#asahi-gpu · 2021-01-23 02:36
bloomdemo work?
#asahi-gpu · 2021-01-23 02:35
bloom:>
#asahi-gpu · 2021-01-23 02:35
davidrysk[m]:)
#asahi-gpu · 2021-01-23 02:35
davidrysk[m]yeah helps if I start x
#asahi-gpu · 2021-01-23 02:34
davidrysk[m]oh wait
#asahi-gpu · 2021-01-23 02:34
bloomthat assertion is it failed to open the x11 display, I don't know xquartz enough to help debug.
#asahi-gpu · 2021-01-23 02:34
davidrysk[m]entitlements are a security mechanism that Apple uses to gate access to different things
#asahi-gpu · 2021-01-23 02:34
davidrysk[m]Assertion failed: (d != NULL), function slowfb_init, file demo/slowfb.c, line 36.
#asahi-gpu · 2021-01-23 02:34
bloomI don't know what entitlements are though
#asahi-gpu · 2021-01-23 02:33
bloomnot that I know of
#asahi-gpu · 2021-01-23 02:33
davidrysk[m]oh do you need entitlements disabled for this to work?
#asahi-gpu · 2021-01-23 02:33
bloome.g changingthe last arg of a make_ptr40 call to 0xDEADBEEF00 or something
#asahi-gpu · 2021-01-23 02:33
bloomafter that, easiest way to trigger a fault would be taking some pointer on https://github.com/AsahiLinux/gpu/blob/main/demo/demo.c and totally messing with it
#asahi-gpu · 2021-01-23 02:33
davidrysk[m]macports*
#asahi-gpu · 2021-01-23 02:33
davidrysk[m]I have xquartz for rosetta + arm version installed via macportgs
#asahi-gpu · 2021-01-23 02:32
bloomalpha5 should work
#asahi-gpu · 2021-01-23 02:32
davidrysk[m]oh right I need the official xquartz for arm
#asahi-gpu · 2021-01-23 02:32
bloomhttps://github.com/AsahiLinux/gpu `make demo-bin` should Just Work, but it depends on X11, so either install Xquartz or patch that out (in which case it'll just render to a file)
#asahi-gpu · 2021-01-23 02:31
bloomfirst of all, get the demo built
#asahi-gpu · 2021-01-23 02:31
bloomGPU faults are easy to cause if you want to go digging :p
#asahi-gpu · 2021-01-23 02:31
davidrysk[m]is there anything I can/should try?
#asahi-gpu · 2021-01-23 02:31
bloomI tried that, didn't see relevant but maybe it was lost in the fuckton.
#asahi-gpu · 2021-01-23 02:30
davidrysk[m]you'll get a fuckton of log spew
#asahi-gpu · 2021-01-23 02:30
davidrysk[m]start streaming in console

plus ›