LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 11-19-2007, 12:30 PM   #16
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31

Quote:
jimmy512 do you have the proprietary drivers installed? You need to have dri enabled, at least that's what iv'e found, for games( HL2,COD,FarCry), to function properly. The proprietary drivers are easy on some systems hard on others.
DRI is enabled. glxinfo | grep direct returns:

Code:
direct rendering: Yes
and glxgears runs very smoothly. Also flightgear returns a frame rate of ~60fps. This seems to be quite an annoying problem, and may be the only one stopping me from playing the game.

Quote:
Played it all last night on Windows XP, and overall, it works great. It didn't give me the COD feel for a while, but maybe that was just me.
Same. Wait till you get into it though!

Last edited by jimmy512; 11-19-2007 at 12:31 PM.
 
Old 11-19-2007, 04:56 PM   #17
JBailey742
Member
 
Registered: Mar 2006
Location: Saint Louis Park, MN
Distribution: Mandriva 2007.1 Spring
Posts: 338

Rep: Reputation: 30
towards the end it started to, but for some reason; throughout most of the game, I was like "Okay, I'll just follow you guys. I'm new here."
Towards the last chapter or two, I was like, okay, this is COD. Step aside, I'm trigger happy.
 
Old 11-19-2007, 07:57 PM   #18
snares
Member
 
Registered: Mar 2006
Distribution: Ubuntu Gusty Gibbon
Posts: 108

Rep: Reputation: 16
I was searching for a tutorial on installing HL2, over at linux-gamers.net, and came across a HowTo for COD4. Don't have the game yet so I can't test it out but figured I'd give people the link so they can try it.

http://www.linux-gamers.net/modules/...DEX+Wine+Games

hope this helps someone.
 
Old 11-20-2007, 03:28 PM   #19
releana
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Cool! Thanks for the heads up
 
Old 11-21-2007, 12:03 PM   #20
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
The patch in that guide did help. I am now recieving no errors from the game. However, I am still getting errors:

Code:
err:seh:raise_exception Unhandled exception code 80000101 flags 1 addr 0xb7f9d410
This causes a change in resolution on the screen, but then wine crashes.

Here is the whole output:

Code:
ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
err:wave:ALSA_ComputeCaps failed: Invalid argument(-22)
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:win:EnumDisplayDevicesW ((null),0,0x32f91c,0x00000000), stub!
fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present
fixme:d3d:IWineD3DVolumeImpl_LockBox (0x21ab58) : pBox=(nil) stub
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x1b2eb8) call to IWineD3DDevice_CreateSurface failed
fixme:d3d9:D3D9CB_CreateSurface (0x1b2eb8) IDirect3DDevice9_CreateSurface failed
fixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface  0x21d200
fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x1b2eb8) call to IWineD3DDevice_CreateTexture failed
mixer.c:297: DSOUND_BufPtrDiff: Assertion `ptr1 < buflen' failed.
err:seh:raise_exception Unhandled exception code 80000101 flags 1 addr 0xb7fff410

Last edited by jimmy512; 11-21-2007 at 12:05 PM.
 
Old 11-21-2007, 08:37 PM   #21
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Would anyone like to play COD4 on a hamachi virtual private network?
 
Old 11-22-2007, 12:01 AM   #22
snares
Member
 
Registered: Mar 2006
Distribution: Ubuntu Gusty Gibbon
Posts: 108

Rep: Reputation: 16
jimmy512 not too good at debugging but looks like something with the sound. From what I know about wine it runs game better using OSS instead of wine. From you output it looks that you're using ALSA. Try going into the config wizard and switching to the OSS.(Couldn't hurt) Also I have read some people are getting some better results, w/games not just COD4, by changeing driver emu off. Try it on and off see if it works. Perhaps someone better at debugging can give use a hand here. Or someone with more proficient knowledge of wine.

Hope you get it.
snares
 
Old 11-25-2007, 11:28 AM   #23
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
Managed to get some more output on this, after fixing the problems with ALSA. The resolution changes, and gives these errors:

Code:
fixme:win:EnumDisplayDevicesW ((null),0,0x32f91c,0x00000000), stub!
fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x1a2ae0) call to IWineD3DDevice_CreateSurface failed
fixme:d3d9:D3D9CB_CreateSurface (0x1a2ae0) IDirect3DDevice9_CreateSurface failedfixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface  0x1b1318
fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x1a2ae0) call to IWineD3DDevice_CreateTexture failed
Looks like a bug in wine. Don't really know where to go from here.
 
Old 11-27-2007, 04:30 PM   #24
JBailey742
Member
 
Registered: Mar 2006
Location: Saint Louis Park, MN
Distribution: Mandriva 2007.1 Spring
Posts: 338

Rep: Reputation: 30
Quote:
Originally Posted by snares View Post
I was searching for a tutorial on installing HL2, over at linux-gamers.net, and came across a HowTo for COD4. Don't have the game yet so I can't test it out but figured I'd give people the link so they can try it.

http://www.linux-gamers.net/modules/...DEX+Wine+Games

hope this helps someone.
that howto has me so confused. first of all, what is "patch"? a wine patch? the COD4 no-cd patch? and are those codes the same for mandriva? doesn't seem like that's how I use wine.

Example:

# cd /media/cdrom/
# wine ./setup.exe

first one is the same, but wine ./setup.exe?

I type in 'wine setup.exe'

works the same? I'm understanding linux more but I guess not completely.
 
Old 11-27-2007, 06:13 PM   #25
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Have any of you got COD4 working in Linux yet?
 
Old 11-28-2007, 12:31 PM   #26
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
Quote:
that howto has me so confused. first of all, what is "patch"? a wine patch? the COD4 no-cd patch? and are those codes the same for mandriva? doesn't seem like that's how I use wine.
That is a patch for the wine source code. ie, you patch the source code with that file before compiling the sources, and it adds extra capabilities or fixes bugs in wine, in this case something to do with rendering rendering 3d stuff that cod4 needs.

Quote:
Have any of you got COD4 working in Linux yet?
If you check out the wine app-db, here, it seems that some have got it working, and some have not. Seems a bit hit and miss at the moment. I have not got it working yet on by debian box.

Last edited by jimmy512; 11-28-2007 at 12:33 PM.
 
Old 11-28-2007, 02:00 PM   #27
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Quote:
Originally Posted by jimmy512 View Post
If you check out the wine app-db, here, it seems that some have got it working, and some have not. Seems a bit hit and miss at the moment. I have not got it working yet on by debian box.
Why would a game work in Wine on one distribution, but not another?
 
Old 11-28-2007, 06:30 PM   #28
snares
Member
 
Registered: Mar 2006
Distribution: Ubuntu Gusty Gibbon
Posts: 108

Rep: Reputation: 16
I had the day off today and decided go through that howto I posted to see if it worked. Got it! I'll post some screens on my server to show you guys. I am running Ubuntu Gusty 32-bit. I needed to download the git version of wine the CVS version and the regular version didn't work only the git version. Don't know why that is but I got it working so don't really care. If you follow the howto to the letter you need to name the patch diff-file and put is in teh wine-git folder once you download the git version of wine. One other thing. you need to start teh game from the terminal. just clicking on the icon returned a weird error. Something about not being able to load default.cfg. DOn't know what that's about. Hope you guys get it running too. Just thought you would like to know the howto really does work.
 
Old 11-28-2007, 10:37 PM   #29
snares
Member
 
Registered: Mar 2006
Distribution: Ubuntu Gusty Gibbon
Posts: 108

Rep: Reputation: 16
here are some screenshots

URL Doesn't work anymore.

Last edited by snares; 04-07-2008 at 09:46 AM.
 
Old 12-02-2007, 02:05 PM   #30
JBailey742
Member
 
Registered: Mar 2006
Location: Saint Louis Park, MN
Distribution: Mandriva 2007.1 Spring
Posts: 338

Rep: Reputation: 30
no COD4 here. got cod2 to work though.
 
  


Reply



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
Call of Duty 2 on Linux codfreek Linux - Games 8 12-19-2010 03:26 PM
LXer: 'call of Duty 2' - v1.3 Dedicated Linux Server Available NOW LXer Syndicated Linux News 0 07-01-2006 07:21 PM
Call of Duty 1.4 Dedicated Linux Server Script fotoguy Programming 2 01-05-2005 03:29 AM
new Call of Duty Patch for linux!!!!!!! jamil5454 Linux - Software 0 12-30-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 04:26 PM.

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
Open Source Consulting | Domain Registration