LinuxQuestions.org
Review your favorite Linux distribution.
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-05-2003, 07:20 PM   #1
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Angry 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
 
Old 08-07-2003, 11:44 AM   #2
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Original Poster
Rep: Reputation: 30
There must be SOMEONE out there who is running CS with an nVidia graphics card with wine!?
 
Old 08-07-2003, 11:59 AM   #3
JedahFox
LQ Newbie
 
Registered: Aug 2003
Location: Canada
Distribution: Mandrake 9.1
Posts: 1

Rep: Reputation: 0
Cool 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
 
Old 08-07-2003, 05:10 PM   #4
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Original Poster
Rep: Reputation: 30
15 bucks a month to avoid reading man cvs?
 
Old 08-07-2003, 06:00 PM   #5
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Original Poster
Rep: Reputation: 30
wow cvs is cool...
 
Old 08-11-2003, 09:09 AM   #6
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Original Poster
Rep: Reputation: 30
Well CVS is cool, winex CVS is most definitely not...

Is it true that its just not going to work?

munkeh
 
Old 08-12-2003, 07:55 AM   #7
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Counter-strike,[color=orange]H L F - L I F E [/color],Counter-strike: Source. Dennisgoop Linux - Games 2 08-10-2004 04:03 AM
Counter-strike server dr4gon Linux - Networking 6 07-09-2004 04:01 PM
Counter-strike help please effect Linux - Games 2 07-02-2004 06:16 PM
Counter-Strike linuxsoundprob Linux - Software 6 04-20-2003 03:26 PM
Counter Strike With Wine nivek Linux - Software 12 03-11-2003 08:48 PM


All times are GMT -5. The time now is 03:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration