LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Counter-Strike kills X (https://www.linuxquestions.org/questions/linux-software-2/counter-strike-kills-x-79327/)

reclusivemonkey 08-05-2003 06:20 PM

Counter-Strike kills X
 
I've just installed Counter-Strike thanks to wine. I installed it into a fake c directory in .wine with the help of winetools . I updated to 1.5, started cstrike.exe with wine and changed the video settings to use opengl, and 1024x768. As soon as I try to create a game, X crashes with the following error:-

(II) NVIDIA(0): Setting mode "1024x768"
SwitchToMode - Succeeded

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

Now I have tried to install Counter-Strike before and actually had an unpatched Retail version working, however I hadn't got the wine part right and when I updated, the game hung on the loading screen. I am so close yet so far :'( I've tried every wine cstrike -- -bloodycombinations I can find on the net, but I am always uncerimoniously dumped back to the console every time. I've looked on Linux Half-Life and no one else seems to be having such an abrupt exit! Can anyone help? More boring info below.

Kernel 2.4.20
Slackware 9
XFree86 4.3.0
Wine-20030508
nVidia GeForce4 MX440
NVIDIA-Linux-x86-1.0-4363 Drivers

XF86Config:

Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"

EndSection

[...]

Section "Monitor"

Identifier "Proview771"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30-70

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-150

EndSection

[...]

Section "Device"
Identifier "GeForce4 440 MMX (SE)"
Driver "nv"
#Driver "nvidia"
VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection

[...]

Section "Screen"
Identifier "Screen 1"
Device "GeForce4 440 MMX (SE)"
Monitor "Proview771"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Wine config:

WINE REGISTRY Version 2
[Drive C]
"Path" = "${HOME}/.wine/c"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"
[Drive D]
"Path" = "/mnt/dvd"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
"Device" = "/dev/dvd"
[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"
[Drive Z]
"Path" = "/"
"Type" = "hd"
"Label" = "Root"
"Filesystem" = "win95"
[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
"ShellLinker" = "wineshelllink"
# [wineconf]
[Version]
"Windows" = "win98"
[DllOverrides]
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"advapi32" = "builtin, native"
"msvcrt" = "native, builtin"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"*" = "native, builtin"
[x11drv]
"AllocSystemColors" = "100"
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
"Managed" = "Y"
"UseDGA" = "Y"
"UseXShm" = "Y"
"UseXVidMode" = "Y"
"UseTakeFocus" = "Y"
"DXGrab" = "N"
"DesktopDoubleBuffered" = "Y"
[fonts]
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
[FontDirs]
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"
[parallelports]
"Lpt1" = "/dev/lp0"
[ppdev]
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"
[ports]
[Debug]
[registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadHomeRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"WritetoHomeRegistryFiles" = "Y"
"SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
"WineLook" = "Win95"
[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"
[WinMM]
"Drivers" = "wineoss.drv" ; default for most common configurations
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
[dsound]
[Network]
[AppDefaults\\_INS0432._MP\\x11drv]
"Desktop" = "640x480"
[AppDefaults\\_INS0466._MP\\x11drv]
"Desktop" = "640x480"
[AppDefaults\\_INS0576._MP\\x11drv]
"Desktop" = "640x480"
[AppDefaults\\_INS5176._MP\\x11drv]
"Desktop" = "640x480"
[AppDefaults\\_INS5576._MP\\x11drv]
"Desktop" = "640x480"
[AppDefaults\\setup.exe\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\kazaalite.kpp\\DllOverrides]
"commctrl" = "native"
"comctl32" = "native"
"shdocvw" = "native"
"shlwapi" = "native"
# [/wineconf]

munkeh :scratch:

reclusivemonkey 08-07-2003 10:44 AM

There must be SOMEONE out there who is running CS with an nVidia graphics card with wine!?

JedahFox 08-07-2003 10:59 AM

Counterstrike in Linux (2 options)
 
The best thing you can do if you want to run Windows games in Linux is download Winex3 from http://www.transgaming.com. It will allow you to use quite a few games including Halflife and the mods. It makes it pretty simple as well. However, it'll cost you a 15 piece (15 bucks), but it works. Unfortunately, it's the only way *I* know how to properly run it. Also, try http://lhl.linuxgames.com/ . They have instuctions on how to run it with just wine, if you're strapped for cash. I truly hope that helps.


-The Fox :cool:

reclusivemonkey 08-07-2003 04:10 PM

15 bucks a month to avoid reading man cvs? ;)

reclusivemonkey 08-07-2003 05:00 PM

wow cvs is cool... :)

reclusivemonkey 08-11-2003 08:09 AM

Well CVS is cool, winex CVS is most definitely not...

Is it true that its just not going to work?

munkeh

reclusivemonkey 08-12-2003 06:55 AM

I finally got CS/Half-Life working with wine. My problem was with openGL (surprisingly enough!). I deleted gl.h and glx.h from /usr/X11R6/include/GL and symlinked them to the ones in /usr/doc/NVIDIA[version]/include/GL and recompiled wine. It worked like a treat :-).

one very happy munkeh


All times are GMT -5. The time now is 07:28 AM.