[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-24 Thread Paul
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #28 from Paul  ---
from my memory of the issue occurring that reproduction makes sense as it
forces a keyboard context removal, which in turn results in a soft-lock as the
window is forced above everything else, but it's in theory behind another
window/UI.

Any other circumstance where another window or UI wants to remain on top, or
some form of other bug occurs that takes the current context, would also result
in this soft-lock. 

And yes, in some cases profusely clicking at the selection can bring back the
context and allow you to escape. Later updates improved this a fraction I
believe, though I've been out of the linux space for a while due to having a
different laptop that's not currently compatible with regular linux... (nvidia
10 series...)

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #27 from Nate Graham  ---
Thank you for the detailed information and steps to reproduce, AppArat! I can
confirm that on Neon Dev unstable (everything KDE from git master, Qt 5.11.2),
if I enter Rectangular Region mode and then Alt-ab to another app, the darkened
overlay remains visible. I can also confirm that once this happens, the
keyboard shortcuts deactivate, i.e. I can't exit with Esc, Enter or Return.
However I can get out of this stuck mode by dragging a selection box and
double-clicking inside it. Can you confirm this?

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-24 Thread AppAraat
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #26 from AppAraat <4xr6ah+4wznsmksoi...@sharklasers.com> ---
Created attachment 115213
  --> https://bugs.kde.org/attachment.cgi?id=115213=edit
$ glxinfo

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-24 Thread AppAraat
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #25 from AppAraat <4xr6ah+4wznsmksoi...@sharklasers.com> ---
Created attachment 115212
  --> https://bugs.kde.org/attachment.cgi?id=115212=edit
$ xrandr

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-24 Thread AppAraat
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #24 from AppAraat <4xr6ah+4wznsmksoi...@sharklasers.com> ---
(Sorry, didn't mean to just send an attachment like this)

So it seems I can repro this.
Warning: After this you may need to enter into one of the ttys and manually
kill Spectacle (killall spectacle)

Steps:
1. Open Spectacle using a shortcut (I invoke it using PrtScn) and in Capture
Mode -> Area: Select "Rectangular Region"
2. Press "Take New Screenshot"
3. During the selection dialog ("Click anywhere to start drawing..."), simply
Alt+Tab or switch virtual desktops.

Result: The darkened selection dialog stays on the foreground constantly.
Desktop Switch OSD is visible when I switch virtual desktops, however, I can't
switch to anything other than the spectacle selection dialog. Only solution
seems to kill spectacle.

Information:
KDE Neon UE (Plasma 5.13.5, KDE Frameworks 5.50.0, Qt 5.11.1)
Kernel: Linux neon_UE 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28
10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Intel i7-2640M
16 GB RAM
512GB SSD

Graphics stack:
Intel HD3000
Rendering backend: OpenGL 3.1

You can find more verbose information about my system in the attachments.

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-24 Thread AppAraat
https://bugs.kde.org/show_bug.cgi?id=374009

AppAraat <4xr6ah+4wznsmksoi...@sharklasers.com> changed:

   What|Removed |Added

 CC||4xr6ah+4wznsmksoitx4@sharkl
   ||asers.com

--- Comment #23 from AppAraat <4xr6ah+4wznsmksoi...@sharklasers.com> ---
Created attachment 115211
  --> https://bugs.kde.org/attachment.cgi?id=115211=edit
$ qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-19 Thread Piotr Dobrogost
https://bugs.kde.org/show_bug.cgi?id=374009

Piotr Dobrogost  changed:

   What|Removed |Added

 CC||kde-b...@p.dobrogost.net

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-14 Thread Niels van Mourik
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #22 from Niels van Mourik  ---
Over the last 4 months, I have only had 4 occurrences of this issue. Since this
is a drastic reduction compared to before that, for a long while I thought it
was completely gone. It isn't, but the situation improved.

I'm on Tumbleweed so releases roll quickly, current versions:
qt: 5.11.1
kf5: 5.49.0
kwin: 5.13.5 (X11, OpenGL 2.0 now <-- so this changed)
plasmashell 5.13.5
spectacle: 18.08.1

> I don't think Spectacle ... be hitting a code path in Qt, X, or
> the graphics driver which some systems are unhappy with. (Note that in
> Spectacle only the fullscreen rectangular selection tool is written in QML,
> which makes use of OpenGL acceleration.)
I agree on this, and I'm 100% sure that the rectangular selection tool is
triggering or causing this issue. When it happens, I sometimes can't even draw
the rectangle anymore, on other occasions I'm drawing the rectangle and the
system breaks down. To be clear, drawing rectangles now works much more often
than that that it breaks.

> It's a bit hard to debug this without being able to reproduce, but at least
> we can try to narrow down the nature of the problem. Could you record a
> video of the hang and the events leading to it? As in the comments above
> "hanging" is associated with multiple different issues, what are you doing
> exactly in your case? Also, having a look at the memory and CPU usage of
> all processes on the system during the hang would be great, maybe on a
> console or via ssh?.
This one is really hard to catch now that it happens so rarely and randomly. I
did notice on one occasion though, that I could recover through Alt+SysRq+f
which triggers the kernels OOM killer, suggesting this is memory related. My
system has 8G of RAM and no swap partition enabled.

> Any chance you could start Spectacle through "gdb" and interrupt it with
> Ctrl-C while the hang occurs? Would GDB's remote debugging help, assuming
> the network stack is still working?
It happens really fast usually, half a second could be enough to have the
entire system frozen beyond repair. It definitely feels that this freeze is
GPU-related, since its similar to other issues I had in the past.

Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
mesa: 18.1.7
kernel module: i915

This makes screenrecording and gdb close to impossible I think. Is it possible
to somehow modify Spectacle's .desktop file to have it always go through GDB
and log to disk everytime I use it? So that I could identify a faulty backtrace
after reboot or Alt+SysRq+f?

> One more thing to check is that you are indeed running only a single
> Spectacle process (see Bug 386629 I just added some comments to).
I can't rule this out, I sometimes make a lot of screenshots and forget that
another Spectacle instance is left behind somewhere. The "cannot exit" issue
386629 also feels related.

More evidence needed...

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-09-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

Nate Graham  changed:

   What|Removed |Added

 CC||ztcher...@gmail.com

--- Comment #21 from Nate Graham  ---
*** Bug 398271 has been marked as a duplicate of this bug. ***

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-05-31 Thread Henrik Fehlauer
https://bugs.kde.org/show_bug.cgi?id=374009

Henrik Fehlauer  changed:

   What|Removed |Added

 CC||rk...@lab12.net

--- Comment #20 from Henrik Fehlauer  ---
I don't think Spectacle is doing anything wrong per se, as it's working fine on
a bunch of systems. Still, we might be hitting a code path in Qt, X, or the
graphics driver which some systems are unhappy with. (Note that in Spectacle
only the fullscreen rectangular selection tool is written in QML, which makes
use of OpenGL acceleration.)

It's a bit hard to debug this without being able to reproduce, but at least we
can try to narrow down the nature of the problem. Could you record a video of
the hang and the events leading to it? As in the comments above "hanging" is
associated with multiple different issues, what are you doing exactly in your
case? Also, having a look at the memory and CPU usage of all processes on the
system during the hang would be great, maybe on a console or via ssh?.

> I'd love to (somehow) get a BT out of this...
Any chance you could start Spectacle through "gdb" and interrupt it with Ctrl-C
while the hang occurs? Would GDB's remote debugging help, assuming the network
stack is still working?

> killing "plasmashell"
> killing "kwin_x11"
Please try to reproduce running a simpler DE than Plasma, e.g. IceWM or TWM.

> Kwin is set to "OpenGL 3.1" though 2 gives the issue too.
Did you try setting it to "XRender"?

One more thing to check is that you are indeed running only a single Spectacle
process (see Bug 386629 I just added some comments to).

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-05-29 Thread Niels van Mourik
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #19 from Niels van Mourik  ---
# kf5-config -v
Qt: 5.10.0
KDE Frameworks: 5.46.0
kf5-config: 1.0

# plasmashell -v
plasmashell 5.12.5

# kwin_x11 -v
kwin 5.12.5

# spectacle -v
spectacle 18.04.1 - A Dearth of Dank Memes

Kwin is set to "OpenGL 3.1" though 2 gives the issue too.

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-05-29 Thread Niels van Mourik
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #18 from Niels van Mourik  ---
I've also noticed that when the crashes start to happen and when I'm really
QUICK in noticing, that killing "plasmashell" (using ctrl+alt+esc on the
taskbar) breaks the death loop and allows me to still recover. On previous
occasions killing "kwin_x11" achieved the same.

But in practice, in most cases this bug causes me to Alt+SysRQ my way out using
a disk sync+reboot. This happens multiple times a day.

If someone could assist, I'd love to (somehow) get a BT out of this...

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-05-29 Thread Niels van Mourik
https://bugs.kde.org/show_bug.cgi?id=374009

Niels van Mourik  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1
 CC||ni...@nielsvm.org

--- Comment #17 from Niels van Mourik  ---
I'm changing this to CONFIRMED, I've had this issue for the past 6 months.

I am on INTEL hardware, clearly rendering this a cross-vendor bug:

# lspci -k | grep -EA3 'VGA|3D|Display' 
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated
Graphics Controller (rev 0b)
Subsystem: Lenovo Device 220c   
Kernel driver in use: i915  
Kernel modules: i915

# Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller
 Display Server: x11 (X.Org 1.19.6 ) drivers: intel (unloaded:
modesetting,fbdev,vesa)
 Resolution: 1920x1080@60.05hz, 1920x1080@60.00hz,
1920x1080@60.00hz
 OpenGL: renderer: Mesa DRI Intel Haswell Mobile version: 4.5 Mesa
18.0.4

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-01-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=374009

sthe...@arcor.de changed:

   What|Removed |Added

 CC|sthe...@arcor.de|

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-01-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #16 from Nate Graham  ---
Thanks, that helps!

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-01-30 Thread Paul
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #15 from Paul  ---
bug 379145 was with AMD hardware on kubuntu 17.04

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-01-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

Nate Graham  changed:

   What|Removed |Added

 CC||tamius@gmail.com

--- Comment #14 from Nate Graham  ---
*** Bug 372946 has been marked as a duplicate of this bug. ***

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-01-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

Nate Graham  changed:

   What|Removed |Added

 CC||Paul.Hancock.17041993@live.
   ||com

--- Comment #13 from Nate Graham  ---
*** Bug 379145 has been marked as a duplicate of this bug. ***

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2018-01-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

--- Comment #12 from Nate Graham  ---
Is there anyone who experiences this and does NOT use NVIDIA hardware?

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2017-12-19 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=374009

Christoph Feck  changed:

   What|Removed |Added

 CC||fabrice.salva...@orange.fr

--- Comment #11 from Christoph Feck  ---
*** Bug 386629 has been marked as a duplicate of this bug. ***

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

[Spectacle] [Bug 374009] Spectacle sometimes hangs the whole system when doing rectangular captures

2017-10-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=374009

Nate Graham  changed:

   What|Removed |Added

Summary|Spectacle keeps hanging my  |Spectacle sometimes hangs
   |system  |the whole system when doing
   ||rectangular captures

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