[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-03-10 Thread Julien Delquié
https://bugs.kde.org/show_bug.cgi?id=476375

Julien Delquié  changed:

   What|Removed |Added

 CC||julien@gmail.com

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

einbert-xer...@outlook.com changed:

   What|Removed |Added

 CC||einbert-xer...@outlook.com

--- Comment #69 from einbert-xer...@outlook.com ---
Hello. Powerdevil started to constantly crash again with newly rolled-out
ddcutil 2.1.0, as is reported in the Arch forum:
https://bbs.archlinux.org/viewtopic.php?id=292028. Related?

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=476375

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=476375

David Edmundson  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/powerdevil/-/commit/e112 |ma/powerdevil/-/commit/91a3
   |80c017e807dc7b2099ae0f8c39b |83125136843e6dd21c5bcd775ed
   |71f521d30   |2649d0ee6

--- Comment #68 from David Edmundson  ---
Git commit 91a383125136843e6dd21c5bcd775ed2649d0ee6 by David Edmundson.
Committed on 17/01/2024 at 16:49.
Pushed by davidedmundson into branch 'Plasma/6.0'.

ddcutil: skip invalid displays

The first argument of ddca_get_display_info_list2 is whether to include
"invalid" displays. It seems pointless to search them, and avoids a
crash when getting more information.


(cherry picked from commit e11280c017e807dc7b2099ae0f8c39b71f521d30)

M  +1-1daemon/backends/upower/ddcutilbrightness.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/91a383125136843e6dd21c5bcd775ed2649d0ee6

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-17 Thread Reza Jahanbakhshi
https://bugs.kde.org/show_bug.cgi?id=476375

Reza Jahanbakhshi  changed:

   What|Removed |Added

 CC||reza.jahanbakh...@gmail.com

--- Comment #67 from Reza Jahanbakhshi  ---
Great, that MR is merged now. Let's hope it'll be backported to Plasma 5 soon.
Thank you David Edmundson for the fix.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=476375

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/powerdevil/-/commit/e112
   ||80c017e807dc7b2099ae0f8c39b
   ||71f521d30
 Status|ASSIGNED|RESOLVED

--- Comment #66 from David Edmundson  ---
Git commit e11280c017e807dc7b2099ae0f8c39b71f521d30 by David Edmundson.
Committed on 17/01/2024 at 11:14.
Pushed by davidedmundson into branch 'master'.

ddcutil: skip invalid displays

The first argument of ddca_get_display_info_list2 is whether to include
"invalid" displays. It seems pointless to search them, and avoids a
crash when getting more information.

M  +1-1daemon/controllers/ddcutilbrightness.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/e11280c017e807dc7b2099ae0f8c39b71f521d30

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-16 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476375

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #65 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/powerdevil/-/merge_requests/307

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-14 Thread Norbert Preining
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #64 from Norbert Preining  ---
(In reply to David Edmundson from comment #61)
> Can someone who can reproduce test a patch:
> 
> change
> ddca_get_display_info_list2(true, );
> 
> to
> ddca_get_display_info_list2(false, );

Hi David,

yes that worked, after installing ddcutil2 and rebuilding with this patch
attached on my Arch machine, powerdevil did start properly
```
Jan 15 12:50:01 bulldog systemd[1786]: Starting Powerdevil...
Jan 15 12:50:01 bulldog org_kde_powerdevil[9507]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
Jan 15 12:50:01 bulldog org_kde_powerdevil[9507]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
Jan 15 12:50:01 bulldog libddcutil[9507]: Initializing libddcutil.  ddcutil
version: 2.0.0, shared library: /usr/lib/libddcutil.so.5.0.0
Jan 15 12:50:01 bulldog libddcutil[9507]: Library initialization complete.
Jan 15 12:50:03 bulldog systemd[1786]: Started Powerdevil.
Jan 15 12:50:03 bulldog org_kde_powerdevil[9507]: org.kde.powerdevil: Handle
button events action could not check for screen configuration
Jan 15 12:50:03 bulldog org_kde_powerdevil[9507]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
```

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-14 Thread Anon
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #63 from Anon  ---
Today I did a fresh install of  KDE on arch. The Powerdevil problem was still
present on 5.27 but when I updated to KDE6 through kde-unstable repo the
problem seems to have disappeared, at least powerdevil hasn't entered a reboot
loop after multiple reboots and using the system for a few hours.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-13 Thread postix
https://bugs.kde.org/show_bug.cgi?id=476375

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

koce...@tutanota.com changed:

   What|Removed |Added

 CC||koce...@tutanota.com

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #62 from David Edmundson  ---
*In DDCutilBrightness::detect in ddcutilbrightness.cpp

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=476375

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #61 from David Edmundson  ---
Can someone who can reproduce test a patch:

change
ddca_get_display_info_list2(true, );

to
ddca_get_display_info_list2(false, );

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-12 Thread Norbert Preining
https://bugs.kde.org/show_bug.cgi?id=476375

Norbert Preining  changed:

   What|Removed |Added

 CC||norb...@preining.info

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-06 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #60 from Jakob Petsovits  ---
Alright folks, the commit from Comment #59 is going to be in Plasma 6 RC1,
a.k.a. version 5.92.0 and above.

What this means is that you can now create a file called
$HOME/.config/ddcutil/ddcutilrc. If present, both the PowerDevil daemon and
ddcutil will read and interpret it. The contents could look e.g. like this:

[global]
; Combined with all other options strings
options : --trace-to-syslog-only --trcfunc ddc_write_read_with_retry --trcfunc
ddc_write_read

There is a slightly more detailed documentation page for this file at
https://www.ddcutil.com/config_file/ and a listing of the numerous ddcutil
options at https://www.ddcutil.com/options_main/ - go nuts if you're into
debugging. Any ddcutil tracing output will show up in journalctl, under
org_kde_powerdevil.

I don't know enough about ddcutil to tell what a good set of options would be
to debug this particular use case, maybe the above are a good start or maybe
they're unreadable noise. Not sure, we'll have to figure it out as we go along.
You can also try specifying some of the options that change how ddcutil
behaves. If you find an options that magically fixes things for you, that would
be a *very* solid data point. But even without that, we should now have some
tools on hand to communicate effectively with the ddcutil maintainer on his
GitHub page: https://github.com/rockowitz/ddcutil/issues/

Another thing you can do for better reporting is to make PowerDevil's own
logging statements show up in journalctl. Tell systemd to give you an editor by
calling:

systemctl edit --user plasma-powerdevil.service

Then add something like this to the empty space "between here and the comment
below":

[Service]
Environment="QT_LOGGING_RULES=*.debug=true;qt.*.debug=false"

This will tell us approximately how far you made it into PowerDevil's DDC code.
You can already do this with previously released versions of PowerDevil, too.
To actually see the output without having to log out and back in, restart just
the PowerDevil daemon with:

systemctl restart --user plasma-powerdevil.service

When posting output, please use pastebin sites such as https://paste.kde.org/,
https://gist.github.com/ or https://pastebin.com/ and link to those pastes.
It's already a very long bug, let's try to keep it relatively tidy. Thanks
everyone for helping to get this nailed down!

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2024-01-06 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #59 from Jakob Petsovits  ---
Git commit 334e0c041a34fbcd09b90b4481878f71a7aac0ec by Jakob Petsovits.
Committed on 07/01/2024 at 04:45.
Pushed by jpetso into branch 'master'.

ddcutilbrightness: Add ddca_init() support for ddcutil >=2.0.0

This allows the user to create a ddcutil configuration file which
can enable tracing (to help with debugging) and customize other
runtime options supported by ddcutil.

M  +18   -1daemon/backends/upower/ddcutilbrightness.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/334e0c041a34fbcd09b90b4481878f71a7aac0ec

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-28 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=476375

Jakob Petsovits  changed:

   What|Removed |Added

 CC||jpe...@petsovits.com

--- Comment #58 from Jakob Petsovits  ---
The stacktrace by Markus in comment 39 is a good one, but it's hidden deep in
the first ddcutil function that powerdevil calls. Seems unlikely that it would
have been KDE's fault at that point. The other two or so stacktraces were not
useful.

I had a little bit of a look at what's new in ddcutil 2.0.0; among other
things, it introduces an optional initialization function. Calling this (or
not) shouldn't make a difference in how ddcutil behaves by default, but it does
allow any user to turn on copious amounts of trace logs that should help with
producing more useful information for us or the ddcutil maintainer. These will
show up in your journalctl logs under the 'org_kde_powerdevil' name once the
above merge request goes in.

You'll have to wait for the next Plasma 6 release candidate after that in order
to use this for debugging, or build Plasma from scratch. Frankly, KDE devs
won't be able to do overly much with ddcutil traces and we'll probably have to
ask for help on the ddcutil issue tracker. But if the crash is really in
ddcutil's court, being able to log traces and test non-default behavior with
runtime options is going to help us iterate faster.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-28 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #57 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/powerdevil/-/merge_requests/303

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-28 Thread Andres Pasquel
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #56 from Andres Pasquel  ---
Could this discussion be related?:
https://github.com/rockowitz/ddcutil/issues/358

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #55 from holyzo...@trash-mail.com ---
Edit: It dims one screen, sometimes my 2nd monitor.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #54 from holyzo...@trash-mail.com ---
Yepp I have a TV attached as well and I am affected by the bug.
Speaking of that, I saw that I had a systray there too, where the
"Brightness/Powedevil" entry was. I disabled that from systray since I do not
need it twice. Now it's only on my primary in systray.
And now I can start Powerdevil again with the TimeoutSec workaround.
I set it to TimeoutSec=44sec

It runs but it has 2 glitches:

1. I can not set the Power Profile (Power Save v Balanced v Performance) in the
Plasma session. The systray entry slider slips back. However when I log out and
back in, the slider is where I had just wanted to set it and it appears to be
working.

(in the System Settings > Power Management > Energy Saving, it appears to be
the same issue, but there is a 4th option: Leave unchanged. Selecting this does
not fix the slider issue I guess. But maybe a good option if you're affected by
the bug?)

2. I can set the brightness only for my primary screen.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-25 Thread Andres Pasquel
https://bugs.kde.org/show_bug.cgi?id=476375

Andres Pasquel  changed:

   What|Removed |Added

 CC||xndpxs2...@yahoo.com

--- Comment #53 from Andres Pasquel  ---
(In reply to Nicolas Fella from comment #50)
> https://bugs.kde.org/show_bug.cgi?id=476375#c39 suggests that powerdevil is
> crashing in libddcutil code, which would very well explain the issue
> 
> Can anyone who is affected by this use coredumpctl to check whether there
> are any coredumps for org_kde_powerdevil
> 
> See also
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

I am having the same issues. I will attach the coredump:
https://pastebin.com/QbdeRWyD
journalctl -b 0 | grep -i 'powerdevil'
```
dic 25 23:54:03  systemd[1543]: plasma-powerdevil.service: start operation
timed out. Terminating.
dic 25 23:54:03  systemd[1543]: plasma-powerdevil.service: Failed with
result 'timeout'.
dic 25 23:54:03  systemd[1543]: Failed to start Powerdevil.
dic 25 23:54:03  systemd[1543]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 220.
dic 25 23:54:03  systemd[1543]: Starting Powerdevil...
dic 25 23:54:03  org_kde_powerdevil[19220]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
dic 25 23:54:03  org_kde_powerdevil[19220]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
```
And it repeats every 5 minutes...
I am using 3 monitors 1920x1080 100hz, 60 hz and
 1 TV Riviera 1600x900: Unique ID: rdCR.j9CyH+3wRa7
  Parent ID: svHJ.7z2dtym+gu2
  Hardware Class: monitor
  Model: "CHHWJT*"

with ddcutils 1.4 I was able to modify the dim of the monitors, but not for the
TV. Maybe this TV is the problem of all? But its not a real option to just
"disconnect the TV"

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #52 from holyzo...@trash-mail.com ---
(In reply to Nicolas Fella from comment #50)
> https://bugs.kde.org/show_bug.cgi?id=476375#c39 suggests that powerdevil is
> crashing in libddcutil code, which would very well explain the issue
> 
> Can anyone who is affected by this use coredumpctl to check whether there
> are any coredumps for org_kde_powerdevil
> 
> See also
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

https://zerobin.org/?8e24ec0a865285d1#E4rcVwH2ha3Lb3cH9eNvf9VcxDYawJYNgE7Vc5pyHG8m

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-14 Thread Snail
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #51 from Snail  ---
(In reply to Nicolas Fella from comment #50)
> https://bugs.kde.org/show_bug.cgi?id=476375#c39 suggests that powerdevil is
> crashing in libddcutil code, which would very well explain the issue
> 
> Can anyone who is affected by this use coredumpctl to check whether there
> are any coredumps for org_kde_powerdevil
> 
> See also
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

Hello,

I ran coredumpctl --reverse and there wasn't any coredumps for
org_kde_powerdevil.

Perhaps usefull : powerdevil was working again in Linux Manjaro, after the
following update :
https://forum.manjaro.org/t/stable-update-2023-12-10-kernels-plasma-phosh-systemd-cinnamon-gnome-libpamac/153045

I didn't ran any Konsole command, but I was able to adjust the brightness for
my secondary screen, that was stuck at 50% brightness. It worked strangely : I
put the brightness at 100% and it changed the brightness of my primary screen ;
I used the slider to set the brightness back to 70%, and the secondary screen
display went from 50 to 70%, while the primary didn't change. I used this to
put the brightness of the secondary screen to 99%, which is functional for me.

There's been another update, meanwhile :

https://forum.manjaro.org/t/stable-update-2023-12-13-kernels-blender-kde-gear-pamac-11-7-python-haskell/153275

 I have the same problem again, so perhaps it's related to that update.



dez 14 21:25:35 jorge-machine org_kde_powerdevil[668268]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
dez 14 21:25:40 jorge-machine systemd[872]: plasma-powerdevil.service: start
operation timed out. Terminating.
dez 14 21:25:40 jorge-machine systemd[872]: plasma-powerdevil.service: Failed
with result 'timeout'.
dez 14 21:25:40 jorge-machine systemd[872]: plasma-powerdevil.service: Consumed
1.152s CPU time.
dez 14 21:25:40 jorge-machine systemd[872]: plasma-powerdevil.service:
Scheduled restart job, restart counter is at 18544.
dez 14 21:25:40 jorge-machine org_kde_powerdevil[668298]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"

Perhaps useful to know : the brightness stayed at the levels as I managed to
set them.

Also:

ddcutil 2.0.0-1
powerdevil 5.27.10-1

Versions I have currently.

Hope that I'm not polluting your thread, and that it can be useful.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-14 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #50 from Nicolas Fella  ---
https://bugs.kde.org/show_bug.cgi?id=476375#c39 suggests that powerdevil is
crashing in libddcutil code, which would very well explain the issue

Can anyone who is affected by this use coredumpctl to check whether there are
any coredumps for org_kde_powerdevil

See also
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-13 Thread Ben Daines
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #49 from Ben Daines  ---
(In reply to holyzolly from comment #47)
> Ok so thinking about why we don't know who gets affected and why workaround
> work for some people and for some won't.
> Somebody mentioned it's display related.
> Then my assumption is it is HDR related, with all the good news in this
> subject!
> (It is so in my case also, on my old laptop, no issue. Here on desktop I've
> got a 4K-HDR capable screen [that can also emulate HDR, don't know if that
> info is important])
> So here the question for all reading this:
> 
> 1.) If you are affected: Do you have a capable HDR screen connected?
> 2.) If you are not affected: you don't an HDR capable screen connected, I
> assume?
> 3.) If you could work around it with the known workarounds? Do you have  an
> HDR capable screen connected?
> 
> Please report and I hope this will help solve the issue... :)

No HDR screens, it seems to be an issue with ddcutil not knowing how to deal
with unrecognized screens.  Have not used any workaround, just downgraded to
packages before the issue existed.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-13 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #48 from Dominik Kummer  ---
3.) I do not have any HDR capable screen connected.

PS: I did several upgrades since then. I could reset the workaround to default
and report if it helps.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #47 from holyzo...@trash-mail.com ---
Ok so thinking about why we don't know who gets affected and why workaround
work for some people and for some won't.
Somebody mentioned it's display related.
Then my assumption is it is HDR related, with all the good news in this
subject!
(It is so in my case also, on my old laptop, no issue. Here on desktop I've got
a 4K-HDR capable screen [that can also emulate HDR, don't know if that info is
important])
So here the question for all reading this:

1.) If you are affected: Do you have a capable HDR screen connected?
2.) If you are not affected: you don't an HDR capable screen connected, I
assume?
3.) If you could work around it with the known workarounds? Do you have  an HDR
capable screen connected?

Please report and I hope this will help solve the issue... :)

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-11 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #46 from Altamush Nayyer Khan  ---
Content marketing and generally speaking, people prefer watching video
tutorials instead of reading text. I'd rather watch a video of a person
explaining the solution to a problem than reading text.

Although, I can understand if people only wish to read text. It works for some
people.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-11 Thread Ben Daines
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #45 from Ben Daines  ---
(In reply to Altamush Nayyer Khan from comment #44)
> I don't think disconnecting any monitor or any hardware that you require to
> get work done smoothly is a solution. That is the reason why I never thought
> about disconnecting any of my monitors. There is already a temporary
> solution for it that was posted on the Arch Wiki.
> 
> I will link to it. It solved my problem. Hopefully it will also solve yours.
> 
> https://bbs.archlinux.org/viewtopic.php?pid=2136605#p2136605

Thanks. I'll give that a try instead of downgrading packages after the next
distro update that doesn't fix it. As an aside, why do people make YouTube
videos for console related topics?  The internet has the ability to contain
text

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-11 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #44 from Altamush Nayyer Khan  ---
I don't think disconnecting any monitor or any hardware that you require to get
work done smoothly is a solution. That is the reason why I never thought about
disconnecting any of my monitors. There is already a temporary solution for it
that was posted on the Arch Wiki.

I will link to it. It solved my problem. Hopefully it will also solve yours.

https://bbs.archlinux.org/viewtopic.php?pid=2136605#p2136605

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-10 Thread Ben Daines
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #43 from Ben Daines  ---
(In reply to Ben Daines from comment #42)
> (In reply to Altamush Nayyer Khan from comment #41)
> > (In reply to Ben Daines from comment #40)
> > > (In reply to Markus from comment #39)
> > > > For me, powerdevil only crashes when an Apple Cinema Display (model 
> > > > A1267)
> > > 
> > > I am also having the issue with an Apple Cinema Display connected via DVI 
> > > as
> > > my second display (desktop system with display port for the primary
> > > display).  Mine is older than yours, the A1082 23" aluminum LCD from 2004
> > 
> > I have heard that the bug is caused due to specific monitor or device
> > configurations. I am not very sure about this. I just read it on the Arch
> > Forums that a person just removed one of their monitors and the problem
> > disappeared.
> 
> "Just don't use your monitor" hardly sounds like a solution.

I do realize you're trying to offer a workaround, however I've rolled back the
powerdevil & ddcutil packages as a temporary solution.  Hopefully this will be
fixed before Plasma 6 is released, as I imagine rolling back those packages
might not work quite so well after a major update like Plasma 6.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-10 Thread Ben Daines
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #42 from Ben Daines  ---
(In reply to Altamush Nayyer Khan from comment #41)
> (In reply to Ben Daines from comment #40)
> > (In reply to Markus from comment #39)
> > > For me, powerdevil only crashes when an Apple Cinema Display (model A1267)
> > 
> > I am also having the issue with an Apple Cinema Display connected via DVI as
> > my second display (desktop system with display port for the primary
> > display).  Mine is older than yours, the A1082 23" aluminum LCD from 2004
> 
> I have heard that the bug is caused due to specific monitor or device
> configurations. I am not very sure about this. I just read it on the Arch
> Forums that a person just removed one of their monitors and the problem
> disappeared.

"Just don't use your monitor" hardly sounds like a solution.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-10 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #41 from Altamush Nayyer Khan  ---
(In reply to Ben Daines from comment #40)
> (In reply to Markus from comment #39)
> > For me, powerdevil only crashes when an Apple Cinema Display (model A1267)
> 
> I am also having the issue with an Apple Cinema Display connected via DVI as
> my second display (desktop system with display port for the primary
> display).  Mine is older than yours, the A1082 23" aluminum LCD from 2004

I have heard that the bug is caused due to specific monitor or device
configurations. I am not very sure about this. I just read it on the Arch
Forums that a person just removed one of their monitors and the problem
disappeared.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-10 Thread Ben Daines
https://bugs.kde.org/show_bug.cgi?id=476375

Ben Daines  changed:

   What|Removed |Added

 CC||benjamindai...@gmail.com

--- Comment #40 from Ben Daines  ---
(In reply to Markus from comment #39)
> For me, powerdevil only crashes when an Apple Cinema Display (model A1267)

I am also having the issue with an Apple Cinema Display connected via DVI as my
second display (desktop system with display port for the primary display). 
Mine is older than yours, the A1082 23" aluminum LCD from 2004

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-08 Thread Markus
https://bugs.kde.org/show_bug.cgi?id=476375

Markus  changed:

   What|Removed |Added

 CC||m...@markusweimar.de

--- Comment #39 from Markus  ---
For me, powerdevil only crashes when an Apple Cinema Display (model A1267) is
connected. Brightness control of this display requires acdcontrol
(https://github.com/jenrik/acdcontrol).

Linux/KDE Plasma: Arch Linux (current)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

This line is printed in gdb when running /usr/lib/org_kde_powerdevil:

org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed

# gdb.txt

Starting program: /usr/lib/org_kde_powerdevil 

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7f2794c276c0 (LWP 23350)]
[New Thread 0x7f2786c0 (LWP 23351)]  
[New Thread 0x7f278f7fe6c0 (LWP 23354)]
[New Thread 0x7f278effd6c0 (LWP 23355)]
[New Thread 0x7f278e7fc6c0 (LWP 23356)]   
[Detaching after vfork from child process 23376]
[Detaching after vfork from child process 23378]
[Detaching after vfork from child process 23380]
[Detaching after vfork from child process 23382]
[Thread 0x7f2794c276c0 (LWP 23350) exited]

Thread 1 "org_kde_powerde" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=, signo=signo@entry=6,
no_tid=no_tid@entry=0) at pthread_kill.c:44


44return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;

Thread 6 (Thread 0x7f278e7fc6c0 (LWP 23356) "gdbus"):
#0  0x7f279a720f6f in __GI___poll (fds=0x7f2778000b90, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
sc_ret = -516
sc_cancel_oldtype = 0
#1  0x7f279976c276 in  () at /usr/lib/libglib-2.0.so.0
#2  0x7f279970eb97 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x7f279563414c in  () at /usr/lib/libgio-2.0.so.0
#4  0x7f279973f9f5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x7f279a6aa9eb in start_thread (arg=) at
pthread_create.c:444
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139808071132944,
-7240220390079944981, -232, 11, 140730525680576, 139807862800384,
7334830064921388779, 7334856633901295339}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
#6  0x7f279a72e7cc in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f278effd6c0 (LWP 23355) "gmain"):
#0  0x7f279a720f6f in __GI___poll (fds=0x5615360b3ec0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
sc_ret = -516
sc_cancel_oldtype = 0
#1  0x7f279976c276 in  () at /usr/lib/libglib-2.0.so.0
#2  0x7f279970c162 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x7f279970c1b2 in  () at /usr/lib/libglib-2.0.so.0
#4  0x7f279973f9f5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x7f279a6aa9eb in start_thread (arg=) at
pthread_create.c:444
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139808071132944,
-7240220390079944981, -232, 2, 140730525680688, 139807871193088,
7334828969167857387, 7334856633901295339}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
#6  0x7f279a72e7cc in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f278f7fe6c0 (LWP 23354) "pool-spawner"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x7f27997672b7 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2  0x7f27996d91b4 in  () at /usr/lib/libglib-2.0.so.0
#3  0x7f2799741a7e in  () at /usr/lib/libglib-2.0.so.0
#4  0x7f279973f9f5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x7f279a6aa9eb in start_thread (arg=) at
pthread_create.c:444
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139808071132944,
-7240220390079944981, -232, 2, 140730525680896, 139807879585792,
7334832267165869803, 7334856633901295339}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
#6  0x7f279a72e7cc in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f2786c0 (LWP 23351) "QXcbEventQueue"):
#0  0x7f279a720f6f in __GI___poll (fds=fds@entry=0x7f278fffebc8,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
sc_ret = -516
sc_cancel_oldtype = 0
#1  0x7f279aa9f20b in poll (__timeout=-1, __nfds=1, __fds=0x7f278fffebc8)
at /usr/include/bits/poll2.h:39
ret = 
fd = {fd = 6, events = 1, revents = 0}
#2  _xcb_conn_wait (c=c@entry=0x561535ff7110, 

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-07 Thread Snail
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #38 from Snail  ---
Hello, I'm not sure I'm adding anything to this bug report, but in doubt, I
provided some command outputs. 
One of my screens in quite dim, and the computer never foes in sleep mode.

If needed I can provide you with more information.  I can copy paste lines in
the console if you need some outputs.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-07 Thread Snail
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #37 from Snail  ---
Comment on attachment 163986
  --> https://bugs.kde.org/attachment.cgi?id=163986
hardware and system config

Dual screen setup

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-07 Thread Snail
https://bugs.kde.org/show_bug.cgi?id=476375

Snail  changed:

   What|Removed |Added

 Attachment #163986|hardware config |hardware and system config
description||

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-07 Thread Snail
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #36 from Snail  ---
Created attachment 163986
  --> https://bugs.kde.org/attachment.cgi?id=163986=edit
hardware config

basic info on my setup, dual screen.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-12-07 Thread Snail
https://bugs.kde.org/show_bug.cgi?id=476375

Snail  changed:

   What|Removed |Added

 CC||m66q4b...@mozmail.com

--- Comment #35 from Snail  ---
Created attachment 163985
  --> https://bugs.kde.org/attachment.cgi?id=163985=edit
journalctl -b 0 | grep -i 'powerdevil'.txt output

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #34 from holyzo...@trash-mail.com ---
Might this be distro or driver related?
I have the issue on Manjaro Stable with Nvidia 535 with 3 or 4 monitors
I don't have issue on my Manjaro Stable laptop with Nvidia 390

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-23 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #33 from Altamush Nayyer Khan  ---
(In reply to holyzolly from comment #32)
> No I didn't notice any difference in boot time.
> 
> Maybe some more logs are needed for Natalie to look into. So please if you
> can provide these logs like shown above, please do.
> 
> I have tried all possible working-around possibilities:
> Both file edits at the same time. > Brightness slider working at first, you
> can not set Power Profile (not changed after a re-login, either).
> 5s changed to 9s. > Brightness slider working at first, you can not set
> Power Profile (not changed after a re-login, either).
> powerdevil.desktop  edit  > Brightness slider working at first, you can not
> set Power Profile (not changed after a re-login, either).
> No edit > Powedevil not shown in Systray so I think it doesn't start
> 
> Downgrading the 2 packages > Powerdevil works as expected, but no brightness
> slider (this feature was introduced with current version)
> [I did not try downgrading juust 1 of the 2 packages, these would be 2 more
> options]
> I rebooted each time.
> 
> I tried all the above with bot the 23/11/13 and the 23/11/21 stable update
> cycles of Manjaro. Kernel is 6.1.62

I can provide the logs is someone tells me how to, since I don't know. I adjust
my screen brightness by just adjusting my monitor. I would like to help this
get solved.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #32 from holyzo...@trash-mail.com ---
No I didn't notice any difference in boot time.

Maybe some more logs are needed for Natalie to look into. So please if you can
provide these logs like shown above, please do.

I have tried all possible working-around possibilities:
Both file edits at the same time. > Brightness slider working at first, you can
not set Power Profile (not changed after a re-login, either).
5s changed to 9s. > Brightness slider working at first, you can not set Power
Profile (not changed after a re-login, either).
powerdevil.desktop  edit  > Brightness slider working at first, you can not set
Power Profile (not changed after a re-login, either).
No edit > Powedevil not shown in Systray so I think it doesn't start

Downgrading the 2 packages > Powerdevil works as expected, but no brightness
slider (this feature was introduced with current version)
[I did not try downgrading juust 1 of the 2 packages, these would be 2 more
options]
I rebooted each time.

I tried all the above with bot the 23/11/13 and the 23/11/21 stable update
cycles of Manjaro. Kernel is 6.1.62

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #31 from holyzo...@trash-mail.com ---
I only did the timeout-edit fix then rebooted. It's worked for a while. While I
had to relogin to apply power levels (eg power save <> performance), the only
downside. Now everything, incl. brightness-adjust won't work. You said you had
to reboot once a while to keep it working?

I edited the powerdevil.desktop file now. I had not done that yet. And I have
not rebooted yet so can't speak about differences in boot time.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-21 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #30 from Altamush Nayyer Khan  ---
(In reply to holyzolly from comment #29)
> Maybe me not changing to another Activity caused me to think almost all was
> worked around before. Now I have and relogins don't change anything about
> the features.

I do not understand. Has the temporary fixed work or not?

Have you also seen an increase in boot times. After these fixes, the boot time
seems to increase. It is noticeable! Boot is probably 10 seconds slower.
Windows 10 boots faster right now for me.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #29 from holyzo...@trash-mail.com ---
Maybe me not changing to another Activity caused me to think almost all was
worked around before. Now I have and relogins don't change anything about the
features.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #28 from holyzo...@trash-mail.com ---
Now after another relogin, brightness and power levels don't work anymore, also
I noticed blocking sleep & screen locking in the Systray menu only work if I
apply it a second time?
I disabled auto-dim which with this update gets enabled by default 5min.
I applied your powerdevil.desktop workaround on top.
I will tell reboot and tell the outcomes, next try again with only the timeout
edit, try again with  your powerdevil.desktop workaround.
Repeat these steps with the Stable update roll of Manjaro.
If all fails I will downgrade again.
Might take me a while and some ease but I will give feedback.

While hopin' this gets fixed in the meanwhile.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #27 from Altamush Nayyer Khan  ---
(In reply to holyzolly from comment #26)
> Can you successfully change your Power Profile whilst in session? @ Altamush
> Nayyer Khan

After powerdevil starts with the timeout fix, I can change power profiles
without a problem.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #26 from holyzo...@trash-mail.com ---
Can you successfully change your Power Profile whilst in session? @ Altamush
Nayyer Khan

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread Sven
https://bugs.kde.org/show_bug.cgi?id=476375

Sven  changed:

   What|Removed |Added

 CC||sven...@web.de

--- Comment #25 from Sven  ---
I have the same problem since the Update of ddcutil and powerdevil and tried
all 3 workarounds in the comments. When I edit the desktop file Powerdevil
still fails to start a few times but then the loop stops eventually. If I
increase the timeout time only the libddcutil errors below are present. With
the downgraded versions no error messages occur regarding this bug. So
downgrading currently seems the best option for me.

the repeating entries in my systemd journal log with Powerdevil 5.27.9-2 and
ddcutils 2.0.0-1:

Nov 20 16:18:43 xxx systemd[745]: Failed to start Powerdevil.
Nov 20 16:18:43 xxx systemd[745]: plasma-powerdevil.service: Failed with result
'timeout'.
Nov 20 16:18:43 xxx systemd[745]: plasma-powerdevil.service: start operation
timed out. Terminating.
Nov 20 16:18:42 xxx libddcutil[15006]: busno=6, sleep-multiplier =  2,00.
Testing for supported feature 0x10 returned Error_Info[DDCRC_RETRIES in
ddc_write_read_with_retry, causes: DDCRC_DDC_DATA(10)]
Nov 20 16:18:40 xxx libddcutil[15006]: busno=3, sleep-multiplier =  2,00.
Testing for supported feature 0x10 returned Error_Info[DDCRC_RETRIES in
ddc_write_read_with_retry, causes: DDCRC_READ_ALL_ZERO(10)]
Nov 20 16:18:38 xxx org_kde_powerdevil[15006]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
Nov 20 16:18:38 xxx org_kde_powerdevil[15006]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"

I experimented a bit with ddcutil and got these infos:

'ddcutil detect' in version 1.4.1
No /dev/i2c devices exist.
ddcutil requires module i2c-dev.

'ddcutil detect' in version 2.0.0 (i removed my monitor details)
Invalid display
I2C bus:  /dev/i2c-3
DRM connector:   card0-HDMI-A-1
EDID synopsis:
Mfg id:   xxx
Model:xxx
Product code: xxx
Serial number:
Binary serial number: xxx
Manufacture year: xxx
DDC communication failed. (getvcp of feature x10 returned
Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes:
DDCRC_READ_ALL_ZERO(10)])
DRM reports the monitor is disabled.

Invalid display
I2C bus:  /dev/i2c-6
DRM connector:   card0-DP-2
EDID synopsis:
Mfg id:   xxx
Model:xxx
Product code: xxx
Serial number:xxx
Binary serial number: xxx
Manufacture year: xxx
DDC communication failed. (getvcp of feature x10 returned
Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes:
DDCRC_DDC_DATA(10)])
DRM reports the monitor is disabled.

It looks like ddcutils 2.0 now also lists my previously not recognized displays
and prints that communication error. 'ddcutil vcpinfo' says that 'feature x10'
is the brightness control support. Since both my monitors don't support that
feature, i think that error message is probably correct. But maybe this error
could be the reason why Powerdevil fails to start, since it also shows up in my
systemd journal shortly before Powerdevil fails.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #24 from Altamush Nayyer Khan  ---
(In reply to holyzolly from comment #21)
> (In reply to Altamush Nayyer Khan from comment #20)
> > For anyone who is still having issues with this, please read this post:
> > https://bbs.archlinux.org/viewtopic.php?id=289979
> > 
> > Although I released a solution, this one appears to be working better. Only
> > the KDE devs can tell whether this solution or mine is safe or not for the
> > people that are facing this issue. I hope this bug is pushed, and fixed
> > quickly as some people that are using KDE might not even know why their
> > system is hitching due to this.
> 
> You should edit the timeout after you have installed these latest versions
> of powerdevil & ddcutil, because the update resets it to 5s.
> 
> Hm, it is working fine as in you get screen brightness now that is working
> along Night Color.
> 
> For the 3 energy options Power Save / Balanced / Performance that do
> reappear too, the slider will not hold i. e. I don't think it sets them
> while logged in. However drag that slider where you want it, maybe try a few
> times :)  then logout and login and the slider is set. Must be working that
> way, or how do you make sure the option is in fact in tact after the
> re-login?
> If so, this is a workaround I can live with so a while, latest versions, 1
> logo-logi required for changed things to come into effect.
> No powerdevil cpu hassle or anything. Thanks for mentioning.

I do not know whether this workaround is safe or not, by the way. I am not sure
why this was shipped without testing. I have heard that PowerDevil has been
buggy in the past. What else may have gone wrong that caused this bug. I really
want to do my part in getting this bug solved.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #23 from Altamush Nayyer Khan  ---
(In reply to holyzolly from comment #21)
> (In reply to Altamush Nayyer Khan from comment #20)
> > For anyone who is still having issues with this, please read this post:
> > https://bbs.archlinux.org/viewtopic.php?id=289979
> > 
> > Although I released a solution, this one appears to be working better. Only
> > the KDE devs can tell whether this solution or mine is safe or not for the
> > people that are facing this issue. I hope this bug is pushed, and fixed
> > quickly as some people that are using KDE might not even know why their
> > system is hitching due to this.
> 
> You should edit the timeout after you have installed these latest versions
> of powerdevil & ddcutil, because the update resets it to 5s.
> 
> Hm, it is working fine as in you get screen brightness now that is working
> along Night Color.
> 
> For the 3 energy options Power Save / Balanced / Performance that do
> reappear too, the slider will not hold i. e. I don't think it sets them
> while logged in. However drag that slider where you want it, maybe try a few
> times :)  then logout and login and the slider is set. Must be working that
> way, or how do you make sure the option is in fact in tact after the
> re-login?
> If so, this is a workaround I can live with so a while, latest versions, 1
> logo-logi required for changed things to come into effect.
> No powerdevil cpu hassle or anything. Thanks for mentioning.

I edited the timeout after I updated. I am not sure what the issue was though.
I am still trying to understand what went wrong.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #22 from holyzo...@trash-mail.com ---
I'm on Manjaro KDE Stable 
Kernel 6 1 62

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

holyzo...@trash-mail.com changed:

   What|Removed |Added

 CC||holyzo...@trash-mail.com

--- Comment #21 from holyzo...@trash-mail.com ---
(In reply to Altamush Nayyer Khan from comment #20)
> For anyone who is still having issues with this, please read this post:
> https://bbs.archlinux.org/viewtopic.php?id=289979
> 
> Although I released a solution, this one appears to be working better. Only
> the KDE devs can tell whether this solution or mine is safe or not for the
> people that are facing this issue. I hope this bug is pushed, and fixed
> quickly as some people that are using KDE might not even know why their
> system is hitching due to this.

You should edit the timeout after you have installed these latest versions of
powerdevil & ddcutil, because the update resets it to 5s.

Hm, it is working fine as in you get screen brightness now that is working
along Night Color.

For the 3 energy options Power Save / Balanced / Performance that do reappear
too, the slider will not hold i. e. I don't think it sets them while logged in.
However drag that slider where you want it, maybe try a few times :)  then
logout and login and the slider is set. Must be working that way, or how do you
make sure the option is in fact in tact after the re-login?
If so, this is a workaround I can live with so a while, latest versions, 1
logo-logi required for changed things to come into effect.
No powerdevil cpu hassle or anything. Thanks for mentioning.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-17 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #20 from Altamush Nayyer Khan  ---
For anyone who is still having issues with this, please read this post:
https://bbs.archlinux.org/viewtopic.php?id=289979

Although I released a solution, this one appears to be working better. Only the
KDE devs can tell whether this solution or mine is safe or not for the people
that are facing this issue. I hope this bug is pushed, and fixed quickly as
some people that are using KDE might not even know why their system is hitching
due to this.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-13 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #19 from Nicolas Fella  ---
I see no such issue on Fedora 39, which also has ddcutil 2.0.0

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-12 Thread Jaime Antonio Gonzalez
https://bugs.kde.org/show_bug.cgi?id=476375

Jaime Antonio Gonzalez  changed:

   What|Removed |Added

 CC||enigma1052...@gmail.com

--- Comment #18 from Jaime Antonio Gonzalez  ---
I'm on a desktop PC with two monitors in a PRIME setup (Nvidia + Intel) and
also was getting the same powerdevil restart loop (which caused micro-freezes
every X seconds)

nov 12 09:41:26 HP3400 systemd[580]: plasma-powerdevil.service: start operation
timed out. Terminating.
nov 12 09:41:26 HP3400 systemd[580]: plasma-powerdevil.service: Failed with
result 'timeout'.
nov 12 09:41:26 HP3400 systemd[580]: Failed to start Powerdevil.
nov 12 09:41:26 HP3400 systemd[580]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 7.
nov 12 09:41:26 HP3400 systemd[580]: Starting Powerdevil...
nov 12 09:41:27 HP3400 org_kde_powerdevil[1338]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
nov 12 09:41:27 HP3400 org_kde_powerdevil[1338]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
nov 12 09:41:32 HP3400 systemd[580]: plasma-powerdevil.service: start operation
timed out. Terminating.
nov 12 09:41:32 HP3400 systemd[580]: plasma-powerdevil.service: Failed with
result 'timeout'.
nov 12 09:41:32 HP3400 systemd[580]: Failed to start Powerdevil.
nov 12 09:41:32 HP3400 systemd[580]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 8.
nov 12 09:41:32 HP3400 systemd[580]: Starting Powerdevil...
nov 12 09:41:32 HP3400 org_kde_powerdevil[1400]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
nov 12 09:41:32 HP3400 org_kde_powerdevil[1400]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
nov 12 09:41:37 HP3400 systemd[580]: plasma-powerdevil.service: start operation
timed out. Terminating.
nov 12 09:41:37 HP3400 systemd[580]: plasma-powerdevil.service: Failed with
result 'timeout'.
nov 12 09:41:37 HP3400 systemd[580]: Failed to start Powerdevil.
nov 12 09:41:37 HP3400 systemd[580]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 9.
nov 12 09:41:37 HP3400 systemd[580]: Starting Powerdevil...
nov 12 09:41:38 HP3400 org_kde_powerdevil[1492]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
nov 12 09:41:38 HP3400 org_kde_powerdevil[1492]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
nov 12 09:41:43 HP3400 systemd[580]: plasma-powerdevil.service: start operation
timed out. Terminating.
nov 12 09:41:43 HP3400 systemd[580]: plasma-powerdevil.service: Failed with
result 'timeout'.
nov 12 09:41:43 HP3400 systemd[580]: Failed to start Powerdevil.
nov 12 09:41:43 HP3400 systemd[580]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 10.
nov 12 09:41:43 HP3400 systemd[580]: Starting Powerdevil...
nov 12 09:41:43 HP3400 org_kde_powerdevil[1536]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
nov 12 09:41:43 HP3400 org_kde_powerdevil[1536]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
nov 12 09:41:48 HP3400 systemd[580]: plasma-powerdevil.service: start operation
timed out. Terminating.
nov 12 09:41:48 HP3400 systemd[580]: plasma-powerdevil.service: Failed with
result 'timeout'.
nov 12 09:41:48 HP3400 systemd[580]: Failed to start Powerdevil.
nov 12 09:41:48 HP3400 systemd[580]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 11.
nov 12 09:41:48 HP3400 systemd[580]: Starting Powerdevil...
nov 12 09:41:49 HP3400 org_kde_powerdevil[1584]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
nov 12 09:41:49 HP3400 org_kde_powerdevil[1584]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
nov 12 09:41:54 HP3400 systemd[580]: plasma-powerdevil.service: start operation
timed out. Terminating.
nov 12 09:41:54 HP3400 systemd[580]: plasma-powerdevil.service: Failed with
result 'timeout'.
nov 12 09:41:54 HP3400 systemd[580]: Failed to start Powerdevil.
nov 12 09:41:54 HP3400 systemd[580]: plasma-powerdevil.service: Scheduled
restart job, restart counter is at 12.
nov 12 09:41:54 HP3400 systemd[580]: Starting Powerdevil...
nov 12 09:41:54 HP3400 org_kde_powerdevil[1643]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
nov 12 09:41:54 HP3400 org_kde_powerdevil[1643]: org.kde.powerdevil:

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-11 Thread Dominik Kummer
https://bugs.kde.org/show_bug.cgi?id=476375

Dominik Kummer  changed:

   What|Removed |Added

 CC||ad...@arkades.org

--- Comment #17 from Dominik Kummer  ---
Following the suggestion by Altamush Nayyer Khan of changing powerdevil.desktop
section to

X-systemd-skip=false
X-KDE-autostart-phase=1

did work for me on a HP Z4 G4 pc.

Thank you!

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-05 Thread Altamush Nayyer Khan
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #16 from Altamush Nayyer Khan  ---
I believe that this may help someone. If you edit the powerdevil.desktop file
and do the following

X-systemd-skip=false
X-KDE-autostart-phase=1

the restart loop breaks. It sometimes returns, and then when I restart the
system it goes away. It appears to just appear at random. I edited the file
directly that exists within xdg. Maybe this is the solution for now?

The file can be found in /etc/xdg/autostart

It is safe to edit this file, yes?

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #15 from knuteir...@gmail.com ---
(In reply to Natalie Clarius from comment #13)

> > echo "org.kde.powerdevil=true" >> ~/.config/QtProject/qtlogging.ini
No file or folder with that name, I manually created it but not sure if it made
a difference.

I figured out the bug  seem to only happen on my LG C9 55" TV because when I
plugged in my proper PC monitor powerdevil don't spike CPU and I am able to
enter power settings. 

I'll add journalctl -b 0 | grep -i 'powerdevil'  after fresh reboot for both
monitors below.

LG OLED TV:

x@zxc ~> journalctl -b 0 | grep -i 'powerdevil'
Nov 04 15:24:17 zxc systemd[692]: Starting Powerdevil...
Nov 04 15:24:17 zxc kded5[816]: kscreen.kded: PowerDevil SuspendSession action
not available!
Nov 04 15:24:18 zxc dbus-daemon[529]: [system] Activating service
name='org.kde.powerdevil.discretegpuhelper' requested by ':1.44' (uid=1000
pid=915 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 04 15:24:18 zxc dbus-daemon[529]: [system] Successfully activated service
'org.kde.powerdevil.discretegpuhelper'
Nov 04 15:24:18 zxc dbus-daemon[529]: [system] Activating service
name='org.kde.powerdevil.chargethresholdhelper' requested by ':1.44' (uid=1000
pid=915 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 04 15:24:18 zxc dbus-daemon[529]: [system] Successfully activated service
'org.kde.powerdevil.chargethresholdhelper'
Nov 04 15:24:18 zxc dbus-daemon[529]: [system] Activating service
name='org.kde.powerdevil.backlighthelper' requested by ':1.44' (uid=1000
pid=915 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 04 15:24:18 zxc backlighthelper[957]: org.kde.powerdevil: no kernel
backlight interface found
Nov 04 15:24:18 zxc dbus-daemon[529]: [system] Successfully activated service
'org.kde.powerdevil.backlighthelper'
Nov 04 15:24:18 zxc org_kde_powerdevil[915]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
Nov 04 15:24:18 zxc org_kde_powerdevil[915]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
Nov 04 15:24:23 zxc systemd[692]: plasma-powerdevil.service: start operation
timed out. Terminating.
Nov 04 15:24:23 zxc systemd[692]: plasma-powerdevil.service: Failed with result
'timeout'.
Nov 04 15:24:23 zxc systemd[692]: Failed to start Powerdevil.
Nov 04 15:24:23 zxc systemd[692]: plasma-powerdevil.service: Consumed 2.744s
CPU time.
Nov 04 15:24:23 zxc systemd[692]: plasma-powerdevil.service: Scheduled restart
job, restart counter is at 1.
Nov 04 15:24:23 zxc systemd[692]: Starting Powerdevil...
Nov 04 15:24:23 zxc org_kde_powerdevil[1041]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
Nov 04 15:24:23 zxc org_kde_powerdevil[1041]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed
Nov 04 15:24:28 zxc systemd[692]: plasma-powerdevil.service: start operation
timed out. Terminating.
Nov 04 15:24:28 zxc systemd[692]: plasma-powerdevil.service: Failed with result
'timeout'.
Nov 04 15:24:28 zxc systemd[692]: Failed to start Powerdevil.
Nov 04 15:24:28 zxc systemd[692]: plasma-powerdevil.service: Consumed 2.758s
CPU time.
Nov 04 15:24:28 zxc systemd[692]: plasma-powerdevil.service: Scheduled restart
job, restart counter is at 2.
Nov 04 15:24:28 zxc systemd[692]: Starting Powerdevil...
Nov 04 15:24:29 zxc org_kde_powerdevil[1426]: org.kde.powerdevil:
org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds
are not supported by the kernel for this hardware"
Nov 04 15:24:29 zxc org_kde_powerdevil[1426]: org.kde.powerdevil:
org.kde.powerdevil.backlighthelper.brightness failed


Samsung pc monitor:

x@zxc ~> journalctl -b 0 | grep -i 'powerdevil'
Nov 04 15:26:21 zxc systemd[723]: Starting Powerdevil...
Nov 04 15:26:21 zxc dbus-daemon[537]: [system] Activating service
name='org.kde.powerdevil.discretegpuhelper' requested by ':1.41' (uid=1000
pid=922 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 04 15:26:21 zxc dbus-daemon[537]: [system] Successfully activated service
'org.kde.powerdevil.discretegpuhelper'
Nov 04 15:26:21 zxc dbus-daemon[537]: [system] Activating service
name='org.kde.powerdevil.chargethresholdhelper' requested by ':1.41' (uid=1000
pid=922 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 04 15:26:21 zxc dbus-daemon[537]: [system] Successfully activated service
'org.kde.powerdevil.chargethresholdhelper'
Nov 04 15:26:21 zxc dbus-daemon[537]: [system] Activating service
name='org.kde.powerdevil.backlighthelper' requested by ':1.41' (uid=1000
pid=922 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
Nov 04 15:26:21 zxc backlighthelper[970]: org.kde.powerdevil: no kernel
backlight interface found
Nov 04 15:26:21 zxc dbus-daemon[537]: [system] Successfully activated service

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-03 Thread Paul
https://bugs.kde.org/show_bug.cgi?id=476375

Paul  changed:

   What|Removed |Added

 CC||m...@paul.rs

--- Comment #14 from Paul  ---
(In reply to Natalie Clarius from comment #13)
> (In reply to Natalie Clarius from comment #4)
> > I can't reproduce this with the given versions of ddcutil and powerdevil.
> 
> Presumably because I don't have a DDC capable monitor.
> 
> People who experience this bug, do you have any setup available with a
> built-in screen (i.e. a laptop) and could test whether this problem still
> occurs?
> 
> Also, could you please do
> 
> > echo "org.kde.powerdevil=true" >> ~/.config/QtProject/qtlogging.ini
> 
> to enable more verbose log output for powerdevil and see what the journal
> says after rebooting.

I've been experiencing this issue on my desktop with external monitors, but
haven't had the issue on my laptop.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-03 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=476375

--- Comment #13 from Natalie Clarius  ---
(In reply to Natalie Clarius from comment #4)
> I can't reproduce this with the given versions of ddcutil and powerdevil.

Presumably because I don't have a DDC capable monitor.

People who experience this bug, do you have any setup available with a built-in
screen (i.e. a laptop) and could test whether this problem still occurs?

Also, could you please do

> echo "org.kde.powerdevil=true" >> ~/.config/QtProject/qtlogging.ini

to enable more verbose log output for powerdevil and see what the journal says
after rebooting.

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-02 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=476375

Natalie Clarius  changed:

   What|Removed |Added

   Assignee|plasma-b...@kde.org |natalie_clar...@yahoo.de

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

[Powerdevil] [Bug 476375] Powerdevil fails to start with ddcutil-2.0.0, spikes cpu usage to max every few seconds

2023-11-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=476375

Nate Graham  changed:

   What|Removed |Added

Summary|Powerdevil-5.27.9 fails to  |Powerdevil fails to start
   |start with ddcutil-2.0.0,   |with ddcutil-2.0.0, spikes
   |spikes cpu usage to max |cpu usage to max every few
   |every few seconds   |seconds
 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #12 from Nate Graham  ---
Thanks Antonio, that makes sense. So it sounds like the triggering factor here
was in fact ddcutil 2.0, but of course we'll need to adapt to whatever change
they made to cause this issue anyway.

Natalie or Nicolas, would either of you be able to look into this?

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