LinuxQuestions.org
Review your favorite Linux distribution.
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-16-2005, 02:54 PM   #1
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Rep: Reputation: 30
need help with gta 3


hi,

I have Fedora Core 2 (kernel 2.6.10-1.9_FC2) and I've been trying to play gta 3 with wine.
but after all the trying I only can start up the game and it goes 0.5 frames in a sec I suppose
Pretty weird isn't it???

Can anyone help me please?

Thnx if you can help me ^_^
 
Old 01-16-2005, 05:16 PM   #2
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Have you tried ... checking to see if you have 3D acceleration? Renicing you r game?

To check to see if you have 3D acceleration on your video card do this in a console... glxinfo. Bring back the info when you did. If you can't copy and paste, tell me, and I'll tell you what you need to look for.

If you do have 3D acceleration, then try renicing your game... like this... when you start your game from a console put this at the end of the line. && renice 10 "pgrep wineserver" ... so it would look like this... (NOTE: I don't know what the executable is, so its probably something else)

$ wine gta.exe && renice 10 "pgrep wineserver"

Try changing th renice process to other values, ranging from 5 to 19. See if you see a difference. Hope I helped.
 
Old 01-17-2005, 02:10 PM   #3
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Original Poster
Rep: Reputation: 30
hi,

you told me to send me back the info I get when i typed glxinfo well... here it is:
(maby it's important but I don't know: my video card is nvidea Gforce III)

$ glxinfo

name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGI_make_current_read,
GLX_SGIS_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_shadow, GL_ARB_shadow_ambient,
GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_mirror_once,
GL_ATI_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient
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
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None

o and if I try
$ wine gta3.exe && renice 10 "pgrep wineserver"

I get :
unhandled exception at: c0000005
At adress: 48fe4605

can you help me out
 
Old 01-17-2005, 02:51 PM   #4
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
haveing very bad framerates with MESA as opneGL provider is nothing new.
Try installing the NVidia/ATi drivers for your card.

If you have installed the drivers do the following: (example for Nvidia)

glx_info | grep vendor

3 Line sshould apear, each having Nvidia Corp as vendor.
As long as you dont get this output, openGL will work but only in software mode.
 
Old 01-18-2005, 11:31 AM   #5
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Original Poster
Rep: Reputation: 30
hi,

I get this:

$ glxinfo |grep vendor
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Mesa project: www.mesa3d.org

so do I need to download an nvidia driver? (I was mistaking at my last message I have GeForce 4 )

Thanks for help
 
Old 01-18-2005, 07:02 PM   #6
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Yes... and when you do, use my info on how to install them. There a little out of date, since the newest veresion (if by the time you read this, another ones comes out) should fix the memory leak issue. If anything just patch it. It won't hurt believe me.

NOTE: Before you go one, you need to install your kernel source, if you have red hat, you should have checked off "Development" tools at the install screen, or go to the package management program they have somewhere in the menu, and install it from there. In Mandrake, go into a terminal and type "su" then your password, then type "urpmi kernel-source". If you have other distrobutions, like slackware, and you don't know how to install the kernel-source, then you need to go back to Mandrake or Red Hat for little bit. Because I won't help you with something that your supposed to learn on your own, or I just don't know how. :]
ALSO NOTE: Fedora Core 3, doesn't come with the kernel source. Or at least mine didn't, someone needs to help out on where the hell Red Hat put it at.
ALSO ALSO NOTE: Slackware, and BSD distros, don't use init 5 as a start up process to launch the GUI. So use init 4 instead. If you don't know what Im talking about, just read on, and you'll understand close to the end.

Heres what you do. Go download that file at nvidia.com at the drivers section. To save you headaches save the file in your home directory. Which is /home/yourloginname/, in other words, when you open up a file browser you would be in your main home directory. Now save the latest nvidia file to that directory, then with that link provided above, go to it. Theres a file (the only file) that you can download, you should have no problem finding this. Download it and save it to your home directory. Now open up a terminal, shell, or command line whatever you want to call it. It should be a little Computer Monitor with a Shell on it, or just a Computer Monitor. If it isn't, then go to the start button, and go to system, system utilities, or just look at the system like pull out menus, and look for Terminal, or Shell. Now we are in the command line. It should look something like this...

"[george@localhost george]$" of course the name george will be different, unless thats your name. Now type in "cd" which means change directory, and you will be in your home direcotory for sure. Though, it should already be there, I was just covering some tracks to make dead sure we are in there, and not somewhere else. Now type "ls" which means to "list contents" of that directory. It should look something like this...

[george@localhost george]$ ls
NVIDIA-Linux-x86-1.0-6629-pkg1.run
NVIDIA_kernel-1.0-6629-1161283.diff.txt
[george@localhost george]$

Obviously it won't look exactly like that since you may have downloaded more files. But it should look similar.

Now, just type the rest. If you want to know what it does, just ask, im in a hurry, sry, but I'll describe them later if you want me to.

[george@localhost george]$ chmod a+x NVIDIA-Linux-x86-1.0-6629-pkg1.run
So you can make the file executeable.

[george@localhost george]$ ./NVIDIA-Linux-x86-1.0-6629-pkg1.run --extract-only
This will make a sub folder named NVIDIA-Linux-x86-1.0-6629-pkg1/

[george@localhost george]$ cd NVIDIA-Linux-x86-1.0-6629-pkg1/
You have no changed the directory to the file you just unpacked.

[george@localhost george]$ patch -p0 < /home/yourname/NVIDIA_kernel-1.0-6629-1161283.diff.txt
this will make patch your nvidia drivers.

[george@localhost george]$ su
Password:
When you type SU, you want to become the root user, this is the password you put in when you were installing your linux distro. If you don't know what it is, then more then likely this isn't your computer, and you shouldn't be installing this driver on ti. ;]
Anyways, put the password in at the prompt (you won't see your password) and press enter you'll see your dollar sign ($) change to a number sign. (#)

[root@localhost george]# init 3
This will shutdown the x server, and you'll will be confronted with a black screen with a command prompt, very similar to DOS. NOTE: In red hat 9, you type telinit 3, not init 3. Probably same goes for the Fedora Core line, I don't remember.

You'll will be prompted with a login screen. Just type in root as the user name, or user login. And for the password, put what you put when you did the su command.

You'll be in an enviroment that looks the same as when you changed into root in your nice little GUI.

[root@localhost george]# cd /home/yourname/NVIDIA-Linux-x86-1.0-6629-pkg1/
This will change directory from the root directory, to the file that you need to get in, that is located in your reguarl user directory.

[root@localhost george]# ./nvidia-installer
A license agreement will pop up. Press the left arrow one time to be on the "accept" button. Believe me, the one that is highlighted is NOT the one that you'll be pressing when your press enter.

Now it'll look for your kernel source, you need to have it in order to install this driver. If you don't have it, or if the installer doesn't find it, refer back to the top of my how-to to found out how to install them. If it doesn't say anything about the kernel-source, then just move on. If there are any errors such as "we have found the rivafb module, and may confilict with this driver" don't worry about it, it won't slow down performance.

Once its done doing everything it needs to do. You'll be back in the command line. Now type "startx" and your GUI will be back on. And instead of being in a normal user, you will be in a root desktop, which, in some distros, like mandrake, it'll be different, like a red background, or no icons on the desktop. So your gonna have to find your way to the Terminal, or Shell. It will be in the Start menu like said earlier in this how to. Now when you find it, just keep going with this how-to.
NOTE: the next step requires a wordpad like program to use, use the one that works for you. Or have installed. If Kate doesn't work, like I will show in the next step, use gedit, if gedit isn't install or doens't work, use kwrite. If none don't work, then you need to figure out why your distrobution doesn't come with a decent text editory.

[root@localhost george]# kate /etc/X11/xorg.conf
This will open up your X file ( :] ) that manages your video and mouse, and your whole desktop enviroment. NOTE: Some users still use XFree86, if thats the case, replace xorg.conf with XF86Conf, or XF86Conf-4.

In this file we need to edit 2 sections. One is the "modules" section. Next is the "Device" section. I'll show you my whole config file, so you can have a better understanding on what Im trying to show you... (see further down, as an example of what I say should look like)

in the section Section "Module", make sure you have Load "Glcore", and Load "dri" erased, and make sure you have Load "glx" in there, if it is not, then put it there.

In Section "Device", change the driver name in Section "Device", to "nvidia".

Now save the file, and exit, then logout. You'll be back in your command line. In the command line, type "init 5" or "telinit 5" if you have Red Hat, or Red Hat products, and you will be back at the normal login screen, and before you get to the login screen, you should see the nVidia logo. If you see this then you install them correctly. Now login into any user, and in a Terminal, or Shell, type "glxgears" a series of rotating cogwheels will apear. And if it doesn't say anything like "no dri have been dected" or found or whatever, then your fine. And you should get over 500fps if you have them installed. I get almost 3,000 fps when I had my GeForce FX 5500, with an AMD Athlon XP 2500+, 512megs of ram, in 16 bit mode. And I get around 2,300 fps, when in 24 bit mode. NOTE: in order for you to run high end games like Doom3, and or Half Life 2 and CS:S, you need to run in 24bit mode.

I hope this helped you!

This is my X file you can reference to.
----------------------------------------------------------------------------------------------------------
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
Option "DPMS"
Option "IgnoreEDID" "1"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 01-19-2005, 10:22 AM   #7
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Original Poster
Rep: Reputation: 30
thanks but now if I typ glxgears I get this:

$ glxgears
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

did I configure something wrong in the xorg.conf file???

Section "nvidia"
Identifier "Videocard0"
Driver "nv"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

can you help me with this one please?
 
Old 01-21-2005, 02:26 PM   #8
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Original Poster
Rep: Reputation: 30
I stil get
unhandled exception: c000005
at adress:204b4331

And the console shows:

$ wine gta3.exe

Xlib: extension "GLX" missing on display ":0.0".
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
epoll_ctl: Operation not permitted
fixme:dinput:JoystickAImpl_GetProperty Unknown type 24 (<guid-0x0018>)
Xlib: extension "GLX" missing on display ":0.0".
fixme:d3d_caps:IWineD3DImpl_GetDeviceCaps GetDeviceCaps called but no GL Context - Returning dummy values
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x204b4331).
In 32 bit mode.
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:204b4331 ESP:2d7ff6d8 EBP:2d7ff6ec EFLAGS:00010256( - 00 RIZAP1)
EAX:00000000 EBX:73c732b4 ECX:0000004e EDX:00000000
ESI:73c70452 EDI:73c70452
Stack dump:
0x2d7ff6d8: 20564fdc 73c71b78 2d7ff87c 008e2ab0
0x2d7ff6e8: 73c70452 2d7ff864 73c6961a 00000000
0x2d7ff6f8: 73c70452 00000000 2d7ff7a8 2d7ff708
0x2d7ff708: fbad8001 6891a4f2 6891a4f2 6891a4f2
0x2d7ff718: 6891a4f2 6891a532 6891a8c7 6891a4f2
0x2d7ff728: 6891a8c7 00000000 00000000 00000000
Backtrace:
=>1 0x204b4331 (0x2d7ff6ec)
2 0x73c6961a in wined3d (+0x961a) (0x2d7ff864)
3 0x73c6c8b1 IWineD3DImpl_GetDeviceCaps+0x5e1 in wined3d (0x2d7ff8b8)
4 0x3be87b29 IDirect3D8Impl_GetDeviceCaps+0x29 in d3d8 (0x2d7ff8d0)
5 0x005b74a3 in gta3 (+0x1b74a3) (0x00000000)
0x204b4331: movzbl 0x0(%edx),%eax

Can you please help me out I just wanna play GTA III it's one of my favourite games
 
  


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
any GTA-like games for Linux? LavaDevil94 Linux - Software 8 03-31-2019 03:34 AM
GTA Vice City in Cedega objorkum Linux - Games 2 06-19-2005 06:42 AM
error while running GTA III in Wine vegetassj2 Linux - Games 8 02-10-2005 05:31 AM
gta vice city in wine drigz Linux - Games 11 07-02-2004 02:11 PM
Can GTA: Vice City be used on a linux box? ARComets14 General 6 09-20-2003 06:16 PM

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

All times are GMT -5. The time now is 02:39 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