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

BadValue when docking/undocking on P50 #35

Open
Ingvix opened this issue Jun 29, 2020 · 1 comment
Open

BadValue when docking/undocking on P50 #35

Ingvix opened this issue Jun 29, 2020 · 1 comment

Comments

@Ingvix
Copy link

Ingvix commented Jun 29, 2020

I get following error when I either manually set the mode or when docking/undocking with daemon:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  22
  Current serial number in output stream:  22

Daemon also exits after the error.

When changing the configuration with xrandr there's no problems.

@Ingvix
Copy link
Author

Ingvix commented Jun 29, 2020

My lazy workaround currently is to run xrandr commands in the hook scripts. In dock.hook I need to sleep for some 2 seconds before running it or the external monitor's modes are not available yet. Also keeping the conf files empty so it won't exit on error.

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

1 participant