https://bugs.kde.org/show_bug.cgi?id=387214

Lastique <andy...@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |UNCONFIRMED
         Resolution|WAITINGFORINFO              |---

--- Comment #3 from Lastique <andy...@mail.ru> ---
I have compiled Kwin 5.11.3 on Kubuntu 17.10 (all other packages taket from
Kubuntu repos) and can reproduce the CPU spikes. The spikes seem to happen only
if I have KWIN_TRIPLE_BUFFER=1 in /etc/environment. If I comment that line and
instead put __GL_YIELD="USLEEP" to Kwin startup line I can see no spikes, at
least not for about an hour I tested.

So, to summarize:

1. /etc/environment:

KWIN_TRIPLE_BUFFER=1
KWIN_USE_BUFFER_AGE=0
__GL_SYNC_TO_VBLANK=1
__GL_SYNC_DISPLAY_DEVICE="DFP-0"
__GL_THREADED_OPTIMIZATIONS=1

Kwin startup command:

__GL_THREADED_OPTIMIZATIONS=0 kwin_x11

Problem happens.

2.  /etc/environment:

#KWIN_TRIPLE_BUFFER=1
KWIN_USE_BUFFER_AGE=0
__GL_SYNC_TO_VBLANK=1
__GL_SYNC_DISPLAY_DEVICE="DFP-0"
__GL_THREADED_OPTIMIZATIONS=1

Kwin startup command:

__GL_THREADED_OPTIMIZATIONS=0 __GL_YIELD="USLEEP" kwin_x11

Problem does not happen.

In both cases I'm playing this video fullscreen in mpv:
https://www.youtube.com/watch?v=dFW0BSdR2G4

The video is vp9 1920x1080 60.000fps, fullscreen on a secondary screen that has
resolution 1920x1080. mpv options are:

--cache-initial=2048 --vf-add=gradfun --vf-add="vdpaupp=hqscaling=1"
--ytdl-format="((bestvideo[height<=?1080][vcodec=vp9]/bestvideo[height<=?1080])+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec=aac]/bestaudio))/best"
--ytdl-raw-options="socket-timeout=10" --network-timeout=10

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to