austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
adjtm has quit [Ping timeout: 480 seconds]
adjtm has joined #etnaviv
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #etnaviv
karolherbst has quit []
karolherbst has joined #etnaviv
yogurtmilk has joined #etnaviv
yogurtmilk has quit [Remote host closed the connection]
smashgrab14 has joined #etnaviv
smashgrab14 has quit [Remote host closed the connection]
hendursaga2 has joined #etnaviv
hendursaga2 has quit [Remote host closed the connection]
adjtm has quit [Ping timeout: 480 seconds]
Lewix has joined #etnaviv
Lewix has quit [Remote host closed the connection]
pcercuei has joined #etnaviv
pcercuei has quit []
pcercuei has joined #etnaviv
JohnnyonFlame has quit [Remote host closed the connection]
mripx has joined #etnaviv
mripx has quit [Read error: Connection reset by peer]
boejiden has joined #etnaviv
boejiden has quit [Remote host closed the connection]
gbisson has quit [Remote host closed the connection]
gbisson has joined #etnaviv
lourcastillo[m] has joined #etnaviv
lourcastillo[m] has quit [Remote host closed the connection]
DJ-ArcAngel has joined #etnaviv
DJ-ArcAngel has quit [Remote host closed the connection]
mlen has joined #etnaviv
mlen has quit [Remote host closed the connection]
w3stside has joined #etnaviv
w3stside has quit [Remote host closed the connection]
rsripada_ has joined #etnaviv
rsripada_ has quit [Remote host closed the connection]
_whitelogger has joined #etnaviv
ipwizard has joined #etnaviv
ipwizard has quit [autokilled: Possible spambot. Mail support@oftc.net if you think this is in error. (2021-06-03 15:24:17)]
lancillott0 has joined #etnaviv
lancillott0 has quit [autokilled: This host has violated network policy. Contact support@oftc.net with questions (2021-06-03 16:02:11)]
AtnNn12 has joined #etnaviv
AtnNn12 has quit [Remote host closed the connection]
dpower has joined #etnaviv
dpower has quit [Remote host closed the connection]
pcercuei_ has joined #etnaviv
pcercuei has quit [Read error: Connection reset by peer]
karolherbst has quit [Quit: Konversation terminated!]
karolherbst has joined #etnaviv
lookshe28 has joined #etnaviv
lookshe28 has quit [Remote host closed the connection]
pastly-antispam has joined #etnaviv
glenux[m] has joined #etnaviv
glenux[m] has quit [Remote host closed the connection]
benjamin_w has joined #etnaviv
benjamin_w has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-03 18:47:09)]
kevtris has joined #etnaviv
kevtris has quit [Remote host closed the connection]
jochensp19 has joined #etnaviv
jochensp19 has quit [Remote host closed the connection]
dj-death has joined #etnaviv
<dj-death> Hi all
<dj-death> is there a mechanism to figure out GPU hangs?
<austriancoder> dj-death: devcoredumps
<dj-death> austriancoder: what repo is that on?
<dj-death> thanks
<austriancoder> dj-death: there is an udev rule in there
<dj-death> cool
<dj-death> let me install that
<dj-death> I get a lot of hangs when using chromium/firefox
<austriancoder> dj-death: in combination with https://github.com/etnaviv/etna_viv/blob/master/tools/dump_separate_cmdbuf.py you might be able figure out what could be wrong
<dj-death> thanks
<dj-death> odd
<dj-death> I installed the thing, but nothing in /var/crash
<austriancoder> dj-death: kernel has DEV_COREDUMP enabled?
* austriancoder bed time here
<dj-death> yes
<dj-death> I'm sensing I might have to do something else with udev
<dj-death> not sure if it just works with system
<dj-death> d
<austriancoder> dj-death: I am using it on bullseye with systemd
<austriancoder> dj-death: basically I am running make install in the gpu-tools repo and it works.
<dj-death> yep, same
<dj-death> maybe I can run the command manually
<austriancoder> I see devcoredumps also with private CI.. and it uses mesas baremetal solution: https://cgit.freedesktop.org/mesa/mesa/tree/.gitlab-ci/bare-metal/capture-devcoredump.sh
<dj-death> damn
<dj-death> on this reboot I can reproduc
<dj-death> e
<dj-death> whereas previous one, I can the twitter page hanging every 2s
<austriancoder> k
<austriancoder> soo.. bed is calling - sorry
<dj-death> no worries
<dj-death> have a good one
Southern_Gentlem has joined #etnaviv
Southern_Gentlem has quit [Remote host closed the connection]
<marex> dj-death: did you get it going ?
<marex> dj-death: btw which soc are you using ?
<marex> dj-death: btw no, you cannot run the command manually ; the way it works is that when there is MMU fault (and note , only the first one triggers (!) ), the kernel creates sysfs file and udev rule triggers on that, the udev rule runs a script which stores the sysfs file content in a filesystem , and then you can analyze the dump with aforementioned tools
<marex> see linux drivers/gpu/drm/etnaviv/etnaviv_dump.c ~line 120, there you can hack out of the trigger on first event only
<marex> + /* Only catch the first event, or when manually re-armed */
<marex> +- if (!etnaviv_dump_core)
<marex> +- etnaviv_dump_core = false;
<marex> ++/* if (!etnaviv_dump_core)
<marex> + return;
<marex> ++ etnaviv_dump_core = false;*/
<marex> this ^
<marex> then the udev rule triggers on every MMU fault (which might be a bit problematic if you get too many of those)
Azrael_- has joined #etnaviv
Azrael_- has quit [Remote host closed the connection]
pcercuei_ has quit []
boubou19 has joined #etnaviv
dos1 has quit [Quit: Kabum!]
dos11 has joined #etnaviv
dos11 has quit [Remote host closed the connection]
dos1 has joined #etnaviv
dos1 has quit []
dos1 has joined #etnaviv