Summary: | Max OpenGL window resolution | ||
---|---|---|---|
Product: | Mesa | Reporter: | Inad <inadsan> |
Component: | Drivers/Gallium/llvmpipe | Assignee: | mesa-dev |
Status: | RESOLVED NOTABUG | QA Contact: | mesa-dev |
Severity: | enhancement | ||
Priority: | medium | ||
Version: | 18.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Inad
2018-04-20 08:14:06 UTC
glxgears: /var/tmp/portage/media-libs/mesa-18.0.0/work/mesa-18.0.0/src/gallium/drivers/llvmpipe/lp_state_surface.c:57: llvmpipe_set_framebuffer_state: Assertion `fb->width <= LP_MAX_WIDTH' failed. Not actually a bug (for llvmpipe), since the announced limit clearly is 8kx8k. (For intel the limit is 8k as well if you're using a chip older than ivy bridge, otherwise it should be 16k. Not sure why it wouldn't work up to 8192, though.) Theoretically the limit for llvmpipe could be increased. The reason it isn't right now should be only because the memory for the tiles is allocated statically, and you'd need more for larger sizes which is a waste of memory. If you want to try, you can increase LP_MAX_TEXTURE_2D_LEVELS from 14 to 15 in lp_limits.h. But to ensure safe operation, you need to increase LP_SCENE_MAX_SIZE from 9MB to about 36MB in lp_scene.h too. (The reason behind needing more scene memory is because there needs to be enough memory for at least one command block per tile. With 16kx16k, there are of course 4 times as many tiles as with 8kx8k. If there's not enough memory, I'm quite certain it will hang at some point (although 16kx2k should be fine without increase in theory, but there's no way to announced support for something like that) - because if a command covering all of the screen is binned and there's not enough memory to bin it to all tiles, we'll abandon the partially binned command, flush and try again, which will never succeed if there's not enough space for even a single command per bin.) Thank you very much for your answer, I close the bug And I try to increase the limits Thank you |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.