ChanServ changed the topic of #lima to: Development channel for open source lima driver for ARM Mali4** GPUs - Kernel driver has landed in mainline, userspace driver is part of mesa - Logs at https://oftc.irclog.whitequark.org/lima/
camus has joined #lima
camus1 has joined #lima
camus has quit [Ping timeout: 480 seconds]
camus1 has quit [Remote host closed the connection]
camus has joined #lima
mranosta1 has quit [Remote host closed the connection]
mranostaj has joined #lima
dllud_ has joined #lima
dllud has quit [Read error: Connection reset by peer]
dllud has joined #lima
dllud_ has quit [Read error: Connection reset by peer]
dllud_ has joined #lima
dllud has quit [Read error: Connection reset by peer]
<rellla> uahhh. no more deqp tests left that pass with the blob and fail with lima ;)
<enunes> rellla: cool, I didnt know we were even this close when I mentioned that in the talk
<enunes> rellla: you can keep the r-b in the second patch for your clip MR
drod has joined #lima
marex has quit [Ping timeout: 480 seconds]
<tlwoerner> anarsoul: thanks! tweaking the kernel config seems to have improved things. i can run the entire glmark2-es2 benchmark in fullscreen and it completes without crashing
<tlwoerner> i'm still seeing 2 issues
<tlwoerner> rock64 kernel: lima ff300000.gpu: fail to save task state from <process>
<tlwoerner> where <process> is either glmark2-es2 or Xorg
<tlwoerner> if <process> == glmark2-es2 then i will see a wicked flashing, and almost always occurs in one or the other of the [effects2d] tests
<anarsoul> tlwoerner: you should hav an error prior to that
<tlwoerner> if <process> == Xorg then the test continues on, but the screen is frozen at whatever it was showing when the dmesg message appeared (which is, again, almost always in the 2nd [effect2d] test)
<tlwoerner> in any case, this is a huge improvement! thanks :-)
<anarsoul> tlwoerner: can you share complete dmesg after reproducing the issue?
<tlwoerner> anarsoul: the full dmesg from start of boot? or the relevant lima parts when the issue occurs?
<anarsoul> from start of boot
<anarsoul> job timeout
<anarsoul> you can either increase timeout with sched_timeout_ms=1000 argument to lima module
<tlwoerner> what's the default?
<anarsoul> 500
<anarsoul> or add operating points to gpu node in dts
<anarsoul> likely it's running not at the highest freq
<anarsoul> [ 0.379711] lima ff300000.gpu: mod rate = 163840000
<anarsoul> 163.84mhz, that's pretty slow
Danct12 has joined #lima
<anarsoul> tlwoerner: it can go up to 500mhz on rk3328, see dtsi from bsp kernel: https://github.com/rockchip-linux/kernel/blob/develop-4.4/arch/arm64/boot/dts/rockchip/rk3328.dtsi#L729
<anarsoul> so if you're interested in running lima on this board you can get 3x performance boost if you add operating points
megi has quit [Quit: WeeChat 3.2]
megi has joined #lima
drod has quit [Ping timeout: 480 seconds]
<tlwoerner> interesting! i'm using an upstream kernel, shouldn't this be in the upstream kernel?
<anarsoul> tlwoerner: no one bothered to adapt it from bsp to upstream
<anarsoul> it's in dts, we obviously can't cover every board, it's up to board or soc maintainers
<anarsoul> but code to handle it is there, see sun8i-h3.dtsi as example
<tlwoerner> ah interesting, i see
<tlwoerner> thankfully i'm the meta-rockchip maintainer, so i'll add it in there ;-)
<anarsoul> tlwoerner: please submit it upstream
<anarsoul> keeping it downstream (i.e. in meta-rockchip) isn't a good idea
<tlwoerner> i'm a kernel nobody, aren't there people in the project better-positioned to submit this?
<anarsoul> tlwoerner: so what? you can patch the dtsi, you can test it, so once it's done you can submit it upstream
<anarsoul> tlwoerner: there's tens of different SoCs with mali4x0, we just don't have every board in the world with every SoC to test it
<tlwoerner> ah, true :-)
<anarsoul> mali4x0 can have different frequences and voltages in different SoCs
<anarsoul> IIRC it goes up to 800mhz in amlogic
<anarsoul> but on allwinner A64 it's only 432mhz
drod has joined #lima
dllud has joined #lima
dllud_ has quit [Read error: Connection reset by peer]
Viciouss has quit [Quit: Ping timeout (120 seconds)]
Viciouss has joined #lima
drod has quit [Remote host closed the connection]