Bug 486723

Summary: Spam in journald ~ "kwin_wayland_drm: Signed range property value out of bounds."
Product: [Plasma] kwin Reporter: Kyle Devir <kyle.devir>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kyle.devir, xaver.hugl
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kyle Devir 2024-05-07 12:19:42 UTC
Since https://invent.kde.org/plasma/kwin/-/commit/d55fa39ebf4b758f191700539ba06c09305189ee I've been getting a horrific amount of log spam in journald. It's a sea in there.

Getting hundreds of lines of

```
kwin_wayland_drm: Signed range property value out of bounds. "CRTC_X"  value: 0 min: -1 max: -1
May 07 21:55:34 archlinux kwin_wayland[1110]: kwin_wayland_drm: Signed range property value out of bounds. "CRTC_Y"  value: 0 min: -1 max: -1
May 07 21:55:34 archlinux kwin_wayland[1110]: kwin_wayland_drm: Signed range property value out of bounds. "IN_FENCE_FD"  value: 115 min: -1 max: -1
```
Comment 1 Zamundaaa 2024-05-07 12:59:02 UTC
This was already fixed, you need to update to https://invent.kde.org/plasma/kwin/-/commit/24807dfa50f0583a8cd509465ff706c48a9719a8
Comment 2 Kyle Devir 2024-05-07 23:16:02 UTC
(In reply to Zamundaaa from comment #1)
> This was already fixed, you need to update to
> https://invent.kde.org/plasma/kwin/-/commit/
> 24807dfa50f0583a8cd509465ff706c48a9719a8

Cheers... sigh, second time recently I make a bug report only for the fix to be literally the next commit or two. Nice luck I have there...

Thanks. :)
Comment 3 Kyle Devir 2024-05-08 08:13:17 UTC
Unfortunately, that commit doesn't fix the log spam issue. Still lots of

May 08 15:03:37 archlinux kwin_wayland[1509]: kwin_wayland_drm: Signed range property value out of bounds. "IN_FENCE_FD"  value: 191 min: -1 max: -1
May 08 15:03:37 archlinux kwin_wayland[1509]: kwin_wayland_drm: Signed range property value out of bounds. "CRTC_X"  value: 952 min: -1 max: -1
May 08 15:03:37 archlinux kwin_wayland[1509]: kwin_wayland_drm: Signed range property value out of bounds. "CRTC_Y"  value: 530 min: -1 max: -1
Comment 4 Zamundaaa 2024-05-08 09:23:25 UTC
Are you sure you're not still running the old version? IN_FENCE_FD has a max of INT32_MAX, not -1
Comment 5 Kyle Devir 2024-05-08 10:45:50 UTC
Can confirm. I double-checked a few times to make sure. Recompiled and rebooted also. :/
Comment 6 Kyle Devir 2024-05-08 10:46:20 UTC
Running latest master. Still have the error.
Comment 7 Kyle Devir 2024-05-08 10:55:51 UTC
Sigh. And now I can't trigger it at the moment. Somehow, I have the most cursed luck at times, and I'm not even sure how it happens. Closing. :|

Sorry for wasting your time. :(