error message while creating prefix

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
KuniGunther
Newbie
Newbie
Posts: 2
Joined: Wed Feb 02, 2011 3:02 am

error message while creating prefix

Post by KuniGunther »

Hi,

I'm looking for some advice where to start problem tracking. I'm working on Ubuntu 10.10 64bit Desktop. Independent of whether I use the default wine (1.2.2), the newest one on ppa/ubuntu-wine (1.3.12) or compiling wine by myself, I'm always facing the following message at the first start:

Code: Select all

wine: created the configuration directory '/home/user/.wine'
err:rundll32:wWinMain Unable to load L"setupapi"
wine: configuration in '/home/user/.wine' has been updated.
As a result the system32 directory is empty and/or the system.reg seems to be incomplete and follow-up error messages appear. For example, when calling winecfg without an existing .wine directory, the message above shows up, plus

Code: Select all

err:module:attach_process_dlls "winspool.drv" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000005
I found a similar problem in the bug-tracker, bug 25765, but there the statement was, that the poster was using a broken wine build with special flags. I have the problem with the repository versions.

As I have also read that people are using wine on Ubuntu 10.10 64bit, I guess, there is something in my system setup causing this. On the other hand, the system runs fine without any problems whatsoever. At first I was thinking of some library version mismatch (although I wouldn't know why I should have non-default versions on my system), therefore I tried to compile wine myself using the sources of the ubuntu package and the dpkg build process. That didn't change anything. At the moment, I have no idea where to continue.

Thanks and best regards,
Volker
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: error message while creating prefix

Post by vitamin »

KuniGunther wrote:As I have also read that people are using wine on Ubuntu 10.10 64bit, I guess, there is something in my system setup causing this.
Most of the time it's incorrectly installed video drivers that causing this problem.
KuniGunther
Newbie
Newbie
Posts: 2
Joined: Wed Feb 02, 2011 3:02 am

Post by KuniGunther »

Thanks for the answer. My next question is then what "incorrectly installed" means. I'm using the default (recommended) nvidia driver and didn't do any manual configuration. Desktop effects work and programs with openql support also do their job. Now I did a test by switching from 'nvidia' to 'vesa' in the x server settings, but that doesn't solve the .wine problem.

Best regards,
Volker
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

KuniGunther wrote:Thanks for the answer. My next question is then what "incorrectly installed" means.
The two most common problems are not installing the needed 32 bit opengl libraries on 64 bit systems or failing to reinstall the graphics driver after a kernel update.
Locked