LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-05-2004, 11:19 PM   #1
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
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?
 
Old 01-05-2004, 11:21 PM   #2
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
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)???

Last edited by Viper168; 01-05-2004 at 11:25 PM.
 
Old 01-06-2004, 11:06 AM   #3
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
I have the nvidia drivers for Linux, but I can't get them to work with OpenGL. :/
 
Old 01-06-2004, 02:16 PM   #4
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
did you compile wine with opengl support?
 
Old 01-06-2004, 05:02 PM   #5
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
I don't know, I extracted the wine source, and used that provided script thing to do it all for me.
 
Old 01-06-2004, 07:31 PM   #6
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
...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...
 
Old 01-06-2004, 07:46 PM   #7
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
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?
 
Old 01-06-2004, 08:31 PM   #8
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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...
 
Old 01-06-2004, 10:11 PM   #9
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
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....
 
Old 01-07-2004, 12:02 AM   #10
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
hey if u guys can send in a screen shot of it id like to see it working on a linux distro...
 
Old 01-07-2004, 09:17 PM   #11
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

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

Last edited by Viper168; 01-07-2004 at 09:24 PM.
 
Old 01-07-2004, 11:56 PM   #12
samhob
Member
 
Registered: Jan 2004
Location: Bern, Switzerland
Distribution: Debian
Posts: 72

Rep: Reputation: 15
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
 
Old 01-08-2004, 12:49 AM   #13
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
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!
 
Old 01-08-2004, 02:23 AM   #14
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
Old 01-08-2004, 06:26 AM   #15
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

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


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
Steam with Wine the_sLiDe Linux - Software 0 10-02-2004 12:02 PM
Wine and Steam 1.6 chewysplace Linux - Software 0 07-27-2004 11:36 AM
Ati | wine | steam opengl error Dimax Linux - Games 3 01-18-2004 03:31 PM
hl under wine ( not steam) samhob Linux - Games 2 01-12-2004 11:57 AM
Steam in wine issues..... Viper168 Linux - Games 1 01-10-2004 12:07 PM

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

All times are GMT -5. The time now is 03:44 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
Open Source Consulting | Domain Registration