[virglrenderer-devel] Strange graphical glitches under virgl.
Gert Wollny
gert.wollny at collabora.com
Sat Jul 21 04:44:02 UTC 2018
Am Freitag, den 20.07.2018, 17:34 -0700 schrieb Lepton Wu:
> I think the bug is inside vrend_renderer_blit_int, I just tried to
> change use_gl to true inside this function and it also
> fixed this issue.
I'm thinkng about how to use the GL fallback path less, because
currently use_gl is used in many cases where blit would work.
Meanwhie you could try
https://patchwork.freedesktop.org/patch/239981/
to see whether it fixes the issue.
Best,
Gert
>
> So it seems use_gl==false code path inside vrend_renderer_blit_int
> has some kind of bug.
> On Fri, Jul 20, 2018 at 4:38 PM Lepton Wu <lepton at chromium.org>
> wrote:
> >
> > Thanks Gurchetan he confirmed with me that he didn't see such kind
> > of
> > issue in his setup.
> > So I just upgraded everything to TOT and find out this issuse was
> > gone. With bisect, I tracked down
> > this issue get fixed by this one:
> >
> > https://patchwork.freedesktop.org/patch/230529/
> >
> > So I guess does this mean there is some bug for regular memcpy code
> > path?
> > On Fri, Jul 20, 2018 at 2:28 PM Gurchetan Singh
> > <gurchetansingh at chromium.org> wrote:
> > >
> > > On Fri, Jul 20, 2018 at 2:21 PM Lepton Wu <lepton at chromium.org>
> > > wrote:
> > > >
> > > > Hi,
> > > >
> > > > I have an issue which I recorded a video to show the bug:
> > > > https://youtu.be/ECGDCMAOTxs
> > > > You can see, sometimes, there is a "wrong block" of rendering.
> > > > It's
> > > > always some kind of rectangle somewhere.
> > > > A strange part is: I've never seen this kind of issue if I am
> > > > running
> > > > 3D android games under virgl. Games always
> > > > running fine. But for Chrome, it sometimes come with this kind
> > > > of
> > > > weird graphics.
> > > >
> > > > So I have 2 questions:
> > > >
> > > > 1. What kind of guest are you using to test virgl? I am
> > > > trying to
> > > > test some other guests to see if I can reproduce
> > > > same issue so I can confirm if this is something specific to my
> > > > guest
> > > > (Chrome OS).
> > >
> > > Most people use Ubuntu VMs. It's a bit of work to setup -- I'll
> > > add
> > > some instructions to "Virgl tips and tricks" document and upload
> > > a VM
> > > to the cloud.
> > >
> > > > 2. Do you have any rough idea that this is actually some fixed
> > > > bug
> > > > upstream somewhere? I am using TOT virglrenderer + TOT qemu.
> > > > But my mesa (mesa-18.1_pre1) and linux kernel (4.4) in guest
> > > > which
> > > > could be a little outdated.
> > > >
> > > > Thanks for your help!
> > > > _______________________________________________
> > > > virglrenderer-devel mailing list
> > > > virglrenderer-devel at lists.freedesktop.org
> > > > https://lists.freedesktop.org/mailman/listinfo/virglrenderer-de
> > > > vel
>
> _______________________________________________
> virglrenderer-devel mailing list
> virglrenderer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel
More information about the virglrenderer-devel
mailing list