All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor
@ 2018-01-12 16:16 bugzilla-daemon
  2018-01-15 18:50 ` bugzilla-daemon
  2018-01-15 18:51 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-01-12 16:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2430 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104603

            Bug ID: 104603
           Summary: Below 60 FPS with XScreenSaver discoball on HiDPI
                    monitor
           Product: Mesa
           Version: 17.3
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/i915g
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: pmenzel+bugs.freedesktop@molgen.mpg.de
        QA Contact: dri-devel@lists.freedesktop.org

With Mesa 17.3.1 and XScreenSaver 5.37 testing the discoball in demo, I do not
get 60 FPS on the DPI monitor Dell U2718Q.

```
$ lspci -nn -s  0:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530
[8086:1912] (rev 06)
$ more /proc/version
Linux version 4.14.13.mx64.201 (root@orpheus.molgen.mpg.de) (gcc version 5.3.0
(GCC)) #1 SMP Wed Jan 10 12:14:02 CET 2018
$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 8192 x 8192
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 609mm x
349mm
   3840x2160     60.00*+  29.98  
   2560x1440     59.95  
   2048x1280     59.99  
   1920x1200     59.88  
   2048x1080     24.00  
   1920x1080     60.00    60.00    50.00    59.94    24.00    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
```

Running the command below, only around 30 FPS are shown and the “animation”
stutters, that means, it is not smooth.

```
$ discoball -delay 0 -count 51 -spin -fps
```

Is that a hardware limitation, can the drivers be improved, or is it even
XScreenSaver?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3847 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor
  2018-01-12 16:16 [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor bugzilla-daemon
@ 2018-01-15 18:50 ` bugzilla-daemon
  2018-01-15 18:51 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-01-15 18:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 877 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104603

--- Comment #1 from Adam Jackson <ajax@nwnk.net> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1712 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor
  2018-01-12 16:16 [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor bugzilla-daemon
  2018-01-15 18:50 ` bugzilla-daemon
@ 2018-01-15 18:51 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-01-15 18:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104603

Adam Jackson <ajax@nwnk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes
                   |.org                        |ktop.org
         QA Contact|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes
                   |.org                        |ktop.org
          Component|Drivers/Gallium/i915g       |Drivers/DRI/i965

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1554 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-15 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 16:16 [Bug 104603] Below 60 FPS with XScreenSaver discoball on HiDPI monitor bugzilla-daemon
2018-01-15 18:50 ` bugzilla-daemon
2018-01-15 18:51 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.