wine starts slowly but runs okay after loading

Questions about Wine on Linux
Locked
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

wine starts slowly but runs okay after loading

Post by Entanglement »

Hello,

After an update to:

gmp (5.1.2 now)
ca-certificates (20130906)
rsync (3.1.0)

wine is loading quite slowly (taking a couple of minutes)

After it loads it runs perfectly fine, no bugs, no errors, nothing other than the fact that it takes forever to load. I was wondering if I could get some help with this?

Here are some logs after running a few programs (winecfg and notepad respectively) with

Code: Select all

WINEDEBUG=warn+all <program> > /tmp/output.log 2>&1
This isn't just winecfg or notepad though, I tested various others including a few free games listed on the AppDB that I personally don't play just to test and they too take quite the long time to load.

Here are the output logs:

http://sprunge.us/HgSZ
http://sprunge.us/Dbcj

Any help is appreciated, cheers.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine starts slowly but runs okay after loading

Post by dimesio »

What Wine version is this? Have you tried a clean wineprefix?
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

Re: wine starts slowly but runs okay after loading

Post by Entanglement »

Ah yes, I have tried the clean wine prefix method as a forum post I read said that helped, but unfortunately it did not work for me (sorry, I forgot to mention that).

I have tried both wine version 1.6 and wine 1.7.3 but both had the same problem which leads me to believe that either gmp, ca-certificates or rsync (I highly doubt rsync is the problem, though) were the cause of the problem.

BUT I would like to clarify that I was using 1.6 perfectly fine UNTIL those 3 packages were updated, and then that's when the long loading time kicked in (for 1.6). I attempted to upgrade to 1.7.3 thinking it may solve the problem but it did not.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine starts slowly but runs okay after loading

Post by dimesio »

Post plain terminal output from running wine notepad in a clean wineprefix in 1.7.3.
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

Re: wine starts slowly but runs okay after loading

Post by Entanglement »

Sure! Here is the output from just `wine notepad':
http://sprunge.us/jHja

Here is the output with: `WINEDEBUG=warn+all wine notepad'
http://sprunge.us/BabY

Both of these are on version 1.7.3 like you requested.

I thought I should also make a quick note.

While I was looking for a solution, I was looking into winecfg which took a few minutes to start and a few of the free games I mentioned that I downloaded.

However, regedit loaded up instantly as if it was not affected or something but then again regedit is just a script so I don't know (but as far as I know it does use wine like: `exec wine "$appname" "$@"'.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine starts slowly but runs okay after loading

Post by dimesio »

warn:module:load_builtin_dll cannot open .so lib for builtin L"%1.dll": /opt/wine/bin/../lib64/wine/%1.dll.so: cannot open shared object file: No such file or directory
Where did you get Wine from? There is no such file in plain Wine.
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

Re: wine starts slowly but runs okay after loading

Post by Entanglement »

I built it myself from source.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine starts slowly but runs okay after loading

Post by dimesio »

Something is either wrong with your build or that is not a clean wineprefix. I get no such message from running wine notepad with warn+all.
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
You also need to fix that. http://wiki.winehq.org/FAQ#head-39d3b5c ... b0ec4e507f
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

Re: wine starts slowly but runs okay after loading

Post by Entanglement »

Okay, so here's what I did so far aterwards:

Re-built 1.7.3
Fixed the preloader warning you told me about
Re-did the clean WINEPREFIX thing

Here is the log when running:

Code: Select all

WINEDEBUG=warn+all wine notepad > output.log 2>&1
http://sprunge.us/eEdD

I still get the %1.dll thing, so I suspect it may be something with how I'm building it, so I decided to show the line(s) I use when building wine:

http://sprunge.us/JGXG

Thank you for helping me so far dimesio, any more help is greatly appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine starts slowly but runs okay after loading

Post by dimesio »

I just remembered one thing I had forgotten about--there is a longstanding bug about Wine taking a long time to start when a network printer is unreachable. Could that be it?
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

Re: wine starts slowly but runs okay after loading

Post by Entanglement »

I don't think so. I don't have the CUPS daemon started on this machine.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine starts slowly but runs okay after loading

Post by dimesio »

Entanglement wrote:I don't think so. I don't have the CUPS daemon started on this machine.
Has that always been the case? You don't explicitly disable CUPS support when compiling.
Entanglement
Level 3
Level 3
Posts: 62
Joined: Tue Aug 02, 2011 1:12 am

Re: wine starts slowly but runs okay after loading

Post by Entanglement »

That did it! I compiled with --without-cups and it's all good and back to normal speed. :)

I did have CUPS installed but wasn't using it, so I forgot that wine could still build against CUPS. :)
Locked