GTA San Andreas Issue

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

GTA San Andreas Issue

Post by vanguarda »

I trying play GTA San Andreas and it is returning " Cannot find 800x600x32 video mode". I worried so my wine games pointed for a Working Directory that register a dosdevice instead of drive_c. Thereby I'm getting" /home/normal/.wine/dosdevices/c:/Program Files/Rockstar Games/GTA San Andreas" path and "win:EnumDisplayDevicesW ((null),0,0x177f6dc,0x00000000), stub!" konsole erro. Can be a wrong in Working Directory the main problem in my system with this wine 1.1.11 program???
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: GTA San Andreas Issue

Post by vitamin »

vanguarda wrote:I trying play GTA San Andreas and it is returning "Cannot find 800x600x32 video mode".
What's the output of 'xrandr' command looks like?
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

Post by vanguarda »

This is the xrandr command returns:
normal@maq7:~/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas$ xrandr
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 50.0* 53.0 54.0
800x600 51.0 56.0 57.0 58.0
640x480 52.0 62.0 63.0 64.0
832x624 55.0
800x512 59.0
640x512 60.0 61.0
576x432 65.0
512x384 66.0 67.0 68.0
416x312 69.0
400x300 70.0 71.0 72.0
320x240 73.0 74.0 75.0
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

vanguarda wrote:$ xrandr
800x600 51.0 56.0 57.0 58.0
looks like you have DynamicTwinView enabled (which is default in nvidia drivers). Disable it by adding this "Option" line to your video device configuration section:

Code: Select all

Section "Device"
  Driver       "nvidia"
...
  Option       "DynamicTwinView" "FALSE"
EndSection
And restart X (logout).
IneedAname

GTA San Andreas Issue

Post by IneedAname »

On Mon, 12 Jan 2009 16:52:16 -0600
"vitamin" <[email protected]> wrote:
looks like you have DynamicTwinView enabled (which is default in nvidia drivers). Disable it by adding this "Option" line to your video device configuration section:

Code:
Section "Device"
Driver "nvidia"
...
Option "DynamicTwinView" "FALSE"
EndSection
Vitamin your my hero (for the week). Having the wrong refresh rate in xrandr has being bugging me for over a year now. I have being using nvidia-settings to set the right refresh rate and overrides in wine to stop it from using xrandr wrong refresh rate.

Something to note about using "DynamicTwinView" "FALSE" you need it in the second device section or it does not work.
Ones you have set that option nvidia-settings will not let you change refresh rate or resolution.

Section "Device"
Identifier "Device0"
Driver "nvidia"
Vendorname "NVIDIA Corporation"
Option "DynamicTwinView" "FALSE"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Vendorname "NVIDIA Corporation"
Boardname "GeForce 6600 GT"
Option "DynamicTwinView" "FALSE"
EndSection

Three cheers for Vitamin!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: GTA San Andreas Issue

Post by vitamin »

IneedAname wrote:Something to note about using "DynamicTwinView" "FALSE" you need it in the second device section or it does not work.
You should really have only one, unless you have 2 video cards.
IneedAname

GTA San Andreas Issue

Post by IneedAname »

On Tue, 13 Jan 2009 09:39:44 -0600
"vitamin" <[email protected]> wrote:
You should really have only one, unless you have 2 video cards.
I only have one video card.
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

Post by vanguarda »

This is a small output of /etc/X11/xorg.conf. Strangely my nvidia-settings command returns " nvidia-settings: symbol lookup error: /usr/lib/libpangocairo-1.0.so.0: undefined symbol: cairo_has_current_point". What's this Option "DynamicTwinView" "FALSE"????

# Load "dri"
Load "dbe" # Double buffer extension

Section "Device"

#VideoRam 262144
# Insert Clocks lines here if appropriate
Identifier "nvidia"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "generico"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16 Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

vanguarda wrote:What's this Option "DynamicTwinView" "FALSE"????
RTFM. Nvidia driver comes with pretty extensive (and really useful readme).
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

Post by vanguarda »

Ok!!! But is only this problem????
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

vanguarda wrote:Ok!!! But is only this problem????
Did you try it already?
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

Post by vanguarda »

Hi!!! I edited xorg.conf but unfortunately it wasn't the solve!!! In fact, I was very intrigued about sentence "RTFM. Nvidia driver comes with pretty extensive (and really useful readme)" and googled about this RTFM term and DynamicTwinView Option... So I was trying to install wine correctly since last month. I tried a wine 1.1.12.tgz and it was broken. After that I installed wine source code enabling open-gl wine flags and erros... Searched about ways to fix it using gecko and didn' t get sucess! So support suggested to install another version and now I installed a 1.1.11.tgz and there are problems yet. Then some questions occurs in adition to large quantity of erros in it. Then I'll continue but I think newbies like me should be pointed to urls only in weaks questions!
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

Post by vanguarda »

This is my xorg.conf using Option DynamicTwinView". Now what to do ????


Section "Device"

#VideoRam 262144
# Insert Clocks lines here if appropriate
Identifier "nvidia"
Driver "nvidia"
Option "DynamicTwinView" "FALSE"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "generico"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

vanguarda wrote: DefaultDepth 16
Should be 24.
vanguarda
Level 2
Level 2
Posts: 32
Joined: Sat Jan 03, 2009 10:03 am

Post by vanguarda »

Excellent, hehhe!!!!!!!! Now, it´s ok!!!! In fact, I won't take this like a solved topic because I'll wish to learn much more and will intend to player in full screen too. Very good and thanks a lot!!!!
Locked