Forums » Linux

gtkrc error starting the game

Jan 21, 2011 rictec link
home/rictec/.gtkrc-2.0:8:can not find the include file : ".themes/nautilus/nautilus.rc"
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 138 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x4800002
Serial number of failed request: 60
Current serial number in output stream: 60

ubuntu 10.10 64 bits

Rictec
Jan 22, 2011 Pizzasgood link
I doubt that first line about gtkrc is VO's fault. That sounds like a bad GTK configuration. I also kind of doubt that the gtkrc error is what's crashing it - I think the first line is probably independent from the rest of those messages, i.e. two different errors: one with GTK, and one with something else. I could be wrong though.

For the gtkrc error, does /home/rictec/.themes/nautilus/nautilus.rc exist? The .themes directory is hidden (due to the name starting with a dot) so you'd have to click whatever button your file manager uses to reveal hidden directories. Or check from the commandline:

ls /home/rictec/.themes/nautilus/

If it doesn't exist, maybe try creating a blank file with that name. I don't know if that would help or make things worse. Or maybe edit the /home/rictec/.gtkrc-2.0 file to not reference the nautilus.rc file in the first place. Looks like it's probably line #8. (Back the file up before you monkey, though. Just in case.)

But like I said, I kind of doubt that the gtkrc error would make it crash. My experience with gtkrc errors has been that it prints an error message and then goes on about its merry way running whatever it was supposed to run. So I think you're seeing a second, completely independent error that is creating the rest of those messages. Unfortunately, I have no idea what that might be, so I can't help much with those.

Shot in the dark: If you're using a compositer like Compiz, disable it and try again.
Jan 23, 2011 rictec link
hi and thanks

you are right the first line is a gtk error does not have nothing to do with the game itself its looking for something that does not exist and it appears on the updater part of the game.

problem is when it updates and i press play the rest of the error appear and nothing starts.

i m not running compiz or something like that and have other openGL games working

vendetta changes my x-server to something like 800x600 i think (control - and i m back to normal) and
X Error of failed request: BadWindow (invalid Window parameter) i think is the problem on this case it simple can not create the game window maybe?

does this game create logs anywhere? or do i have to look on the system logs only?

Rictec
Jan 23, 2011 rictec link
a bit more info i digg
this is .vedetta/errors.log
Setting up signal handlers...done.
[Sun Jan 23 17:19:34 2011] Found driver: "OpenGL Reference GKGL driver". Type 5
, Version 88.0. Load @0x025da640
[Sun Jan 23 17:19:34 2011] Instantiate address: 0x7faa4f311050
[Sun Jan 23 17:19:34 2011] Found driver: "ALSA driver". Type 1, Version 10.1.
Load @0x02637130
[Sun Jan 23 17:19:34 2011] Instantiate address: 0x7faa4ea5a8d0
[Sun Jan 23 17:19:34 2011] Found driver: "Open Sound System driver". Type 1, Ve
rsion 10.1. Load @0x02638fb0
[Sun Jan 23 17:19:34 2011] Instantiate address: 0x7faa4e5771a0
[Sun Jan 23 17:19:34 2011] Note: Didn't find exact match for 800x600x32.
[Sun Jan 23 17:19:34 2011] Here are the available modes:
[Sun Jan 23 17:19:34 2011] 0) 1920x1080x24
[Sun Jan 23 17:19:34 2011] 1) 1920x1080x24
[Sun Jan 23 17:19:34 2011] 2) 1680x1050x24
[Sun Jan 23 17:19:34 2011] 3) 1680x1050x24
[Sun Jan 23 17:19:34 2011] 4) 1440x900x24
[Sun Jan 23 17:19:34 2011] 5) 1400x1050x24
[Sun Jan 23 17:19:34 2011] 6) 1360x768x24
[Sun Jan 23 17:19:34 2011] 7) 1360x768x24
[Sun Jan 23 17:19:34 2011] 8) 1280x1024x24
[Sun Jan 23 17:19:34 2011] 9) 1280x960x24
[Sun Jan 23 17:19:34 2011] 10) 1280x800x24
[Sun Jan 23 17:19:34 2011] 11) 1152x864x24
[Sun Jan 23 17:19:34 2011] 12) 1024x768x24
[Sun Jan 23 17:19:34 2011] 13) 960x600x24
[Sun Jan 23 17:19:34 2011] 14) 800x600x24
[Sun Jan 23 17:19:34 2011] 15) 800x600x24
[Sun Jan 23 17:19:34 2011] and it picked mode 14

and xorg log confirm that
[ 13829.692] (II) NVIDIA(0): Setting mode "800x600"

and this is ./vendetta/openglerr.log
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 32 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None

any more info needed ask i and i will provide

Rictec
Jan 23, 2011 Pizzasgood link
There's a config.ini file in the ~/.vendetta directory that you could use to fiddle with the graphics settings by hand. Maybe it doesn't like resizing and would work if you set the correct resolution in there. Or maybe change it to windowed mode by changing windowmode=0 to windowmode=1.

You can probably get faster support directly from the devs if you use the "Support" link that is in the nav menu on the left.
Jan 23, 2011 rictec link
Pizzasgood thank you problem solved lol

i did not had time to dig into this but i test thinking it was a opengl problem and i was right it was

so as i had Nvidia driver 260.19.12 i upgraded to 260.19.36 just to recreate the 32bits opengl and it worked

game starts and ask for my account

Thank you for your time

PS that gtkrc remains but its not a important error

now let trial then ;)

Rictec