-
Notifications
You must be signed in to change notification settings - Fork 16
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
"Failed to find any valid GLX configs" error on x11 #35
Comments
@chris-montero Do you mind testing the RGFW c examples? This will let me know if it's a problem with the Odin binding (which is not up-to-date) or if it's a problem with RGFW itself. |
@ColleagueRiley I did so, and some of them work fine with the C examples. These examples fail, along with their error messages:
|
I'm transferring the issue here because I believe the source of the issue is the original code. Could you tell me more about your GPU? I mostly would like to know what the latest version of OpenGL it supports and if it supports Vulkan. Also the log is time stamped at Fri Sep 13 10:02:06. So it may not be relevant to this issue. |
I have an nvidia gtx 950.
You're right, the log is old. I'll get a more recent version if you need it. |
@chris-montero I'll look into this issue as soon as I can. At the moment I am a bit busy. I believe the first error is caused by this line on line 2543 XMatchVisualInfo((Display*) win->src.display, DefaultScreen((Display*) win->src.display), 32, TrueColor, vi); /*!< for RGBA backgrounds*/ |
@chris-montero These first two bugs might be fixed. I'd need to know more about the last two errors to attempt to fix them. |
you are correct, the first two work now. The last two don't. I don't know what kind of information you want from gl33, or how I could provide you with that info. But about |
Btw I tried running vk10 in gdb, and this is the backtrace:
|
@chris-montero I'll look into the vulkan example later. It's a low priority because it's an issue with an example and not with RGFW. Also for full disclosure, the vulkan example is based on contributed code rather than code I wrote myself. I'm not sure how to start fixing gl33 issue. But it will require your assistance since the error doesn't occur with my hardware/drivers. |
@ColleagueRiley for the gl33 example, if you can give me a patched version of the code that would produce more relevant information for you, I can run it and give you the output. |
@chris-montero I'm not entirely sure why that issue is happening. The error is a bit vague. It could mean, for example, that the window is just too large. Would you mind debugging the example and finding where the issue occurs? |
@ColleagueRiley I tried to debug it with both gdb and lldb, but I guess that won't do much since it seems to be an x11 error, not a segfault or anything like that. I don't know what else to try. Do you have any suggestions? |
Should fix your gl33 issue |
This fixes the problem. You can keep this issue to keep investigating and find a more robust fix for gl33. or do whatever you want with it i dont really care |
The text was updated successfully, but these errors were encountered: