[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compositing not enabled in kwin-x11



Hi,
when i start kwin from CLI, i get this line in output
kwin_scene_opengl: Creating the OpenGL rendering failed:  "Invalid QOpenGLContext::globalShareContext()"

I think, i have solved it.
kwinrc under new user contained

[Compositing]
OpenGLIsUnsafe=false

kwinrc under my user contained
[Compositing]
Backend=OpenGL
GLColorCorrection=false
GLCore=true
GLPlatformInterface=egl
GLPreferBufferSwap=a
GLTextureFilter=0
HiddenPreviews=5
LatencyPolicy=Low
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false

I have deleted everything except the one option and compositing seems to work now

Libor






From: Libor Klepáč <libor.klepac@bcom.cz>
Sent: Thursday, December 28, 2023 10:17
To: debian-kde@lists.debian.org <debian-kde@lists.debian.org>
Subject: Compositing not enabled in kwin-x11
 
Hello,
i have just noticed, that i don't have composition enabled in my kwin x11 session.
I don't remember, when this happened.
I have new laptop for several months and i don't remember if composition worked on my old laptop. Both are with some intel intergrated gpu (sorry, don't know how to get details, my lspci says "Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
").

Old laptop was running Debian/Sid, new laptop is Debian/Trixie . I have copied my home directory from old laptop to new.

In kwinrc, i have this
[Compositing]
Backend=OpenGL
GLColorCorrection=false
GLCore=true
GLPlatformInterface=egl
GLPreferBufferSwap=a
GLTextureFilter=0
HiddenPreviews=5
LatencyPolicy=Low
OpenGLIsUnsafe=false
UnredirectFullscreen=false
WindowsBlockCompositing=false
XRenderSmoothScale=false


and qdbus org.kde.KWin /KWin supportInformation says
KWin Support Information:
The following information should be used when requesting support on e.g. https://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.27.9
Qt Version: 5.15.10
Qt compile version: 5.15.10
XCB compile version: 1.15

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12101009
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.kwin.aurorae
Theme: __aurorae__svg__Materia-Dark
Plugin recommends border size: No
onAllDesktopsAvailable: true
alphaChannelSupported: false
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 2
gridUnit: 10
font: Linux Biolinum O,10,-1,5,50,0,0,0,0,0,Regular
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: KWin::X11StandaloneBackend

Cursor
======
themeName: Alkano-Aluminium
themeSize: 24

Options
=======
focusPolicy: 1
xwaylandCrashPolicy:
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 300
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement:
activationDesktopPolicy: 0
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5009
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
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 0
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 97
glPlatformInterface: 2
windowsBlockCompositing: false
latencyPolicy:
renderTimeEstimator:
allowTearing: 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
=======
Active screen follows mouse:  yes
Number of Screens: 2

Screen 0:
---------
Name: DP-1
Enabled: 1
Geometry: 0,0,3440x1440
Scale: 1
Refresh Rate: 59972
Adaptive Sync: incapable
Screen 1:
---------
Name: eDP-1
Enabled: 1
Geometry: 842,1440,1920x1200
Scale: 1
Refresh Rate: 60003
Adaptive Sync: incapable

Compositing
===========
Compositing is not active


Is there anything to do to enable compositing?

Thanks,
Libor


Reply to: