Bug 446341 - Shared via pipewire screen is rotated in 180°
Summary: Shared via pipewire screen is rotated in 180°
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-01 21:00 UTC by Kiril Vladimirov
Modified: 2022-03-11 01:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.25
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kiril Vladimirov 2021-12-01 21:00:26 UTC
SUMMARY
Even though no rotation (or scaling) options are applied in "Display configuration", when sharing a screen via pipewire it comes out rotated in 180°.


STEPS TO REPRODUCE
1. Start a OBS Studio (for instance, running Google Meet or whatever app which allows sharing/recording a screen yields the same result)
2. Make sure you've selected a screen
3. Start recording/sharing

OBSERVED RESULT
Screen is rotated in 180°.


EXPECTED RESULT
Proper screen orientation.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.5-200.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® UHD Graphics 620
Pipewire: 0.3.40
Comment 1 Nicolas Fella 2022-01-12 02:03:14 UTC
This works fine for me on Fedora 35 (Plasma 5.23.4). What kind of screen setup do you have?
Comment 2 Kiril Vladimirov 2022-01-12 14:23:26 UTC
I have it running on a Lenovo Thinkpad T490. It happens regardless of any external displays. Not sure what other information I should provide in order to dig into it.
Comment 3 Nate Graham 2022-01-18 19:25:55 UTC
Works for me in Fedora 35 as well on very similar hardware (ThinkPad X1 Yoga).
Comment 4 Nate Graham 2022-03-11 01:38:26 UTC
Should be fixed by Xaver Hugl with https://invent.kde.org/plasma/kwin/-/commit/badf492941824d1b0ad1ef2ea89d3e1d88670f5d in Plasma 5.25! It might be backported to 5.24.4, too.
Comment 5 Nate Graham 2022-03-11 01:38:41 UTC
Oops, I mean fixed by Aleix Pol Gonzalez.