Fedora Linux Support Community & Resources Center
  #1  
Old 26th July 2008, 06:36 AM
martinellison Offline
Registered User
 
Join Date: Jun 2007
Posts: 22
nVidia/freeglut 'capabilities not found'

I am getting the following from a freeglut program
Code:
~> makehuman
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
  • Code:
    ~> uname -a
    Linux localhost.localdomain 2.6.25.10-86.fc9.x86_64 #1 SMP Mon Jul 7 20:23:46 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Any advice?

Also, it keeps starting in the wrong display resolution every time. Is there any way I can change this?
__________________
Regards, Martin
Reply With Quote
  #2  
Old 26th July 2008, 07:09 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Quote:
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?

V
Reply With Quote
  #3  
Old 26th July 2008, 07:40 AM
martinellison Offline
Registered User
 
Join Date: Jun 2007
Posts: 22
Run it

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.
__________________
Regards, Martin
Reply With Quote
  #4  
Old 26th July 2008, 07:59 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
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".

V
Reply With Quote
  #5  
Old 26th July 2008, 09:02 AM
martinellison Offline
Registered User
 
Join Date: Jun 2007
Posts: 22
Direct rendering works; run nvidia-settigns as root

Code:
~> 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.
__________________
Regards, Martin

Last edited by martinellison; 26th July 2008 at 09:12 AM. Reason: More information
Reply With Quote
  #6  
Old 26th July 2008, 10:20 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
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...icroni386.html.

Good Luck,
V

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?
It works on my machine....

Last edited by Hlingler; 26th July 2008 at 10:26 AM.
Reply With Quote
  #7  
Old 26th July 2008, 10:44 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
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'?

V

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.

Last edited by Hlingler; 26th July 2008 at 11:02 AM.
Reply With Quote
  #8  
Old 26th July 2008, 06:52 PM
martinellison Offline
Registered User
 
Join Date: Jun 2007
Posts: 22
Fedora package works

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...
__________________
Regards, Martin

Last edited by martinellison; 26th July 2008 at 07:04 PM. Reason: more information
Reply With Quote
Reply

Tags
capabilities, nvidia or freeglut

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freeglut and issues... kRogue Using Fedora 0 22nd October 2007 09:21 AM
nvidia:No NVIDIA graphics adapter found! linmix Using Fedora 2 20th March 2007 12:32 PM
FC5: ATI, DRI and freeglut fbausch Using Fedora 0 27th July 2006 07:10 PM
FC5 OpenGL freeglut brett Using Fedora 3 22nd May 2006 10:52 AM
Installing Nvidia Drivers: No Nvidia Graphics Driver Found! unholy1 Hardware & Laptops 9 6th April 2005 08:50 PM


Current GMT-time: 10:17 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat