You are not logged in.

#1 2021-02-02 19:23:32

Firebird
Member
Registered: 2018-08-09
Posts: 57

[SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

Hi,

whenever I open Spectacle to take a screenshot under KDE Plasma 5 (fresh install), I can't take a screenshot of the current screen state.
For example: Setting is "Area: Full screen, No delay". Whenever I click "Take a new screenshot" it somehow takes a screenshot of a screen state long ago, for example how the screen looked 5 seconds ago. The windows it somehow captures aren't even open anymore, their corresponding processes exited long ago. Now the funny thing is: It does not take the same screenshot every time. Every time I hit "Take a screenshot" it cycles through a few (maybe three or four) old states of the screen. This prevents from taking screenshots of the current screen.

Did I misconfigure anything?

Firebird

Last edited by Firebird (2021-02-04 09:48:47)

Offline

#2 2021-02-02 20:54:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,189

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

Is the compositor enabled? Which graphics card/driver? What's your output for

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation 

in

[code]code tags[/code]

Offline

#3 2021-02-02 22:44:32

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

V1del wrote:

Is the compositor enabled? Which graphics card/driver? What's your output for

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation 

in

[code]code tags[/code]

System settings tell me

Enable compositor on startup = True
Rendering Backend = OpenGL 2.0
Tearing prevention = Automatic
Keep window thumbnails = Only for shown windows
Allow Applications to block compositing = True

So I guess it's running.

Graphics card and driver is

lspci -v
0000:00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 01) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 3f1a
        Flags: bus master, fast devsel, latency 0, IRQ 177, IOMMU group 1
        Memory at 605e000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

Vendor called it "Intel EVO integrated graphics".

And the requested output:

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation 
==========================

Version
=======
KWin version: 5.20.5
Qt Version: 5.15.2
Qt compile version: 5.15.2
XCB compile version: 1.14

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_EGL_STREAMS: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12010000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
Blur: 0
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0,Regular
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: KWin::X11StandalonePlatform

Options
=======
focusPolicy: 0
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: eDP1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.4
OpenGL platform interface: GLX
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 20.3.4
X server version: 1.20.10
Linux kernel version: 5.10.11
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_frozenapp
kwin4_effect_maximize
kwin4_effect_translucency
zoom
kwin4_effect_login
kwin4_effect_fullscreen
kwin4_effect_logout
kwin4_effect_windowaperture
kwin4_effect_morphingpopups
kwin4_effect_fadingpopups
kwin4_effect_sessionquit
kwin4_effect_fade
kwin4_effect_squash
kwin4_effect_dialogparent
slidingpopups
slide
screenshot
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_translucency:
pluginId: kwin4_effect_translucency
isActiveFullScreenEffect: false

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

kwin4_effect_fullscreen:
pluginId: kwin4_effect_fullscreen
isActiveFullScreenEffect: false

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_windowaperture:
pluginId: kwin4_effect_windowaperture
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

kwin4_effect_fade:
pluginId: kwin4_effect_fade
isActiveFullScreenEffect: false

kwin4_effect_squash:
pluginId: kwin4_effect_squash
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

slide:
duration: 500
horizontalGap: 45
verticalGap: 20
slideDocks: false
slideBackground: true

screenshot:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:

Is there any more information I can provide?

Offline

#4 2021-02-02 23:56:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,189

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

If installed, remove xf86-video-intel, reboot and retry.

Offline

#5 2021-02-04 09:48:24

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

V1del wrote:

If installed, remove xf86-video-intel, reboot and retry.

Seems to work now. Thank you very much. Closing this topic until I notice something behaving weird.

Last edited by Firebird (2021-02-04 09:48:36)

Offline

#6 2021-05-20 15:05:54

alexisju
Member
Registered: 2015-01-25
Posts: 10

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

Same issue. "Fixed" choosing OpenGL 3.1 instead OpenGL 2.0 in compositor Plasma settings.

EDIT: finally not resolved for me. Switching between OpenGL 3.1 and OpenGL 2.0 could help to avoid to reboot.
All system is up to date with latest kernel, i915 drivers and KDE plasma.

Last edited by alexisju (2021-06-14 12:59:05)

Offline

#7 2022-02-09 14:13:13

noraj2
Member
From: France, Europe
Registered: 2022-02-09
Posts: 20

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

References for previous messages

The tips to remove

xf86-video-intel

comes from the wiki Xorg and Intel graphics pages (not recommanded for Intel 4th gen+ CPU).

Reason

But it may not be the only source of the issue and if someone need the driver I found a way to fix the issue without removing it.

Also depending on the KWin version you may not be able to change the OpenGL version used by the internal compositor.

Alternatives fix

In System settings > Display and Monitor > Compositor change Keep window thumbnails from Only from Shown windows to Never.

Context

Often the bug appear when using additional external displays on an intel laptop.

Offline

#8 2022-07-11 03:19:52

lilgor
Member
Registered: 2020-07-31
Posts: 3

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

noraj2 wrote:
References for previous messages

The tips to remove

xf86-video-intel

comes from the wiki Xorg and Intel graphics pages (not recommanded for Intel 4th gen+ CPU).

Reason

But it may not be the only source of the issue and if someone need the driver I found a way to fix the issue without removing it.

Also depending on the KWin version you may not be able to change the OpenGL version used by the internal compositor.

Alternatives fix

In System settings > Display and Monitor > Compositor change Keep window thumbnails from Only from Shown windows to Never.

Context

Often the bug appear when using additional external displays on an intel laptop.


Thanks! this works!

Offline

#9 2022-11-22 02:37:02

phmatthaus
Member
Registered: 2022-11-22
Posts: 1

Re: [SOLVED] KDE Plasma 5 / Spectacle Screenshot uses old screen state

noraj2 wrote:
References for previous messages

The tips to remove

xf86-video-intel

comes from the wiki Xorg and Intel graphics pages (not recommanded for Intel 4th gen+ CPU).

Reason

But it may not be the only source of the issue and if someone need the driver I found a way to fix the issue without removing it.

Also depending on the KWin version you may not be able to change the OpenGL version used by the internal compositor.

Alternatives fix

In System settings > Display and Monitor > Compositor change Keep window thumbnails from Only from Shown windows to Never.

Context

Often the bug appear when using additional external displays on an intel laptop.

I have tried the alternative method, but sometimes it still has problem, although unlike the phenomena before.
So the only way is removing the xf86-video-intel.  Of course,  fixing the bug of xf86-video-intel is the best way, but it seems not realizable until now.

Last edited by phmatthaus (2022-11-22 02:38:09)

Offline

Board footer

Powered by FluxBB