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

BadRRCrtc (invalid Crtc parameter) #19

Open
PavelTurk opened this issue Apr 30, 2024 · 4 comments
Open

BadRRCrtc (invalid Crtc parameter) #19

PavelTurk opened this issue Apr 30, 2024 · 4 comments

Comments

@PavelTurk
Copy link

OS - ubuntu 24.04

I installed new version of xcalib this way:

sudo apt-get install libx11-dev libxrandr-dev  libxss-dev libxxf86vm-dev libxkbfile-dev libxv-dev 
git clone https://github.com/OpenICC/xcalib.git
cd xcalib
cmake CMakeLists.txt
sudo make install

and this is what I have:

pavel@notebook:~$ xcalib --version
xcalib v0.11.0 - Tiny monitor calibration loader for Xorg and Windows.


Author: 	Stefan Dohla <stefan AT doehla DOT de>

For more information read the man page:
	man xcalib

pavel@notebook:~$ xcalib -co 70 -a
X Error of failed request:  BadRRCrtc (invalid Crtc parameter)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  24 (RRSetCrtcGamma)
  Crtc id in failed request: 0x0
  Serial number of failed request:  13
  Current serial number in output stream:  15

Could anyone help me?

@beku
Copy link
Member

beku commented Apr 30, 2024 via email

@PavelTurk
Copy link
Author

@beku Thank you for your answer. I've read help and this is my command to set contrast:

pavel@notebook:~$ xcalib -k 50
Client Canceled:  xcalib.c:1199 myMain() Unable to read file "----"

Could anyone help to fix it? My display is killing my eyes.

@beku
Copy link
Member

beku commented May 1, 2024 via email

@PavelTurk
Copy link
Author

@beku Thank you very much for your help and explanation.

What I have now - in Settings/Color I selected xcalib gamma 2 profile and it decreased color darkness what was my problem. Now I want to adjust it a little bit. For this I used the following command:

root@notebook:/usr/local/share/color/icc/xcalib/test# stat -c '%y' gamma_2_2.icc 
2024-04-30 08:45:49.000000000 +0300
root@notebook:/usr/local/share/color/icc/xcalib/test# xcalib -k 50 ICC_FILE_NAME gamma_2_2.icc 
root@notebook:/usr/local/share/color/icc/xcalib/test# stat -c '%y' gamma_2_2.icc 
2024-04-30 08:45:49.000000000 +0300

However I don't see any changes and file was not updated. I tried to do it also as non root user:

pavel@notebook:/usr/local/share/color/icc/xcalib/test$ xcalib -k 100 ICC_FILE_NAME ./gamma_2_2.icc
pavel@notebook:/usr/local/share/color/icc/xcalib/test$ 

But it didn't help either. I don't see any changes on any xcalib command. Must it modify icc file? Should I restart after every commands? Why does it not work?

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

2 participants