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

glxgears doesn't work for me as X-Fowarding test #38

Open
dstansby opened this issue Nov 3, 2022 · 3 comments
Open

glxgears doesn't work for me as X-Fowarding test #38

dstansby opened this issue Nov 3, 2022 · 3 comments

Comments

@dstansby
Copy link
Contributor

dstansby commented Nov 3, 2022

On https://www.rc.ucl.ac.uk/docs/Wiki_Export/X-Forwarding/#checking-your-setup there's a suggestion to use glxgears to check that X-forwarding is working. glxgears doesn't work for me on a macOS host:

$ glxgears
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  36
  Current serial number in output stream:  38

and it took me a little while to work out that X-forwarding was working fine, but it was glxgears that wasn't. Checking by launching xterm worked fine though, so maybe worth removing the suggstion to check using glxgears?

@heatherkellyucl
Copy link
Collaborator

heatherkellyucl commented Nov 4, 2022

@dstansby You're looking at an old page (anything in Wiki_Export is historical). See https://www.rc.ucl.ac.uk/docs/howto/#how-do-i-run-a-graphical-program which uses nedit as the example.

We do need to finish deleting/retrieving anything useful from the old pages.

@dstansby
Copy link
Contributor Author

dstansby commented Nov 4, 2022

Woops, thanks for letting me know I was in the wrong place!

@ikirker
Copy link
Collaborator

ikirker commented Jan 4, 2023

@dstansby This error message also indicates that while X-Forwarding is working, GLX ("the 3D remote rendering capability") is not working for you. Which is what that program is intended to test.

XQuartz by default disables GLX indirect rendering. Assuming you're using XQuartz, you can change that by entering, on the macOS machine:

defaults write org.xquartz.X11 enable_iglx -bool true

and then quitting XQuartz and making it re-open.

I'll find somewhere to add this to the docs at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants