Summary: | Below 60 FPS with XScreenSaver discoball on HiDPI monitor | ||
---|---|---|---|
Product: | Mesa | Reporter: | Paul Menzel <pmenzel+bugs.freedesktop.org> |
Component: | Drivers/DRI/i965 | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 17.3 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Paul Menzel
2018-01-12 16:16:54 UTC
A lot of it is xscreensaver, which still thinks glVertex3f is a great way to upload geometry, which is why basically all its glx hacks are CPU-bound with Mesa. In this particular case (at least on the haswell I have handy) it's also that apparently every call to glPopMatrix turns into a vertex flush, and it calls PopMatrix once per tile on the disco ball, so... Mesa could almost certainly be made more efficient on this path. It might be worth looking at stealing something like the immediate-fixed-function emulation from https://github.com/p3/regal . I had hoped that jwzgles translated GL1.x to GLES2, but no, it's to GLES1, so you're still calling PopMatrix all the time. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1674. |
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.