Bug 413116 - Plasma freezes for few seconds when maximizing window
Summary: Plasma freezes for few seconds when maximizing window
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 5.16.5
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-17 21:15 UTC by enautgenua
Modified: 2022-02-25 04:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enautgenua 2019-10-17 21:15:46 UTC
SUMMARY
 When using proprietary nvidia drivers (using an optimus laptop), if the modset is activated (for disabling screen tearing in nvidia chips), and if a window is dragged to the top of screen to maximize, sometimes (about 2/3 times) the screen completely freezes for about 3-6 seconds. In the intel graphics card there isn't any issues.

STEPS TO REPRODUCE
1. Install Kubuntu 18.04<(This issue is present in all versions above 18.04, below i haven't tested, as they're unsupported)
2. Install the proprietary nvidia drivers
3. Make a config file such as '/etc/modprobe.d/nvidia-nomodset.conf' and add the following line: 'options nvidia-drm modset=1' to disable screen tearing.
4.Update initramfs of the kernel (# update-initramfs -u) and reboot
5.Maximize any window by dragging to the top of the screen

OBSERVED RESULT
May the screen freeze for about 3-6 seconds, and then responds maximizing the wanted window, but may occur really often. You may try maximizing until the screen freezes.

EXPECTED RESULT
Maximize without screen freezes

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 18.04 and above
(available in About System)
KDE Plasma Version: 5.16.5 / 5.17
KDE Frameworks Version: 5.56 / 5.62.0
Qt Version: 5.12.2 / 5.12.4

ADDITIONAL INFORMATION
 When the modset is not activated there are no freezes, but there is screen tearing, which is not possible to fix from the compositor settings.
Comment 1 galder 2022-01-26 12:59:06 UTC
Hello,
changing this to need info as maybe is already fixed issue.
Unfortunately Kde resources are very limited.
Please try with newer Kubuntu version and reply if you are still  having the issue.

Regards
Comment 2 Bug Janitor Service 2022-02-10 04:37:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-02-25 04:36:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!