What is the xcalib -screen number for the HDMI monitor?
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I must use a VGA-to-DVI cable and a HDMI cable to run two monitors. I'm trying to invert the colors on both monitors but I can only invert one of them:
$ xcalib -invert -alter -s 0 #works
$ xcalib -invert -alter -s 1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 19 (XF86VidModeGetGammaRampSize)
Value in failed request: 0x17
Serial number of failed request: 10
Current serial number in output stream: 10
I unplugged the HDMI cable and plugged it back in again. Now, the xcalib -invert -alter -s 0
command inverts the other monitor. In other words, both monitors are inverted for the moment but I had to re-connect one monitor to get that to happen.
Here is my setup:
$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
VGA-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
Graphics card:
$ lspci |egrep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200]
This is Ubuntu server 12.04 LTS w/gnome-panel. The problem still occurs on Ubuntu 14.04 but the work-around does not work.
ubuntu xorg monitors xrandr
add a comment |Â
up vote
4
down vote
favorite
I must use a VGA-to-DVI cable and a HDMI cable to run two monitors. I'm trying to invert the colors on both monitors but I can only invert one of them:
$ xcalib -invert -alter -s 0 #works
$ xcalib -invert -alter -s 1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 19 (XF86VidModeGetGammaRampSize)
Value in failed request: 0x17
Serial number of failed request: 10
Current serial number in output stream: 10
I unplugged the HDMI cable and plugged it back in again. Now, the xcalib -invert -alter -s 0
command inverts the other monitor. In other words, both monitors are inverted for the moment but I had to re-connect one monitor to get that to happen.
Here is my setup:
$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
VGA-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
Graphics card:
$ lspci |egrep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200]
This is Ubuntu server 12.04 LTS w/gnome-panel. The problem still occurs on Ubuntu 14.04 but the work-around does not work.
ubuntu xorg monitors xrandr
What graphics card do you have? What driver (free or proprietary) to you run?
â Gilles
Mar 6 '14 at 23:47
egrep -i "video driver" /var/log/Xorg.0.log
shows meX.Org Video Driver: 11.0
â jcalfee314
Mar 7 '14 at 15:21
interestingly, in my setup,xrandr
says 'Can't open display', most strange!
â drevicko
Apr 17 '14 at 1:59
I have a work-around... It got more complicated with Ubuntu 14.04 (with an extra step to -s HDMI...). Basically, I invert once (one screen) using -s 0 the I unplug and re-plug my HDMI cable. Then I invert again (same screen same command).. Finally I invert -s HDMI-0.. and both monitors are inverted. I can then toggle one of them with the -s 0. So, aside from this being so ridiculous this holds me over.
â jcalfee314
Aug 26 '14 at 14:00
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I must use a VGA-to-DVI cable and a HDMI cable to run two monitors. I'm trying to invert the colors on both monitors but I can only invert one of them:
$ xcalib -invert -alter -s 0 #works
$ xcalib -invert -alter -s 1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 19 (XF86VidModeGetGammaRampSize)
Value in failed request: 0x17
Serial number of failed request: 10
Current serial number in output stream: 10
I unplugged the HDMI cable and plugged it back in again. Now, the xcalib -invert -alter -s 0
command inverts the other monitor. In other words, both monitors are inverted for the moment but I had to re-connect one monitor to get that to happen.
Here is my setup:
$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
VGA-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
Graphics card:
$ lspci |egrep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200]
This is Ubuntu server 12.04 LTS w/gnome-panel. The problem still occurs on Ubuntu 14.04 but the work-around does not work.
ubuntu xorg monitors xrandr
I must use a VGA-to-DVI cable and a HDMI cable to run two monitors. I'm trying to invert the colors on both monitors but I can only invert one of them:
$ xcalib -invert -alter -s 0 #works
$ xcalib -invert -alter -s 1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (XFree86-VidModeExtension)
Minor opcode of failed request: 19 (XF86VidModeGetGammaRampSize)
Value in failed request: 0x17
Serial number of failed request: 10
Current serial number in output stream: 10
I unplugged the HDMI cable and plugged it back in again. Now, the xcalib -invert -alter -s 0
command inverts the other monitor. In other words, both monitors are inverted for the moment but I had to re-connect one monitor to get that to happen.
Here is my setup:
$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
VGA-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
Graphics card:
$ lspci |egrep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200]
This is Ubuntu server 12.04 LTS w/gnome-panel. The problem still occurs on Ubuntu 14.04 but the work-around does not work.
ubuntu xorg monitors xrandr
ubuntu xorg monitors xrandr
edited Aug 15 '14 at 17:09
asked Mar 6 '14 at 18:06
jcalfee314
1266
1266
What graphics card do you have? What driver (free or proprietary) to you run?
â Gilles
Mar 6 '14 at 23:47
egrep -i "video driver" /var/log/Xorg.0.log
shows meX.Org Video Driver: 11.0
â jcalfee314
Mar 7 '14 at 15:21
interestingly, in my setup,xrandr
says 'Can't open display', most strange!
â drevicko
Apr 17 '14 at 1:59
I have a work-around... It got more complicated with Ubuntu 14.04 (with an extra step to -s HDMI...). Basically, I invert once (one screen) using -s 0 the I unplug and re-plug my HDMI cable. Then I invert again (same screen same command).. Finally I invert -s HDMI-0.. and both monitors are inverted. I can then toggle one of them with the -s 0. So, aside from this being so ridiculous this holds me over.
â jcalfee314
Aug 26 '14 at 14:00
add a comment |Â
What graphics card do you have? What driver (free or proprietary) to you run?
â Gilles
Mar 6 '14 at 23:47
egrep -i "video driver" /var/log/Xorg.0.log
shows meX.Org Video Driver: 11.0
â jcalfee314
Mar 7 '14 at 15:21
interestingly, in my setup,xrandr
says 'Can't open display', most strange!
â drevicko
Apr 17 '14 at 1:59
I have a work-around... It got more complicated with Ubuntu 14.04 (with an extra step to -s HDMI...). Basically, I invert once (one screen) using -s 0 the I unplug and re-plug my HDMI cable. Then I invert again (same screen same command).. Finally I invert -s HDMI-0.. and both monitors are inverted. I can then toggle one of them with the -s 0. So, aside from this being so ridiculous this holds me over.
â jcalfee314
Aug 26 '14 at 14:00
What graphics card do you have? What driver (free or proprietary) to you run?
â Gilles
Mar 6 '14 at 23:47
What graphics card do you have? What driver (free or proprietary) to you run?
â Gilles
Mar 6 '14 at 23:47
egrep -i "video driver" /var/log/Xorg.0.log
shows me X.Org Video Driver: 11.0
â jcalfee314
Mar 7 '14 at 15:21
egrep -i "video driver" /var/log/Xorg.0.log
shows me X.Org Video Driver: 11.0
â jcalfee314
Mar 7 '14 at 15:21
interestingly, in my setup,
xrandr
says 'Can't open display', most strange!â drevicko
Apr 17 '14 at 1:59
interestingly, in my setup,
xrandr
says 'Can't open display', most strange!â drevicko
Apr 17 '14 at 1:59
I have a work-around... It got more complicated with Ubuntu 14.04 (with an extra step to -s HDMI...). Basically, I invert once (one screen) using -s 0 the I unplug and re-plug my HDMI cable. Then I invert again (same screen same command).. Finally I invert -s HDMI-0.. and both monitors are inverted. I can then toggle one of them with the -s 0. So, aside from this being so ridiculous this holds me over.
â jcalfee314
Aug 26 '14 at 14:00
I have a work-around... It got more complicated with Ubuntu 14.04 (with an extra step to -s HDMI...). Basically, I invert once (one screen) using -s 0 the I unplug and re-plug my HDMI cable. Then I invert again (same screen same command).. Finally I invert -s HDMI-0.. and both monitors are inverted. I can then toggle one of them with the -s 0. So, aside from this being so ridiculous this holds me over.
â jcalfee314
Aug 26 '14 at 14:00
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
You won't be able to use xcalib to invert your monitor. You will have to use the following utility to overcome this limitation.
Note that as of date of last testing (2014, xcalib version 0.8) xcalib
has not been able to invert the colors on all monitors in a
multi-monitor setup, because all monitors are presented by the X11
server as a single screen. Thus this limitation is coming from the X11
server. xrandr-invert-colors does not have this limitation, because it
uses XRandR API, which correctly handles all attached monitors.
Reference: https://github.com/zoltanp/xrandr-invert-colors
add a comment |Â
up vote
1
down vote
From trial and error xcalib
's -screen
parameter takes the zero indexed number of your monitor according to your xrandr
output, ie, in your case xcalib -s 0
(the default) will control VGA-0
and xcalib -s 1
will control HDMI-0
.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
You won't be able to use xcalib to invert your monitor. You will have to use the following utility to overcome this limitation.
Note that as of date of last testing (2014, xcalib version 0.8) xcalib
has not been able to invert the colors on all monitors in a
multi-monitor setup, because all monitors are presented by the X11
server as a single screen. Thus this limitation is coming from the X11
server. xrandr-invert-colors does not have this limitation, because it
uses XRandR API, which correctly handles all attached monitors.
Reference: https://github.com/zoltanp/xrandr-invert-colors
add a comment |Â
up vote
2
down vote
You won't be able to use xcalib to invert your monitor. You will have to use the following utility to overcome this limitation.
Note that as of date of last testing (2014, xcalib version 0.8) xcalib
has not been able to invert the colors on all monitors in a
multi-monitor setup, because all monitors are presented by the X11
server as a single screen. Thus this limitation is coming from the X11
server. xrandr-invert-colors does not have this limitation, because it
uses XRandR API, which correctly handles all attached monitors.
Reference: https://github.com/zoltanp/xrandr-invert-colors
add a comment |Â
up vote
2
down vote
up vote
2
down vote
You won't be able to use xcalib to invert your monitor. You will have to use the following utility to overcome this limitation.
Note that as of date of last testing (2014, xcalib version 0.8) xcalib
has not been able to invert the colors on all monitors in a
multi-monitor setup, because all monitors are presented by the X11
server as a single screen. Thus this limitation is coming from the X11
server. xrandr-invert-colors does not have this limitation, because it
uses XRandR API, which correctly handles all attached monitors.
Reference: https://github.com/zoltanp/xrandr-invert-colors
You won't be able to use xcalib to invert your monitor. You will have to use the following utility to overcome this limitation.
Note that as of date of last testing (2014, xcalib version 0.8) xcalib
has not been able to invert the colors on all monitors in a
multi-monitor setup, because all monitors are presented by the X11
server as a single screen. Thus this limitation is coming from the X11
server. xrandr-invert-colors does not have this limitation, because it
uses XRandR API, which correctly handles all attached monitors.
Reference: https://github.com/zoltanp/xrandr-invert-colors
answered Jun 22 '16 at 7:56
python
212
212
add a comment |Â
add a comment |Â
up vote
1
down vote
From trial and error xcalib
's -screen
parameter takes the zero indexed number of your monitor according to your xrandr
output, ie, in your case xcalib -s 0
(the default) will control VGA-0
and xcalib -s 1
will control HDMI-0
.
add a comment |Â
up vote
1
down vote
From trial and error xcalib
's -screen
parameter takes the zero indexed number of your monitor according to your xrandr
output, ie, in your case xcalib -s 0
(the default) will control VGA-0
and xcalib -s 1
will control HDMI-0
.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
From trial and error xcalib
's -screen
parameter takes the zero indexed number of your monitor according to your xrandr
output, ie, in your case xcalib -s 0
(the default) will control VGA-0
and xcalib -s 1
will control HDMI-0
.
From trial and error xcalib
's -screen
parameter takes the zero indexed number of your monitor according to your xrandr
output, ie, in your case xcalib -s 0
(the default) will control VGA-0
and xcalib -s 1
will control HDMI-0
.
answered Sep 5 at 21:45
Jamie Kitson
358311
358311
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f118477%2fwhat-is-the-xcalib-screen-number-for-the-hdmi-monitor%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What graphics card do you have? What driver (free or proprietary) to you run?
â Gilles
Mar 6 '14 at 23:47
egrep -i "video driver" /var/log/Xorg.0.log
shows meX.Org Video Driver: 11.0
â jcalfee314
Mar 7 '14 at 15:21
interestingly, in my setup,
xrandr
says 'Can't open display', most strange!â drevicko
Apr 17 '14 at 1:59
I have a work-around... It got more complicated with Ubuntu 14.04 (with an extra step to -s HDMI...). Basically, I invert once (one screen) using -s 0 the I unplug and re-plug my HDMI cable. Then I invert again (same screen same command).. Finally I invert -s HDMI-0.. and both monitors are inverted. I can then toggle one of them with the -s 0. So, aside from this being so ridiculous this holds me over.
â jcalfee314
Aug 26 '14 at 14:00