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

Unable to get this working on Cinnamon with Wayland #22

Open
RoyalOughtness opened this issue May 25, 2024 · 8 comments
Open

Unable to get this working on Cinnamon with Wayland #22

RoyalOughtness opened this issue May 25, 2024 · 8 comments

Comments

@RoyalOughtness
Copy link

It creates the profile without error, and I can see the profile listed in Colors, and I can apply it to all users.

However, no visible change occurs.

@RoyalOughtness RoyalOughtness changed the title Unable to get this working on Cinnamon Unable to get this working on Cinnamon with Wayland May 25, 2024
@zb3
Copy link
Owner

zb3 commented May 25, 2024

You mean there's no change even after you manually apply the profile in settings? I remember that sometimes the profile was only applied after changing it many times in the settings, but recently this stopped occuring..

I also see you added wayland to the title. Does it mean that it works when you switch to Xorg?

@RoyalOughtness
Copy link
Author

RoyalOughtness commented May 25, 2024

You mean there's no change even after you manually apply the profile in settings?

@zb3 Correct. I've repeated the process several times, to no avail.

  1. ./gnome-gamma-tool.py -t 2500
  2. Keep these changes? y
  3. open Colors
  4. select new profile
  5. click "set for all users"
  6. No change

I also see you added wayland to the title. Does it mean that it works when you switch to Xorg?

No I haven't tried that. I was just clarifying that I'm on wayland

@zb3
Copy link
Owner

zb3 commented May 26, 2024

@qoijjj, does changing brightness / contrast (instead of temperature) work? What about -g 0.5? If nothing that ggt produces makes any effect when applying, you can test on xorg..

Of course the graphics driver needs to support the lookup table my tool generates, so for instance this won't work in a virtual machine

@RoyalOughtness
Copy link
Author

strange. I added packages I thought were missing, and now I'm getting this:

On debian/ubuntu based systems, you might need to run this first:
sudo apt install gir1.2-colord-1.0

What is the required package on fedora? I already have colord-devel, gobject-introspection, and colord-gtk-devel

@RoyalOughtness
Copy link
Author

I also already pip installed PyGObject

@zb3
Copy link
Owner

zb3 commented May 26, 2024

What did you install? On the latest fedora it works out of the box, I don't remember installing anything other than python/pygobject (albeit I'm not sure it wasn't there right from the start).

Could you please launch python repl and try this:

import gi
gi.require_version("Colord", "1.0")

what error do you see? Does /usr/lib64/girepository-1.0/Colord-1.0.typelib exist?

@RoyalOughtness
Copy link
Author

RoyalOughtness commented May 26, 2024

What did you install?

I think it was gobject-introspection from brew. Uninstalling it restored the original behavior.

what error do you see?

>>> gi.require_version("Colord", "1.0")

(returns empty)

Does /usr/lib64/girepository-1.0/Colord-1.0.typelib exist?

Yes

What about -g 0.5

Same effect: none

@zb3
Copy link
Owner

zb3 commented May 26, 2024

Ok, so here's the last chance since I'm running out of ideas..:

  1. Does the "night shift" setting (in GNOME it's in the displays section) have any effect? Does the color temperature change?
  2. Is gsd-color running? Check via ps aux | grep gsd-

If gsd-color is running and the night shift feature still doesn't work, it might mean either your device doesn't support the LUT, or maybe Cinnamon has diverged too far..

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

2 participants