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

Does not invert all screens on LXQT #21

Open
bonanza123 opened this issue Mar 29, 2019 · 3 comments
Open

Does not invert all screens on LXQT #21

bonanza123 opened this issue Mar 29, 2019 · 3 comments

Comments

@bonanza123
Copy link

bonanza123 commented Mar 29, 2019

I have issues getting it to work on LXQT (arch linux with intel graphics Using Kernel Mode Setting driver: i915, version 1.6.0 20180719)

xrandr-invert-colors does only invert one screen (the laptop itself in my case).
xrandr-invert-colors -d does not show anything despite that debug mode is on
The help xrandr-invert-colors -h says

When no parameter is given, it inverts colors on all screens; if the screen_number parameter is given, then it inverts colors on that particular XRandR screen. See 'xrandr -q' for the list of screens.

So I tried

% xrandr-invert-colors -d -s DVI-I-1-1                                                                                                                                                                                                                                                                                                   :(
debug output enabled
Screen number expected after '-s', instead of 'DVI-I-1-1'. Aborting.
error while parsing arguments

Moreover, xrandr-invert-colors -d -s 0 which does not invert anything, while xrandr-invert-colors -d -s 1 inverts again the laptop screen only.

Am I misunderstanding the screen number concept? How to really invert all screens?

Here is the full output from xrandr:

% xrandr -q                                                                                                                                                                                                                                                                                                                            :(
Screen 0: minimum 8 x 8, current 2560 x 2520, maximum 32767 x 32767
eDP1 connected 1920x1080+0+1440 (normal left inverted right x axis y axis) 280mm x 160mm
   1920x1080     60.04*+
   1680x1050     59.88
   1400x1050     59.98
   1600x900      60.00    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1368x768      60.00    59.88    59.85
   1280x800      59.81    59.91
   1280x720      59.86    60.00    59.74
   1024x768      60.00
   1024x576      60.00    59.90    59.82
   960x540       60.00    59.63    59.82
   800x600       60.32    56.25
   864x486       60.00    59.92    59.57
   640x480       59.94
   720x405       59.51    60.00    58.99
   640x360       59.84    59.32    60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DVI-I-1-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+ 143.97   120.00    84.98
   1920x1080    120.00   100.00   119.88    60.00    60.00    60.00    50.00    50.00    59.94    59.94
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1152x864      75.00
   1280x720      60.00    60.00    50.00    59.94
   1440x576      50.00    50.00
   1024x768      75.03    70.07    60.00
   1440x480      60.00    60.00    59.94    59.94
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00    50.00
   848x480       60.00
   720x480       60.00    60.00    59.94    59.94
   640x480       75.00    72.81    66.67    60.00    59.94    59.94
   720x400       70.08
  1680x1050 (0x50) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1280x1024 (0x52) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x54) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0x5e) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x65) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x66) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x72) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
@koo5
Copy link

koo5 commented Mar 30, 2019

Hi there
First please make sure that you dont have any compositing manager running.
Next, you can try my "print ramps" patch koo5@55597b1 so we can see if the ramps are being modified. Lastly, maybe we can figure something out with more information about your driver

@koo5
Copy link

koo5 commented Mar 30, 2019

And yes, just "xrandr-invert-colors" should invert all your screens, and -s 0 should invert first screen, etc

@zoltanp
Copy link
Owner

zoltanp commented Apr 13, 2019

Am I misunderstanding the screen number concept? How to really invert all screens?

"screen" here means the screen concept of X11.

Based on the output of xrandr -q, all your physical outputs (monitors) should have been inverted. Typically on a multi-monitor setup there is 1 X11 screen which has multiple outputs attached.

Because there is no error signaled, I assume that the lack of color inverting is some driver bug...

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

3 participants