Jump to content
xisto Community
Sign in to follow this  
abhiram

Wine Anyone? Wine with games....

Recommended Posts

Hi,I've installed Wine in Slackware 10.1. Some of the basic Windows programs are working fine such as Notepad and Waste. Since my Windows XP installation got screwed, I just tried installing the game 'F22 Raptor' (Ok.. it's a pretty old game, but easier and less resource hogging than MS Flight simulaor) in Linux and surprisingly, it worked. Even more surprising is the fact that the I could play the game with the sound and music without configuring anything in wine.cfg. But the only problem is the frame rate. It was pretty smooth in Windows, but in Linux, it's like watching a powerpoint presentation in fast forward. It can't be any more than 10-12FPS. Does anyone have any ideas about how to resolve this?Thanks ;).

Share this post


Link to post
Share on other sites

It's controlled by the DirectX interpreter, you might need to change some directx settings, I don't really know how to set this. This will interprete from DirectX to OpenGL.

Anyways, if you want to shell out a subscription fee, you can use Cedega.
https://www.transgaming.com/

xboxrulz

Share this post


Link to post
Share on other sites

Have you installed your graphics card ?If No, then you will be running MessaGL, which is Software OpenGL.To use hardware accelerated OpenGL, you will need to install the drivers from Nvidia.com, or ATI.com depending on your cards GPU.the program glxinfo will tell you what client and server openGL you are using, if the word Messa shows up anywhere, then your card is not installed, or not configured correctly.

Share this post


Link to post
Share on other sites

I've got the NVidia graphics driver installed. 'glxgears' is working and 'glxinfo' gives me a load of data at the top of which is mentioned Nvidia glx something, but there is no 'Messa' ('Mesa'?) any where. But still the game is pretty slow... I've tried to fool around with the wine configuration but no use.

 

Is there any way to change the graphics resolution settings of the game? Because F22 does not have any options to change the display resolution or anything. I've tried setting '800x600' in the config file, but it didn't help.

 

Anyways, if you want to shell out a subscription fee, you can use Cedega.

https://www.transgaming.com/

Nope... ;)... I prefer doing it the hard way.

Share this post


Link to post
Share on other sites

Although wine is good and alot of stuff can be played on it .like i have played MOHAA trhough wine with little hickups..its still an emulaotr. Windows games run best on Windows. You can always try a special version of wine from Transgaming corporation , called Cedga , it is meant for gaming , there are free binaries avialble.it would be helpful if you posted your glxinfo output here.

Share this post


Link to post
Share on other sites

[ off-topic ]

.its still an emulaotr

I love it when people say that... LOL.

 

Wine is a recusrise Acronym for "[W]ine s [N]ot an [E]mulator"

 

its the same for other Porjects like for example GNU.

 

peoplle are always saying GNU is a UNIX, even though GNU is a recursive acronym for "GNU's Not Unix"

 

[ back on topic ]

 

Wine (The free as in free beer version) does not support DirectX.

I would guess that F22 is detectng that DirectX is not available, and dropping back to software rendering. Cedeger fully supports DirextX 9 ! ;)

 

If you really want to play, maybe you could fork(); out the £9 it costs to get a subscription,

 

Are you a student ? if so... broaden your horrizons, and instead of spending the £9 on saterday night beer... spend it on WINE ;) LOL..

 

Im using Cedega right now...it supports DirectX 9b (the latest avalable)

It runs Counter Strike Source and Half Life2 at the same frame rate as windows. possably cos Linux can take full advantage of my amd64 ???

 

Plus....ive not had to touch any config files... yay for the Point2Play GUI :)

 

go buy cedger.. its worth it !

Share this post


Link to post
Share on other sites

Ok... here is what glxinfo says:

name of display: :0.0display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX Integrated GPU/AGP/SSE/3DNOW!
OpenGL version string: 1.5.1 NVIDIA 61.11
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
    GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shared_texture_palette,
    GL_EXT_stencil_wrap, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fence,
    GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
    GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_register_combiners,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_NV_texture_rectangle, GL_NV_vertex_array_range,
    GL_NV_vertex_array_range2, GL_NV_vertex_program, GL_NV_vertex_program1_1,
    GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
    GL_SUN_slice_accum
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2f 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x33 24 dc  0 32  0 r  .  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x34 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x35 24 dc  0 32  0 r  y  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None


I just can't seem to figure out how to lower the resolution. The game doesn't have any option to do that. I think it runs at the resolution of the desktop. How do I reduce the resolution of the desktop?

Share this post


Link to post
Share on other sites

Are you a student ? if so... broaden your horrizons, and instead of spending the ÂŁ9 on saterday night beer... spend it on WINE wink.gif LOL..

hmm... I'm getting second thoughts now. Yes, I am a student. 9 pounds converts to uh... nearly Rs. 600.... I can get a beer for Rs. 50 ;) LOL, I don't drink anyway.

I'll try fooling around with this for some more time. If it doesn't work, I guess I'll simply reinstall windows ;).

I would guess that F22 is detectng that DirectX is not available, and dropping back to software rendering.

I guess that might be the problem. I was under the impression that DirectX was completely supported in Wine.

Share this post


Link to post
Share on other sites

I just can't seem to figure out how to lower the resolution. The game doesn't have any option to do that. I think it runs at the resolution of the desktop. How do I reduce the resolution of the desktop?

all 3 keys at the same time ( ctrl alt + ) to increace screen resolution.
( ctrl alt - ) to decreace screen resolution.

Alternativly, use the screen size and rotate porgram (part of KDE in the system menu)

Xorg will let you scroll through screen sizes that are listed inn /etc/X11/xorg.conf porvided that thay are compatable with your refresh rate (also in /etc/X11/xorg.conf)
your card, and the driver.

you may need to edit /etc/X11/xorg.conf to get those tiny resolutions.

But to really get the frames up, you are going to either have to get the game running in OpenGL mode, or install Cedeger to get it working with DirectX.

Alternatily, have a look at flightgear.. a free open source flight simulator for Linux.
google for it.

EDIT:

DirectX was completely supported in Wine.

Nope... Wine suppports DirectX for things like sound, Joystick, Keyboard, and mouse.. but not the graphics component (Direct 3D)
Only cedeger does...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.