Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when changing color temperature #243

Open
hornsen opened this issue Jun 19, 2023 · 0 comments
Open

Error when changing color temperature #243

hornsen opened this issue Jun 19, 2023 · 0 comments

Comments

@hornsen
Copy link

hornsen commented Jun 19, 2023

Describe the bug
I am using Ubuntu 22.04 in conjunction with my Docking Station ICY BOX USB-C Docking Station (11-in-1) for 2 Monitors (2x DisplayPort), 4K 60Hz, 6-fach USB 3.0 HUB, Gigabit Ethernet, Audio, Schwarz, IB-DK2242AC, and the LG 35WN65C LCD-Monitor.

When I open "Brightness-Controller" and set "Color Temperature" to anything except "default", then nothing happens. However, in console I get an error. The error only appears when I try to change color temperature.
See log below.

version
Brightness Controller v2.3.4

To Reproduce
Steps to reproduce the behavior:
"Brightness-Controller" and then set any Color Temperature

Expected behavior
The color temperature to be changed.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04

Additional context

brightness-controller 
xrandr: Need crtc to set gamma on.
Traceback (most recent call last):
  File "/usr/share/brightness-controller/init.py", line 304, in change_value_pg
    Executor.execute_command(cmd_value)
  File "/usr/share/brightness-controller/util/executor.py", line 23, in execute_command
    subprocess.check_output(string_cmd, shell=True)
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'xrandr        --output eDP         --brightness 1.0000000000000007        --gamma 1.0000000000000007:0.7800000000000005:1.0000000000000007' returned non-zero exit status 1.
xrandr: Need crtc to set gamma on.
Traceback (most recent call last):
  File "/usr/share/brightness-controller/init.py", line 317, in change_value_pb
    Executor.execute_command(cmd_value)
  File "/usr/share/brightness-controller/util/executor.py", line 23, in execute_command
    subprocess.check_output(string_cmd, shell=True)
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'xrandr        --output eDP         --brightness 1.0000000000000007        --gamma 1.0000000000000007:0.7800000000000005:0.5700000000000003' returned non-zero exit status 1.
QTextBrowser: No document for https://github.com/lordamit/Brightness

xrandr -q
Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 16384 x 16384
eDP connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +
   1680x1050     60.00  
   1280x1024     60.00  
   1440x900      60.00  
   1280x800      60.00  
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.00  
   640x480       60.00  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-I-4-4 disconnected (normal left inverted right x axis y axis)
DVI-I-3-3 disconnected (normal left inverted right x axis y axis)
DVI-I-2-2 disconnected (normal left inverted right x axis y axis)
DVI-I-1-1 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 820mm x 346mm
   3440x1440     99.98*+  84.96    59.97    49.99  
   1920x1080     60.00    60.00    59.94  
   1280x720      60.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
@hornsen hornsen closed this as completed Jun 19, 2023
@hornsen hornsen reopened this Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant