From: bugzilla-daemon@freedesktop.org Subject: [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor Date: Mon, 15 Jan 2018 18:50:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1483709178==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B5F9F6E14B for ; Mon, 15 Jan 2018 18:50:54 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1483709178== Content-Type: multipart/alternative; boundary="15160422541.0335CDeFD.25372" Content-Transfer-Encoding: 7bit --15160422541.0335CDeFD.25372 Date: Mon, 15 Jan 2018 18:50:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104603 --- Comment #1 from Adam Jackson --- 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 a= lso 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 emula= tion 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 tim= e. --=20 You are receiving this mail because: You are the assignee for the bug.= --15160422541.0335CDeFD.25372 Date: Mon, 15 Jan 2018 18:50:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10460= 3 from Adam Jackson
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 a=
lso
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 emula=
tion
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 tim=
e.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15160422541.0335CDeFD.25372-- --===============1483709178== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1483709178==--