LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-17-2010, 05:39 PM   #1
RikuXan
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Rep: Reputation: 0
Wine - OpenGL support


Hi dear board people
I'm stuck right now with using wine for "emulating" a gameserver, only available to Windows. It seems, that the server paints a window with DirectX which should be done with OpenGL by wine, which causes an error about OpenGL:
Code:
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly
err:wgl:has_opengl  glx_version is 1.2 and GLX_SGIX_fbconfig extension is unsupported. Expect problems.
OS: Debian 5.0
Wine-version: 1.3.5 compiled from source ( missing dependencies here? )
I added the complete errormessage as an attachment. After the last line it just hangs and nothing happens anymore.

I would appreciate any help on this.

wbr RikuXan
Attached Files
File Type: txt errormsg.txt (5.3 KB, 5 views)
 
Old 10-17-2010, 06:05 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,665

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
Quote:
most likely your OpenGL drivers haven't been installed correctly
what have you done about that error ?
install a openGL 2.2 hardware & driver( 2 or better is NEEDED for DirectX )
what 3d card do you have ?
if any , what driver is installed ?

Quote:
wgl:has_opengl glx_version is 1.2
that states that you DO NOT have opengl 2 support
 
Old 10-17-2010, 06:20 PM   #3
RikuXan
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Original Poster
Rep: Reputation: 0
The machine is a server, so I suppose there's no card in there but it's only a 2D console that's rendered there, so should be no problem with SW rendering.
Could you please tell me where to look up my driver versions etc. as I'm pretty new to Linux and completely unexperienced in wine, OpenGL etc.

wbr RikuXan
 
Old 10-17-2010, 06:40 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,665

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
for software direct x to run in wine you NEED openGL 2+ or greater hardware support
 
Old 10-18-2010, 03:28 AM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Rep: Reputation: 110Reputation: 110
Most game servers I've ever ran where by command line which mean you don't have to even 3d drivers installed and so on. But the game your using I am assuming requires the x server? Do you have xorg installed? If the server install is actually the full game install are you running the server exe file. could be like server.exe instead of yourgame.exe.
 
Old 10-18-2010, 09:25 AM   #6
RikuXan
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Okay, the game I want to run a server for is Modern Warfare 2.
And as the game is not meant to be run as a server it doesn't have a commandline version of the executable.
But on startup it draws its own console using DirectX so i assume it does need OpenGL drivers as John said.
Now the thing I have to do is checking my OpenGL version and if it is too low, update the OpenGL stuff to use it with wine.
Now what you could tell me is

(1) Where to check my OpenGL version
and
(2) How to update my OpenGL drivers.

Thanks for the help so far, I hope we can put this to an end

wbr RikuXan
 
Old 10-19-2010, 06:37 AM   #7
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Rep: Reputation: 110Reputation: 110
If you have mesa and utils installed try this
Code:
glxinfo | grep "OpenGL version"
In order to get 3d support you need to install proprietary drivers for your card. So instructions there will vary. Consult your manufacture or give more information here and somebody may be able to help you or point you in the right direction
 
Old 10-19-2010, 10:51 AM   #8
RikuXan
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Okay thank you very much for the answer, it resulted in
Code:
1.3 Mesa 4.0.4
and the glx version is 1.2
So I'll have to update it to 2.0+, right?
Next problem, it's a server, more specific a vServer on a mainframe. I can't imagine a mainframe uses graphic cards, so I need some kind of OpenGL version which uses SW Rendering, because I wouldn't know which driver to pick as there is no manufacturer for the card, as there is no card .
I hope you know a solution or a special driver for SW Rendering only.

wbr RikuXan
 
Old 10-19-2010, 01:55 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,665

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
then use a windows 2008 server !
 
Old 10-21-2010, 04:00 PM   #10
RikuXan
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Wow, you are really mature John, instead of telling me either how to solve my problem, that it's not possible or you don't know the answer you tell me to get a windows server. You tell me in a board that's supposed to help people with their problems on linux machines. Sorry, but I think you are a bit misplaced here, because as far as I perceived it, the community consists of friendly and helping members, so this can't be the place for you. Better go talking useless shit in some other boards. Sorry to be so straightforward, but I just can't stand those people anymore, thinking they have to add their two cents everywhere they come by.
If anyone is willing or able to give me real help, he should just go forward, if I note he means to help me i'm very nice.

wbr RikuXan

Last edited by RikuXan; 10-21-2010 at 04:22 PM.
 
Old 10-21-2010, 05:30 PM   #11
John VV
Guru
 
Registered: Aug 2005
Posts: 12,665

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
my stand is and has always been
if you want to run proprietary Microsoft software , run it on Microsoft


direct x support in wine REQUIRES FULL openGL 2 hardware support
there is and has never been a way around that !
 
Old 10-21-2010, 05:56 PM   #12
RikuXan
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Yes, great you told me your opinion, but no offense, I didn't ask for an opinion, I asked for help in terms of updating my OpenGL drivers. I read your first answer and got what you want to tell me, but I can't get rid of the thought, that you didn't read the eighth post.

wbr RikuXan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Wine and OpenGL caa1980 Linux - Software 4 09-27-2007 05:09 PM
Installing Wine, no opengl support? beserkjay Fedora 2 11-19-2006 06:05 PM
Wine/openGL help thegsusfreek Linux - Games 4 09-21-2004 09:04 AM
No OpenGL support corbis_demon Linux - Newbie 0 07-01-2004 04:25 AM
Wine vs. OpenGL T-u-N-i-X Linux - Software 5 09-14-2003 09:43 PM


All times are GMT -5. The time now is 04:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration