https://bugs.kde.org/show_bug.cgi?id=422455

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
     Ever confirmed|0                           |1
             Status|RESOLVED                    |REOPENED
         Resolution|DOWNSTREAM                  |---

--- Comment #28 from [email protected] ---
I have the same issue. 

The issue seems to be powerdevil:

bunny@Heavenly:~$ journalctl -f | grep -iE
"hotplug|drm|connector|dpms|powerdevil"
journalctl -f | grep -iE "hotplug|drm|connector|dpms|powerdevil"
Sep 04 01:57:29 Heavenly systemd[1894]: Started
app-kscreen\[email protected] - kscreen-doctor
--dpms off.
Sep 04 01:58:13 Heavenly org_kde_powerdevil[5128]: There are no outputs -
creating placeholder screen
Sep 04 01:58:14 Heavenly kwin_wayland[2039]: Could not find edid for connector
DrmConnector(id=526, gpu="/dev/dri/card1", name="DP-1", connection="Connected",
countMode=5)
Sep 04 01:58:15 Heavenly org_kde_powerdevil[5128]: There are no outputs -
creating placeholder screen

It looks like my monitor suspends, then around 30 seconds later it disconnects.
 KDE then registers this as having no monitors, so it creates a placeholder
screen, which then turns my monitor back on.

I'm using display port.

bunny@Heavenly:~$ uname -r
7.2.0-202.nobara.fc44.x86_64


I found a solution.  I did:

First I tried `echo 0 | sudo tee /sys/module/drm_kms_helper/parameters/poll`
which worked.  It disabled reading the disconnect signal from the monitor so it
stayed suspended.  This is a brute force solution, as this is clearly a bug
that should be fixed, but at least it works for now.

I then made it persistent through reboots.  First I did:
echo "options drm_kms_helper poll=0" | sudo tee
/etc/modprobe.d/drm_kms_helper.conf
sudo dracut --regenerate-all --force

Those didn't work so I did:
sudo grubby --update-kernel=ALL --args="drm_kms_helper.poll=0"   

That did work.  After a reboot the suspend issue is gone.  I verified it
through a reboot by doing `sudo cat
/sys/module/drm_kms_helper/parameters/poll`.  It went from Y to N.

What I tried that didn't work:

DDC/CI:
`systemctl --user edit org_kde_powerdevil` and added
```[Service]
Environment="POWERDEVIL_NO_DDCUTIL=1``` at the top of the file.  
Then `systemctl --user restart plasma-powerdevil.service`, but it didn't work. 
In theory this should work?

KScreen 2:
I went into Background, found KScreen 2, disabled it, and turned it off.  This
didn't fix the issue either.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to