[Bug 110229] The driver is not waiting the shader have finished to update the framebuffer before displaying it.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 29 14:23:34 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110229

--- Comment #10 from Laurent <laurentduroisin at gmail.com> ---
Hey is there someone here ???

I tested and, for the bug with the shader, it seems it works, I thing, you made
a mistake, if I look at the source code, I didn't see any command to start the
shader execution so, I guess the shader starts to execute immediately after the
first instruction is loaded, so, I guess, the problem was this :

-You load the first instruction (the boot) tho the GPU memory, it initialize
the offset register to go to the next instruction but, there is no guarantee
that the CPU has loaded the next instruction before the GPU is pointing to it.

The solution is to load the last instruction first, and the first instruction
(the boot) last so, you're guarantee that all the shader instructions are
loaded before the GPU start to execute them.

So the shader output is now correct , the light and the shadows are correctly
displayed but it stills doesn't work because there is another problem, and it's
not with the shaders this time because if I don't use shaders, the problem
remains.

Sometimes the framebuffer is not updated so it doesn't draw anything.

Mmmm...I think there are some critical bugs with this driver. I don't know what
to do, find another driver or, trying to fix it but it's too difficult to find
where the rasterizer writes output datas to the render buffer, because, there
are a lot of source code.

So, it's hard coded, bad coded and no one is responding so ..., bye.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190329/d152f038/attachment.html>


More information about the dri-devel mailing list