alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
<mrfixit2001> anarsoul that's a good thought. I know that LibreElec has always used 64-bit kernel with 32-bit userspace. And they are wanting to use panfrost as well for rk3399 builds. Honestly, I was pleasantly surprised with the number of things that ran well. I ended up being able to get n64 running decently as long as it was the libretro core, I would say
<mrfixit2001> approximately the same performance as I'm getting on the mali blob at this time.
<mrfixit2001> even low resolution video file playback rendered well.
<mrfixit2001> and the dreamcast libretro core (flycast) also ran really well, about on par. A few graphical glitches still, as to be expected, but really was impressed. Not ready to be used in a release yet, but I'll be testing again in a few months to check the progress for sure!
<mrfixit2001> Rounding back around to test lima again now that I've got all the build flags right and have a baseline for panfrost
Lyude has quit [Read error: Connection reset by peer]
Lyude has joined #panfrost
stikonas has quit [Remote host closed the connection]
_whitelogger has joined #panfrost
wens has joined #panfrost
<wens> getting timeouts w/ panfrost on next-20191011 and mesa HEAD @ 075a96aa926, just starting X11 w/ modeset & glamor, on veyron-speedy (rk3288)
megi has quit [Ping timeout: 245 seconds]
belgin has joined #panfrost
belgin has quit [Client Quit]
belgin has joined #panfrost
belgin has quit [Client Quit]
belgin has joined #panfrost
belgin has quit [Quit: leaving]
_whitelogger has joined #panfrost
<urjaman> wens: how many/often timeouts? anyways "singular" page fault + a timeout (TRANSLATION_FAULT_LEVEL2 or 3 usually) is known about already
<urjaman> i can trigger it pretty reliably by switching youtube to/from fullscreen in firefox (with firefox forced to use OpenGL compositing)
sphalerite has quit [Quit: reconfiguring stuff!]
sphalerite has joined #panfrost
<wens> about once every second
<urjaman> what are you running in your X11? (or nothing at all?)
<wens> lightdm
<wens> It hasn't gotten past the login part
<wens> dropping back to an older kernel made things work again
<rcf> Which kernel?
<urjaman> okay so it's something new
<rcf> I'm rebuilding to latest git HEAD, so might as well be sure the kernel is right in testing this.
<wens> 5.3.0-rc5-next-20190821, kind of old
<wens> I guess I should try v5.3.x proper first
<urjaman> i have a working kernel based on 5.4-rc2 (atleast with XFCE, i dont have lightdm but i assume it's not to blame)
* rcf will try with 5.3.1
<rcf> If it works, I'll see if I can break it with the -rc kernel
<wens> hmm, 5.4-rc2 doesn't work
<rcf> 5.3.1 works.
<rcf> Took its time trying to start, but I did get lightdm to show up.
<rcf> wens: can you get it to work on 5.3 proper?
<wens> v5.3.0 works
<rcf> I suppose that means you could have fun bisecting the regression yourself, or just complain upstream.
belgin has joined #panfrost
belgin has quit [Client Quit]
belgin has joined #panfrost
paulk-leonov has quit [Ping timeout: 276 seconds]
belgin has quit [Quit: leaving]
paulk-leonov has joined #panfrost
paulk-leonov has quit [Ping timeout: 250 seconds]
paulk-leonov has joined #panfrost
megi has joined #panfrost
stikonas has joined #panfrost
raster has joined #panfrost
Elpaulo has joined #panfrost
raster has quit [Remote host closed the connection]
<urjaman> this is odd ... if you try to run anything via llvmpipe (eg. "LIBGL_ALWAYS_SOFTWARE=1 glxgears") while panfrost is running glamor you get some LLVM error messages and a segfault
<alyssa> mrfixit2001: Nice! (re 32-bit userspace)
<alyssa> "DRM_IOCTL_PANFROST_CREATE_BO failed: Cannot allocate memory" just sounds like you're out of memory?
<alyssa> urjaman: wontfix ;P
<urjaman> alyssa: fix dosbox and kicad then :P
<urjaman> but yeah this llvmpipe thing seems like some soft of a misconfiguration that even I could maybe fix
<urjaman> in other news, Ultimaker Cura runs but is very laggy due to lots of faults & timeouts
<alyssa> Bwap.
<alyssa> I'm starting to look at prep for OpenCL
<alyssa> Happy Thanksgiving everyon' :)
<alyssa> First step will be fixing regressions on current compute stuff
<alyssa> After that, I need to do some design on how we want bit sizes to work
<alyssa> # apt install spirv-tools llvm-spirv libllvmspirvlib-dev
<alyssa> $ meson configure -Dopencl-spirv=true -Dgallium-opencl=standalone
<alyssa> ^ something like that should build with opencl (just note to self)
<mrfixit2001> alyssa re "DRM_IOCTL_PANFROST_CREATE_BO failed: Cannot allocate memory" - doesn't happen on the mali blob, isn't running anything except the one emulator, and the card has 4gb of ram
<mrfixit2001> urjaman dosbox works :) I tested it and played wolfenstein 3D just fine
<mrfixit2001> ^-- using gbm/egl/gles without any windowing systems
<alyssa> mrfixit2001: panfrost uses more ram than necessary so.
<urjaman> mrfixit2001: yeah but using the opengl backend in Xorg
<urjaman> it has some wallpapering problem (you can only see what the thing updated)
<urjaman> i had a very glitchy moment of trying to play SimCity 2000 with it (and that's why i tried the llvmpipe since i dont really need the speed for that, using the opengl backend just for scaling)
<urjaman> having a 1366x768 screen is very awkward for playing VGA things :P
<mrfixit2001> There's definitely a scaling issue - I found that out trying 800x600 rendering. Make me want to "adjust my 1980's antenna because the reception was bad"
<alyssa> So, I'm trying to think if we can do RA .... bytewise, maybe?
<alyssa> Componentwise, at least .
marcodiego has joined #panfrost
belgin has joined #panfrost
megi has quit [Remote host closed the connection]
belgin has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost