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

BadMatch on X_CreateWindow running on xrdp on Rocky 9 #1041

Closed
rp42 opened this issue Oct 21, 2024 · 2 comments · Fixed by #1042
Closed

BadMatch on X_CreateWindow running on xrdp on Rocky 9 #1041

rp42 opened this issue Oct 21, 2024 · 2 comments · Fixed by #1042

Comments

@rp42
Copy link
Contributor

rp42 commented Oct 21, 2024

This is on a VM with an NVIDIA Titan RTX GPU passed through. The vulkaninfo command works fine on the console, but on an xrdp session it fails:

$ vulkaninfo
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  7
  Current serial number in output stream:  8

We had a simlar issue in one of our applications and traced it to the fact that the default X11 visual is not the first one in the list returned:

xrdp_xdpyinfo.txt

In our app I was able to work around this by searching the list of visuals for the visual returned by DefaultVisual(). Would that be a suitable fix in vulkaninfo?

@charles-lunarg
Copy link
Contributor

Yes, that would be a suitable solution to the problem. I'll happily review & accept a PR which fixes the issue.

@charles-lunarg charles-lunarg linked a pull request Oct 23, 2024 that will close this issue
@charles-lunarg
Copy link
Contributor

Closing as completed.

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

Successfully merging a pull request may close this issue.

2 participants