OpenGL rendering with X11 forwarding
I am trying to run an executable on a remote server, to which I connect via ssh -Y. I think the executable uses openGL
The server runs Ubuntu and the local system runs OSX.
ssh -Y normally opens a display on my local machine by X11. This works well with other applications (firefox, matlab etc..)
This time I get the message:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 35
Current serial number in output stream: 34
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: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 34
Current serial number in output stream: 35
I also ran glxinfo (I was trying things I found on forums) and got this
name of display: localhost:11.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 23
Current serial number in output stream: 22
Could someone help with this?
Thank you!
ssh x11 opengl
|
show 2 more comments
I am trying to run an executable on a remote server, to which I connect via ssh -Y. I think the executable uses openGL
The server runs Ubuntu and the local system runs OSX.
ssh -Y normally opens a display on my local machine by X11. This works well with other applications (firefox, matlab etc..)
This time I get the message:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 35
Current serial number in output stream: 34
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: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 34
Current serial number in output stream: 35
I also ran glxinfo (I was trying things I found on forums) and got this
name of display: localhost:11.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 23
Current serial number in output stream: 22
Could someone help with this?
Thank you!
ssh x11 opengl
What’s your local machine running?
– Stephen Kitt
Mar 12 at 15:35
2
Are you using XQuartz?
– Stephen Kitt
Mar 12 at 15:42
Yes, XQuartz 2.7.11
– Adam Gosztolai
Mar 12 at 15:50
You may need to specify option+extension GLX
in your XQuartz command.
– mviereck
Mar 12 at 16:12
1
Try the following: 1) ensure you are running up-to-date Xquartz. 2) in a terminal,defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
3) restart xquartz. This worked for me to get a simple java app running. I tried "glxgears" and it starts, but the gears don't turn. I presume they're supposed to.
– Dan Pritts
Jul 5 at 5:24
|
show 2 more comments
I am trying to run an executable on a remote server, to which I connect via ssh -Y. I think the executable uses openGL
The server runs Ubuntu and the local system runs OSX.
ssh -Y normally opens a display on my local machine by X11. This works well with other applications (firefox, matlab etc..)
This time I get the message:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 35
Current serial number in output stream: 34
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: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 34
Current serial number in output stream: 35
I also ran glxinfo (I was trying things I found on forums) and got this
name of display: localhost:11.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 23
Current serial number in output stream: 22
Could someone help with this?
Thank you!
ssh x11 opengl
I am trying to run an executable on a remote server, to which I connect via ssh -Y. I think the executable uses openGL
The server runs Ubuntu and the local system runs OSX.
ssh -Y normally opens a display on my local machine by X11. This works well with other applications (firefox, matlab etc..)
This time I get the message:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 35
Current serial number in output stream: 34
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: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 34
Current serial number in output stream: 35
I also ran glxinfo (I was trying things I found on forums) and got this
name of display: localhost:11.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 23
Current serial number in output stream: 22
Could someone help with this?
Thank you!
ssh x11 opengl
ssh x11 opengl
edited Mar 12 at 15:35
asked Mar 12 at 15:33
Adam Gosztolai
30037
30037
What’s your local machine running?
– Stephen Kitt
Mar 12 at 15:35
2
Are you using XQuartz?
– Stephen Kitt
Mar 12 at 15:42
Yes, XQuartz 2.7.11
– Adam Gosztolai
Mar 12 at 15:50
You may need to specify option+extension GLX
in your XQuartz command.
– mviereck
Mar 12 at 16:12
1
Try the following: 1) ensure you are running up-to-date Xquartz. 2) in a terminal,defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
3) restart xquartz. This worked for me to get a simple java app running. I tried "glxgears" and it starts, but the gears don't turn. I presume they're supposed to.
– Dan Pritts
Jul 5 at 5:24
|
show 2 more comments
What’s your local machine running?
– Stephen Kitt
Mar 12 at 15:35
2
Are you using XQuartz?
– Stephen Kitt
Mar 12 at 15:42
Yes, XQuartz 2.7.11
– Adam Gosztolai
Mar 12 at 15:50
You may need to specify option+extension GLX
in your XQuartz command.
– mviereck
Mar 12 at 16:12
1
Try the following: 1) ensure you are running up-to-date Xquartz. 2) in a terminal,defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
3) restart xquartz. This worked for me to get a simple java app running. I tried "glxgears" and it starts, but the gears don't turn. I presume they're supposed to.
– Dan Pritts
Jul 5 at 5:24
What’s your local machine running?
– Stephen Kitt
Mar 12 at 15:35
What’s your local machine running?
– Stephen Kitt
Mar 12 at 15:35
2
2
Are you using XQuartz?
– Stephen Kitt
Mar 12 at 15:42
Are you using XQuartz?
– Stephen Kitt
Mar 12 at 15:42
Yes, XQuartz 2.7.11
– Adam Gosztolai
Mar 12 at 15:50
Yes, XQuartz 2.7.11
– Adam Gosztolai
Mar 12 at 15:50
You may need to specify option
+extension GLX
in your XQuartz command.– mviereck
Mar 12 at 16:12
You may need to specify option
+extension GLX
in your XQuartz command.– mviereck
Mar 12 at 16:12
1
1
Try the following: 1) ensure you are running up-to-date Xquartz. 2) in a terminal,
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
3) restart xquartz. This worked for me to get a simple java app running. I tried "glxgears" and it starts, but the gears don't turn. I presume they're supposed to.– Dan Pritts
Jul 5 at 5:24
Try the following: 1) ensure you are running up-to-date Xquartz. 2) in a terminal,
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
3) restart xquartz. This worked for me to get a simple java app running. I tried "glxgears" and it starts, but the gears don't turn. I presume they're supposed to.– Dan Pritts
Jul 5 at 5:24
|
show 2 more comments
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f429760%2fopengl-rendering-with-x11-forwarding%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f429760%2fopengl-rendering-with-x11-forwarding%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What’s your local machine running?
– Stephen Kitt
Mar 12 at 15:35
2
Are you using XQuartz?
– Stephen Kitt
Mar 12 at 15:42
Yes, XQuartz 2.7.11
– Adam Gosztolai
Mar 12 at 15:50
You may need to specify option
+extension GLX
in your XQuartz command.– mviereck
Mar 12 at 16:12
1
Try the following: 1) ensure you are running up-to-date Xquartz. 2) in a terminal,
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
3) restart xquartz. This worked for me to get a simple java app running. I tried "glxgears" and it starts, but the gears don't turn. I presume they're supposed to.– Dan Pritts
Jul 5 at 5:24