[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2019-02-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=361154

blaueshawaiih...@gmx.de changed:

   What|Removed |Added

 CC||blaueshawaiih...@gmx.de

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-10-31 Thread Mircea Kitsune
https://bugs.kde.org/show_bug.cgi?id=361154

Mircea Kitsune  changed:

   What|Removed |Added

 CC||sonichedgehog_hyperblast00@
   ||yahoo.com

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-29 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Martin Gräßlin  changed:

   What|Removed |Added

 CC||anakin...@gmail.com

--- Comment #101 from Martin Gräßlin  ---
*** Bug 357116 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-29 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Martin Gräßlin  changed:

   What|Removed |Added

 CC||chrno-sphe...@hotmail.com

--- Comment #100 from Martin Gräßlin  ---
*** Bug 348218 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-27 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Martin Gräßlin  changed:

   What|Removed |Added

 CC||traba...@gmail.com

--- Comment #99 from Martin Gräßlin  ---
*** Bug 355457 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-27 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Martin Gräßlin  changed:

   What|Removed |Added

 CC||andy...@mail.ru

--- Comment #98 from Martin Gräßlin  ---
*** Bug 363500 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-27 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Martin Gräßlin  changed:

   What|Removed |Added

 CC||vonment...@posteo.de

--- Comment #97 from Martin Gräßlin  ---
*** Bug 365004 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Martin Gräßlin  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
   Version Fixed In||5.7.4
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kwin
   ||/fe8fc6f83d3a567b0774b433df
   ||011f899f7230d3

--- Comment #96 from Martin Gräßlin  ---
Git commit fe8fc6f83d3a567b0774b433df011f899f7230d3 by Martin Gräßlin.
Committed on 18/08/2016 at 14:08.
Pushed by graesslin into branch 'Plasma/5.7'.

Ensure to directly delete old Shadow on update

Summary:
So far when deleting a Shadow we used deleteLater which caused it
to be deleted in the next event cycle. This could in worst case result
in the Shadow being deleted after compositing got suspended. Thus the
Shadow not getting removed from the DecorationShadowCache which in
turn would mess up rendering on resume of compositing as the cache
returns a texture created for a different context.
FIXED-IN: 5.7.4

Reviewers: #kwin, #plasma

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D2483

M  +9-0scene.cpp
M  +0-6scene.h
M  +4-3shadow.cpp

http://commits.kde.org/kwin/fe8fc6f83d3a567b0774b433df011f899f7230d3

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Roman via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #95 from Roman  ---
Tested the patch, too (with Day of Defeat). Without the patch on i7 Haswell
graphics (Neon User edition) shadows broke after closing game, with patch no
broken shadows. -> Patch is fine.

@ wolfyrion: This is not related to this bug nor the patch. The compositor is
still going to shutdown if the application hints at it (aslong as you don't
overrule it with a specific window rule). If you want to have another behaviour
as default, create an independent bug report / feature request for that.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #94 from Bob Wya  ---
(In reply to wolfyrion from comment #93)
> 
> hi  Bob Wya , 
> One question please:
> When you run an opengl game/app does it turn off the compositor or not??
> (Before it said that this happening because the drivers request to do so 
> and we had to force to enable compositor using the rules)
> if compositor is getting disable you will notice a lot of tearing in most of
> the games thats why we want the compositor to be enable.
> 
> Broken Texures/Shadows and Turning off compositor when launching an opengl
> game or app.
> So with this patch both of these problems are solved?

The original problem that I reported:
Launching a 3D Opengl game. Sometime during the switch from compositor on, to
compositor off and back again (automatically handled by Kwin/Plasma) the Breeze
decoration shadows break. By that definition the bug is fixed on my system...
I'm not exactly sure what you are asking... The problem, _I_ reported, has been
fixed, by Martin, as I clearly stated...
You still got issues?? Then open another (SEPARATE) bug - no bug hi-jacking :-)

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #93 from wolfyrion  ---
(In reply to Bob Wya from comment #92)
> (In reply to Martin Gräßlin from comment #90)
> > and a patch: https://phabricator.kde.org/D2483
> 
> I've tested this patch on kde-win 5.7.3. Dual monitor setup - so I can see
> compositing switch off and on (to confirm this aspect of the bug). KWin rule
> to force enable compositing deleted. Breeze decorations re-enabled. Ran my
> current test - dhewm with Doom 3 HD texture pack mod. No decoration shadow
> breakage and none of the secondary weird side-effects (like one display
> flickering constantly - when new application windows are created), etc.
> So looking good at my end!! :-)

hi  Bob Wya , 
One question please:
When you run an opengl game/app does it turn off the compositor or not??
(Before it said that this happening because the drivers request to do so  and
we had to force to enable compositor using the rules)
if compositor is getting disable you will notice a lot of tearing in most of
the games thats why we want the compositor to be enable.

Broken Texures/Shadows and Turning off compositor when launching an opengl game
or app.
So with this patch both of these problems are solved?

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #92 from Bob Wya  ---
(In reply to Martin Gräßlin from comment #90)
> and a patch: https://phabricator.kde.org/D2483

I've tested this patch on kde-win 5.7.3. Dual monitor setup - so I can see
compositing switch off and on (to confirm this aspect of the bug). KWin rule to
force enable compositing deleted. Breeze decorations re-enabled. Ran my current
test - dhewm with Doom 3 HD texture pack mod. No decoration shadow breakage and
none of the secondary weird side-effects (like one display flickering
constantly - when new application windows are created), etc.
So looking good at my end!! :-)

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #91 from Bob Wya  ---
(In reply to Martin Gräßlin from comment #90)
> and a patch: https://phabricator.kde.org/D2483

Thanks for all your hardwork on this one!

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #90 from Martin Gräßlin  ---
and a patch: https://phabricator.kde.org/D2483

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #89 from k...@tmp.dau-sicher.de ---
(In reply to Martin Gräßlin from comment #88)
> 7. KWin dest[r]oys the shadow without compositing being active any more
> 8. This causes a shadow to leak in the cache
> 9. After resume the shadow is in the cache and things break.

This sounds epic!

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #88 from Martin Gräßlin  ---
That was a difficult investigation but I found it.
1. The game opens as normal window and gets a decoration with a shadow
2. It has the hint to disable compositing, which schedules for next event cylce
3. It switches to fullscreen
4. This causes the decoration to get destroyed including the shadow
5. The shadow does not get directly destroyed, but in next event cycle
6. KWin disables compositing
7. KWin destoys the shadow without compositing being active any more
8. This causes a shadow to leak in the cache
9. After resume the shadow is in the cache and things break.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #87 from Martin Gräßlin  ---
I'm finally able to reproduce with starting mame.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Mariusz Libera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #86 from Mariusz Libera  ---
Created attachment 100657
  --> https://bugs.kde.org/attachment.cgi?id=100657=edit
output of MESA_DEBUG=1 kwin_x11 --replace

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-18 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #85 from Martin Gräßlin  ---
Could a mesa user please run kwin_x11 with the env variable MESA_DEBUG=1 and
report the output of KWin?

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-15 Thread RussianNeuroMancer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

RussianNeuroMancer  changed:

   What|Removed |Added

 CC||russianneuroman...@ya.ru

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-13 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

network...@rkmail.ru changed:

   What|Removed |Added

 CC||network...@rkmail.ru

--- Comment #84 from network...@rkmail.ru ---
Created attachment 100573
  --> https://bugs.kde.org/attachment.cgi?id=100573=edit
kwin supportinfo

I'm also affected.
But you don't have to start any games, going to system settings > display >
compositor, activating (deactivating) "Suspend compositor for fullscreen
windows" and applying is enough to trigger the bug for me.

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 12.0.1

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-11 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #83 from k...@tmp.dau-sicher.de ---
Created attachment 100554
  --> https://bugs.kde.org/attachment.cgi?id=100554=edit
qdbus org.kde.KWin /KWin supportInformation

Forgot to mention, I'm an intel user, too (Intel(R) HD Graphics 4000)

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-11 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

k...@tmp.dau-sicher.de changed:

   What|Removed |Added

 CC||k...@tmp.dau-sicher.de

--- Comment #82 from k...@tmp.dau-sicher.de ---
Confirming after trying to launch a Steam game (DOTT, to be precise).

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-08 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #81 from Martin Gräßlin  ---
I'm sorry: I just tried to reproduce the issue on two systems with kodi. I saw
compositing going off, but the shadows did not break when exiting kodi.

There must be something in addition to trigger the bug. If you see anything in
addition which is needed to reproduce the situation: please tell.

I consider this as a very important bug to fix, but I can only investigate once
I'm able to reproduce it :-(

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-07 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

svadk...@gmail.com changed:

   What|Removed |Added

 CC||svadk...@gmail.com

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-05 Thread Lukas Schneiderbauer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Lukas Schneiderbauer  changed:

   What|Removed |Added

 CC||lukas.schneiderbauer@gmail.
   ||com

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-05 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #80 from Nikola Schnelle  ---
(In reply to FabiB from comment #79)
> Created attachment 100459 [details]
> kwin_supportinfirmations
> 
> it also happens with "amdgpu"-DDX 
> 
> and on another computer also with "radeon"-DDX
> it even happens with "modesetting"-DDX so i dont think its hardware bound at
> all

Yes I agree. I experience the bug with intel gpu (comment #20).

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-05 Thread FabiB via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #79 from FabiB  ---
Created attachment 100459
  --> https://bugs.kde.org/attachment.cgi?id=100459=edit
kwin_supportinfirmations

it also happens with "amdgpu"-DDX 

and on another computer also with "radeon"-DDX
it even happens with "modesetting"-DDX so i dont think its hardware bound at
all

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-03 Thread Mariusz Libera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #78 from Mariusz Libera  ---
Created attachment 100431
  --> https://bugs.kde.org/attachment.cgi?id=100431=edit
kwin supportInformation

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-02 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #77 from Martin Gräßlin  ---
@Mariusz: you are the first non-NVIDIA user affected by that problem. Could you
please provide the output of 
qdbus org.kde.KWin /KWin supportInformation

when the compositor is on.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-02 Thread Mariusz Libera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #76 from Mariusz Libera  ---
Created attachment 100420
  --> https://bugs.kde.org/attachment.cgi?id=100420=edit
broken shadows

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-08-02 Thread Mariusz Libera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Mariusz Libera  changed:

   What|Removed |Added

 CC||mariusz.lib...@gmail.com

--- Comment #75 from Mariusz Libera  ---
"Me too!" comment.

Hardware: Intel hd3000 Sandy Bridge
Software:
Archlinux 64bit
mesa 12.0.1,
xf86-video-intel 2.99.917+688+g49daf5d with SNA acceleration and DRI3
xserver 1.18.4
kwin 5.7.3
qt 5.7
kde frameworks 5.24.0

I can reproduce it each time I run gzdoom, a sourceport of Doom with OpenGL
renderer.

Apart from broken shadows, resizing or moving windows causes massive flickering
of the screen. Window contents and the kde panel are displayed correctly,
effects such as scale/expose or transparency work fine.
Alt+Shift+F12 doesn't help, neither does restarting plasma. 'kwin_x11
--replace' helps.
I'll attach a screenshot below.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-07-28 Thread S . Christian Collins via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

S. Christian Collins  changed:

   What|Removed |Added

 CC||s_chriscoll...@hotmail.com

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-07-26 Thread Quids via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Quids  changed:

   What|Removed |Added

 CC||sm...@quidsup.net

--- Comment #74 from Quids  ---
Affected me too when opening guvcview web cam viewer in windowed mode.

kwin 5.7.2
Nvidia GTX560Ti with proprietary 361.42 drivers

I noticed that when the compositing effects failed that reboot/shutdown was
delayed by a couple of minutes, presumably due to a service not terminating
gracefully.
Unfortunately I can't provide more detail as Plymouth boot screen gets in the
way, and can no longer be hidden by pressing Esc key when you have Nvidia
drivers installed. 

The temporary fix in comment #67 solved the problem

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-07-11 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #73 from nicolasbert...@gmail.com ---
Created attachment 100021
  --> https://bugs.kde.org/attachment.cgi?id=100021=edit
qdbus org.kde.KWin /KWin supportInformation

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-07-11 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

nicolasbert...@gmail.com changed:

   What|Removed |Added

 CC||nicolasbert...@gmail.com

--- Comment #72 from nicolasbert...@gmail.com ---
I can confirm this happens also with KWin 5.7.0

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-07-02 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=365004

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-06-09 Thread Fabian Henze via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Fabian Henze  changed:

   What|Removed |Added

 CC||flyse...@gmx.de

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-31 Thread Daniel Scharrer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Daniel Scharrer  changed:

   What|Removed |Added

 CC||dan...@constexpr.org

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-29 Thread Lukasz via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Lukasz  changed:

   What|Removed |Added

 CC||dolo...@outlook.com

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-24 Thread Damir via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Damir  changed:

   What|Removed |Added

 CC||damir_poro...@live.com

--- Comment #71 from Damir  ---
(In reply to wolfyrion from comment #67)
> As it mentioned in previous comments 
> 
> -> Temporary Fix Solution
> Run "kcmshell5 kwinrules" and create a blind rule (just don't press the
> detect button),name it whatever you want, then go to the last tab Appearance
> and Fixes 
> -->  "Block Compositing"  -> Force -> "No"
> 
> This will prevent opengl games or apps to turn off the compositor so the
> compositor will always stay on and you will not experience these kind of
> problems anymore.
> I have been using this temporary fix solution for almost 2 weeks now and
> everything works fine :)

This fixed tearing and artifact issues with Unreal Engine 4 for me, works like
a charm.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-21 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #70 from Thomas Lübking  ---
Because the application asks for it via _NET_WM_BYPASS_COMPOSITOR

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-21 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #69 from Nikola Schnelle  ---
(In reply to wolfyrion from comment #67)
> As it mentioned in previous comments 
> 
> -> Temporary Fix Solution
> Run "kcmshell5 kwinrules" and create a blind rule (just don't press the
> detect button),name it whatever you want, then go to the last tab Appearance
> and Fixes 
> -->  "Block Compositing"  -> Force -> "No"
> 
> This will prevent opengl games or apps to turn off the compositor so the
> compositor will always stay on and you will not experience these kind of
> problems anymore.
> I have been using this temporary fix solution for almost 2 weeks now and
> everything works fine :)

Fixes the problem for me too. 
Why kwin disables compositing? I want it to ALWAYS run. Like it was till 5.5
version.
Disabling and reenabling compositing brakes other stuff too, like panel shadow.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-17 Thread Victor B . Gonzalez via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Victor B. Gonzalez  changed:

   What|Removed |Added

 CC||bugs.kde.org.id324@vbgunz.c
   ||om

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-14 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #68 from Bob Wya  ---
(In reply to wolfyrion from comment #67)
> As it mentioned in previous comments 
> 
> -> Temporary Fix Solution
> Run "kcmshell5 kwinrules" and create a blind rule (just don't press the
> detect button),name it whatever you want, then go to the last tab Appearance
> and Fixes 
> -->  "Block Compositing"  -> Force -> "No"
> 
> This will prevent opengl games or apps to turn off the compositor so the
> compositor will always stay on and you will not experience these kind of
> problems anymore.
> I have been using this temporary fix solution for almost 2 weeks now and
> everything works fine :)

Further testing :-)

A new test case game ;-) :
dhewm git (https://github.com/dhewm) - compiled w/ SDL-2 support
+ original doom 3 assets
+ doom3 redux mod (http://www.moddb.com/mods/doom-3-redux)
Perhaps significant - because it uses the SDL-2 libraries?

I have been able to break kwin, with the Oxygen decorator, with this game.
Flicking windows, flicking external monitor, i.e. the "full works".

So finally broke down and used the kwin force enable compositing rule (see
above). No issues what-so-ever after the game exits...

So just to confirm a kwin rule to "globally force enabling compositing" clearly
fixes the original issue I reported. So this will be my chosen route going
forwards... Sadly I feel I'll probably be using this "temporary fix" for months
- going forwards!!

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-11 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #67 from wolfyrion  ---
As it mentioned in previous comments 

-> Temporary Fix Solution
Run "kcmshell5 kwinrules" and create a blind rule (just don't press the detect
button),name it whatever you want, then go to the last tab Appearance and Fixes 
-->  "Block Compositing"  -> Force -> "No"

This will prevent opengl games or apps to turn off the compositor so the
compositor will always stay on and you will not experience these kind of
problems anymore.
I have been using this temporary fix solution for almost 2 weeks now and
everything works fine :)

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-11 Thread Double D via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Double D  changed:

   What|Removed |Added

 CC||xmas-eve...@ya.ru

--- Comment #66 from Double D  ---
I have this bug too.

$ uname -a
Linux calculate 4.4.9-calculate #1 SMP PREEMPT Thu May 5 13:29:10 UTC 2016
x86_64 Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz GenuineIntel GNU/Linux

$ glxinfo | grep Mesa
client glx vendor string: Mesa Project and SGI
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.2
OpenGL version string: 3.0 Mesa 11.2.2
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.2

$ glxinfo | grep Gallium
OpenGL renderer string: Gallium 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.8.0)

$ sudo lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]

It always occurs when I launch fullscreen GL games (like Stellaris or Factorio)
with turned on compositing (GL 2.0-3.1 with EGL or GFX). With XRender this bug
does not happen.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-10 Thread FabiB via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

FabiB  changed:

   What|Removed |Added

 CC||plusf...@gmail.com

--- Comment #65 from FabiB  ---
"Oxygen" is affected for me too. -> R9 380 w/ "AMDGPU" driver

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-04 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

krinp...@gmail.com changed:

   What|Removed |Added

 CC||krinp...@gmail.com

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-05-01 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

 CC||mmboss...@gmail.com

--- Comment #64 from Thomas Lübking  ---
*** Bug 362208 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-30 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #63 from wolfyrion  ---
updating...

1. my friend with Arch who downgrade kwin still has the problem (my apologies)

2. Without running any game or any opengl application - just disabling and
enabling the compositor (alt+shift + f12) many times with delay 2-3 secs is
causing the problem/corruption.

3. The compositor needed to be enabled when launching games or apps for tearing
issues etc.if for example the compositor is disabled export __GL_YIELD="USLEEP"
or "TripleBuffer" "True" are not working.
so atm I am using (alt+shift + f12) while I am ingame and xrender when I am out
in order no to see the corrupted shadows. IS not the option that I want because
I cant use any kwin effects but since I have no choice I am settled with that.
4. It has been a month and this bug is still unconfirmed somehow. 
Actually it should be on urgent list. 

Anyway my apologies for posting too much, this is my last post concerning this
bug.
Plasma 5 is the best DE and would appreciate any fix related to this this bug.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-28 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #62 from wolfyrion  ---
This is just to let you know that a friend of mine that is using Arch in order
to fix these problems he downgraded kwin to version kwin 5.5.95-3 from Arch
repos. (just kwin of what he told me)

Also even with Xrender the compositor breaks.
if you launch any opengl game or app the compositor breaks but  you dont
actually notice that their is a problem because of the xrender but if you
switch the rendering backend to opengl you will see the shadows all over
immediately without launching any openg aps or games.
That means that the compositor was already messed from before when you were
using xrender rendering backend.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-25 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #61 from wolfyrion  ---
Launching Kodi Media Center always breaks the compositor.
Tested with ATI and NVIDIA Cards.
*havent tested with Intel
I think that even with xrender it breaks compositor.

if you need any logs let me know.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-24 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=362208

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-24 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #60 from wolfyrion  ---
just to let you know that the problem still exists even with the latest stable
Nvidia drivers.

Some other info 
A user that had an ATI Card enable EGL and dont have these problems
(btw I have an GTX980 NVIDIA and I cant enable EGL on Plasma -  why? :o?)

And another user that had an ATI faced these problems only when his pc went to
sleep/wake up

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-24 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=355457

--- Comment #59 from Thomas Lübking  ---
Bug #355457 indicates that the shadow cache is junk.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-22 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #58 from wolfyrion  ---
Nvidia just released a new driver with a lot of fixes, maybe it will fix this
issue as well.
I will let you know after I test it out...

http://www.nvidia.co.uk/download/driverResults.aspx/101848/en-uk

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-21 Thread Elvis Angelaccio via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #57 from Elvis Angelaccio  ---
If I disable compositing (via alt+shift+f12) before running the games, the bug
does not occur after quitting them and re-enabling the composer.
Not sure if it works for all opengl games, it does for the game I play the most
(left 4 dead 2) so it's a good workaround for me.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-20 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #56 from wolfyrion  ---
some more investigation...

1. ALL opengl games/applications disable compositor but actually some of them
break kwin compositor.
2. if I use the org.kde.oxygen decoration it doesnt give me any artifacts
3. After opening a game or application that it will break the compositor even
when the compositor is enabled.
When the compositor/kwin is breaks what ever I open after it creates black
squares all over the screen

Image
http://i.imgur.com/5gH0ZAv.png
( I cant find any attachment button when I post any bug so I am using imgur)

4. I have noticed that when a game breaks KWIN compositor it seems that VSYNC
is messed up because I can see a lot of tearing issues in the game when the
compositor is messed up. Dont know if that is because NVIDIA or KWIN but it
seems like they have a conflict somewhere

5. In order to fix this problem I had to install another compositor like for
example compiz.
So whenever a game or an application breaks the compositor I just enable compiz
for a sec and then activate again KWIN compositor and I am back to normal.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-20 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #55 from Thomas Lübking  ---
(In reply to Artur O. from comment #54)

> Toggling composting with ctrl+shift+F12 the panel switches betwen these two
> states. One when effects are on (updated) and effects off (frozen).

More like bug #347829

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-20 Thread Artur O . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #54 from Artur O.  ---
Created attachment 98474
  --> https://bugs.kde.org/attachment.cgi?id=98474=edit
Rendering issue Plasma Panel

I'm not 100% sure if this is related but also happens after fullscreen games
for me it seems and also noticed it after 5.6 update.

Toggling composting with ctrl+shift+F12 the panel switches betwen these two
states. One when effects are on (updated) and effects off (frozen).

Hovering over the frozen panel shows tooltips of the (updated) panel. Ie you
can hover over something and get a tooltip from a different application.

Also if you see the screenshot you see a standard X window icon, thats the Dota
2 icon.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-20 Thread Artur O . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #53 from Artur O.  ---
Created attachment 98473
  --> https://bugs.kde.org/attachment.cgi?id=98473=edit
Decoration titlebar corruption

Here is a screenshot of decoration titlebar corruption.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-20 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

 CC||commander.alch...@gmail.com

--- Comment #52 from Thomas Lübking  ---
*** Bug 361986 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-16 Thread Hugo Pereira Da Costa via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #51 from Hugo Pereira Da Costa  ---
(In reply to Thomas Lübking from comment #49)
> @Hugo, I assume shadow pixmaps run on some SHM between breeze style and deco?

Nope. Two independent code path.
One is used "internally" in kdecoration
The other is passed to kwin eiser via X property or Wayland SHM (thanks to
martin code)

In both cases the generation of the shadow is cached, and the rendering of it
is left upstream. so I would look there (upstream) to the unbalanced
save/restore

Not much internet connection on my side atm, but I'll double check whether
there could be some QPainter issue on my side as soon as I get some more.

Hugo

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-15 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

 CC||elvis.angelac...@kdemail.ne
   ||t

--- Comment #50 from Thomas Lübking  ---
*** Bug 361837 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-15 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

 CC||hugo.pereira.da.costa@gmail
   ||.com

--- Comment #49 from Thomas Lübking  ---
@Hugo, I assume shadow pixmaps run on some SHM between breeze style and deco?

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-15 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #48 from Martin Gräßlin  ---
>  I presume that would be a valid test (since the Oxygen decorations have 
> configurable shadowing)??!

Yes.

> I've attached the log for kwin_x11 whilst running the game with the Oxygen 
> theme...

Interestingly it looks really similar: lots of unbalanced painters and the swap
warnings.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-14 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #47 from Bob Wya  ---
Created attachment 98397
  --> https://bugs.kde.org/attachment.cgi?id=98397=edit
pkill -9 kwin_x11  ; DISPLAY=:0 kwin_x11 --replace &>~/kwin_x11_oxygen.txt &

(In reply to Martin Gräßlin from comment #46)
> Thanks Bob,
> 
> though Plastik doesn't have shadows, so maybe that's just an effect of
> having less large shadows. Maybe give a try with a downloaded theme which
> has shadows?

Martin,
I was planning to try try the Oxygen decoration theme last night (which I've
got installed already) - but owing to tiredness I'd get round to it :-) . I
presume that would be a valid test (since the Oxygen decorations have
configurable shadowing)??!

After running the test game, with the Oxygen decorations, the Kwin compositor
appears to restart correctly and the shadowing is restored - without visible
glitches. I've set the active Window setup with a lurid (!!)/ large purple
shadow - so it'd be pretty obvious if this was broken. I've attached the log
for kwin_x11 whilst running the game with the Oxygen theme...

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #46 from Martin Gräßlin  ---
Thanks Bob,

though Plastik doesn't have shadows, so maybe that's just an effect of having
less large shadows. Maybe give a try with a downloaded theme which has shadows?

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #44 from Thomas Lübking  ---
It really looks like the imbalanced painter in/with the breeze deco is the
problem.
Does altering the breeze shadow settings "fix" anything (ie. resolve the
artifacts)

Run
breeze-settings5
and adjust settings in decoration/shadows (pick a different size or color)


Fwwi, I simply write 2 versions of such replies >-)

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #43 from Bob Wya  ---
(In reply to wolfyrion from comment #40)
 ... blah blah... blah... Any tips?

Reminder, time to "focus":
"Running native OpenGL games - with compositing enabled - breaks X11 Plasma
5.6.0 Window Decorations"

Clicky, clicky here...
https://bugs.kde.org/enter_bug.cgi?format=guided

Thankfully I don't need to be as polite as Thomas - also I've just finished a
14 hour shift :-)

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #42 from Bob Wya  ---
Created attachment 98386
  --> https://bugs.kde.org/attachment.cgi?id=98386=edit
pkill -9 kwin_x11  ; DISPLAY=:0 kwin_x11 --replace &>/dev/null &

(In reply to Martin Gräßlin from comment #35)
> Thanks for the log! There are two things in the log which I consider
> suspicious:
> * lots of "QPainter::restore: Unbalanced save/restore" - that's probably the
> breeze deco
> * QOpenGLContext::swapBuffers() called with non-exposed window, behavior is
> undefined
> 
> the latter must be from Qt, we don't use that in the rendering path, so
> hopefully should not matter.
> 
> Let's focus on the first issue: maybe try a different window decoration?

Martin I've attached the log from running with the Plastik Window decoration...
No other system changes.

This time I do not notice the Window shadow artefacts or the monitor
flashing/sync issues after running my test game.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #41 from Thomas Lübking  ---
> Please dont tell me that is because the application request to disable the 
> compositor because it is not. 

And you know that base on what information?

The application *does* hint that it would prefer an uncomposited access to the
screen, otherwise this would not happen.
Check xprop on the window and see yourself.

I would suggest to run "kcmshell5 kwinrules" and create a blind rule (just
don't press the detect button), then in the last tab force "block compositing"
to "no", but, and that is the problem: This would only work if the application
*would* hint that it would prefer an uncomposited access to the screen. Since
you declared this isn't the case (out of your vast knowledge and experience on
the topic), the above won't work. Sorry for that.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #40 from wolfyrion  ---
My humble opinion on this bug and some food for thought

I dont understand why anything we launch with opengl disables compositor
This was not happening before and it is not that the application or games
request to do that.
Before this was not happening , compositor was always enabled!

Why we dont fix this issue first? I want the compositor to be enabled all the
time!
 Maybe the bug with the corrupted textures was already their from the start but
it was not obvious because Plasma or KDE were not disabling-enabling kompositor
every time , on every opengl game or app so we were not able to reproduce this
bug.

Anyway I am not a developer or expert on these I just state my opinion that
disabling the compositor when I launch something it really screws everything ,
I have also noticed that some time widgets were not updated while I had the
compositor disabled.
Please dont tell me that is because the application request to disable the
compositor because it is not. 
So in short how can I force the compositor to be enabled all the time ? Any
tips?

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread krasno via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #39 from krasno  ---
I launch steam with this:

_GLVND_DISALLOW_PATCHING=1 steam

because of a bug in nvidia driver right now. Then I launch "Fistful of Frags"
from steam.

>Because the game asks for it, this has nothng to do with fullscreen 
>unredirection.

Umm, ok. It's just unfamiliar to me. I used Unity before, when this game was
Alt-tabbed from, I had full compositing. Probably Unity turns it on when not in
the game...

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #38 from Thomas Lübking  ---
> When I launch a fullscreen shooter
In particular?

> I don't know why, the option to turn it of for fullscreen apps is unchecked
Because the game asks for it, this has nothng to do with fullscreen
unredirection.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread krasno via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

krasno  changed:

   What|Removed |Added

 CC||krasnog...@gmail.com

--- Comment #37 from krasno  ---
I'm also having this issue. Current Arch with nvidia 361.28 on gk110 chip. I
have compositing enabled. When I launch a fullscreen shooter, the compositing
turnes off(I don't know why, the option to turn it of for fullscreen apps is
unchecked), when compsiting return after I exit the game, I have black borders
around unmaximized windows.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-13 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #36 from Thomas Lübking  ---
I've seen the imbalanced painter warnings all the time. The undefined swap
behavior worries me much more since it will result in an undefined context/PBO
(whatever is operated on) and the artifacts look like that - And I've not seen
them before.
No idea where those might stem from, though.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-12 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #35 from Martin Gräßlin  ---
Thanks for the log! There are two things in the log which I consider
suspicious:
* lots of "QPainter::restore: Unbalanced save/restore" - that's probably the
breeze deco
* QOpenGLContext::swapBuffers() called with non-exposed window, behavior is
undefined

the latter must be from Qt, we don't use that in the rendering path, so
hopefully should not matter.

Let's focus on the first issue: maybe try a different window decoration?

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-12 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #33 from Bob Wya  ---
Created attachment 98361
  --> https://bugs.kde.org/attachment.cgi?id=98361=edit
KDE Plasma 5.6.0 Window Decoration breakage.jpg

Window shadowing breakage with Plasma Desktop 5.6.0/5.6.1 (dual-monitor setup).
Effect only observed after playing a full-screen native GL game (or full-screen
game via Wine).
Glitch cleared by restarting kwin_x11 process
Glitch not effected by restarting plasma-shell process

System packages:
media-libs/mesa-11.1.2
x11-base/xorg-server-1.18.1
x11-drivers/nvidia-drivers-364.12

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Steffen Klee via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #32 from Steffen Klee  ---
Created attachment 98344
  --> https://bugs.kde.org/attachment.cgi?id=98344=edit
log: xev -root

Logged while:
- run game
- close it
- experience window decoration glitch

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Steffen Klee via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #31 from Steffen Klee  ---
Created attachment 98343
  --> https://bugs.kde.org/attachment.cgi?id=98343=edit
log: xev

xev -event randr
Does not output anything (tried running game, dis/enabling compositor
manually). Therefore I removed the event mask, hopefully it's useful.

I'll upload "xev -root" also (no output with randr event filter, too).

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #30 from Thomas Lübking  ---
xev -event randr

should log randr events (inc. res changes)

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Steffen Klee via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #29 from Steffen Klee  ---
Created attachment 98342
  --> https://bugs.kde.org/attachment.cgi?id=98342=edit
screenshot: w/o plasmashell

System information:
OpenGL vendor string:   X.Org
OpenGL renderer string: Gallium 0.4 on AMD HAWAII (DRM 2.43.0,
LLVM 3.7.1)
OpenGL version string:  3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
Driver: Unknown
GPU class:  Unknown
OpenGL version: 3.0
GLSL version:   1.30
Mesa version:   11.2
X server version:   1.18.3
Linux kernel version:   4.4.5
Requires strict binding:yes
GLSL shaders:   yes
Texture NPOT support:   yes
Virtual Machine:no


So the bug is not limited to the nvidia driver.


(In reply to Thomas Lübking from comment #28)
> the shadow textures seem to pick the wallpaper?
> does it also happen w/o plasmashell? (pkill plasmashell from konsole)
> what does it look like when restarting plasmashell afterwards?
> 
> another thing: do those "games" perhaps alter the screen resolution?
Not running/restarting plasmashell does not change anything.

Yes, screen resolution might be altered ("game's" resolution is the same as
desktop resolution though). The bug does not appear when running the "game" in
windowed mode; this mode disables compositor.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #28 from Thomas Lübking  ---
the shadow textures seem to pick the wallpaper?
does it also happen w/o plasmashell? (pkill plasmashell from konsole)
what does it look like when restarting plasmashell afterwards?

another thing: do those "games" perhaps alter the screen resolution?

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #27 from Nikola Schnelle  ---
Created attachment 98334
  --> https://bugs.kde.org/attachment.cgi?id=98334=edit
screenshot

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #26 from Martin Gräßlin  ---
Could people please attach the screenshots to this bug reports? I have really a
hard time getting to them. Those external sites make it hard - e.g. on the
manjaro forum I didn't see them at all and on photobucket I only got a tiny,
tiny image which didn't allow to zoom.

Otherwise: please run kwin_x11 from a console and get the debug output from
when this happens. Maybe the driver tells us what's going wrong.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #25 from Nikola Schnelle  ---
Sorry for spamming, but you have good screenshots in this thread too
https://forum.manjaro.org/index.php?topic=32849.0

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #24 from Nikola Schnelle  ---
There is a screenshot in this thread
https://forum.kde.org/viewtopic.php?f=289=131961

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #23 from Bob Wya  ---
( I linked to it originally - because the KDE Bugs website wouldn't let me
attach the screenshot - still doesn't ??!!)

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Bob Wya via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #22 from Bob Wya  ---
(In reply to Martin Gräßlin from comment #21)
> Could anybody please attach a screenshot of those broken window decorations.

Martin, I did originally link to a screenshot in the URL - top field in the bug
report - when I first created the bug (sorry about the use of Photobucket!!)

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #21 from Martin Gräßlin  ---
Could anybody please attach a screenshot of those broken window decorations.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #20 from Nikola Schnelle  ---
I am on intel cpu/gpu and this bug started happening when I updated to qt 5.6
and plasma 5.6 in manjaro. 
After playing Team fortress 2, window decorations become broken.

I cannot test this any further tho, because I am back to kubuntu 16.04 which is
rock stable for me with plasma 5.5.5 and qt 5.5 and I cannot reproduce this
bug.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #19 from Thomas Lübking  ---
What really puzzles me is the nature of this bug.

Apparently it's required to start "a game™" which in turn suspends the
compositor and then there're artifacts (aka "invalid textures") in 3rd
processes and bug #361534 describes "black borders" around even uncomposited
windows (falsely mapped shadow windows?)

Just suspending the compositor or auto-suspending it along "not games"
apparently doesn't cause this.


> This bug becomes more annoying when you are using cairo-dock and try to use 
> opengl applications like Unreal Engine or UInity 3D.
> Cairo dock is using opengl and everything gets disable and the only thing you 
> can see from the dock is a Black Square Dock 

a) does cairo-dock turn black when simply suspending the compositor?
b) does the problem exist when suspending the compositor explicitly and then
running the desired game?
c) does it exist when applying a kwin rule to not autosuspend compositing for
the games? (you can create a blind rule that matches every window to avoid
detection of the games)

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-11 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #18 from Martin Gräßlin  ---
(In reply to wolfyrion from comment #17)
> So do we know if this is an NVIDIA driver problem or Plasma 5?

I can disable/enable compositing on my Intel system without any problems. It
doesn't mean that it's not a problem in our stack, but it makes it look more
like an NVIDIA problem - especially if one considers the amount of changes in
that driver lately.

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-10 Thread Nikola Schnelle via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Nikola Schnelle  changed:

   What|Removed |Added

 CC||n.schne...@gmail.com

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-10 Thread wolfyrion via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

--- Comment #17 from wolfyrion  ---
This bug becomes more annoying when you are using cairo-dock and try to use
opengl applications like Unreal Engine or UInity 3D.
Cairo dock is using opengl and everything gets disable and the only thing you
can see from the dock is a Black Square Dock ><
So do we know if this is an NVIDIA driver problem or Plasma 5?

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-09 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

 CC||kyria...@mypcrevolution.com

--- Comment #16 from Thomas Lübking  ---
*** Bug 361534 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-06 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

ubr...@gmail.com changed:

   What|Removed |Added

 CC||ubr...@gmail.com

--- Comment #15 from ubr...@gmail.com ---
Created attachment 98276
  --> https://bugs.kde.org/attachment.cgi?id=98276=edit
Text corruption

> Just to confirm... running:
> 
> DISPLAY=:0 kwin_x11 --replace
> 
> restores full Desktop compositing functionality (as I postulated above)...

This works to fix the window decoration break.
One thing that does not get fixed though is the text in Application Launcher.
This happens exactly at the same time the window decorations break.

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


[kwin] [Bug 361154] Running native OpenGL games - with compositing enabled - breaks X11 Plasma 5.6.0 Window Decorations

2016-04-06 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361154

Thomas Lübking  changed:

   What|Removed |Added

 CC||jgibson...@gmail.com

--- Comment #14 from Thomas Lübking  ---
*** Bug 361477 has been marked as a duplicate of this bug. ***

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

  1   2   >