Discussion:
[chromium-dev] gpu out of memory when using hardware rasterization
Sunpip
2018-11-23 17:28:12 UTC
Permalink
Hello,
I'm using Chromium 45 on Ubuntu Linux and enabled hardware rasterization.
The problem I encounter is that Chromium seems to infinitely load textures
to GPU memory on the current website while scrolling (this is a long
website with many images) unless it will hit the limit of memory (I'm
printing the memory usage of the memory trackers in TextureManager class).
Then an OpenGL error is reported (out of memory, usually when calling
glTexImage2D function), all textures are freed, the window will flicker and
only textures from the current view will be loaded back to GPU. I used the
parameter force-gpu-mem-available-mb, but it seems to be ignored in that
context. Is there any way to modify something, so that the GPU memory limit
will not be hit (for example by freeing textures which are not in the
current view)? I don't see this problem when using software rasterization.
--
--
Chromium Developers mailing list: chromium-***@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/6165226b-fbb7-40cb-8931-5b13b1101e2f%40chromium.org.
d***@chromium.org
2018-11-26 19:22:22 UTC
Permalink
+graphics-***@chromium.org <graphics-***@chromium.org>

Can you file a bug on crbug.com/new about this?

Thanks.
Post by Sunpip
Hello,
I'm using Chromium 45 on Ubuntu Linux and enabled hardware rasterization.
The problem I encounter is that Chromium seems to infinitely load textures
to GPU memory on the current website while scrolling (this is a long
website with many images) unless it will hit the limit of memory (I'm
printing the memory usage of the memory trackers in TextureManager class).
Then an OpenGL error is reported (out of memory, usually when calling
glTexImage2D function), all textures are freed, the window will flicker and
only textures from the current view will be loaded back to GPU. I used the
parameter force-gpu-mem-available-mb, but it seems to be ignored in that
context. Is there any way to modify something, so that the GPU memory limit
will not be hit (for example by freeing textures which are not in the
current view)? I don't see this problem when using software rasterization.
--
--
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 view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/6165226b-fbb7-40cb-8931-5b13b1101e2f%40chromium.org
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/6165226b-fbb7-40cb-8931-5b13b1101e2f%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@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/CAHtyhaTB9PsJTu9d8tE7tBGs8PVLRDPw%2B_N_oc3CpNQm%2BgSs%2Bg%40mail.gmail.com.
Loading...