ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
tlwoerner_ has quit []
tlwoerner has joined #etnaviv
JohnnyonFlame has joined #etnaviv
JohnnyonFlame has quit []
pcercuei has joined #etnaviv
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #etnaviv
chewitt has quit [Quit: Zzz..]
chewitt has joined #etnaviv
Leopold_ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #etnaviv
chewitt has quit [Quit: Zzz..]
chewitt has joined #etnaviv
chewitt has quit [Quit: Zzz..]
Leopold__ has joined #etnaviv
Leopold_ has quit [Ping timeout: 480 seconds]
<mntirc> i have an apitrace .trace that generates MMU faults on playback with eglretrace on gc7000. interesting?
JohnnyonFlame has joined #etnaviv
Leopold__ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #etnaviv
<mntirc> austriancoder: does it make sense that etnaviv would cause mmu faults when glVertexAttribPointer passes an unusual pointer?
<mntirc> hmm, i've boiled down the mmu fault trace to 5 operations
<mntirc> glGenBuffers(1, [1]); glBindBuffer(GL_ARRAY_BUFFER, 1); glEnableVertexAttribArray(0); glVertexAttribPointer(0,2,GL_FLOAT,GL_FALSE,0,0xaaab00819370); glDrawArrays(GL_TRIANGLE_FAN,0,4);
<mntirc> lol
<mntirc> i compiled a simple example program from the web to make a test case and it also mmu faults, even if i didn't do anything interesting yet
<mntirc> is it possible that glVertexAttribPointer() is broken?
<mntirc> ah. if the first argument to glVertexAttribPointer() is invalid, it will cause mmu faults or memory scribbling
<mntirc> i.e. it can trash textures of other applications
Leopold_ has quit [Ping timeout: 480 seconds]
<mntirc> wow
<mntirc> i can cause weird kernel errors by doing sth like this: glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(float), (void *)0xffff);
<mntirc> this causes > [ 5781.229602] Huh VM_FAULT_OOM leaked out to the #PF handler. Retrying PF
<mntirc> cc lynxeye austriancoder
Leopold_ has joined #etnaviv
alarumbe has quit [Ping timeout: 480 seconds]
alarumbe has joined #etnaviv
<mntirc> hmm, alyssa says this is kernel responsibility