Click to See Complete Forum and Search --> : Wine and HL...
ScRapZ_1
12-14-2001, 07:56 AM
Ive got Wine kinda working the way I want... but there is a problem running HalfLife. When I choose which display mode I want to use (1024x768 using OpenGL) and try to start a game, it exits saying that the mode I have selected is not supported by my card type.
I am using RH 7.1 with an GeForce256. Quake3 runs smoothly on this, so I cant see it being anything too serious. Any suggestions?
Oh, and does anyone know of Linux binaries for HalfLife? This would be good, as I'm using Quake3 binaries, it worked without a hitch.
TTFN,
ScRapZ_1 :p
[ 14 December 2001: Message edited by: ScRapZ_1 ]
Xsecrets
12-14-2001, 11:14 AM
Well I am not sure about your wine problem, but I know for sure that there are no linux binaries for HL at least not for the client.
z0mbix
12-14-2001, 11:56 AM
there's a switch to add at the end of your wine command, but again, I can't remember it! nathaniel posted this about a month ago. I did a quick forum search, but couldn't find it, maybe you'll have better luck. :)
[ 14 December 2001: Message edited by: cheeky_zombie ]
z0mbix
12-14-2001, 12:14 PM
forget the switch thing. I found it here (http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=12&t=000634) :D:
I would also include the line believe following the same format:
Option NVagp "2"
This will try and load the Nvidia's agp module and if it fails, then it will load fx86's agp module, otherwise in some of the older Nvidia drivers, it just fails to no AGP instead causing HL to say you do not have open-gl video card or it is not supported.
[ 14 December 2001: Message edited by: cheeky_zombie ]
Icarus
12-14-2001, 02:42 PM
That link was very helpful for me, expecially this line
11. Open up this file and look for the "Graphics Device Section". Then look for
the section where it says Driver. It should say "nv". Replace this with "nvidia".
Also, if you use 'setup' in the CLI to change your graphic settings, this line will revert back to 'nv'
ScRapZ_1
12-15-2001, 07:47 AM
Thats the post I read to get 3d working in linux. If you look closely, you'll see a post from me saying how much I appreciated it. But I still cant get games to load opengl w/wine.
The example I'm using is the Wolfenstien MP demo. I run that using wine and it stops with an error sayinf cant load the opengl subsystem. So maybe that switch may be the thing I need :confused:
...anyway...
TTFN,
ScRapZ_1 :p
bwkaz
12-15-2001, 10:11 AM
Originally posted by ScRapZ_1:
<STRONG>The example I'm using is the Wolfenstien MP demo. I run that using wine and it stops with an error sayinf cant load the opengl subsystem.</STRONG>
And.... why can't you use the native Linux one? Why use wine?
http://slashdot.org/article.pl?sid=01/11/29/0041249&mode=thread has the linkage to ID's FTP site
nathaniel
12-15-2001, 02:00 PM
I'll give u a hint on why it didn't work, it might not have to deal with your nvidia drivers if u do something like this as a test:
cat /proc/nv/card0
if if displays this:----- Driver Info -----
NVRM Version: 1.0-769
------ Card Info ------
Model: Nforce X
IRQ: 11
------ AGP Info -------
AGP status: Enabled
AGP Driver:
Bridge: Intel 440LX
SBA: Supported [enabled]
FW: Supported [enabled]
Rates: 4x 2x 1x [4x]
Registers: 0x1f000203:0x00000000
as long as your video AGP status is enable then you are good to go. if not then no open-gl games will work and u will need to follow the Nvidia instructions again.
if the above is good, you need to check your wine install, if u compiled from src u need to check where you glext.h header file is. This file is what open-gl wine is all about. Fing it on your system and then open the configure file w/ your favorite editor and look where the script is looking for it. then just COPY it to that location (not move) and then run a ./configure --help and see how to enable open-gl add the line --with-x just in case.
NB
ScRapZ_1
12-16-2001, 12:47 AM
Originally posted by bwkaz:
<STRONG>And.... why can't you use the native Linux one? Why use wine?</STRONG>
...because I'm using it as an example...
WolfMP Test is quick to load and tell me if there is a problem. With HL... I have to go through the whole process of starting a game. I know there's linux binaries for Wolf, and there's prolly binaries for every game based on Q3 engine, but first, I just want to make sure everything works the way I want it...
nathaniel: Thanks for the info, I'm at work right now, so I'll try it as soon as I get home and post back the hopefully good news :D
TTFN,
ScRapZ_1 :p
ScRapZ_1
12-16-2001, 04:41 AM
Well... i tried that cat /proc/nv/card0 and it indeed tells me that the AGP status is disabled. So thats one thing outta the way, but I cannot get the blasted thing enabled. A quick view of the nvidia documentation, tells me to add Option "NvAGP" "3" to my XF86Config-4 file, but it still doesnt work. Reading further, it says [b]To use the Linux AGPGART module, it will need to be compiled with
your kernel, either statically linked in, or built as a module.
NVIDIA AGP support cannot be used if AGPGART is loaded in the kernel.
It's recommended that you compile AGPGART as a module and make sure that
it is not loaded when trying to use NVIDIA AGP.[\b]...
...ARGH! What? I dont know how to do that? Help?
TTFN,
ScRapZ_1 :p
ScRapZ_1
12-16-2001, 09:14 AM
Well, I've finally got it working, no thanks to you guys :p :D
I can run HL in OpenGL mode now and I can run the windoze version of RtCW (although I predict a linux binary coming my way soon). And now my hair can slowly start to grow back...
...that cat /proc/nv/card0 still tells me that AGP service is disabled, is this going to be a problem? Can some one post up a copy of thier XF86Config-4 file who has this AGP thingy enabled?
...Anyway, I'm off to play some DoD, DAMMIT!! :D
TTFN,
ScRapZ_1 :p
Closer
12-16-2001, 09:21 AM
Originally posted by ScRapZ_1:
<STRONG>Ive got Wine kinda working the way I want... but there is a problem running HalfLife. When I choose which display mode I want to use (1024x768 using OpenGL) and try to start a game, it exits saying that the mode I have selected is not supported by my card type.
I am using RH 7.1 with an GeForce256. Quake3 runs smoothly on this, so I cant see it being anything too serious. Any suggestions?
Oh, and does anyone know of Linux binaries for HalfLife? This would be good, as I'm using Quake3 binaries, it worked without a hitch.
TTFN,
ScRapZ_1 :p
[ 14 December 2001: Message edited by: ScRapZ_1 ]</STRONG>
The fact that quake3 works tells me that your opengl is working.
Agreeded if AGP is disabled that you will suffer a performance hit.
However opengl will still work {proof q3 is working}.
RH 7.1 default kernel had a bug with mtr that cuased the nvidia and AGP failure that can be fixed.
The questions I would ask is what version of wine and what nvidia drivers are you using.
The latest nvidia drivers and the latest winex do not work well together in most cases. If you go to transgaming the problems are posted and they are working on it.
You can revert back to the previose driver revision from nvidia and be ok.
The AGP requires 1 of 2 steps to fix if you are intrested in fixing this let me know.
Closer
bwkaz
12-16-2001, 09:23 AM
Originally posted by ScRapZ_1:
<STRONG>...because I'm using it as an example...
WolfMP Test is quick to load and tell me if there is a problem. With HL... I have to go through the whole process of starting a game. I know there's linux binaries for Wolf, and there's prolly binaries for every game based on Q3 engine, but first, I just want to make sure everything works the way I want it...</STRONG>
Oh, I see. Sorry.
Glad you got it at least running.
My XF86Config-4 is here (http://www.csl.mtu.edu/~bwkadzba/XF86Config-4), and my AGP is not disabled. Though I'm not sure it's that file that determined that, it may be the way your kernel is compiled. Are you using a default distribution kernel? If so, then that isn't your problem, but if not, try recompiling it and make the AGPGART a module.
Other than that, how many times have you reinstalled the nVidia kernel module? Did you use RPMs or source?
[ 16 December 2001: Message edited by: bwkaz ]
ScRapZ_1
12-16-2001, 09:27 AM
Lets see... I used the Nvidia GLX precompiled RPM, and I used the latest Nvidia kernel for my distro in source RPM.
...this really isnt much of a hassle for me now, but unless there is some important stuff I need to know, like my config is gonna make my computer blow up, then its not needed.
TTFN,
ScRapZ_1 :p