please.no.cheese@gmail.com
2006-May-28 19:35 UTC
[Wine] Problems to find a usefull wine configuration
Dear good wine people, I wanted to use cedga or wine so i downloaded all the required packages (mesa, SDL, freetype, etc) and downloaded wineCVs.sh and runned it. I tryied downloading two profiles and compiling them and got two different results. Profile 1: cedega --------------------- I compiled and installed without problem I configured cedega to include its own virutal disc, i copied all the dlls from the windows distribution to the system32 directory in drive_c/windows. I thought this could cause no problem because there is a dll override section in the config file which protects wine from using the native dll. This is an extract from the config file [DllOverrides] "commdlg" = "builtin, native" "comdlg32" = "builtin, native" "ver" = "builtin, native" "version" = "builtin, native" "shell" = "builtin, native" "shell32" = "builtin, native" "shfolder" = "builtin, native" "shlwapi" = "builtin, native" (..... it goes on and on....) I run several windows programs and every single one seems to fail with the following error: err:win:GetDesktopWindow Wine init error: either you're trying to use an invalid native USER.EXE config, or some graphics/GUI libraries or DLLs didn't initialize properly. Aborting. There are no more error lines. I run cedega with some trace prints so i can add more information to this message, here are the lines surrounding the error. 2227 - 0002:trace:dialog:DIALOG_ParseTemplate32 EXSTYLE 0x00000000 2227 - 0002:trace:dialog:DIALOG_ParseTemplate32 CAPTION L"" 2227 - 0002:trace:heap:RtlAllocateHeap (b7aa0000,00000002,00000020): returning b7aa0df0 2227 - 0002:trace:nonclient:AdjustWindowRectEx (0,0)-(0,0) 00c00000 0 00000001 2227 - 0002:trace:nonclient:AdjustWindowRectEx Adjusted values are: (0,0)-(0,0) 2227 - 0002:trace:atom:ATOM_GetAtomNameW (global) 8002 -> L"#32770" 2228 - 0002:trace:win:WIN_CreateWindowEx L"" L"#32770" ex=00000001 style=80c80082 0,0 0x0 parent=0000 menu=0000 inst=00400000 params=(nil) 2228 - 0002:trace:win:dump_window_styles style: WS_POPUP WS_CAPTION WS_SYSMENU 00000082 2228 - 0002:trace:win:dump_window_styles exstyle: WS_EX_DLGMODALFRAME 2228 - 0002:trace:win:WIN_CreateWindowEx winproc type is 3 (WIN_PROC_32W) 2228 - 0002:err:win:GetDesktopWindow Wine init error: either you're trying to use an invalid native USER.EXE config, or some graphics/GUI libraries or DLLs didn't initialize properly. Aborting. 2228 - 0002:trace:module:MODULE_InitDLL (zrgeom.dll,PROCESS_DETACH,0x1) - CALL 2 I found no usefull information about that error and have no ideas regarding the possible cause of it. Now, i still tried a different configuration.... Profile 2: standard wine with directx9 patches --------------------------------------------------------- It also compiled perfectly, i had the same disk configuration. Because the last wine cvs is configured by the register and no the config file as cedega. I configured it separately, i just selected the proper options in the winecfg executable. As far as i understood the dll order is always bultin -> native in this version so i needed not to worry because dll overwriting. Now, this version worked much better, it was actually able to show the main script of one game i have called Z2SteelSoldiers, i needed to run it in a desktop window though, because i tries to change resolution to 640x480. The game showed the main menu, drawed the mouse pointer and ever produced sound. One problem was that the sound was very noisy and there were buffer underrun messages about the sound printed in the console. The most dissapointing fact was that the game window rejected the mouse, the X11 mouse never entered the window while the game's mouse pointer stayed always in the upper left corner of the window itself. When i tried to enter the window with the mouse it dissapeared and appeared somewhere else in the screen. This behaiviour appeared in all the possible configurations i could thought about in graphics section of the configuration utility including changing the Directx mouse grabbing capability on and off. But when the option was on, it was ever worse, because i could not do anything with the system and had to reset the computer to continue using it. I also tryied this configuration with another program. Is called Anim8or. It is a 3D modeller, but pretty simple. I use it in windows and is one of the reasons i still have to restart in Windows sometimes. The programm reacted better, i could open a .an8 file and see and object and interact with the programm. It worked fine but there were defects in the drawing, for example the title bar and the menu bar were not allways drawn, sometimes i would see a black area in the script instead of those parts of the window. also some of the faces i designed could not be seen from the normal view but i still could see them when rendering a preview of the image. This behaiviour was very sensitive to window movement, when i placed the window in a different place some of the errors were corrected, but it was a specific position in the screen. Conclusion ------------- As you see i have two very different results with the differnt versions of wine,and still both of them are far from the desired result. I would like to know if those problems are wellknown and easy to fix. Also of course which one of the two configurations seems more promising since investing in both of them takes much time. I Hope you can help me, and i am sorry for such and extended message, but i wanted to describe the whole problem. Have a nice day, Regards, Marcelo Taube
please.no.cheese@gmail.com
2006-May-28 19:45 UTC
[Wine] Re: Problems to find a usefull wine configuration
Sorry, i sometimes think something and write something else.> Now, this version worked much better, it was actually able to show the > main script of one game i have called Z2SteelSoldiers,I meant; it was actually able to show the main windows of one game i have, which is called Z2Steelsoldiers. i needed to run> pointer and ever > produced sound.It even produced sound!
On Sunday 28 May 2006 20:29, please.no.cheese@gmail.com wrote:> Profile 1: cedega > --------------------- > I compiled and installed without problem > I configured cedega to include its own virutal disc, i copied all the > dlls from the windows distribution to the system32 directory in > drive_c/windows. > I thought this could cause no problem because there is a dll override > section in the config file which protects wine from using the native > dll.FYI... it is never really a good idea to arbitrarily copy over the Windows DLLs. I've found this to be problematic - at best. You should only copy over a Windows DLL if you cannot get it to work without doing so.> err:win:GetDesktopWindow Wine init error: either you're trying to use > an invalid native USER.EXE config, or some graphics/GUI libraries or > DLLs didn't initialize properly. Aborting.There are certain native DLLs that are expecting to talk to hardware that doesn't exist - user and kernel 32 are two of them and I believe their are one or two more (developers can tell you for sure) - these will never work using the native versions, you MUST use the builtin ones. I believe that's why you are getting this error. Try doing a clean install of Cedega without copying any DLLs from Windows and see what you get. I hope something in my post is useful to you! :) Rich -- In a world without fences, who needs Gates? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20060528/daa64f12/attachment.pgp
Marcelo Taube
2006-May-29 05:30 UTC
[Wine] Re: Problems to find a usefull wine configuration
I did not copy over, i copied only the dlls that did not exist previouslly in the directory.... and made sure not to copy ntdll , ole32, kernel32, user32 and even shell32 because it seem to similar to be innocent.... also i copied it to the windows/system32 directory and still cedega should choose the builtin ones because they builtin, native order is selected in the config file. Any more ideas?
Daniel Skorka
2006-May-29 07:20 UTC
[Wine] Re: Problems to find a usefull wine configuration
please.no.cheese@gmail.com wrote:> Dear good wine people, > I wanted to use cedga or wine so i downloaded all the required packages > (mesa, SDL, freetype, etc) and downloaded wineCVs.sh and runned it. > I tryied downloading two profiles and compiling them and got two > different results. > > Profile 1: cedega > --------------------- > [...]I know next to nothing about cedeg, so can't help you there. A sugestion would be to just remove those native DLLs and see what happens.> Now, i still tried a different configuration.... > Profile 2: standard wine with directx9 patches > ---------------------------------------------------------Hmm, I thought the directx9 patches had been integrated into wine alreay... Anyway, you know that this is not the recommended way of getting wine?> were buffer underrun messages about the sound printed in the console.A common problem, as of yet no easy fix. You could try selecting a different sound output driver (if available) and playing with the 'Hardware acceleration' and 'Driver emulation' settings. Sometime it helps.> The most dissapointing fact was that the game window rejected the > mouse, the X11 mouse never entered the window while the game's mouse > pointer stayed always in the upper left corner of the window itself. > When i tried to enter the window with the mouse it dissapeared and > appeared somewhere else in the screen. This behaiviour appeared in allI have observed this behaviour with Mafia under wine 0.9.14. Basically, the mouse pointer has to be inside the desktop window as soon as it is created, otherwise this will happen.> worse, because i could not do anything with the system and had to reset > the computer to continue using it.You mean you could not change to a console? Or use ALT-F4 to close the window? Or kill your X server?> object and interact with the programm. It worked fine but there were > defects in the drawing, for example the title bar and the menu bar > were not allways drawn, sometimes i would see a black area in the > script instead of those parts of the window. also some of the faces i > designed could not be seen from the normal view but i still could see > them when rendering a preview of the image. > This behaiviour was very sensitive to window movement, when i placed > the window in a different place some of the errors were corrected, but > it was a specific position in the screen.Could be due to some drawing voodoo on behalf of the program. Is there a free download available? Daniel
Marcelo Taube
2006-May-29 17:45 UTC
[Wine] Re: Problems to find a usefull wine configuration
Daniel, Thanks for all your help. I need futher help though.> Anyway, you know that this is not the recommended way of getting wine?Which is the best way to get wine? I have a wine package in my unbuntu, unfortunatelly it seems very unupdated, and it does not do good things.> I have observed this behaviour with Mafia under wine 0.9.14. Basically, > the mouse pointer has to be inside the desktop window as soon as it is > created, otherwise this will happen.This is not helping in my case... :-(> You mean you could not change to a console? Or use ALT-F4 to close the > window? Or kill your X server?Well that actually happened only once, i used alt+ctrl+f1 and alt+ctrl+backspace and all the usual tricks, but I got no results.> Could be due to some drawing voodoo on behalf of the program. Is there a > free download available?It is free. http://www.anim8or.com Regards, Marcelo
Daniel Skorka
2006-May-30 11:00 UTC
[Wine] Re: Problems to find a usefull wine configuration
Marcelo Taube <please.no.cheese@gmail.com> wrote:> Which is the best way to get wine? > I have a wine package in my unbuntu, unfortunatelly it seems very > unupdated, and it does not do good things.http://winehq.org/site/download> This is not helping in my case... :-(Out of ideas then, sorry.> Well that actually happened only once, i used alt+ctrl+f1 and > alt+ctrl+backspace and all the usual tricks, but I got no results.Maybe your graphic card driver is buggy. Happens to me every now and then.>> Could be due to some drawing voodoo on behalf of the program. Is there a >> free download available? > It is free. http://www.anim8or.comAh, I see. The problem is this: http://wiki.winehq.org/OpenGL Daniel