austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
indianah1rst has joined #etnaviv
indianah1rst has quit [Remote host closed the connection]
kggr has joined #etnaviv
kggr has quit [Remote host closed the connection]
CorbaTheGeek has joined #etnaviv
CorbaTheGeek has quit [Remote host closed the connection]
dgrig[m] has joined #etnaviv
dgrig[m] has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 01:13:09)]
JohnnyonFlame has joined #etnaviv
AJ_Z01 has joined #etnaviv
AJ_Z01 has quit [Remote host closed the connection]
pastly-antispam has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 02:03:48)]
pastly-antispam has joined #etnaviv
Nikolay-t has joined #etnaviv
Nikolay-t has quit [Remote host closed the connection]
ryan5 has joined #etnaviv
ryan5 has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 02:37:43)]
msocorcim has joined #etnaviv
msocorcim has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 02:41:51)]
JohnnyonFlame has quit [Ping timeout: 480 seconds]
akira has joined #etnaviv
akira has quit [Remote host closed the connection]
joel135 has joined #etnaviv
joel135 has quit [Remote host closed the connection]
datajerk7 has joined #etnaviv
datajerk7 has quit [Remote host closed the connection]
byteflame has joined #etnaviv
byteflame has quit [Remote host closed the connection]
Ottomite_Desk has joined #etnaviv
Ottomite_Desk has quit [Remote host closed the connection]
xarian_ has joined #etnaviv
xarian_ has quit [Remote host closed the connection]
NadezhdaT-t has joined #etnaviv
NadezhdaT-t has quit [Remote host closed the connection]
Guest2154 is now known as gruetzkopf
lynxeye has joined #etnaviv
dtrainor has joined #etnaviv
dtrainor has quit [Remote host closed the connection]
stoffepojken has joined #etnaviv
stoffepojken has quit [Remote host closed the connection]
Su-Shee_ has joined #etnaviv
Su-Shee_ has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 08:21:50)]
pcercuei has joined #etnaviv
swoolley has joined #etnaviv
swoolley has quit [Remote host closed the connection]
dan- has joined #etnaviv
dan- has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 09:40:01)]
Ekkie has joined #etnaviv
Ekkie has quit [Remote host closed the connection]
JohnnyonFlame has joined #etnaviv
<mntmn> is the author of this patch here (michael walle) perhaps? this is super relevant to me https://lkml.org/lkml/2021/6/14/1595
<mntmn> (it's about etnaviv on ls1028a)
Marina3-t has joined #etnaviv
Marina3-t has quit [Remote host closed the connection]
abc_ has joined #etnaviv
abc_ has quit [Remote host closed the connection]
johnvikert6 has joined #etnaviv
johnvikert6 has quit [Remote host closed the connection]
Fanch has joined #etnaviv
Fanch has quit [Remote host closed the connection]
jass93 has joined #etnaviv
jass93 has quit [Remote host closed the connection]
caramel_ has joined #etnaviv
caramel_ has quit [Remote host closed the connection]
<austriancoder> mwalle: ^
<mwalle> mntmn: yep
tonyt has joined #etnaviv
tonyt has quit [Remote host closed the connection]
hanwen has joined #etnaviv
hanwen has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-15 13:53:49)]
<mntmn> mwalle: oh great, hi! i'm working on ls1028a-rdb right now and i just got malidp output to work with mainline+patches, but i didn't get etnaviv to work so far... did you do any further tricks than that patch you submitted?
<mntmn> mwalle: for example, etnaviv wants at least "core" clock, i just passed in <&clockgen 2 2> as sort of a dummy
<mntmn> mwalle: i tried only headless tests so far and i get MMU hangs
<mntmn> tried with mesa patched for mali-dp now, but same story:
<mntmn> [ 5968.897613] etnaviv-gpu f0c0000.gpu: recover hung GPU!
<mntmn> [ 5968.903238] DEBUG: Passed cdns_mhdp_imx_encoder_atomic_check 54 force_mode_set: 0
<mntmn> [ 5968.910939] etnaviv-gpu f0c0000.gpu: MMU fault status 0x00000002
<mntmn> [ 5968.916978] etnaviv-gpu f0c0000.gpu: MMU 0 fault addr 0x00000000
<lynxeye> mntmn: did you apply https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9255 and set ETNA_MESA_DEBUG=no_supertile,no_ts ?
<mntmn> lynxeye: i did the no_supertile,no_ts (and nir, is that still necessary?) part but not the patch i guess! lets try
<lynxeye> IIRC mwalle also had the issue that the GPU had a MMU fault at application startup, but was running fine after it recovered the GPU one time
<lynxeye> mntmn: nir is still not the default, so if you want the nir compiler you still need to pass the debug option
<mntmn> ok, thanks!
<mntmn> ok, i get a different mmu fault addr now with the headless test, promising
<mntmn> ok, something starts to work!
<mntmn> weston shows a mouse cursor (and i can even move it)
<mntmn> ok cool, it works... it's like you said, the initial draw(s) hung but then it starts working
<mntmn> and the background surface seems to have front/back confusion
<cphealy> Ship it! ;-)
<lynxeye> mntmn: weston doesn't render "clean" parts of the background, so if the startup hang crashed the background rendering job, you get some persistent artifacts.
<mntmn> lynxeye: yes, that's exactly what's happening
<mntmn> i can use chromium and it has some glitches, but it's a start
<dj-death> is it right to file mesa issues for the etnaviv driver?
<austriancoder> dj-death: sure.. and I have seen it
<mntmn> i get regular hangs on the ls1028a like this, but otherwise etnaviv works pretty well already:
<mntmn> [ 1004.501367] etnaviv-gpu f0c0000.gpu: MMU fault status 0x00000002
<mntmn> [ 1004.507417] etnaviv-gpu f0c0000.gpu: MMU 0 fault addr 0xffe80000
<mntmn> [ 1005.834828] etnaviv-gpu f0c0000.gpu: recover hung GPU!
<mntmn> [ 1008.614094] etnaviv-gpu f0c0000.gpu: MMU fault status 0x00000002
<mntmn> [ 1008.620135] etnaviv-gpu f0c0000.gpu: MMU 0 fault addr 0xfeed0000
<mntmn> [ 1009.802773] etnaviv-gpu f0c0000.gpu: recover hung GPU!
<mntmn> sorry for the spam. also, oops, this mesa is 1 year old. gonna update
Kneiva has joined #etnaviv
Kneiva has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
blkqi has joined #etnaviv
rouca has joined #etnaviv
blkqi has quit [Remote host closed the connection]
rouca has quit [Remote host closed the connection]
<mntmn> i am able to run sway on the ls1028a with latest mesa. there's still a gpu hang on startup and all subsequent flips are inverted i think, so all motion is jerky. but it's very close to being usable
Tosik747T-t has joined #etnaviv
Tosik747T-t has quit [Remote host closed the connection]
JohnnyonFlame has quit [Ping timeout: 480 seconds]
random_yanek has joined #etnaviv
random_yanek has quit [Remote host closed the connection]
flash2 has joined #etnaviv
flash2 has quit [Remote host closed the connection]
shesek has joined #etnaviv
shesek has quit [Remote host closed the connection]
<mwalle> mntmn: great to hear!
<mwalle> mntmn: and lynxeye is correct, I needed that pull request, too. Thats missing in my mail. oh and I needed to disable iommu
<mwalle> mntmn: what do you use for the dp phy driver? the nxp "hdp" driver?
<mntmn> mwalle: oh, how come @ iommu? were you able to get around the gpu hangs, esp the initial ones?
<mwalle> I'm currently working on support for that DP bridge/PHY based on the cdns-mhdp8546 driver, both bridges seem to be 99% identical
<mwalle> except for the PHY part, I guess
<mwalle> mntmn: no I still have one after starting glmark2, but as I said, I just tested that briefly
<mntmn> i use the drivers/gpu/drm/imx/cdn-mhdp-* from NXP yes
<mwalle> I wanted to try getting a dump in case of that error, marex pointed something out, but I haven't found time to actually try it
<mntmn> devcoredump perhaps?
<mwalle> mntmn: right :)
arusso has joined #etnaviv
arusso has quit [Remote host closed the connection]
KelseyS has joined #etnaviv
KelseyS has quit [Remote host closed the connection]
xinbenlv has joined #etnaviv
xinbenlv has quit [Remote host closed the connection]
pcercuei has quit [Quit: dodo]
pastly-antispam has quit [Quit: WeeChat 2.3]
MiseryMyra has joined #etnaviv
MiseryMyra has quit [Remote host closed the connection]
ukari has joined #etnaviv
ukari has quit [Remote host closed the connection]
clebig has joined #etnaviv
clebig has quit [Remote host closed the connection]