sidevesh / Luminance

A simple GTK application to control brightness of displays including external displays supporting DDC/CI
GNU General Public License v3.0
91 stars 4 forks source link

App not detecting monitors #18

Closed eldelacajita closed 11 months ago

eldelacajita commented 12 months ago

Hello

I wanted to try the app, but it doesn't seem to work for me. The app says it doesn't detect any monitors.

When trying to run it with the -l parameter from the terminal, I get this:

No displays found.

(libddcutil:39825): GLib-CRITICAL **: 17:13:46.550: g_atomic_ref_count_dec: assertion 'old_value > 0' failed
Violación de segmento (`core' generado)

I'm using Luminance 1.0.2-1 installed from the AUR on EndeavourOS.

I have two monitors connected via DP cable to my AMD graphics card, and I made sure they support DDC/CI, and it's enabled.

sidevesh commented 12 months ago

can you check if ddcutil from command line can recongnize your monitors ?

eldelacajita commented 11 months ago

Sorry for the delay. It seems to do so. This is the output of dccutil detect:

Display 1
   I2C bus:  /dev/i2c-10
   DRM connector:           card1-DP-2
   EDID synopsis:
      Mfg id:               DEL - Dell Inc.
      Model:                DELL U2415
      Product code:         41145  (0xa0b9)
      Serial number:        XKV0P9CN248L
      Binary serial number: 842283084 (0x3234384c)
      Manufacture year:     2019,  Week: 52
   VCP version:         2.1

Display 2
   I2C bus:  /dev/i2c-11
   DRM connector:           card1-DP-3
   EDID synopsis:
      Mfg id:               DEL - Dell Inc.
      Model:                DELL U2415
      Product code:         41145  (0xa0b9)
      Serial number:        XKV0P9CN23GL
      Binary serial number: 842221388 (0x3233474c)
      Manufacture year:     2019,  Week: 52
   VCP version:         2.1
eldelacajita commented 11 months ago

Oh, OK. I found the issue.

When trying to run dccutil it told me that the i2c-dev module was missing. After loading it by following these instructions, the dccutil command run fine.

And after that I tested the app again, and now it's working. Awesome!

imagen

That missing module seems to be the reason it failed. I guess this issue can be closed. Thanks for the help!