<macc24>
fun fact: supertux advanced rendering pipeline is broken with panfrost
<icecream95>
macc24: I remember it was working before... Bisect time?
<macc24>
icecream95: i already have qutebrowser and minecraft on my todo list
l-as has joined #panfrost
<macc24>
it works with 20.1.8 but not git master
<mps>
icecream95: sway starts, cursor works fine, clock is shown at the top, but can't get any reaction to clicks or keyboard except ctrl-alt-f1 switched to console but console doesn't react to any key, even ctrl-c
<macc24>
so it works fine
<macc24>
try left alt/super key + enter
<mps>
macc24: looks like, but i have to learn how to use it
<mps>
thanks
* macc24
runs away
nlhowell has joined #panfrost
warpme_ has joined #panfrost
kinkinkijkin has quit [Ping timeout: 244 seconds]
stikonas has joined #panfrost
<mps>
hm, sway works but I can't do anything except move cursor. have to learn how to do basic tasks with it
Ke has joined #panfrost
clementp[m] has joined #panfrost
nhp[m] has joined #panfrost
<icecream95>
mps: Try changing the "set $term" line in /etc/sway/config to something you have installed
<mps>
oh thanks. it is alacritty which I didn't installed
<icecream95>
alacritty doesn't work without setting PAN_MESA_DEBUG=gl3 anyway
<mps>
ah
<mps>
ok, got reaction to mod-shift-e (exit) so keyboard works
<mps>
sway starts but looks like wayland use rockchip card and not panfrost. xorg does select panfrost
<urjaman>
that's... an odd thing to say, given how one needs to use the rockchip "card" to get any visual output :) (and the panfrost one to drive the GPU, tho that's afaik more of mesas job... ofc xorg is using mesa via glamor)
<mps>
yes, strange. I expected that sway will do right thing
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
guillaume_g has quit [Ping timeout: 272 seconds]
<macc24>
urjaman: but for displaying stuff i think it should use rockchipdrm
<mps>
solved 'js fault, js=0, status=INSTR_INVALID_ENC, head=0x21bc700, tail=0x21bc700' kernel msg and flickering playing with frequencies in /sys/class/devfreq/ff9a0000.gpu/
<mps>
but responsiveness is sluggish, practicaly unusable
<macc24>
use wayland
<macc24>
my system is sluggish on xorg too
<mps>
xorg is quite fine without panfrost on my system, just missing GL
guillaume_g has joined #panfrost
<icecream95>
mps: Did you get any messages other than the INSTR_INVALID_ENC one?
<uis>
Are any datasheets with registers, their addresses avaliable in public?
<robmur01>
no, but they really don't say much that you can't infer from kbase anyway
<alyssa>
"kbase is a better reference"
<alyssa>
robmur01: FTFY
<alyssa>
;)
<robmur01>
bear in mind that the GPU hardware team's only "customer" for software-related documentation is the GPU software team ;)
<alyssa>
uis: Worth noting in Mali parlance, "registers" specifically refers to the stuff that the kernel has to handle (mali_kbase from Arm, or panfrost in Linux)
<alyssa>
So register docs would only help if you wanted to, like, port panfrost to BSD or something
<alyssa>
in which case, kbase is reference code
<alyssa>
"Data structures" or "command stream" is what we call the stuff in Mesa that has historically not been so open
<alyssa>
(but other GPUs call "registers", confusingly)
MastaG has joined #panfrost
<uis>
Registers, that controls power, clocks and other hardware stuff
<daniels>
uis: all that you can find in linux/drivers/gpu/drm/panfrost/, or arm's kbase/
<daniels>
mostly the power & clock control is per-SoC - how you light up a power regulator or configure clock frequencies will be 100% different on Rockchip vs. Allwinner vs. Exynos
<daniels>
but you can find all the information (both code and helpful comments) in the panfrost & kbase drivers; those exist to allow userspace to submit the context descriptors as well as ISA command streams which allow you to actually execute commands
<daniels>
if you're looking to port to a different OS, you should probably try to follow those drivers and expose a similar API to userspace
<robmur01>
there are the core power management registers for managing the GPU's internal power domains (which are as straightforward as the kernel drivers should make them seem), but as daniels says, SoC-level power domains, clocks, regulators, etc. are all external to the GPU and not Mali-specific
<daniels>
robmur01: if there's one thing Amlogic has taught me, it's that the first part of your statement is incorrect :P
<robmur01>
daniels: I'm considering those independent of the "uh-on we buggered up the integration" power control override registers :P
<robmur01>
of which the documentation is at best patchy anyway
<uis>
drivers/gpu/drm/panfrost/panfrost_regs.h
<uis>
Will arm provide datasheets?
davidlt has quit [Ping timeout: 260 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
kinkinkijkin has quit [Ping timeout: 272 seconds]
mps has left #panfrost [#panfrost]
raster has quit [Quit: Gettin' stinky!]
robmur01 has quit [Ping timeout: 264 seconds]
yann has joined #panfrost
kinkinkijkin has joined #panfrost
icecream95 has joined #panfrost
<unoccupied>
alyssa: might aswell grab you in here
<unoccupied>
alyssa: i've recently been auditing libreboot.git
<unoccupied>
alyssa: I've been making sure that everything is all organized properly, and I'm compiling a list of COPYING and license files,
<unoccupied>
so that the license for each part of libreboot is more obvious to other people looking at the git repo
<unoccupied>
anyway, I realized something very important:
<unoccupied>
the CSS for libreboot.org has no license
<unoccupied>
you are its principle author, from when you created the current design for libreboot.org
<unoccupied>
I myself have also been making changes to it over time
<unoccupied>
Can you please retroactively declare a license for libreboot.org css?
<unoccupied>
right now it falls under default copyright law, but you gave me permission to use it on libreboot.org
<unoccupied>
so there's nothing illegal per se
<unoccupied>
but people copy libreboot.org's git repo, which contains that file
<unoccupied>
the best way to do it would be for you to submit a pull request, adding a license to the css, for the parts you did
<unoccupied>
like, add license declaration to the css file
<unoccupied>
i will then add my own retroactive declaration, for whatever license you chose
<unoccupied>
hm
<unoccupied>
actually, according to swiftgeek, the COPYING file (which declares GPLv3) makes GPLv3 the default for contributions, unless specifically stated in the contribution....
<unoccupied>
I guess your license was GPLv3.
<unoccupied>
ok, please disregard everything I wrote.... I'm double checking
<unoccupied>
i'll get back to you, if I see that something needs to be done
<unoccupied>
also, sorry for spamming up #panfrost.... I intended to PM you, but accidentally wrote all that here. sorry. I forgot to type /query
yann has quit [Ping timeout: 272 seconds]
icecream95 has quit [Ping timeout: 272 seconds]
icecream95 has joined #panfrost
<unoccupied>
alyssa: if you can tell me though, what license you originally had in mind for it, that would clear things up
<unoccupied>
the licensing is a mess right now. we're tidying things up and making things tidier
kinkinkijkin has quit [Remote host closed the connection]
robmur01 has joined #panfrost
robmur01_ has joined #panfrost
robmur01 has quit [Ping timeout: 272 seconds]
<alyssa>
unoccupied: I don't know what I originally intended, but GPLv3 is fine.
<alyssa>
I, Alyssa Rosenzweig, hereby license my changes to the libreboot.org CSS as GPLv3.
<unoccupied>
thanks
<unoccupied>
that's all i needed
<unoccupied>
alyssa: swiftgeek wants to change the CSS to GFDL
<unoccupied>
he's consolidating everything
<unoccupied>
there's currently legal ambiguity on the exact license of the CSS: COPYING file in / says GPLv3, but there's a CC-BY-SA file in www/, and an fdl file in docs/, and individual pages say GFDL
<alyssa>
I, Alyssa Rosenzweig, hereby license my changes to the libreboot.org CSS under the Creative Commons Zero license.
<unoccupied>
ah ha
<unoccupied>
yes :)
<unoccupied>
that'd work nicely
<alyssa>
pick what you want, it's trivial anyway :p
<unoccupied>
yeah
<unoccupied>
i'm just being super anal about everything