Toon posts:

[RTCW] game crashed X server

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb 'm hier neergezet omdat ik vermoed dat het een linux-specifiek probleem is itt een RTCW probleem. Mocht dit verkeerd zijn dan gaarne een move naar SP :)

Goed, het volgende. Ik heb RTCW geinstalleerd op mijn linux bak (Gentoo linux/kernel 2.4.18, XFree 4.2.0). Als ik nu RTCW start kom ik in het normale menu. Daar kies ik multiplayer, kies een server en dan begint de ellende.

Hij laad het level prima maar vernaggeld het scherm. Hoewel ik wel kan zien dat het het 'normale' scherm is zijn bv. de teksten onleesbaar en ontbreekt een muiscursor. Ik kan de RTCW console wel oproepen met ~ maar ook die is onleesbaar. Bijkomend symptoom is dat de buitenste rand van het scherm continu van kleur wijzigt.

Als ik bv. in het menu kies voor 'opties', daar een andere resolutie kies en dan 'apply' klik dan crashed X volledig, ik krijg dan de login weer voor m'n neus. In de logfiles staat niets anders dan 'xserver exited unexpected'.

Start ik RTCW 2 keer achter elkaar op (dus starten, afsluiten, starten) dan crashed het zooitje ook.

Ik heb een NVIDIA geforce 2 GTS en de bijbehorende drivers zijn correct geinstalleerd. Andere 3d apps werken wel naar behoren.

dmesg laat dit zien:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
NVRM: AGPGART: Intel i815 chipset
NVRM: AGPGART: aperture: 32M @ 0xd8000000
NVRM: AGPGART: aperture mapped from 0xd8000000 to 0xe1959000
NVRM: AGPGART: mode 4x
NVRM: AGPGART: allocated 16 pages
NVRM: AGPGART: allocated 258 pages
NVRM: AGPGART: freed 258 pages
NVRM: AGPGART: allocated 258 pages
NVRM: AGPGART: allocated 258 pages
NVRM: AGPGART: freed 258 pages
NVRM: AGPGART: allocated 258 pages
NVRM: AGPGART: freed 16 pages
NVRM: AGPGART: freed 258 pages
NVRM: AGPGART: freed 258 pages
NVRM: AGPGART: allocated 16 pages
NVRM: AGPGART: freed 16 pages
NVRM: AGPGART: backend released

tijdens het booten zie ik nog deze voorbijkomen:
code:
1
2
nvidia: loading NVIDIA NVdriver Kernel Module  1.0-2802  Tue Mar  5 06:26:45 PST 2002
devfs_register(nvidia0): could not append to parent, err: -17

Mijn XF86Config file ziet er zo uit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
##########################################################################
# Sample XF86Config file for NVIDIA XFree86 drivers.
#
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
#
# Be sure to replace the monitor values with correct values for your
# monitor!
##########################################################################


Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath    "/usr/X11R6/lib/X11/fonts/local"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"

    ModulePath  "/opt/nvidia/modules"
    ModulePath  "/usr/X11R6/lib/modules"


EndSection


##########################################################################
# Server flags section.
##########################################################################

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection


##########################################################################
# Input devices
##########################################################################

#
# Keyboard section
#
Section "InputDevice"

    Identifier "Keyboard1"
    Driver     "Keyboard"
    Option     "AutoRepeat"  "250 30"

    Option "XkbRules"  "xfree86"
    Option "XkbModel"  "pc105"
    Option "XkbLayout" "us"

EndSection


#
# Pointer section
#
Section "InputDevice"

    Identifier  "Mouse1"
    Driver  "mouse"
    Option  "Protocol"     "IMPS/2"
    Option  "Device"         "/dev/mouse"
    Option  "Buttons"       "6"
    Option  "ZAxisMapping"     "4 5"
    Option  "Emulate3Buttons"  "off"


EndSection


##########################################################################
# Module section
##########################################################################

Section "Module"

    Load      "dbe"

    # Load the glx module.
    Load      "glx"

    Load      "extmod"

    Load      "type1"
    Load      "freetype"
EndSection


##########################################################################
# Monitor section
##########################################################################

Section "Monitor"

    Identifier "MyMonitor"
    VendorName "Mitsubisi"
    ModelName  "Diamond Plus 120u"

    # be sure to replace these values with values appropriate for your
    # monitor!
    HorizSync  31-82
    VertRefresh 55-120

EndSection


##########################################################################
# Graphics device section(s)
##########################################################################

Section "Device"
    Identifier  "NV AGP"
    VendorName  "nvidia"
    Driver   "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.
    BusID    "PCI:1:0:0"
EndSection

Section "Device"
    Identifier "NV PCI"
    VendorName "nvidia"
    Driver "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.
    BusID    "PCI:0:13:0"
EndSection

Section "Device"
    Identifier "NV AGP TwinView"
    VendorName "nvidia"
    Driver "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.
    BusID    "PCI:1:0:0"

    # sample twinview setup
    Option "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct values
    # for your monitor!
    Option "SecondMonitorHorizSync"   "31-82"
    Option "SecondMonitorVertRefresh" "55-120"
    Option "TwinViewOrientation"    "RightOf"
    Option "MetaModes"          "1280x1024,1280x1024; 1024x768,1024x768"
    Option "ConnectedMonitor"      "crt,crt"
EndSection


##########################################################################
# Screen sections
##########################################################################

#
# screen section for an nvidia AGP card
#
Section "Screen"
    Identifier "Screen AGP"
    Device  "NV AGP"
    Monitor     "MyMonitor"
    DefaultColorDepth 24
    Subsection "Display"
      Depth  8
      Modes  "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
      Depth  16
      Modes  "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
      Depth  24
      Modes  "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


#
# screen section for an nvidia PCI card
#
Section "Screen"
    Identifier "Screen PCI"
    Device  "NV PCI"
    Monitor     "MyMonitor"
    DefaultColorDepth 24
    Subsection "Display"
      Depth  8
      Modes  "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
      Depth  16
      Modes  "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
      Depth  24
      Modes  "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

#
# screen section for an nvidia AGP TwinView card
# (look at the appropriate Device section)
#
Section "Screen"
    Identifier "Screen AGP TwinView"
    Device "NV AGP TwinView"
    Monitor "MyMonitor"
    DefaultColorDepth 24
    Subsection "Display"
      Depth  8
      Modes  "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
      Depth  16
      Modes  "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
      Depth  24
      Modes  "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection


##########################################################################
# ServerLayout sections
# (invoke using the '-layout' option of 'startx'.
##########################################################################

#
# just one agp card
#
Section "ServerLayout"
    Identifier  "AGP"
    Screen  "Screen AGP"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# just one pci card
#
Section "ServerLayout"
    Identifier  "PCI"
    Screen  "Screen PCI"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# 2 cards, non twinview
#
Section "ServerLayout"
    Identifier  "Both"
    Screen  "Screen AGP"
    Screen  "Screen PCI" LeftOf "Screen AGP"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# just one agp twinview card
#
Section "ServerLayout"
    Identifier  "AGPTwinView"
    Screen  "Screen AGP TwinView"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# 2 cards, one agp twinview and one pci (3 monitors total)
#
Section "ServerLayout"
    Identifier  "BothTwinView"
    Screen  "Screen AGP TwinView"
    Screen  "Screen PCI" LeftOf "Screen AGP TwinView"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Ik heb al beide versies vd. NVIDIA driver geprobeerd, evenals beide versies van de game. Daarnaast heb ik de 'AGP aperture size' in mijn bios al van 64 naar 32 Mb gezet, ook dit mocht niet helpen.

Heeft iemand enig idee wat hier mis is?

Verwijderd

Al geprobeerd met X 4.1 ? Ik weet dat ie ouder is, maar soms doen ze iets "nieuws" wat de boel vern**kt. Ik heb dit probleem met een paar spelen gehad in het verleden, helaas vanzelf overgegaan met upgrades...

Suc6 ,
Ys

Verwijderd

Topicstarter
Uiteraard vind je altijd vlak na het posten hier de oplossing.. :)

De Gentoo installatie van de NVIDIA drivers laat de verkeerde libGL.so etc staan in /usr/X11R6/lib. Even de juiste linken vanaf /opt/nvidia/lib en het spel werkt prima.

Nou ja, voor het nageslacht bewaard hier dan maar :)