[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-05 Thread Juan Méndez
https://bugs.kde.org/show_bug.cgi?id=456300

--- Comment #6 from Juan Méndez  ---
(In reply to Aleix Pol from comment #4)
> Seems to be a bug in webrtc that recently , which is shared by both firefox
> and chromium: https://webrtc-review.googlesource.com/c/src/+/265384
> 
> Can you test if you also have this problem with OBS?

(In reply to Aleix Pol from comment #4)
> Seems to be a bug in webrtc that recently , which is shared by both firefox
> and chromium: https://webrtc-review.googlesource.com/c/src/+/265384
> 
> Can you test if you also have this problem with OBS?

I just tested with OBS and everything works just fine (yay!). 

However, this bug is kinda weird because I was unable to replicate the same
issue on GNOME (with all the latest updates as of yesterday). All these bug
reports seem to indicate this issue only happens on KDE, though there's one
comment about someone using NixOS + GNOME having the same issue.

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456300

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |DOWNSTREAM
URL||https://bugs.chromium.org/p
   ||/chromium/issues/detail?id=
   ||104
 Status|REPORTED|RESOLVED

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-05 Thread Jan Grulich
https://bugs.kde.org/show_bug.cgi?id=456300

Jan Grulich  changed:

   What|Removed |Added

 CC||jgrul...@redhat.com

--- Comment #5 from Jan Grulich  ---
Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=104

It is fixed in Chrome/Chromium 105.

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-05 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=456300

--- Comment #4 from Aleix Pol  ---
Seems to be a bug in webrtc that recently , which is shared by both firefox and
chromium: https://webrtc-review.googlesource.com/c/src/+/265384

Can you test if you also have this problem with OBS?

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456300

Nate Graham  changed:

   What|Removed |Added

 CC||aleix...@kde.org,
   ||n...@kde.org

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-03 Thread Juan Méndez
https://bugs.kde.org/show_bug.cgi?id=456300

--- Comment #3 from Juan Méndez  ---
A couple of things worth noting:

1. None of what  I mentioned above of below happens on Xorg (lol)
2. Firefox does seem to be broken as well, but not as badly as Chromium. This
might deserve a bug report on its own, but here's a TL;DR of what happens when
I try to test screen sharing using
https://mozilla.github.io/webrtc-landing/gum_test.html :
- The portal dialog shows up as usual asking me to pick a screen
- I can see my screen in the miniature preview, but the preview remains frozen
shortly after clicking the OK button in the portal dialog
- Clicking the Pause/Play button will unfreeze the preview and things will work
as expected
- CPU usage goes br, with Firefox using about 60% of a CPU core and
kwin_wayland using an entire CPU core. This doesn't happen with Chromium
- My display's refresh rate drops to ~24 FPS with Firefox (it's a 75Hz
display). I tried lowering the resolution but I still see a massive FPS drop on
Wayland. This doesn't happen on Chromium, though
- None of this happens on Xorg as well. CPU usage remains consistently low (no
more than 20% core usage on both Chromium and FF), and no FPS drops either. 
3. This also happens when using either DP or HDMI.

Please let me know which logs you need, and/or the instructions to get you all
the info needed to sort this out.  :)

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-03 Thread Juan Méndez
https://bugs.kde.org/show_bug.cgi?id=456300

--- Comment #2 from Juan Méndez  ---
Created attachment 150377
  --> https://bugs.kde.org/attachment.cgi?id=150377=edit
smaller resolution, everything works just fine

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

[kwin] [Bug 456300] Screen sharing broken when using non-standard screen resolutions

2022-07-03 Thread Juan Méndez
https://bugs.kde.org/show_bug.cgi?id=456300

--- Comment #1 from Juan Méndez  ---
Created attachment 150376
  --> https://bugs.kde.org/attachment.cgi?id=150376=edit
native resolution, no VAAPI/hw accel hacks

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