LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wine + Half Life Install (https://www.linuxquestions.org/questions/linux-software-2/wine-half-life-install-74414/)

Sage314 07-20-2003 07:46 PM

Wine + Half Life Install
 
Ok so I installed wine correctly, everything works fine, then I try to run Half -Life setup and I get this error message(s)

err:wave:OSS_WaveOutInit /dev/mixer1: not found!
err:wave:OSS_WaveInInit /dev/mixer1: not found!
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 12 (X_ConfigureWindow)
Serial number of failed request: 93
Current serial number in output stream: 98
err:ntdll:RtlpWaitForCriticalSection section 0x40df5854 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 000d, blocked by 000c, retrying (60 sec)

I have no idea what these mean, but when I used winex to run setup it worked fine, yet when I tried to play counter-strike over the internet it froze horribly at "starting network" and then after about 60 seconds went to the map loading part of the connection sequence and then froze and half-life itself gave me an error saying could not connect. Could someone tell me how to get wine working with Half-Life? Thanks

ShadowHawk 07-20-2003 08:19 PM

Read the excellent How To guide here:

http://lhl.linuxgames.com/howto/half...HOWTO-0.5.html

Sage314 07-21-2003 10:45 AM

That is the exact same HOW-TO I followed, thanks for your input though... anything else? I reinstalled my video and audio drivers, if I can re-link the dev/mixer1 to my actual mixer ( im a newb I dont know how to do this ) would that solve the problem? Any help would be greatly appreciated. I see so many others having no problem at all with the actual half-life setup... I cant even get the splash screen. Thanks again.

jpbarto 07-21-2003 01:11 PM

I haven't had trouble with half life install... but I still can't get it to run so take heart.

however this might solve the problem (your idea of linking was correct)

ln -s /dev/mixer /dev/mixer1

executed as root should take care of the problem.

Sage314 07-21-2003 01:24 PM

Hah! I knew it... yea, wine is very difficult to work with... Im gonna start reading the development documentation for wine and bash to quicken my understanding of linux and wine together... I hope this can somehow enable me to understand the problems which exist within wine and debug them, damn critters... anyways I tried the linking and it said that /dev/mixer1 already exists... is there a way to find out what it is linked to, remove that link, and relink it to my default mixer? I really am thankful for the help being provided here, and hope that others are learning from my newbness =p... thanks again.

jpbarto 07-21-2003 01:25 PM

ls -l /dev/mixer1

then

rm /dev/mixer1

then

ln -s /dev/mixer /dev/mixer1

Sage314 07-21-2003 01:47 PM

lols, ok I did it even before you replied, but I did, rm /dev/mixer1 then ln -s /dev/mixer /dev/mixer1, so its aight... ok so that error dissapeared, but I still get this one:

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 12 (X_ConfigureWindow)
Serial number of failed request: 93
Current serial number in output stream: 98
err:ntdll:RtlpWaitForCriticalSection section 0x40df5854 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 000d, blocked by 000c, retrying (60 seconds)

major opcode of failed request: 12

thats the code of the request I guess

(X_Configure Window)

I think that might be the window that pops up at setup?

the rest I am completely clueless, should I edit and recompile x11drv_main.c?
fix the X11DRV_CritSection, then recompile? I can program in C, just not very well... any suggestions?

jpbarto 07-21-2003 01:52 PM

no I wouldn't go recompiling anything. What other progs have you gotten to run in wine?

Sage314 07-21-2003 08:44 PM

Nothing pretty much... everything crashes at startup, or doesnt work, ive tried, gta3, half -life, and return to castle wolfenstein, everything crashes at setup.exe, says stuff about debug, 32 bit mode, and crap... nothing works with it... ugh whats wrong with it =(

teval 07-22-2003 12:10 AM

What distro are you running? and what major changes have you made to it?
Keep in mind that RH needs special arguments to the wine configure

./configure --with-nptl (or.. ntpl I always mix the two up) for wine
./configure --enable-pthread ( for winex)

Or.. something like that, ./configure --help will show you all the arguments, just pick the one that sounds closest to the above with your version of wine.
Make sure you're running the newest version of wine.

http://appdb.winehq.com/
Has a list of applications (games included), a very large one at that. It also has commments from people and how it works now, or doesn't. Also says how people got many of the applications to run.

Good luck :)

(oh.. and try running glxgears to make sure your opengl is ok before you run 3d games)

Sage314 07-22-2003 12:17 AM

Redhat 8.0 and no major changes at all, just installed the video driver, ill try those things, thanks

jpbarto 07-22-2003 12:29 AM

while we're on the topic: I've gotten other games to work with the 2.x winex binary on my LFS system. However when I go to run Half Life (install went fine) the menu comes up just fine and I click the menu option to start a game then I get a black and white 'Loading' screen and it seems to lock up (or takes a really long time to load).

Has anyone ran into this? Would I perhaps get better results if I built winex from scratch? Or maybe if I installed just plain vanilla Wine?

thoughts? I posted over at the lhl.linuxgames forum and the post has gotten no replies for about a week. ;-(

Sage314 07-22-2003 10:13 AM

So should I use wine or winex? I dont think winex would solve my problem but I heard it adds directx support.

jpbarto 07-22-2003 12:05 PM

it does add directx support... don't know if it'll solve your problem. Winex has its own fair share of problems... for example I tried running Warcraft III on both the 2.x and 3.x winex and neither would run the install.

Sage314 07-22-2003 09:59 PM

-Sigh- I just wanna play some fxing counter-strike =\


All times are GMT -5. The time now is 08:29 PM.