View Full Version : nVidia/freeglut 'capabilities not found'
26th July 2008, 06:36 AM
I am getting the following from a freeglut program
freeglut (makehuman): ERROR: Internal error <Visual with necessary capabilities not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 20
Current serial number in output stream: 20
I have checked the makehuman code and it is not requesting alpha support.
glxgears works fine
I am using the livna nvidia driver
I have tried playing around with my xorg.conf, but nothing seems to help
~> uname -a
Linux localhost.localdomain 188.8.131.52-86.fc9.x86_64 #1 SMP Mon Jul 7 20:23:46 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Also, it keeps starting in the wrong display resolution every time. Is there any way I can change this?
26th July 2008, 07:09 AM
Also, it keeps starting in the wrong display resolution every time. Is there any way I can change this?Open 'livna-config-display' and un-check the box that allows it to re-write xorg.conf (AFTER you have everything set just the way you want it).
What are yopu trying to do with this 'makehuman' thing: run it or compile it?
26th July 2008, 07:40 AM
I am trying to run makehuman. It is an application that uses freeglut for its GUI.
Makehuman (http://www.makehuman.org/blog/index.php) creates 3D models of people for animation.
26th July 2008, 07:59 AM
Well, with the whole X11/Xorg thing still a mess, I'm guessing that even recent code could have been left short a few slices. 'freeglut' hasn't changed as much as some of the other stuff, but you could try:
> to find a newer version of makehuman (I'm guessing that's what you already got);
> re-compile makehuman against current X11 source code. Problem is you may end up doing so again next week - or tomorrow. Or, is that how you got what you got?
So, did you succeed in getting livna-config-display to "keep it's paws off" your xorg.conf?
Also: "glxgears works fine", but is DRI enabled? Check with 'glxinfo|grep render' should return: "Yes".
26th July 2008, 09:02 AM
~> glxinfo|grep render
direct rendering: Yes
OpenGL renderer string: GeForce 6200 TurboCache(TM)/PCI/SSE2
GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
The obvious things seem to be working; I was wondering what I had missed.
I have run nvidia-settings as root and that lets me write to /etc. Now it remembers my display settings. Part of the problem is that Fedora has nvidia-settings running as user, and it cannot write to the configuration files.
26th July 2008, 10:20 AM
Hm... well, that should not be - I'm on F8 here, and don't have the Nvidia driver installed on the F9 box, so I can't confirm, but in F8, nvidia-settings goes through console-helper, so it requires root password to open and so has root permissions to write at will. Also, I suggest that you avoid using it, since it has a tendency to re-write xorg.conf according to it's own idea of what's best, and "misplace" any custom changes you may have made.
livna-config-display is a separate utility. It is often the culprit in repeated mysterious changes to xorg.conf, but at least it can be told not to over-write xorg.conf.
Back to what I gather is your main concern: I see nothing that you've missed (other than perhaps the news that X11/Xorg is still a mess?). It's unfortunate, but not really surprising, that apps like this 'makehuman' have problems in F9. The error message from your first post ("freeglut (makehuman): ERROR: Internal error <Visual with necessary capabilities not found> in function fgOpenWindow") suggests to me that the 'makehuman' app is missing some recent code changes, but that's an "educated" guess. The rest of the output looks like typical X11 garbage, possibly (probably) unrelated to the freeglut message.
You stated that you already tried various settings in xorg.conf. Beyond those I already listed (re-compile or newer 'makehuman' package), I have only one other suggestion: it just so happens that I have a recent compile of freeglut laying around, which you're welcome to try if you so desire: http://www.4shared.com/file/55643954/f854256/freeglut-71rc3-54git20080717fc9microni386.html.
EDIT: Oh, forgot to mention: no guarantees of any kind go with that freeglut package. But then again, how can it be much worse than what you don't got now? :D
It works on my machine....
26th July 2008, 10:44 AM
Just for giggles, I'll install that 'makehuman' package from Fedora repo, and see if I get the same error(s). I assume that's what you're using: looks like makehuman-0.9.1-0.3.rc1a.fc9.rpm, weighing in at slightly over 83 MB. Might take a few minutes to install. And your version of freeglut?
Anything I should know about running 'makehuman'?
EDIT: Pretty cool. Did it launch for you? Did here. Need that rendering engine aqsis too. If it launched there, what/where did it fail? No error messages noted so far.
26th July 2008, 06:52 PM
I've built makehuman from source; same error.
To run makehuman, for this purpose, just type makehuman at the command line. For me, it just failed to run at all (no initial panel).
...OK, I installed the package using yum and it worked... I don't understand, but still...
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.