Bug 441991 - screenshot problem on Intel TGL/X11
Summary: screenshot problem on Intel TGL/X11
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-04 10:51 UTC by Guido
Modified: 2024-05-17 15:35 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido 2021-09-04 10:51:42 UTC
SUMMARY
When I use Intel DDX driver (xf86-video-intel) instead of modesetting screenshots take a "old" screen. All is ok with modesetting. The problem does not depends on screenshot software (I tried a lot of them). The problem seems to emerge with Intel Tiger Lake GPU.


STEPS TO REPRODUCE
1. Configure Xorg to use "intel" DDX driver
2. Start a session, open some programs/windows, than try to take a screenshot


OBSERVED RESULT
Screenshot is taken from a "previous" screen.


EXPECTED RESULT
Screenshot is taken from the actual screen.
Comment 1 Guido 2022-11-04 18:01:16 UTC
I finda workaround (thanks to KDE forum).

In System settings > Display and Monitor > Compositor change Keep window thumbnails from Only from Shown windows to Never.

Could this bug be investigated? I know the Intel driver is deprecated, but SNA acceleration is still much better than glamour and I notice a big difference especially in certain applications like Libreoffice, so I still prefer the Intel driver over modesetting.
Comment 2 Guido 2022-11-04 18:12:57 UTC
a kind bump for this bug (sorry)
Comment 3 Guido 2023-01-09 19:11:38 UTC
Workaround:

In Xorg.conf:

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "DRI" "iris"
EndSection

In KDE: disable thumbnails in compositor
Comment 4 Guido 2024-05-17 15:35:38 UTC
Intel DDX driver is unmaintaned now. Meanwhile the modesetting DDX driver has improved considerably (In particular, I recommend installing xorg-server from git) and with this driver the problem does not occur.