WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 9 posts ] 



 
Author Message
 Post Posted: Sat Jan 09, 2010 2:35 am 
Offline
Level 2
Level 2

Joined: Sat Jan 09, 2010 2:16 am
Posts: 11
Hi all!
I tried to install and run Jane's USAF and Super Pro 9.4 with no luck. The game installs fine, but I cannot make it work under Linux (P-IV 2.5 + 1Gb RAM + NVidia 440Go (64Mb) with Ubuntu 9.10 + Wine 1.1.35 + NVidia 96.43.13). The game runs fine in this very same computer under Windows XP, and my computer exceeds by far the game's requirements.
The original program (Jane's USAF) is listed as not working in the AppDB, but it is probably one of the best Air Combat Simulators and that is what I am trying to make it work.
I got the following log file when trying to run the game, and I was wondering if an experienced Wine user could tell me if the errors are unrecoverable or if there are workarounds to solve them.:

Code:
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000007 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x32ea08,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d7:IDirect3DViewportImpl_Clear  Trying to clear the color buffer without background material !
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d_draw:drawPrimitive Using software emulation because manual fog coordinates are provided
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
err:d3d7:IDirect3DDeviceImpl_7_SetRenderState Unhandled texture mag 4 !
fixme:wave:ESD_widMessage unknown message 2069!



Thanks!

Marcelo[/code]


Top 
 Post Posted: Sat Jan 09, 2010 5:19 am 
 
On Sat, Jan 9, 2010 at 09:35, Marcelo R <wineforum-user@winehq.org> wrote:
Quote:
Hi all!
I tried to install and run Jane's USAF and Super Pro 9.4 with no luck. The game installs fine, but I cannot make it work under Linux (P-IV 2.5 + 1Gb RAM + NVidia 440Go (64Mb) with Ubuntu 9.10 + Wine 1.1.35 + NVidia 96.43.13). The game runs fine in this very same computer under Windows XP, and my computer exceeds by far the game's requirements.

Wine implements DirectX on top of OpenGL and it might be using
features not present on you ancient graphics card (or its drivers...)
to implement some features.

Quote:
The original program (Jane's USAF) is listed as not working in the AppDB, but it is probably one of the best Air Combat Simulators and that is what I am trying to make it work.
I got the following log file when trying to run the game, and I was wondering if an experienced Wine user could tell me if the errors are √ā¬†unrecoverable or if there are workarounds to solve them.:

The games has issues (broken menus, not sure if it even runs without
98 compatibility set up...) under Windows XP.... Maybe running it in
Windows 98 mode helps....

Quote:
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16

Can the game be set for 32-bit color?

I can't remeber if 16 bit color under wine is like 256 colors where
you need to set up the X server properly to run in 16-0bit color....


Top 
 Post subject:
 Post Posted: Sat Jan 09, 2010 7:05 pm 
Offline
Level 2
Level 2

Joined: Sat Jan 09, 2010 2:16 am
Posts: 11
Hi,
Thanks for the answer.
Do you know any program that will test if wine is able to change the resolution of the graphic card properly? I think that might be one of the issues I need to fix to get the program working... cause it cannot be set to run in 32 bit color (or at least I did not find the way).


Top 
 Post Posted: Sun Jan 10, 2010 3:45 am 
 
On Sun, Jan 10, 2010 at 02:05, Marcelo R <wineforum-user@winehq.org> wrote:
Quote:
Hi,
Thanks for the answer.
Do you know any program that will test if wine is able to change the resolution of the graphic card properly? I think that might be one of the issues I need to fix to get the program working... cause it cannot be set to run in 32 bit color (or at least I did not find the way).

I'm not absolutly sure that that is the issue.....

You should be able to change the colors from the nVidia X settings
editor. (at least with the 180 drivers that I have...)

Super Pro looks interesting... Trying USAF on its own first MIGHT make
a difference as well...

Gert


Top 
 Post Posted: Mon Jan 11, 2010 3:39 am 
Offline
Level 2
Level 2

Joined: Sat Jan 09, 2010 2:16 am
Posts: 11
Hi Gert,

I think I moved forward somehow. I decided not to try USAF alone because everyone (even XP users) had problems with it. Instead of that I installed SuperPro 9.4 on top of it following the instructions.
From the SuperPro Launcher I get the following:

Code:
fixme:ole:OleLoadPictureEx (0xa6e824,2246,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32fa88), partially implemented.
fixme:ole:OleLoadPictureEx (0xa6e824,112958,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32fa58), partially implemented.
fixme:ole:OleLoadPictureEx (0xa6e824,2099,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32fa28), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x14c0a8)->(0x17be48, 0, (nil)), hacked stub.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on Logitech USB Headset, disabling mixer
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000007 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x33ea08,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d7:IDirect3DViewportImpl_Clear  Trying to clear the color buffer without background material !
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d_draw:drawPrimitive Using software emulation because manual fog coordinates are provided
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
err:d3d7:IDirect3DDeviceImpl_7_SetRenderState Unhandled texture mag 4 !
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1a57f18,0x1a59eb0): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1a57f18,0x1a59eb0): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1a57f18,0x1a59eb0): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1a57f18,0x1a59eb0): stub
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

      after 8729 requests (861 known processed) with 0 events remaining.

ALSA lib pcm.c:7237:(snd_pcm_recover) cannot recovery from underrun, prepare failed: Input/output error
XIO:  fatal IO error 25 (Inappropriate ioctl for device) on X server ":0.0"

      after 123 requests (119 known processed) with 282 events remaining.

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

      after 1027 requests (1021 known processed) with 0 events remaining.


Any ideas on what to do now?
Thanks!


Top 
 Post Posted: Mon Jan 11, 2010 10:18 am 
 
On Mon, Jan 11, 2010 at 10:39, Marcelo R <wineforum-user@winehq.org> wrote:
Quote:
Any ideas on what to do now?
Thanks!

Now might be a good time to wait for someone who is better at reading
Wine logs.... Using some native DLLs might reduce the amount of
messages, but I've got no idea if they are at all related to the
crash...

If the crash prints a stack track, you should post that as well... (It
provides info on which code crashed)

Filing a bug might be an option as well, but the 3rd party patch might
make it hard to reproduce.

If you have some time, read up on WINEPREFIX and play around with
different Wine settings. (Windows version and virtual desktop are the
most obvious candidates..)

Maybe I'll dust off my old USAF CDs sometime...

Gert


Top 
 Post subject: Played with some stuff
 Post Posted: Mon Jan 11, 2010 4:22 pm 
Offline
Level 2
Level 2

Joined: Sat Jan 09, 2010 2:16 am
Posts: 11
Hi Gert,

I already played with the configuration, and could make enough progress to get to this point...
Unfortunately there is no stack trace in the message, so I cannot add more info to this problem.
Taking a look at the log it seems the problem is related to wine and the X server. It's too bad the X server org.conf file is hard to configure. I have the NVidia X Server Settings application, but it seems it does not update the file with all the possible options for my card.
I have the feeling that the game changes the resolution of the screen to 800x600x16 and then to 1024x768x16 and those changes might be producing the bug. I would not be surprised if the lack of configuration of xorg.conf is responsible for this crash.... For example, I had to change all the default color depths from 24 to 16 to avoid the previous errors but for me it feels wrong to change that parameter. I feel X should be able to switch between 24 to 16 when needed... but maybe I am wrong.
I hope someone with enough knowledge of X and Wine could suggest something to try...
Here is my xorg.conf file:

Code:

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "DontZap" "False"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "NEC"
    HorizSync       31.0 - 60.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       31.0 - 60.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce4 440 Go"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce4 440 Go"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    16
    Option         "AddARGBGLXVisuals" "True"

    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    16
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1024x768_60 +0+0"
    SubSection     "Display"
        Depth       16
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    16
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: 1024x768_60 +1280+0, DFP: 1280x1024_60 +0+0; DFP: 1024x768 +0+0,NULL"
    SubSection     "Display"
        Depth       16
    EndSubSection
EndSection



Thanks again!

Marcelo


Top 
 Post subject: Almost working...
 Post Posted: Mon Jan 11, 2010 9:53 pm 
Offline
Level 2
Level 2

Joined: Sat Jan 09, 2010 2:16 am
Posts: 11
Hi,
I got to have it "almost" working.
The game installs, has sound, shows the configuration screen, but... when the simulation begins everything is fine for about 5 seconds. After that the screen will turn black and just the cursor will be shown. Randomly I am able to see everything again for a few seconds, but then again, the infamous black screen.
Any ideas of how to solve this? If we can, the game will be fully playable!

I tried different things to make it work, and after playing a lot with different things I ended up with the following:
used winetricks to install d3dx9 (I don't know if this can be the cause)
Set the screen color depth to 16 and then started the game.
Set windows compatibility to Win2000.
Then I modified the wine registry with the following:
Direct3D -> DirectDrawRenderer -> opengl

Thanks,

Marcelo.


Top 
 Post subject: I forgot to mention
 Post Posted: Mon Jan 11, 2010 9:59 pm 
Offline
Level 2
Level 2

Joined: Sat Jan 09, 2010 2:16 am
Posts: 11
I also used this:

Under X11 Driver-> UseXrandR -> Y


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 9 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: Bing [Bot] and 6 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: