Giter VIP home page Giter VIP logo

vibrantdeck's Introduction

Logo vibrant

⚠️ NOTE ⚠️

libvibrant is in maintenance-only right now, as it's rather feature-complete. As I (@Scrumplex) have switched to Wayland for some time now, I can't and won't work on this library anymore. An effort for Wayland is planned in the future, though it will take some time until this can be implemented in a compositor-agnostic way.


A simple library to adjust color saturation of X11 outputs.

vibrant, with it's library libvibrant and it's command-line tool vibrant-cli, allows you to adjust the color saturation on X11 outputs, as long as the CTM property is supported.

Usage

$ vibrant-cli OUTPUT [SATURATION]

Get or set saturation of output.

OUTPUT is the name of the X11 output. You can find this by running xrandr. SATURATION is a floating point value between (including) 0.0 and (including) 4.0.

  • 0.0 or 0 means monochrome
  • 1.0 or 1 is normal color saturation (100%)
  • if empty the saturation will not be changed

Examples

150% on DisplayPort-0

$ vibrant-cli DisplayPort-0 1.5

Monochrome on DisplayPort-0

$ vibrant-cli DisplayPort-0 0

Reset DisplayPort-0

$ vibrant-cli DisplayPort-0 1

Only query current saturation on DisplayPort-0

$ vibrant-cli DisplayPort-0

Compatibility

Check the wiki: https://github.com/libvibrant/libvibrant/wiki/Compatibility

Installation

Arch Linux

vibrant is available on the Arch Linux User Repository.

  • vibrantAUR - Latest release of the vibrant library and vibrant-cli
  • vibrant-gitAUR - Latest revision from Git master of the vibrant library and vibrant-cli

Other Distros

See Bulding

Building

This project uses CMake.

Dependencies

  • libX11
  • libXrandr (possibly bundled with libX11)
  • libXNVCtrl (possibly bundled with nvidia-settings)

Basic building

$ cd <project directory>
$ mkdir build
$ cd build
$ cmake ..
$ make

The binary will be called vibrant-cli and will be linked to libvibrant.so.0

License

This project is licensed under the terms of the GNU General Public License 3.0. You can read the full license text in LICENSE.

Additionally this project is based on color-demo-app written by Leo (Sunpeng) Li [email protected], licensed under the terms of the MIT license. You can read it's full license text in NOTICE

vibrantdeck's People

Contributors

gyorgys avatar jesusluvsyooh avatar renovate[bot] avatar scrumplex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vibrantdeck's Issues

Please add an option to return the Steam Deck to its default factory color profile.

I noticed after installing vibrantDeck that it automatically configured itself and changed the display on my device. For me this is unexpected behavior (it did not ask me beforehand nor did I tell it to apply those changes). I have no idea how to change them back to how they were before and uninstalling vibrantDeck did not revert its changes to my device. My display actually seems less saturated after installing and uninstalling vibrantDeck than it was before.

A button to revert back to the Steam Deck's default display settings would give users much more peace of mind when installing and using vibrantDeck on their machines.

Vibrant deck with night mode?

Is vibrant deck and night mode compatible together? I've noticed that when enabling vibrant deck night mode disables. Would it be possible to have them both enabled together? Perhaps just taking the night mode value and overlaying it with vibrant deck

doesn't load when power from standby

hello! the plugin doesn't load until i press command button and going into vibrantdeck options.

Steamos is 3.4.4
vibrantdeck is 1.3.0
deckyloader is 2.4.5

For LCD users still on pre-3.5 Steam OS, is there a way to still install Vibrant Deck directly from GitHub?

Apologies if I'm asking a question already addressed. I'm not too tech savvy, especially with code and linux, but I was wondering if it was still possible to install Vibrant Deck from GitHub, or otherwise, for users that haven't upgraded to 3.5 just yet?

I've heard mixed reviews from the new official color adjustments in 3.5 but still feel that the customization that Vibrant Deck allows seems to be much more flexible.

Thank you again.

Feature request: tint slider

Although the temperature (blue-yellow) control in the Deck OS settings is now pretty good, what I really need is tint (green-magenta) controls. I suspect a lot of fellow OLED owners would appreciate this, given the anecdotal reports I'm seeing about a tendency towards an excessive green tint on the Samsung panels - something I've noticed myself.

Happy to help with this feature if there's an appetite for it!

VibrantDeck settings are applied even if "Enable color settings" is disabled

Steps how I reproduce this issue:

  1. Disable "Enable color settings" in the VibrantDeck settings.
  2. Start a game
    Then the gamma settings and saturation are reapllied.
    If I then open the settings, then the toggle "Enable color settings" automatically switches from on to off and the VibratDeck settings will be disabled.
    When I exit the game, the settings are applied again.

There's still an audience for vibrantDeck with SteamOS 3.5, thanks to deck-refresh-rate-expander

When using deck-refresh-rate-expander, setting the refresh rate anywhere above 110hz results in the display gamma being dramatically increased. The new color adjustment the Deck introduced in 3.5, while is superior in terms of color tone adjustment, lacks any control over gamma that vibrantDeck had. And even if they did include a gamma slider, there isn't a per-game setting toggle anyway. I know fixing vibrantDeck isn't a simple task, but I'm making this issue as a way to let you know that there is in fact an audience and demand for 3.5 compatibility.

Steam OS 3.5.5 seems to have broken support for VibrantDeck

Updated to 3.5.5 and noticed no changes when using VibrantDeck on or off. I love that Valve implemented their own display adjustment settings with this update but I feel as if I can’t capture the same vibrance in colors I got with VibrantDeck. It’s possible the difference really is negligible and it’s in my head but I would at least like to confirm with the settings on and off which I like more.

Allow support for 3.5

The built in "sRGB" setting Valve added in 3.5 actually changes white to have a slight green cast irrespective of the temperature slider. Really annoying, and there's no way around it. In their ultimate wisdom they decided to have some kind of preset that changes more than just the vibrancy/saturation with no way to just boost vibrancy.

VibrantDeck doesn't have this issue. It lets you increase the colour values without adjusting tint. I wish it worked for 3.5.

I will just have to stay on 3.4 forever and never update my Steam Deck. :(

Consistently Causes Issues with Other Decky Plugins

I've been messing with plugins and have been able to consistently recreate these issues on my steam deck:

  1. Once vibrantDeck is installed, it seems to lock out downloading/installing other plugins
  2. After being installed, other plugins also start being unable to read/write their own files, causing CSS Loader to be unable to find installed themes, unable to view new themes, along with PowerTools being unable to change settings.
  3. All problems usually go away after removing just vibrantDeck, but sometimes also requires removing all other plugins and re-adding them

I'm not sure why vibrantDeck seems to interact with other plugins in this manner, only thing I can think of is it possibly somehow breaking folder/file access permissions.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency react-icons to v5

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • decky-frontend-lib 3.25.0
  • react-icons 4.11.0
  • typescript-json-serializer 6.0.1
  • @rollup/plugin-commonjs 21.1.0
  • @rollup/plugin-json 4.1.0
  • @rollup/plugin-node-resolve 13.3.0
  • @rollup/plugin-replace 4.0.0
  • @rollup/plugin-typescript 8.5.0
  • @types/react 16.14.60
  • @types/webpack 5.28.3
  • rollup 2.79.1
  • rollup-plugin-import-assets 1.1.1
  • shx 0.3.4
  • tslib 2.6.2
  • typescript 4.9.5

  • Check this box to trigger a request for Renovate to run again on this repository

Per-Game settings

It would be cool if it was possible to whitelist certain games. Emulators in particular I've noticed don't always look great with the saturation turned up. It also would make it more practical to continue to use the Deck-specific reshade config for some games

Combined gamma slider option

Hi,

Would you consider adding combined gamma slider an option to make it possible to adjust gamma of all 3 gammas at the same time? I found the VibrantDeck Gamma settings Red/Green/Blue to be a life saver when it comes to games that are too dark to play. One of many examples is Bioshock 2 Remastered that on SteamDeck have not working. By setting all 3 gamma sliders from 100 to 250 I can finally enjoy the game on Steamdeck.

I came across this feature by accident, seeing that it has gamma sliders. For people that are visually impaired the ability to bump all the gamma settings is must have so adding a single slider for it would be great to have

Broken with latest decky update

Anyone else getting this? The plugin won't load for me, all I'm getting when I open the settings is Error: typeerror: localstorage.getitem is not [message cut off by display]

Then a few similar lines below that.

I've tried reloading the plugin, removing and reinstalling it, rebooting.

Other plugins seem fine.

Other settings

Hey there, sorry If this is the wrong way to go about this but is there any change of adding a gamma and contrast slider as well? That combined with saturation would be a perfect solution to the deck's mediocre color space and default calibration. I'd be happy to donate to the cause if so.

Color Saturation at 0

Setting the color saturation 0 doesn't make it greyscale, instead, it adds more color. Likely back to default, 100.

VibrantDeck crashes decky and does not work

Hey!
I have install VibrantDeck on the Steam deck and i have some problems.
When the plugin is enabled it seems that it crashes? As example the decky plugin installer and options does nothing and the actual VibrantDeck plugin also does not work.

Steamdeck uodate branch: Stable
Decky update branch: Stable

So is this a VibrantDeck or Decky problem?
Thanks in advance.

jh-devv

Add a 'Vibrance' slider

Adding a 'vibrance' slider could be a great addition.

The difference between vibrance and saturation is that saturation will affect the intensity of every pixel in an image while vibrance is a more sophisticated control that affects the intensity of colors in an image, but with more emphasis on preserving skin tones and other colors that are harder to adjust with saturation. Vibrance also works to reduce the saturation of already-saturated colors, thus making it easier to adjust the overall saturation of an image without over-saturating some colors.

Here is a side-by-side comparison:
vibrance-saturation

Saturation level defaults to 155

When booting the Steam Deck or returning from Desktop mode VibrantDeck defaults to 155 no matter what setting it was set to before.

Build Numbers

Currently, there is no way to tell what build number I have downloaded. An easy fix would be to add a build number at the bottom.
I only ask because with every update that comes out I have no real way to confirm I downloaded the update.

Broke in steamos 3.5

Vibrant deck no longer works with new update please fix it your plug-in max everything better

Not Working?

I might be wrong but I tried installing vibrantdeck through deckyloader and it didn't appear to be working. I tried moving the slider from 0 to max and disabling/enabling the games-only option and it didn't appear to make a difference in or out of games. I'm not sure if the version on decky loader is broken or if something broke with the latest steamos.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.