![]() ![]() Here's how you could do it (as a normal, non-root user!): cd ~/Downloadsįor the compilation to work, you have to have installed the build dependencies: namely, the following command should do it. It's just an X client - an unprivileged app you could install into your home directory to avoid clobbering the system one. ![]() Assuming the bug has been fixed in version 1.5.1 which I have yet to compile and test.Īctually, unlike libXrandr.so.2, the xrandr program is far from being mission-critical. After correcting our code, we have to put in a test for version 1.5.1 to not correct our code and use the gamma values returned. So no matter what value xrandr -verbose is reporting we always have to use 1 / gamma to get real gamma on Red, Green and Blue channels. When we check current settings again we find the values are inverted again: $ xrandr -verbose | grep ^DP-1-1 -A5 ![]() Low and behold the screen goes super bluish-greenish and kills our nighttime settings for reddish hue. So we pass what we think are the current values: $ xrandr -output DP-1-1 -brightness. If we don't change gamma at the same time existing settings for gamma are reset to 1:1:1. Now imaging we want to increase brightness to. 77 but RGB is incorrectly reported as 1.0:1.1:1.3. My "redshift-like" application has set gamma to Red = 1.0, Green =. The current Ubuntu version has the bug that's been around for 9 years: $ xrandr -versionīasic problem is xrandr reports the wrong gamma values: $ xrandr -verbose | grep ^DP-1-1 -A5ĭP-1-1 connected 3840x2160+1920+0 (0xa5) normal (normal left inverted right x axis y axis) 1600mm x 900mm I'm not well-versed on the subject but could I simply get 1.5.1 source code and compile it? Or should such a mission critical app such as xrandr never be compiled from source?Įveryone can try these short little tests on their platform to see the importance of xrandr version and the gamma bug. Ubuntu 16.04.6 LTS current version is: $ xrandr -version There is a bug from 2010 I want to have fixed. I guess this is more of a question of where do I go to find out when xrandr version 1.5.1 will be published in Ubuntu? It's already available in Arch Linux and was released in August 2019. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |