Bug 473197 - Multi screens: kwin errors and low refresh rate/ SW rendering?
Summary: Multi screens: kwin errors and low refresh rate/ SW rendering?
Status: RESOLVED DUPLICATE of bug 452219
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-09 08:45 UTC by deco33000
Modified: 2023-08-09 13:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deco33000 2023-08-09 08:45:26 UTC
Hi,

I have a Nvidia card (RTX 2060 for laptops) running the official drivers under Debian testing.
Nvidia driver: 535.86.05. 
Issue happens even when nvidia card is set to high performance.
Kernel 6.4.0-1-amd64.

When an external screen is connected:

- Under X11, the external screen has a fast refresh rate but Kwin happens to complain about a bad window; See bug https://bugs.kde.org/show_bug.cgi?id=473037. It will occasionally fail, leaving said screen unresponsive, from a second to a definitive lock. The only option is to unplug the screen. And if not enough, I have to reboot. Well..

- Under Wayland, the external screen seems to be rendered via software: the mouse pointer has a visible drag, the screen looks like it has a very low refresh rate. The laptop screen is perfectly functional though. I am currently testing it long enough to report if hiccups are present or not ( didn't do it before because it is a hassle to work with a laggy screen). I will update during the day.

Keep you updated.
Comment 1 deco33000 2023-08-09 12:55:41 UTC
Ok,

Tried so far and no more hiccups, but the following error that keep appearing in my logs:

2023-08-09T14:41:09.894757+02:00 User systemd[1]: Started systemd-hostnamed.service - Hostname Service.
2023-08-09T14:41:17.360050+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.9' (uid=1000 p>
2023-08-09T14:41:17.406579+02:00 User systemd[3098]: Starting tracker-extract-3.service - Tracker metadata extractor...
2023-08-09T14:41:17.470506+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
2023-08-09T14:41:17.470665+02:00 User systemd[3098]: Started tracker-extract-3.service - Tracker metadata extractor.
2023-08-09T14:41:33.184149+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.9' (uid=1000 p>
2023-08-09T14:41:33.250583+02:00 User systemd[3098]: Starting tracker-extract-3.service - Tracker metadata extractor...
2023-08-09T14:41:33.316525+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
2023-08-09T14:41:33.316779+02:00 User systemd[3098]: Started tracker-extract-3.service - Tracker metadata extractor.
2023-08-09T14:41:35.137472+02:00 User rtkit-daemon[1178]: Supervising 8 threads of 5 processes of 1 users.
2023-08-09T14:41:35.137701+02:00 User rtkit-daemon[1178]: Supervising 8 threads of 5 processes of 1 users.
2023-08-09T14:41:39.931739+02:00 User systemd[1]: systemd-hostnamed.service: Deactivated successfully.
2023-08-09T14:43:23.471251+02:00 User plasmashell[3407]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x5557bc4e5e60) QQmlContext(0x5557b909d9e0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/con>
2023-08-09T14:43:23.471338+02:00 User plasmashell[3407]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x5557bc4e5e60) QQmlContext(0x5557b909d9e0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/con>
2023-08-09T14:45:40.593459+02:00 User plasmashell[3407]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x5557bd6bec30) QQmlContext(0x5557b909d9e0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/con>
2023-08-09T14:45:40.593566+02:00 User plasmashell[3407]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x5557bd6bec30) QQmlContext(0x5557b909d9e0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/con>
2023-08-09T14:45:58.985012+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.9' (uid=1000 p>
2023-08-09T14:45:59.010684+02:00 User systemd[3098]: Starting tracker-extract-3.service - Tracker metadata extractor...
2023-08-09T14:45:59.079704+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
2023-08-09T14:45:59.079918+02:00 User systemd[3098]: Started tracker-extract-3.service - Tracker metadata extractor.
2023-08-09T14:46:20.478556+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.9' (uid=1000 p>
2023-08-09T14:46:20.518707+02:00 User systemd[3098]: Starting tracker-extract-3.service - Tracker metadata extractor...
2023-08-09T14:46:20.588407+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
2023-08-09T14:46:20.588602+02:00 User systemd[3098]: Started tracker-extract-3.service - Tracker metadata extractor.
2023-08-09T14:46:31.552353+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.9' (uid=1000 p>
2023-08-09T14:46:31.586646+02:00 User systemd[3098]: Starting tracker-extract-3.service - Tracker metadata extractor...
2023-08-09T14:46:31.809575+02:00 User dbus-daemon[3120]: [session uid=1000 pid=3120] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
2023-08-09T14:46:31.809967+02:00 User systemd[3098]: Started tracker-extract-3.service - Tracker metadata extractor.
2023-08-09T14:46:34.557059+02:00 User kwin_wayland_wrapper[3261]: kwin_screencast: Dropping a screencast frame because the compositor is slow
2023-08-09T14:46:34.663910+02:00 User kwin_wayland_wrapper[3261]: kwin_screencast: Dropping a screencast frame because the compositor is slow
2023-08-09T14:46:34.965036+02:00 User kwin_wayland_wrapper[3261]: kwin_screencast: Dropping a screencast frame because the compositor is slow
2023-08-09T14:46:35.044350+02:00 User kwin_wayland_wrapper[3261]: kwin_screencast: Dropping a screencast frame because the compositor is slow
2023-08-09T14:46:37.104009+02:00 User plasmashell[11149]: #033[90m[main 2023-08-09T12:46:37.103Z]#033[0m Extension host with pid 116 exited with code: 0, signal: unknown.
2023-08-09T14:46:37.107349+02:00 User plasmashell[11149]: #033[91m[main 2023-08-09T12:46:37.107Z]#033[0m [UtilityProcessWorker]: terminated unexpectedly with code 15, signal: unknown
2023-08-09T14:46:37.107670+02:00 User plasmashell[11149]: #033[91m[main 2023-08-09T12:46:37.107Z]#033[0m [UtilityProcess id: 1, type: fileWatcher, pid: 127]: crashed with code 15 and reason 'killed'
2023-08-09T14:46:37.213912+02:00 User kwin_wayland_wrapper[3261]: kwin_xwl: Could not create a source from 0x556722cc63b0 0
2023-08-09T14:46:37.213987+02:00 User kwin_wayland_wrapper[3261]: kwin_xwl: Could not create a source from 0x556722477290 0
2023-08-09T14:46:39.886745+02:00 User plasmashell[11145]: Parent is shutting down, bye...

The message
kwin_screencast: Dropping a screencast frame because the compositor is slow

happens a lot, and trust me, the compositor is really slow. It is a pain to work in these conditions.


If you need any info just tell me I will do my best for you,

Bye
Comment 2 Zamundaaa 2023-08-09 13:51:51 UTC

*** This bug has been marked as a duplicate of bug 452219 ***