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

QuatschQuelle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |NEEDSINFO

--- Comment #5 from QuatschQuelle <[email protected]> ---
UPDATE: 
Even after a system reinstall, it still did not work. I read the logs and tried
fixing it for the last few weeks for 2-3h every day. I now have a solution, as
KWin does not start fast enough or something.

How I fixed it:
```
sudo usermod -aG i2c $USER
sudo usermod -aG video,i2c $USER
sudo pacman -S ddcutil --overwrite "*"
sudo modprobe i2c-dev

mkdir -p ~/.config/environment.d
echo "POWERDEVIL_NO_DDCUTIL=1" >> ~/.config/environment.d/powerdevil.conf
systemctl --user daemon-reload
```

Create a script and put it in autostart/after login:
```
#!/bin/bash
sleep 15
systemctl --user restart plasma-powerdevil.service
```

So I tried everything else to fix it. As I said, I even reinstalled Linux, but
it just didn't work. I can't be the only one having this problem. What I think
is the problem is NVIDIA and KWin. Here are some extra logs from when it does
not work:

```
Jun 30 21:16:50 cachyos-x8664 systemd[1092]: Starting Powerdevil...
Jun 30 21:16:50 cachyos-x8664 org_kde_powerdevil[13227]: Starting libddcutil.
library built Not set at Not set. stdout_stderr_redirected=true
Jun 30 21:16:50 cachyos-x8664 org_kde_powerdevil[13227]: Failed to register
with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not
re>
Jun 30 21:16:50 cachyos-x8664 org_kde_powerdevil[13227]:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported b>
Jun 30 21:16:50 cachyos-x8664 org_kde_powerdevil[13227]:
org.kde.powerdevil.backlighthelper.brightness failed
```

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

Reply via email to