You are not logged in.

#1 2024-10-28 11:54:52

nschloe
Member
Registered: 2023-06-28
Posts: 11

sway-1.10 doesn't support ICC, sway-git does

I've used sway-git for a while for its new ICC color profile support. As Sway 1.10 is now added to extra-testing, I've used that. Unfortunately, setting ICC profiles doesn't seem to do anything.

MWE:

Switch color profile:

```
$ swaymsg output '*' color_profile icc /usr/share/color/icc/colord/some-profile.icc
```

Back to default:

```
swaymsg output '*' color_profile srgb
```

Any thoughts?

Offline

#2 2024-10-28 14:34:08

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: sway-1.10 doesn't support ICC, sway-git does

Compare both PKGBUILDs and see if it's something with the package, if not, wait for the new feature to become stable upstream or use the git package.

Offline

#3 2024-10-28 15:02:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: sway-1.10 doesn't support ICC, sway-git does

Based on the upstream discussion it looks like it only works with the vulkan renderer not gles.  Have you tried specifying the renderer?  (e.g., `WLR_RENDERER=vulkan sway`)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2024-10-28 15:57:18

nschloe
Member
Registered: 2023-06-28
Posts: 11

Re: sway-1.10 doesn't support ICC, sway-git does

The renderer was the problem indeed.

I had set
```
Exec=env WLR_RENDERER=vulkan sway
```

in `/usr/share/wayland-sessions/sway.desktop`, but that file was overridden when moving from sway-git to sway. Adding it back fixes the problem.

Should I put the env variable some other place?

Offline

#5 2024-10-28 18:03:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,875

Re: sway-1.10 doesn't support ICC, sway-git does

Offline

Board footer

Powered by FluxBB