LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wine - OpenGL support (https://www.linuxquestions.org/questions/linux-newbie-8/wine-opengl-support-838693/)

RikuXan 10-17-2010 05:39 PM

Wine - OpenGL support
 
1 Attachment(s)
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

John VV 10-17-2010 06:05 PM

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

RikuXan 10-17-2010 06:20 PM

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

John VV 10-17-2010 06:40 PM

for software direct x to run in wine you NEED openGL 2+ or greater hardware support

jmc1987 10-18-2010 03:28 AM

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.

RikuXan 10-18-2010 09:25 AM

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

jmc1987 10-19-2010 06:37 AM

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

RikuXan 10-19-2010 10:51 AM

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

John VV 10-19-2010 01:55 PM

then use a windows 2008 server !

RikuXan 10-21-2010 04:00 PM

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

John VV 10-21-2010 05:30 PM

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 !

RikuXan 10-21-2010 05:56 PM

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


All times are GMT -5. The time now is 07:33 AM.