r/linux_gaming • u/Scrumplex • Apr 26 '20
OPEN SOURCE vibrantLinux-AMD - vibrantLinux fork that works exclusively with AMD GPUs
https://github.com/Scrumplex/vibrantLinux-AMD
259
Upvotes
r/linux_gaming • u/Scrumplex • Apr 26 '20
46
u/Scrumplex Apr 26 '20 edited May 07 '20
UPDATE 2: I was working with the maintainer of upstream and the PR for upstreaming the changes is finally here and it will land with the release of 2.0. See it here: https://github.com/zee-mzha/vibrantLinux/pull/5
UPDATE: I released a new revision of vibrantLinux-AMD today. If you update, please keep in mind that you also need to update vibrantX, as the underlying interface changed. If you got both from the AUR they should both get updated. If you built manually please rebuild and reinstall both projects.
Hey there!
I had been looking for a way to bring the functionality of VibranceGUI on Windows to AMD GPUs on Linux. vibrantLinux, a project by our fellow u/zee220, does this for NVIDIA GPUs as NVIDIA (surprisingly) provides an easy interface for setting color saturation with the "nvidia-settings" command. Sadly neither Mesa nor AMD have simple tools to modify properties like color saturation (and balance).
After some research I found a thread in the Arch Linux forums about this topic and someone linked to an old project from an AMD employee that can modify some properties of the video output.
I took the source code of this color-demo-app and built an easy command line interface around it.
After this I looked at vibrantLinux and decided to work the new vibrantX CLI tool into it. Now you can use my vibrantLinux fork to manage saturation on AMD cards. I do plan on upstreaming my changes once I get a general sense of how well it is working on different hardware.
Currently vibrantLinux-AMD and vibrantX are available on the AUR, but are generally easy to compile.
I would like if some of you with Mesa based graphics (possibly even on Nouveau) could provide me with info if it works for you. Just send me a DM here or on Telegram (@<my reddit username>) with some quick info like "Works on my ASUS ROG AMD Radeon Vega 56" or "Doesn't work on my Intel Core i5 7th Gen iGPU").
Project Links:
EDIT: I want to add that it may be possible for this to work on other GPUs, too, as the the tech used is nothing specific to AMD. You can check if it could work by running
$ xrandr --prop | grep "CTM"and see if it returns anything. If it does, vibrantLinux, or more precisely vibrantX, will probably work.25
u/TheEvilSkely Apr 26 '20
In the parent repository: "If you find a way to adjust saturation/vibrace on amd, intel, or any other gpu brand that I never heard of please create an issue with the method of how to adjust saturation and it will be added to the program."
I created an issue.
8
u/_Slaying_ Apr 26 '20 edited Apr 26 '20
Oh my god this sounds great! I’ll give it a try and report back.
Works fantastically. This is one of the things I was hoping to get on Linux since I switched from Windows.
7
u/[deleted] Apr 26 '20
Bro, I'm speechless. I've been looking for something like this for ages. Even posted here asking about something like this.
5
u/18yoFrenchKid Apr 26 '20
What's vibrance ?
4
u/onliandone Apr 26 '20 edited Apr 26 '20
Hey, short feedback: It's really strange for the update.sh script to delete files. This should just be a makefile, or the Readme to provide the qmake command to build this.
I see that upstream is doing this, but maybe something to change in your fork.
Edit: Tool itself seems to work fine, I didn't test activating it just for one program (because Proton), but globally it works. I'll send a PM.
1
u/omega552003 Apr 26 '20
So this is adding a GUI tool to adjust image quality like FGLRX had?
1
u/PM_ME_UR_WOOF_BORK Apr 27 '20
Can this cause frame delay? As far as I understand you seem to be parsing information sent to X by the driver to modify them.
1
u/Xaero_Vincent Apr 27 '20
So is this like an alternative for lack of HDR?
1
u/SPL1T May 03 '20
Works on my Vega 56. 2 problems tho!
1
u/NerdPugg Apr 26 '20
I didn't even know this was a thing at all, for any OS. You're out here educating today!
1
u/[deleted] Apr 27 '20
Thank you! I have considered buying an AMD card several times, but I need a way to control the saturation globally and that didn't seem possible until now.
-9
u/[deleted] Apr 26 '20
using QT ;(