ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
Peng_Fan has joined #etnaviv
frieder has joined #etnaviv
JohnnyonFlame has quit [Read error: Connection reset by peer]
ecrn has joined #etnaviv
frieder has quit [Ping timeout: 480 seconds]
frieder has joined #etnaviv
lynxeye has joined #etnaviv
pcercuei has joined #etnaviv
adjtm has quit [Ping timeout: 480 seconds]
adjtm has joined #etnaviv
<ecrn> btw. probably you are already aware of this, but NXP provided vg_lite library for its GC355-containing MCUs, which surprisingly is provided as a full source code
<ecrn> could aid in the development
<ecrn> VG_LITE_RETURN_ERROR(push_state(&tls->t_context, 0x0A2B, source->stride | tiled_source));
<ecrn> VG_LITE_RETURN_ERROR(push_state(&tls->t_context, 0x0A2D, 0));
<ecrn> VG_LITE_RETURN_ERROR(push_state(&tls->t_context, 0x0A2F, source->width | (source->height << 16)));
<ecrn> and so on
adjtm is now known as Guest895
adjtm has joined #etnaviv
Guest895 has quit [Ping timeout: 480 seconds]
frieder has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
sravn has quit [Quit: WeeChat 3.0.1]
cockroach has joined #etnaviv
<cockroach> punit: I saw your question about the "Failed to lookup GEM object" on imx6. I'm currently having the same issue and was wondering if you ever found a solution.
<austriancoder> ecrn: please do not proprietary source code snippets. I do not think the source code licence allows you do to so and we only allow clean room reverse engineering!
<ecrn> austriancoder: it is MIT licensed
<pcercuei> nice!
sravn has joined #etnaviv
pcercuei_ has joined #etnaviv
pcercuei has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #etnaviv
ecrn has quit [Remote host closed the connection]
<punit> cockroach: Haven't found the solution but a work around - disabling DRM_ETNAVIV makes the problem go away
<cockroach> punit: oh, fun. how about performance? wouldn't disabling DRM hurt that?
<punit> The issue from my understanding so far is i.MX6 has two DRM devices (/dev/dri/card[01]) - the etnaviv driver for the 3d engine and the imx-drm for the display pipeline
<punit> And somewhere in the software stack (weston, libgbm, somewhere else) there is a mixup and the query ends up with the wrong device - hence the failed to lookup...
<cockroach> ah okay, so as long as I don't need the 3d engine I should be fine without DRM_ETNAVIV
<cockroach> thanks, I'll give it a try
<punit> Disabling the etnaviv driver means that the query ends up in the right driver and problem goes away
pcercuei_ has quit []
<punit> I haven't had the time to dig into what is causing the mixup - and whether it's a configuration issue (I am using Debian) or a bug that needs fixing
<cockroach> I'm using buildroot myself so there's not a whole lot of unintended configuration happening, plus it seems others are having the same problem
<cockroach> might be worth documenting somewhere / looking into it
<punit> Thanks for the pointer - I had not seen that. It definitely would be worth documenting / reporting - the question is identifying the component to report it against
<punit> At the moment I don't think it's a kernel driver issue - weston and libgbm are my current top suspects
<cockroach> ah, speaking of things: on my system I'm not even running weston at the moment, trying to get cog to run directly with the drm backend. I suppose that means it's not weston's fault...