--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/03077d4d-7e62-433c-8686-ef274bc8b0ddn%40chromium.org.
Indeed with the --use-cmd-decoder=validating argument, the native driver is selected (ATI in my case).But it doesn't solve the problem with rendering artifacts (black rectangles still remain on the pages). I was wrong that the cause is ANGLE. Apparently the problem is somewhere else.I will try to test this for different versions of Chromium soon (I was building version 89.0.4325.0). I will also try to create a test html page with this bug and describe it on crbug.com.
Thank you for reply!четверг, 24 декабря 2020 г. в 09:28:03 UTC+3, Kenneth Russell:
Yes, I tried --use-gl=desktop argument. This disables hardware acceleration completely.chrome://gpu output:Graphics Feature StatusCanvas: Software only, hardware acceleration unavailableCompositing: Software only. Hardware acceleration disabledMetal: DisabledMultiple Raster Threads: EnabledOut-of-process Rasterization: UnavailableOpenGL: UnavailableHardware Protected Video Decode: UnavailableRasterization: UnavailableSkia Renderer: DisabledVideo Decode: UnavailableWebGL: UnavailableWebGL2: UnavailableThis fixes the rendering problem (black rectangles), but the page rendering itself becomes slow (CPU).пятница, 25 декабря 2020 г. в 00:14:07 UTC+3, ynov...@chromium.org:
Skia Renderer: Disabled (with or without arg --use-cmd-decoder=validating)Graphics Feature StatusCanvas: Hardware acceleratedCompositing: Hardware accelerated
Metal: DisabledMultiple Raster Threads: Enabled
Out-of-process Rasterization: Hardware acceleratedOpenGL: Enabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware acceleratedSkia Renderer: DisabledVideo Decode: Hardware acceleratedWebGL: Hardware acceleratedWebGL2: Hardware acceleratedпятница, 25 декабря 2020 г. в 01:17:15 UTC+3, andr...@chromium.org:
Yes, there is a difference in rendering when using Skia. No black rectangles, but other artifacts appear when scrolling the page.Unfortunately, I haven't had time yet to prepare a small clean page to reproduce the error.But I did happen to find a page where you can see this error. I've attached three short videos where you can see these rendering artifacts on this web page https://www.artlebedev.ru/r-pharm/.The first video is a reference rendering of the downloaded release 89.0.4325.0 from https://github.com/macchrome/chromium/releases/tag/v89.0.4325.0-r827558-macOSFor my build 89.0.4325.0 version, I used these argumentsThe second video is a rendering of my build running with --use-cmd-decoder=validating (without the same result)The third video is a rendering of my build running with --enable-features=UseSkiaRendererпятница, 25 декабря 2020 г. в 01:33:19 UTC+3, andr...@chromium.org:
Yes, it seems to be with SkiaRenderer on that page videobox scrolling faster than it should be (with the Chromium reference build or Google Chrome this does not happen). The image in <video poster="..."> attribute scrolls at normal speed and seems to become visible from behind the video.I toggle flag (chrome://flags/#disable-accelerated-video-decode) and it has no effect on rendering in my case.Either black rectangles on top of video with default renderer, or weird scrolling effects with SkiaRenderer.One thing I can't understand: build which I download from https://chromium.woolyss.com/#mac (download link https://github.com/macchrome/chromium/releases/download/v89.0.4325.0-r827558-macOS/Chromium.89.0.4325.0.sync.app.zip) having the same version of Chromium doesn't have these problems with rendering. Although I am compiling the project with the same args.gn. I even thought there might be a problem with my environment and installed a clean macOS Catalina in a virtual machine and compile Chromium inside the virtual machine. But the result is the same...Anyway, I'll try to check it by building different branches/versions of Chromium and also try to prepare a page to reproduce these bugs.пятница, 25 декабря 2020 г. в 03:09:47 UTC+3, andr...@chromium.org:
I tried these arguments, but unfortunately they had no effect on the rendering. Neither individually, nor all together.But I'm more and more convinced that my problem is related to the versions of Xcode, macOS SDK & command line tools.I have successfully built Chromium versions 84, 86, 88 with Xcode 11.4.1 (+ command line tools 11.4.1) & macOS SDK 10.15 and all those builds don't have this rendering problem!I'm currently building the revision that originally compared (v89.0.4325.0-r827558-macOS 8f60186caac1450314698d57b9cb859ecd748fd6-refs/heads/master@{#827558}).I'm moving steadily and want to find out a clear boundary of versions of Xcode on which this problem occurs. As soon as I'm sure, I will definitely post here and also create issue on crbug.com if necessary.
Thanks for your advice and help!понедельник, 28 декабря 2020 г. в 01:54:03 UTC+3, andr...@chromium.org:
When using hardware acceleration, is the Skia Renderer enabled (in chrome://gpu)?
Try --use-gl=desktop
chromium-dev -> bcc
Interesting. The artifacts happen only on top of the animations which are actually <video> elements. Additionally, these elements have a "poster" attribute set (not sure what difference this makes). For the SkiaRenderer case, it's almost as if the poster image stays behind the video somehow.