Unable to start Foldit on Debian using nVidia Quadro with nvidia-glx driver

Case number:845829-990873
Topic:Crash/Hang
Opened by:gringer
Status:Open
Type:Bug
Opened on:Tuesday, October 18, 2011 - 14:54
Last modified:Tuesday, December 13, 2011 - 11:13

Foldit fails to start on my computer using my current setup:

$ ./Foldit
Foldit Error: The game has previously not started up correctly.
If this problem persists, please install the latest version.
freeglut ERROR: Internal error 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: 30
Current serial number in output stream: 33

The internet suggests a source-code change may help:

http://errorjournal.blogspot.com/2008/11/freeglut-internal-error.html

-- begin quote --
I could solve the problem just by replacing
glutInitDisplayMode (GLUT_SINGLE | GLUT_INDEX);
to
glutInitDisplayMode (GLUT_SINGLE | GLUT_RGBA);
-- end quote --

Other information that may be useful:

$ aptitude show freeglut3 | grep Version
Version: 2.6.0-1
$ aptitude show nvidia-glx | grep Version
Version: 285.05.09-1
$ uname -r
3.0.0-2-amd64

(Tue, 10/18/2011 - 14:54  |  16 comments)


gringer's picture
User offline. Last seen 5 years 20 weeks ago. Offline
Joined: 10/15/2008
Groups: xkcd

It's Debian, that's it. I included version numbers for packages that I thought were relevant, and update frequently (about once every 2-3 days)

I have packages from sid, squeeze, and experimental.

The experimental packages are related to my video card:

# aptitude show ~S~i~Aexperimental | grep -e "Package" -e "Version"
Package: nvidia-vdpau-driver
Version: 285.05.09-1
Package: nvidia-kernel-dkms
Version: 285.05.09-1
Package: xserver-xorg-video-nvidia
Version: 285.05.09-1
Package: libgl1-nvidia-glx
Version: 285.05.09-1
Package: libgl1-nvidia-alternatives
Version: 285.05.09-1
Package: nvidia-alternative
Version: 285.05.09-1
Package: nvidia-glx
Version: 285.05.09-1
Package: libglx-nvidia-alternatives
Version: 285.05.09-1

gringer's picture
User offline. Last seen 5 years 20 weeks ago. Offline
Joined: 10/15/2008
Groups: xkcd

nouveau doesn't work on my computer -- it fails to get past the first kernel mode setting (just after booting from grub)

gringer's picture
User offline. Last seen 5 years 20 weeks ago. Offline
Joined: 10/15/2008
Groups: xkcd

Debian has now updated the nvidia drivers beyond the version I was using in experimental, so I'm back to a "standard" setup:

$ aptitude show ~S~i~Aexperimental

$ uname -r
3.1.0-1-amd64
$ aptitude show nvidia-glx | grep Version
Version: 290.10-1
$ aptitude show freeglut3 | grep Version
Version: 2.6.0-1

And the error still exists:
freeglut ERROR: Internal error 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: 30
Current serial number in output stream: 33

The Linux Foldit tar file doesn't seem to have changed since I last reported this problem:

$ ls -l ../Foldit.tar.gz
-rw-r--r-- 1 bioinf bioinf 60363856 Nov 24 10:44 ../Foldit.tar.gz
$ md5sum ../Foldit.tar.gz
300f3d5bca57e8b2201182ebeefe2258 ../Foldit.tar.gz
$ ls -l ../Foldit.old.tar.gz
-rw-r--r-- 1 bioinf bioinf 60363856 Oct 18 16:16 ../Foldit.old.tar.gz
$ md5sum ../Foldit.old.tar.gz
300f3d5bca57e8b2201182ebeefe2258 ../Foldit.old.tar.gz

I have yet to try the updated nouveau drivers.

Joined: 04/19/2009

gringer - I really hope that someone can help with this - it's good to have you back...

And thanks from all of us for the return of gringer_irssi!!!!!

Brick's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

Why do you feel the need to SPAM the Global chat with that truly annoying bot?

I thought we agreed earlier on a no-bot rule?

Are any other bots allowed, or is this one allowed because the mods think it's "cute"? I hope there isn't a double-standard here, with mods playing with favoratism.

Brick's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

Does this have ANY benefit to the game? It totally obfuscates any meaningful dialog ( if there is any).

Session Start: Thu Nov 24 16:09:22 2011
Session Ident: #global
[16:09] * Now talking in #global
[16:09] * Topic is 'Welcome in Foldit global chat!'
[16:09] * Set by Judecca!~Judecca@70.44.64.196.res-cmts.t132.ptd.net on Wed Nov 16 18:30:04
[16:09] gringer_irssi: wikifine ORLY
[16:09] redirect found for "ORLY", so I'll try [[O RLY?]]
[16:09] rav3n_pl:
[16:10] odd
[16:10] http://en.wikipedia.org/wiki/O_RLY%3F :D
[16:10] gringer_irssi: wikifine lol
[16:10] redirect found for "lol", so I'll try [[LOL]]
[16:10] LOL, an abbreviation for laughing out loud, or laugh out loud, is a common element of [[Internet slang]].
[16:10] love that owl
[16:10]
gringer_irssi: wikifine Prussian Blue
[16:10] Prussian Blue was a white nationalist ([[White nationalism]]) pop ([[pop music]]) pre-teen duo formed in early 2003 by the mother of Lynx Vaughan Gaede and Lamb Lennon Gaede, sororal twin ([[Twin#Fraternal/Sororal (dizygotic) twins]]) girls born on June 30, 1992, in [[Bakersfield, California]].
[16:10]
oh poop...
[16:11]
wrond one
[16:11]
wrong one
[16:11] gringer_irssi: wikifine New Kids on the Block
[16:11] New Kids on the Block are an American ([[United States]]) [[boy band]] from [[Boston, Massachusetts]], assembled in 1984 by producer [[Maurice Starr]].
[16:11] rofl!
[16:11] lol
[16:11]
I meant the iron complex, gringer.
[16:11]
Grr!
[16:11] inger
[16:13] gringer_irssi: wikifine Lopado??temacho??selacho??galeo??kranio??leipsano??drim??hypo?
?trimmato??silphio??parao??melito??katakechy??meno??kichl??epi??kossypho??phatto??perister?
?alektryon??opte??kephallio??kigklo??peleio??lagoio??siraio??baphe??tragano??pterygon
[16:13] Primalsoul:
[16:14] :-P Primal
[16:14] Too long a word, eh gringer?
[16:14] too many ??
[16:14] diacritic symbols are cut out by foldit client
[16:14] to avoid char of deatcg bug
[16:15] The word is 171 letters long. Apparently, foldit did not like it.
[16:15]
yes. I changed my name to the character of death :p
[16:15] gringer_irssi wikifine Grim Reaper
[16:15] aww
[16:16] heh
[16:16] gringer_irssi: wikifine Grim Reaper
[16:16] redirect found for "Grim Reaper", so I'll try [[Death (personification) ]]
[16:16] The concept of death as a sentient ([[Sentience]]) entity has existed in many societies since the beginning of history.
[16:16] "dead like me"?;]
[16:16] gringer_irssi: wikifine Blue Oyster Cult
[16:16] redirect found for "Blue Oyster Cult", so I'll try [[Blue Öyster Cult]]
[16:16] Blue Öyster Cult, often abbreviated BÖC, is an American rock ([[rock music]]) band, most of whose members first came together in Long Island, NY in 1967 as the band Soft White Underbelly.
[16:17] hahaha it is not a night club from "police academy"?
[16:18] gringer _irssi: wikifine Vanilla Ice
[16:19] lmao.
[16:19] It's having difficulty
[16:20] space
[16:20] I put a space
[16:20] ...the final frontier?
[16:20] gringer_irssi: wikifine Vanilla Ice
[16:20] Robert Matthew Van Winkle, best known by his [[stage name]] Vanilla Ice, is an American rapper ([[rapping]]), extreme athlete ([[Extreme sport]]) and home improvement television personality.
[16:20] wut?
[16:21] you put space b4 unercore
[16:21] gringer_irssi: wikifine fail
[16:21] redirect found for "fail", so I'll try [[Failure]]
[16:21] Failure refers to the state or [[condition]] of not meeting a desirable or intended objective, and may be viewed as the opposite of success ([[wikt:success]]).
[16:21] gringer_irssi: wikifine epic fail
[16:21] redirect found for "epic fail", so I'll try [[Failure#Internet memes]]
[16:21] rav3n_pl:
[16:21] hahahaa
[16:21] epic fail = not found :P
[16:22] gringer_irssi: wikifine afk
[16:22] redirect found for "afk", so I'll try [[AFK ]]
[16:22] Primalsoul:
[16:23] You can find lol but not afk.
[16:25] gringer_irssi: define afk
[16:25] afk: No entry found for afk. Did you mean "AF"?
[16:25] hm
[16:25] gringer_irssi: wikifine pumpkin pie
[16:25] Pumpkin pie is a traditional sweet [[dessert]], eaten during the fall ([[Autumn]]) and early [[winter]], especially for [[Thanksgiving]] and [[Christmas]] in the [[United States]] and [[Canada]].
[16:25] gringer_irssi: wikifine AFK
[16:25] rav3n_pl:
[16:25] darn

Joined: 04/19/2009

@ B2 / Brick

As a mod, I am completely unaware of a "no bot" rule. If there is one, kindly put a link here.

Chat is more than proteins. Chat is the heart of the community, where most folders get more than puzzle information - it's a place for people to get to know each other and have some fun, too.

If anyone is unhappy with people having some fun in chat, the answer to that is simple - close the window.

Most of the time, the people who are having a good time in chat are the ones who are interacting with the new folders, and actually answering their questions.

The people who tend to complain about fun in chat are usually those who don't bother saying much of anything in chat, much less helping - mostly they just speak to complain.

Since you felt the need to show an example of what you considered "the need to SPAM the Global chat with that truly annoying bot?" I'll reprint here what you said in global (and to my recollection, all that you've said in global for weeks):

[6:51pm] B2: oh crud - is that bot back again?
[6:51pm] B2: I thjought we had a no-bot rule here
[6:52pm] B2: time for ignore again
[6:52pm] B2: /ifnore gringer_irssi
[6:53pm] B2: that bot is the worst kind of channel pollution
[6:53pm] B2: waste of bandwidth
[6:55pm] B2: go find yourself a dictionary
[6:56pm] B2: like a bunch of 6 year olds witha new toy that talks back

The majority of folders today were delighted with the return of gringer_irssi. The bot is one of the unique & unusual things that make foldit a good place to hang out and enjoy oneself.

If you would like to pursue this conversation further, please open a new feedback so that the player gringer can get the help he needs to get his foldit client running. Also - could you please edit your post so that it doesn't break this page?

Brick's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

I really don't think you can speak for the "majority of the folders" in what they thought of the return of the spamming bot.

Perhaps a few who were playing with it, and at least two mods, seem to enjoy it, but I don't that constitutes the "majority". Perhaps they don't speak up for fear of retribution by the moderators who are supposed to maintain decorum. I've seen the mods kick and ban people from #Global for a lot less spamming than that exhibited by that bot tonight.

Brick's picture
User offline. Last seen 1 day 5 hours ago. Offline
Joined: 07/15/2008
Groups: Beta Folders

I'm sure some people are happy that I don't feel the need to prattle on needlessly in #Global, like others do.

Joined: 10/14/2011
Type: Bug » Suggestion

Chat is the heart of FoldIt. If u (Brick) cant see that, just leave it alone.

lynnai's picture
User offline. Last seen 2 years 10 weeks ago. Offline
Joined: 05/16/2008
Type: Suggestion » Bug

Brick how does your opinion of any aspect of chat have to do with the ins and outs of Debian?

Joined: 10/11/2011
Groups: None

Regarding the comments concerning the "bot".

I was in chat earlier, the bot thing was incredibly annoying.
Correction, the people giving it lame words to define was incredibly annoying.
I wouldn't consider that chat, or even helpful, nor is it fun, unless one is two years old.
I didnt see anyone hooraying a bot, I saw a mod and a player "spamming" chat using a bot.
I have seen new players kicked for less...much less.

With regard to peoples comments about topic change, upon reading this feedback I note it was auntdeen who raised the subject to start with.

Gringer, as for your main issue, I'm sorry I am of no help to you, I dont use that OS

Joined: 11/25/2011
Groups: None

I confirm it happens here too:

./Foldit
freeglut ERROR: Internal error 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: 30
Current serial number in output stream: 33

_____________________________
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (wheezy)
Release: testing
Codename: wheezy

----------------------------
lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation GF110 [Geforce GTX 580] (rev a1)

------------------------
nvidia linux proprietary deiver version 275.36

-------------------------

gringer's picture
User offline. Last seen 5 years 20 weeks ago. Offline
Joined: 10/15/2008
Groups: xkcd

Is it possible that this could just be due to the linux tarball download link not being updated in a while? I'll check this by doing an install on my other computer (which doesn't use any proprietary display drivers), copying the directory structure over once it has updated.

gringer's picture
User offline. Last seen 5 years 20 weeks ago. Offline
Joined: 10/15/2008
Groups: xkcd

I've tried the version of the binary updated by my other computer, and still get the same error:
$ ./Foldit
freeglut ERROR: Internal error 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: 30
Current serial number in output stream: 33

gringer's picture
User offline. Last seen 5 years 20 weeks ago. Offline
Joined: 10/15/2008
Groups: xkcd

I tried installing the Windows version via Wine, to see if there was any difference. It didn't start, but produced a different bug, which lead me to the following bug report:

https://bugs.launchpad.net/ubuntu/+source/wine1.2/+bug/506320

I then did an 'aptitude install libgl1-nvidia-glx-ia32', and now the wine version of foldit will work on my computer.

I then checked the native Linux client, and it works as well. So it looks like the problem is that I needed the 32-bit binary nvidia libraries in order for foldit to work on my computer.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons