LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2008, 05:45 AM   #1
tethysgods
Member
 
Registered: May 2004
Posts: 166

Rep: Reputation: 17
After Reinstall, My openGL programs give X error of failed request BadColor Invalid C


I reinstalled Nvidia
Made sure I reinstalled everything Xfree86, SDL, Mesa

My old code compiles.


For instance

G++ -g -o Dod Dod.o gl2ps.o `sdl-config --libs` -lGL -lGLU -lgltt -lttf -lm

works fine. The libraries are all there.

But, when I run the executable I get that bad color

X error of failed request: BadColor (Invalid Colormap parameter)

I don't remember it happening before.
What I re-isntalled was Mandriva spring 2007

Kernel is 2.6.17.5

I am really up the creek! I need to get my graphics progs working pretty soon.
 
Old 08-16-2008, 06:17 AM   #2
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
I should have added that I get

Major opcode of failed request: 79 (X_FreeColorMap)
resource id of failed request: 0x2c0001


And also that I have edited the Xorg.conf file as instructed
in /usr/share/doc/NVIDIA-GLX-1.0/README bit.
 
Old 08-16-2008, 08:31 AM   #3
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
Well, it seems that NVIDIA-Linux-x86-71.86.06-pkg1.run is
the problem.

I downloaded the latest version from NVIDIA, but that complains
because the kernel was not compiled with the current gcc. So
I am now compiling the kernel from scratch. This will take ages, so shall post if this fixes the problem later.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid - TCP_DENIED/400 error:invalid-request ffredrixson Linux - Server 1 03-12-2008 07:34 AM
apache error : invalid method in request sharad Linux - Networking 1 12-16-2005 01:55 PM
Nvidia problems with Xorg: X Error of failed request: BadWindow (invalid Window para s1l3ntbob Debian 2 11-05-2005 05:36 PM
Squirrel Mail Error- Could not complete request. Invalid mask vdi_nenna Linux - Software 0 09-04-2004 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration