Error with GTA on one box, not on another
Error with GTA on one box, not on another
Hello,
Running GTA (the first one, freely available on Rockstar site ->
http://www.rockstargames.com/classics/gta.html) on my laptop, I have no
problem in fullscreen.
However, on my desktop computer, where I tried to run GTA from freevo, I got
the error message "Error 296.473 - Cannot find the default display mode". A
strings on executable showed me that it is a message from the game itself,
not from wine. I'm not the only one to have this problem, as this message is
referenced in AppDB
(http://appdb.winehq.org/objectManager.p ... on&iId=563).
The desktop and laptop installations are nearly the same: Archlinux
up-to-date, wine 0.9.56. I modified the xorg.conf so that they would be as
identical as possible (only graphic card is different, and touchpad is
configured on the laptop).
I ran the game as follow:
WINEDEBUG=+xrandr,+x11settings,+x11drv,+ddraw,+d3d,+ddraw_geom,+graphics,+win,
+win32,+xrender wine Grand\ Theft\ Auto.exe > gta.log 2>&1
on both computers and diff the resulting file. There are a lot of differences,
but some seems importants to me:
Running GTA (the first one, freely available on Rockstar site ->
http://www.rockstargames.com/classics/gta.html) on my laptop, I have no
problem in fullscreen.
However, on my desktop computer, where I tried to run GTA from freevo, I got
the error message "Error 296.473 - Cannot find the default display mode". A
strings on executable showed me that it is a message from the game itself,
not from wine. I'm not the only one to have this problem, as this message is
referenced in AppDB
(http://appdb.winehq.org/objectManager.p ... on&iId=563).
The desktop and laptop installations are nearly the same: Archlinux
up-to-date, wine 0.9.56. I modified the xorg.conf so that they would be as
identical as possible (only graphic card is different, and touchpad is
configured on the laptop).
I ran the game as follow:
WINEDEBUG=+xrandr,+x11settings,+x11drv,+ddraw,+d3d,+ddraw_geom,+graphics,+win,
+win32,+xrender wine Grand\ Theft\ Auto.exe > gta.log 2>&1
on both computers and diff the resulting file. There are a lot of differences,
but some seems importants to me:
Error with GTA on one box, not on another
Hello,
Running GTA (the first one, freely available on Rockstar site ->
http://www.rockstargames.com/classics/gta.html) on my laptop, I have no
problem in fullscreen.
However, on my desktop computer, where I tried to run GTA from freevo, I got
the error message "Error 296.473 - Cannot find the default display mode". A
strings on executable showed me that it is a message from the game itself,
not from wine. I'm not the only one to have this problem, as this message is
referenced in AppDB
(http://appdb.winehq.org/objectManager.p ... on&iId=563).
The desktop and laptop installations are nearly the same: Archlinux
up-to-date, wine 0.9.56 with default settings. I modified the xorg.conf so
that they would be as identical as possible (only graphic card is different,
and touchpad is configured on the laptop).
I ran the game as follow:
WINEDEBUG=+xrandr,+x11settings,+x11drv,+ddraw,+d3d,+ddraw_geom,+graphics,+win,
+win32,+xrender wine Grand\ Theft\ Auto.exe > gta.log 2>&1
on both computers and diff the resulting file. There are a lot of differences
(video modes and so on), but some seems importants to me:
Following messages are only on laptop side (where it works):
trace:ddraw:DllMain appname = [Grand Theft Auto.exe\Direct3D]
trace:win:GetDesktopWindow started explorer pid 0014 tid 0015
There is a call to DirectDrawCreate on both sides that are corresponding, the
one on the laptop side being just before the call to GetDesktopWindow.
Can it be the call to DirectDrawCreate that fails ? Does anybody know if there
is a system setting or a wine setting that could influence it ? Or is it only
a hardware difference ?
Any ideas to investigate more ?
Regards,
Colin
Running GTA (the first one, freely available on Rockstar site ->
http://www.rockstargames.com/classics/gta.html) on my laptop, I have no
problem in fullscreen.
However, on my desktop computer, where I tried to run GTA from freevo, I got
the error message "Error 296.473 - Cannot find the default display mode". A
strings on executable showed me that it is a message from the game itself,
not from wine. I'm not the only one to have this problem, as this message is
referenced in AppDB
(http://appdb.winehq.org/objectManager.p ... on&iId=563).
The desktop and laptop installations are nearly the same: Archlinux
up-to-date, wine 0.9.56 with default settings. I modified the xorg.conf so
that they would be as identical as possible (only graphic card is different,
and touchpad is configured on the laptop).
I ran the game as follow:
WINEDEBUG=+xrandr,+x11settings,+x11drv,+ddraw,+d3d,+ddraw_geom,+graphics,+win,
+win32,+xrender wine Grand\ Theft\ Auto.exe > gta.log 2>&1
on both computers and diff the resulting file. There are a lot of differences
(video modes and so on), but some seems importants to me:
Following messages are only on laptop side (where it works):
trace:ddraw:DllMain appname = [Grand Theft Auto.exe\Direct3D]
trace:win:GetDesktopWindow started explorer pid 0014 tid 0015
There is a call to DirectDrawCreate on both sides that are corresponding, the
one on the laptop side being just before the call to GetDesktopWindow.
Can it be the call to DirectDrawCreate that fails ? Does anybody know if there
is a system setting or a wine setting that could influence it ? Or is it only
a hardware difference ?
Any ideas to investigate more ?
Regards,
Colin
Re: Error with GTA on one box, not on another
Make sure it lists all the display resolutions this game needs. And verify the output withe the +xrandr that Wine finds the requested resolution.Colin Pitrat wrote:The desktop and laptop installations are nearly the same: Archlinux
up-to-date, wine 0.9.56 with default settings. I modified the xorg.conf so
that they would be as identical as possible (only graphic card is different,
and touchpad is configured on the laptop).
Error with GTA on one box, not on another
What graphics card and driver on both machines?
e.g. what does lspci say?
e.g. what does lspci say?
Error with GTA on one box, not on another
I reply to both in one mail:
vitamin wrote:
$ xrandr -q
Screen 0: minimum 320 x 175, current 1152 x 864, maximum 1152 x 864
default connected 1152x864+0+0 0mm x 0mm
1152x864 75.0* 70.0 60.0
1152x768 55.0
1024x768 75.0 85.0 70.0 60.0 87.0
(...)
800x600 85.0 75.0 72.0 60.0 56.0
(...)
640x480 85.0 75.0 60.0 73.0
(...)
A total of 26 resolutions, and a total of 62 modes. The resolutions needed by
GTA's menu is 640x480, which is in the list as you can see.
The default resolution is unusual (1152x864), but so is the one on the laptop
(1280x800).
In the output, with WINEDEBUG=+xrandr, I got lines like
trace:xrandr:X11DRV_XRandR_Init - at 1: 1152x864 (3 rates): 75, 70, 60 Hz
trace:xrandr:X11DRV_XRandR_Init - at 1: 1152x768 (1 rates): 55 Hz
(...)
with all modes listed as in xrandr -q.
Dan Kegel wrote:
On the desktop (where it doesn't work): ATI Rage 128 Pro with driver "ati"
On laptop:
$ lspci
00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
00:06.1 Modem: nVidia Corporation nForce3 Audio (rev a2)
00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go
64M] (rev a3)
02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000
Controller (PHY/Link)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless
LAN Controller (rev 03)
02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
02:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function
(rev 01)
On desktop:
$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub
Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev
02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev
02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev
02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF
02:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
(rev 11)
02:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev
11)
02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet
Controller (rev 02)
Regards,
Colin
vitamin wrote:
On the desktop:Make sure it lists all the display resolutions this game needs. And verify
the output withe the +xrandr that Wine finds the requested resolution.
$ xrandr -q
Screen 0: minimum 320 x 175, current 1152 x 864, maximum 1152 x 864
default connected 1152x864+0+0 0mm x 0mm
1152x864 75.0* 70.0 60.0
1152x768 55.0
1024x768 75.0 85.0 70.0 60.0 87.0
(...)
800x600 85.0 75.0 72.0 60.0 56.0
(...)
640x480 85.0 75.0 60.0 73.0
(...)
A total of 26 resolutions, and a total of 62 modes. The resolutions needed by
GTA's menu is 640x480, which is in the list as you can see.
The default resolution is unusual (1152x864), but so is the one on the laptop
(1280x800).
In the output, with WINEDEBUG=+xrandr, I got lines like
trace:xrandr:X11DRV_XRandR_Init - at 1: 1152x864 (3 rates): 75, 70, 60 Hz
trace:xrandr:X11DRV_XRandR_Init - at 1: 1152x768 (1 rates): 55 Hz
(...)
with all modes listed as in xrandr -q.
Dan Kegel wrote:
On the laptop (where it works fine): nVidia GeForce 4 with driver "nvidia"What graphics card and driver on both machines?
e.g. what does lspci say?
On the desktop (where it doesn't work): ATI Rage 128 Pro with driver "ati"
On laptop:
$ lspci
00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
00:06.1 Modem: nVidia Corporation nForce3 Audio (rev a2)
00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go
64M] (rev a3)
02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000
Controller (PHY/Link)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless
LAN Controller (rev 03)
02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
02:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function
(rev 01)
On desktop:
$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub
Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev
02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev
02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev
02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF
02:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
(rev 11)
02:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev
11)
02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet
Controller (rev 02)
Regards,
Colin
Error with GTA on one box, not on another
Hello again,
I think I finally found something that could be a good beginning. I ran GTA on
two boxes with WINEDEBUG=+relay,+ddraw,+xrandr,+x11settings and compared the
two output.
On the laptop (where it works), there are three sets of calls to
EnumDisplayMode, browsing three times all modes.
On the desktop (where it doesn't work), there is a full set of calls to
EnumDisplayMode, followed by the beginning of a second one that doesn't reach
end. It is interrupted with the following message:
trace:ddraw:IDirectDrawImpl_EnumDisplayModes Application asked to terminate
the enumeration
Do you have any idea why this call could end like this ? Are there too many
graphic modes on the desktop computer ? How could I reduce the set ? Is this
the supposed behavior that it stops like this ?
Regards,
Colin
I think I finally found something that could be a good beginning. I ran GTA on
two boxes with WINEDEBUG=+relay,+ddraw,+xrandr,+x11settings and compared the
two output.
On the laptop (where it works), there are three sets of calls to
EnumDisplayMode, browsing three times all modes.
On the desktop (where it doesn't work), there is a full set of calls to
EnumDisplayMode, followed by the beginning of a second one that doesn't reach
end. It is interrupted with the following message:
trace:ddraw:IDirectDrawImpl_EnumDisplayModes Application asked to terminate
the enumeration
Do you have any idea why this call could end like this ? Are there too many
graphic modes on the desktop computer ? How could I reduce the set ? Is this
the supposed behavior that it stops like this ?
Regards,
Colin
Re: Error with GTA on one box, not on another
Read what I asked first time. And just having that resolution listed in the output of the xrandr doesn't make it available to Wine. It has to be configured in xorg.confColin Pitrat wrote:Do you have any idea why this call could end like this ? Are there too many
graphic modes on the desktop computer ? How could I reduce the set ? Is this
the supposed behavior that it stops like this ?
Error with GTA on one box, not on another
On mardi 18 mars 2008, vitamin wrote:
Here are my two xorg.conf. As you can see, they are really lookalike.
Regards,
Colin
I don't have any Modeline or Modes in xorg.conf, should I ?Colin Pitrat wrote:Read what I asked first time. And just having that resolution listed in theDo you have any idea why this call could end like this ? Are there too
many graphic modes on the desktop computer ? How could I reduce the set ?
Is this the supposed behavior that it stops like this ?
output of the xrandr doesn't make it available to Wine. It has to be
configured in xorg.conf
Here are my two xorg.conf. As you can see, they are really lookalike.
Regards,
Colin