This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KWin - Unexpected Behavior

Tags: None
(comma "," separated)
User avatar
brygerri
Registered Member
Posts
7
Karma
0

KWin - Unexpected Behavior

Wed Feb 24, 2016 2:35 pm
Hi all,

KWin has presented a weird behavior on my VirtualBox VM (Kubuntu 14.04 LTS). I have my VM running on a dual screen topology and from time to time it stops working on _one_ of the screens (can't select/move windows). The second one stills responsive and I can select the windows and move them around.

I tried to execute
Code: Select all
kwin --replace
or
Code: Select all
DISPLAY=:0 kwin --replace
. Both commands restart KWin but the environment continues the same (only one screen with responsive windows). If I kill KWin, I am able to select/move windows again, but without menus.

The funny part though is that KWin is not crashing nor outputting errors. I have tried to debug my KWin process and the result is a empty file, even though one of the screens is not responsive at all.

--Edit:
How to reproduce the faulty scenario: Usually I am working on Eclipse or opening Fireofx/Okular/etc.. There is no regular pattern on how to reproduce it (sorry :-\ ). It is important to mention that it also occurs after a system reboot, and also after a few days of hibernate/locked session .

Code: Select all
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd9919700 (LWP 2383)]


That's my terminal output:
Code: Select all
./debugkde kwin --replace
outputting trace to '/tmp/gdb-kwin.txt'
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2                                                                                                                       
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted


Kwinrc

Code: Select all
[$Version]
update_info=kwin_remove_effects.upd:kwin4.7_effects

[Compositing]
AnimationSpeed=3
Backend=XRender
Enabled=false
GLColorCorrection=false
GLCore=true
GLLegacy=false
GLPreferBufferSwap=a
GLTextureFilter=2
GraphicsSystem=native
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false

[Desktops]
Number=1
Rows=1

[Effect-BoxSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-Zoom]
InitialZoom=1

[Plugins]
desktopchangeosdEnabled=false
kwin4_effect_blurEnabled=false
kwin4_effect_coverswitchEnabled=false
kwin4_effect_cubeEnabled=false
kwin4_effect_cubeslideEnabled=false
kwin4_effect_dashboardEnabled=false
kwin4_effect_desktopgridEnabled=false
kwin4_effect_dialogparentEnabled=false
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=false
kwin4_effect_fadeEnabled=false
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=false
kwin4_effect_glideEnabled=false
kwin4_effect_highlightwindowEnabled=false
kwin4_effect_invertEnabled=false
kwin4_effect_kscreenEnabled=false
kwin4_effect_loginEnabled=false
kwin4_effect_logoutEnabled=false
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_maximizeEnabled=false
kwin4_effect_minimizeanimationEnabled=false
kwin4_effect_mouseclickEnabled=false
kwin4_effect_mousemarkEnabled=false
kwin4_effect_presentwindowsEnabled=false
kwin4_effect_resizeEnabled=false
kwin4_effect_scaleinEnabled=false
kwin4_effect_screenedgeEnabled=false
kwin4_effect_screenshotEnabled=false
kwin4_effect_sheetEnabled=false
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=false
kwin4_effect_slidebackEnabled=false
kwin4_effect_slidingpopupsEnabled=false
kwin4_effect_snaphelperEnabled=false
kwin4_effect_startupfeedbackEnabled=false
kwin4_effect_taskbarthumbnailEnabled=false
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=false
kwin4_effect_windowgeometryEnabled=false
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=false

[Script-desktopchangeosd]
PopupHideDelay=1000
TextOnly=false

[Style]
BorderSize=1
ButtonsOnLeft=MS
ButtonsOnRight=HIAX
CustomButtonPositions=false
PluginLib=kwin3_oxygen
ShowToolTips=true

[TabBox]
DesktopMode=1
ShowTabBox=true

[Windows]
RollOverDesktops=true
luebking
Karma
0

Re: KWin - Unexpected Behavior

Wed Feb 24, 2016 9:56 pm
Do things change when you suspend the compositor? (SHIFT+Alt+F12)
User avatar
brygerri
Registered Member
Posts
7
Karma
0

Re: KWin - Unexpected Behavior

Fri Feb 26, 2016 3:30 am
I am doing a few tests with the compositor suspended. Will get back to you soon.

Thanks for your reply!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]