[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-16 Thread Nick Stefanov
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #14 from Nick Stefanov  ---
I mainly use Simpe Screen Recording and OBS. The games with the problem are
Wine DXVK games.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-16 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #13 from Martin Flöser  ---
Yes of course all of them. There is no screen recording interface on X11. So
what do the applications do? None of them created a performant screen recording
interface. So they all abuse functionality which is not meant this way. I just
checked how recordmydesktop records: it uses either GetImage or ShmGetImage.
You are playing a game which is probably OpenGL rendered using direct
rendering? I do hope for you that the game uses direct rendering to bypass the
X server and render directly to the GPU. In no sane world ShmGetImage will
return back the image to you.

The closest X11 has to a screen recording interface is the composite extension
which is not used by recordmydesktop.

Sorry, but there is just no sane way to record on X11. On Wayland we created
this by explicitly looking at what's wrong on X11 and added it directly in the
compositor in a way that it doesn't need to read back to memory and provide a
performance penalty.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-16 Thread Nick Stefanov
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #12 from Nick Stefanov  ---
All of them? I don't think this is right. When something have a problem with
all of the available software I'm sure the problem isn't in the other software.
If a web site is opening correctly with all browsers but has problems with Pale
Moon, where is the problem? In the site? I don't think so.

When I come upon a game with this problem I'll try it with --no-wm-check
command. Thank you.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-16 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #11 from Martin Flöser  ---
@Nick: Did you try recordmydesktop with the --no-wm-check command line option?
Are you recording the complete desktop or do you use the --windowid command
line switch to just capture the game?

I'm now in front of a real keyboard and explain why I am so sure that this is
not a bug in our software. I am aware of the heuristics for example
recordmydesktop does - such heuristics are a bad idea to start with. How does
one want to do one heuristic to cover KWin composited and non-composited? And
even if, is that the only contributing factor? Certainly not, in Plasma we have
several untypical components which break such heuristics. For example the task
manager is an additional compositor (which is totally fine and in-spec) and the
main difference to other desktop environments is that Plasma doesn't render
into the root window. This can be contributing factors to breaking screen
recorders. But everything we do is totally fine and totally in compliance with
the X protocol and we have done so for years. If screen recorders cannot handle
this, it's their bug and not ours.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=409490

Martin Flöser  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #10 from Martin Flöser  ---
Nate, this is not a bug in any component of our stack. We track bugs in our
software and are not a user support forum. If users need user support, this
needs to go somewhere else. If you want to provide the use support please do so
but not in the KWin product.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409490

Nate Graham  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nick Stefanov
https://bugs.kde.org/show_bug.cgi?id=409490

Nick Stefanov  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Nick Stefanov  ---
It seems there isn't willingness resolving this bug. I'll record the games with
the problem on other DE.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409490

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|NOT A BUG   |---
 Ever confirmed|0   |1

--- Comment #8 from Nate Graham  ---
> RESOLVED NOT A BUG
That isn't the correct resolution status. The reporter is having an issue that
only manifests when using Plasma with KWin and it isn't fixed yet. Maybe the
root cause isn't KWin's fault, but some investigation needs to be done to
determine where the issue might lie. This is bugs.kde.org, not bugs.kwin.org.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=409490

Martin Flöser  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #7 from Martin Flöser  ---
Of course games run on Wine in Wayland. KWin is not related in this issue,
there is nothing premature about this.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409490

Nate Graham  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #6 from Nate Graham  ---
Yeah, it's possible that KWin is affecting this in some way. I think it's
premature to give up and say "just use Wayland instead" especially because your
exact use case (games running in WINE) doesn't work on Wayland.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nick Stefanov
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #5 from Nick Stefanov  ---
But the problem doesn't exist on LXDE or Xfce. I'm hardcore KDE fan and for me
is a shame to use other DE to record a game...

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #4 from Nate Graham  ---
I've used SimpleScreenRecorder to successfully take a screen recording of the
game Endless Sky while compositing was disabled.

If it's game-specific, that seems to point to an issue with how the game itself
interacts with the rendering pipeline.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-15 Thread Nick Stefanov
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #3 from Nick Stefanov  ---
I recorded over 250 Wine game videos with X11:
https://www.youtube.com/channel/UCm21eK86ZmD0FQoNPGqvKlw/videos?view=0=dd_id=0

They will not run with Wayland.

As I alredy wrote I tested every single software I found googling around and
the result is the same. It depends on the game though. The problem ocurrs for
some titles for other not.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-14 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=409490

--- Comment #2 from Martin Flöser  ---
This is a problem of the recorder you use. If compositing is disabled KWin is
not involved at all.

Please be aware that recording adds a huge lag no matter whether compositing is
enabled or not. X11 is not designed for such use cases and performs extremely
bad for screen recording. I recommend to use Wayland instead.

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

[kwin] [Bug 409490] Recording desktop video isn't possible with compositing disabled

2019-07-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409490

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
Product|frameworks-plasma   |kwin
 Status|REPORTED|NEEDSINFO
Version|5.59.0  |5.16.2
  Component|components  |general
 CC||n...@kde.org
   Assignee|notm...@gmail.com   |kwin-bugs-n...@kde.org

--- Comment #1 from Nate Graham  ---
what software are you using to record the video?

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