LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Wine OpenGL issues in steam (https://www.linuxquestions.org/questions/linux-games-33/wine-opengl-issues-in-steam-131914/)

Viper168 01-05-2004 11:19 PM

Wine OpenGL issues in steam
 
I've managed finally to get steam installed and running, and gotten counter-strike to connect.

The problem is that when in OpenGL mode it runs horribly slow, even in the cstrike menus it takes a few seconds of hovering over a menu option to highlight it. It runs faster in the "Software" video mode, but it looks ugly and runs slow ingame.

I've successfully installed my nvidia drivers, and get a fps on glxgears of between 500-700fps.

If it helps, the terminal displays this text after it launches cstrike:

fixme:x11drv:X11DRV_resize_desktop Need to update SYSMETRICS after resizing display (now 640x480)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16



Does anyone know what I can do to get OpenGL mode running smoothly like it does in windows?

Viper168 01-05-2004 11:21 PM

Oh yeah, if I can recall correctly, in windows when I set the color mode thing from 16 bit to 32 bit, it gave me similar problems. Since in the terminal says "Cannot change screen BPP from 32 to 16", I think that may be the problem.

Anyone know how I can fix this error in wine (by changing the color depth or whatever that is to 16 bit in wine, or another way)???

natalinasmpf 01-06-2004 11:06 AM

I have the nvidia drivers for Linux, but I can't get them to work with OpenGL. :/

LavaDevil94 01-06-2004 02:16 PM

did you compile wine with opengl support?

Viper168 01-06-2004 05:02 PM

I don't know, I extracted the wine source, and used that provided script thing to do it all for me.

LavaDevil94 01-06-2004 07:31 PM

...theres a tutorial for halflife running with wine at this url:
http://lhl.linuxgames.com
i know that your problem isnt with halflife, but thats where i found out that wine needs to be compiled with opengl. it also might apply a little to CS, seeing how theyre similar...

Viper168 01-06-2004 07:46 PM

I managed to get opengl working semi-well in wine without recompiling it or whatever. I just changed the default depth to 16 bit in my XF86Config file.

It is a pain to do edit the file, and restart x every time I want to play, and when I quit playing. So does anyone know how I can get wine to run the thing in 16 bit like I want it to without running x in 16 bit mode?


Also, Does anyone know how I can increase performance for counter-strike? Right now I'm only getting around 8-14 fps (when in a 640x480 window). I've read something somewhere about setting the priority of wineserver to something, does anyone know the particulars of what I should set it to, and how I would set that?

LavaDevil94 01-06-2004 08:31 PM

to increase priority of the wineserver, try this while running *your_game_here*:
ps ax
then find the pid of the wineserver. once you have that:
renice pid *wineserver_pid_here*
i regret that i have no idea how to make wine run in 16 bit colors, although you could take a look at the config file...

Viper168 01-06-2004 10:11 PM

Hmm... changing the "nice" for it to 19 like overflowed (the guy who wrote one of the original steam tutorials) said on another forum just makes the game slower........ turning it to -20 does the same....

RHLinuxGUY 01-07-2004 12:02 AM

hey if u guys can send in a screen shot of it id like to see it working on a linux distro...

Viper168 01-07-2004 09:17 PM

RHLinuxGUY, here is a screenshot of steam I've taken, not in-game though.....
I've changed my XF86Config file back to 24 bit depth and I'm too lazy to change it back just for a screenshot.

Anyways steam.jpg that's the steam menu, server, friends, and games list.

This site is in french, but the pictures don't really require you to speak french to understand :p .
They have some in-game images, should be enough to satisfy.

You can check it out in "english" with googles site translator, but it doesn't do a whole lot towards helping you understand.

samhob 01-07-2004 11:56 PM

wow this is really nice!!!

i couldnt yet get steam to work from my win partition wiht it working..
i get could not load steam.dll library , could you please tell me just what you did ( partition etc..) ?

really thanks for your help

RHLinuxGUY 01-08-2004 12:49 AM

Ya, tell us what u guys did in order to get it to work! Just by looking at those Screenshots pulled my hand away from grabing my Windows XP disk, and installing it just to play the damn game! Tell us how good does it work(especialy with teh radeon cards) is it like windows? alot of ping? and what kind of system do u have running it? thanx in advance!

Viper168 01-08-2004 02:23 AM

As I said earlier, it isn't working well for me. But basically what I did was install wine, then dcom and IE as explained at frankscorner here .

I then unzipped the system.zip from that french site mentioned above. After that I installed steam, and fought with reinstalling it over and over again until it installed correctly. That's how I got to where I am now, forgive me if I've forgotten any steps I used.

As I've told plenty of people, it is more hacking and slashing your way through it until you get somewhere, not as clear cut as most of the tutorials make it look.



Anyways... for now I still have a win2k partition to play it on, but hopefully I can get it functioning properly in wine soon.

natalinasmpf 01-08-2004 06:26 AM

If I install DCOM, will I get all its vulnerabilities? :s


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