Dear all, I posted this problem sometime back on 0.9.26 (http://www.winehq.com/pipermail/wine-users/2006-December/024086.html). I thought the problem was fixed, but it seemed not.>From 0.9.26 all the way to the latest 0.9.30, I've been seeing thisproblem on my system (Linux flying 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux; Ubuntu Edgy installed, but running KDE currently). I always download wine source code and build it myself now. But the problem can be easily reproduced by the following command: wine explorer.exe /desktop cmd.exe The explorer.exe process is always running with close to 100% kernel time. Any fixes or further analysis? Cheers, Freddie
Monday February 12 2007 15:35?Flying ????????:> wine explorer.exe /desktop cmd.exeI tried the following commands: wine explorer /desktop=Cmd,800x600 cmd wine explorer /desktop=Notepad,800x600 notepad And no problems. Running cmd with desktop is practically useless of course (but maybe useful for testing purpose) because cmd works in the console, not in a window. Running your command: wine explorer.exe /desktop cmd.exe Gives me no desktop window at all. But still - works perfectly. So please try first two commands above - is there any difference?
Hi Rahyen, I tried the commands, here is the outcome:> Monday February 12 2007 15:35???Flying????????????????????????:> > wine explorer.exe /desktop cmd.exe > > I tried the following commands: > > wine explorer /desktop=Cmd,800x600 cmdBlank explorer window appears, and cmd runs in the console in which the above command was executed. cmd shell is usable, but explorer.exe is taking up 98% kernel time.> wine explorer /desktop=Notepad,800x600 notepadExplorer window appears, with notepad started in it. Notepad is usable, but again, explorer.exe is taking up 96% kernel time.> So please try > first two commands above - is there any difference?Here is a snapshot of the output from top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22768 xxx 16 0 2660m 18m 8852 S 96 1.9 0:30.08 explorer.exe Any idea? Cheers, Freddie |_|_| ______ _ _ _ [o o] | ____| http://over.to/freddie |(_) \~/ | |___ _ __ ___ ___| | ___| | _ __ == == | ___| | / _| / _ \ / __ | / __ || | / _ \ wuyinghu@comp.nus.edu.sg | /_\ || | | || | | || || /_\ | freddie_wu@writeme.com | __/ | |_/ || |_/ || || __/ isc80033@nus.edu.sg |_| \___/ \___/_| \___/_||_| \___/ ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
--- David Gerard <dgerard@gmail.com> wrote:> On 12/02/07, Flying <wu_yinghui@yahoo.com> wrote: > > > >From 0.9.26 all the way to the latest 0.9.30, > I've been seeing this > > problem on my system (Linux flying > 2.6.17-11-generic #2 SMP Thu Feb 1 > > 19:52:28 UTC 2007 i686 GNU/Linux; Ubuntu Edgy > installed, but running KDE > > currently). > > The explorer.exe process is always running with > close to 100% kernel time. > > Tangentially, I get this all the time with Picasa on > Linux. That's > using Picasa's own version of Wine, not the main > copy, but I usually > have to kill -9 the explorer.exe process to keep my > laptop CPU from > overheating ...I got this problem from all applications that starts explorer.exe. Most of the time, I have to kill the explorer process too in order to get some rest to my CPU.> (Long story, crap ACPI DSDT code from HPaq for my > Compaq laptop. I > have a fix but it's a risky PITA to implement. My > usual workaround is > running everything at nice 10, and I have no idea > why that works. But > anyway.)I'm not sure this is related to my problem. I'm using a standard desktop PC with P4 2.6, MSI m/b. Cheers, Freddie |_|_| ______ _ _ _ [o o] | ____| | | | |(_) \~/ | |___ _ __ ___ ___| | ___| | _ __ == == | ___| | / _| / _ \ / __ | / __ || | / _ \ | | | | | /_\ || | | || | | || || /_\ | | | | | | __/ | |_/ || |_/ || || __/ |_| |_| \___/ \___/_| \___/_||_| \___/ ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
Flying wrote:> > Any idea? > > Cheers, > > FreddieWhen strange things start to happen in wine I try a make clean or make distclean. Follow by a ./configure --verbose and see what is missing Then the make depend && make I have found what were regressions that were cured by the above sequence. Of course flush your .wine and run wineprefixcreate first and see how that acts. Paul
Thanks, Rahyen. Here are my answers:> First, you said some time ago that this problem hasbeen solved. It> was really solved and everything worked for sometime and then broke again> or you simply didn't pay enough attention forchecking this and you don't> know?I thought it was solved, since right after I rebuilt wine (0.9.27 back then), it seemed that the explorer.exe problem went away. (I replied to that thread on that time.) But after a few days of usage, I found that the explorer.exe kept surfacing again and again (i.e., I don't what happened, but the problem went away only for that time when I tested wine after I built it from source.) Ever since then, the problem persists even I've been upgrading Wine from source for a few times already. (I always "make uninstall" the previous version before I "configure && make dep && make && make install" the new one.)> I assume that you don't know how to profile Wine sohere is> the instructions:Thanks for your instructions. It did save me a lot of time digging around. Unfortunately, though, the callgrind.out.pid file I get from your instruction is always empty. I'm still trying to go through KCachegrind's documentation. But for the meantime, I cannot provide you any more information on what function consumes all those CPU power. Thanks again for your advice. But is there anything else that I can do now? (For the meantime, I'll continue reading KCachegrind's docs to make it work at least...) |_|_| ______ _ _ _ [o o] | ____| | | | |(_) \~/ | |___ _ __ ___ ___| | ___| | _ __ == == | ___| | / _| / _ \ / __ | / __ || | / _ \ | | | | | /_\ || | | || | | || || /_\ | | | | | | __/ | |_/ || |_/ || || __/ |_| |_| \___/ \___/_| \___/_||_| \___/ ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160> I did test this and everything works for me. But it doesn't work for some > programs including some cases when I try to run Wine with many games for > example (it produce empty file). If callgrind doesn't work then you should > use more complex way. I don't know exactly why it doesn't work sometimes but > using OProfile instead should solve this problem (or as a workaround you can > try to run wine with some other programs under callgrind to see if it helps > but there is no guarantee). Go to http://oprofile.sf.net to read more. After > using it you can use this command: > > opreport -gdf | op2callgrind > > To convert to format that kcachegrind can understand. See "Chapter 2. Using > KCachegrind" section about OProfile in the KCacheGrind help for more > information.Thanks, I'll try that once I have time. But at the meantime, I've got an update for you: I tried valgrind -v --tool=callgrind --trace-children=yes wine explorer /desktop=Notepad,800x600 notepad Valgrind crashes right after the explorer desktop window was shown (I can see the window flashes once, then the process crashed).> I understand, profiling may seems to you as a somewhat tricky thing at first > glance but actually it isn't very hard after you learn how to do it in a > right way.:) I'll try to learn more. Still reading on and trying out... Cheers, Freddie - -- Flying @ Flying's World __,---. flying@huasing.org /__|o\ ) `-\ / / ,) (, // \\ {( )} =====""===""===== ||||| ||| http://www.flying-w.net | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFF1l/ixb6VAoqzFLURA5tyAJ4xzh8ivykBJW1+lmpMV8aAsfyJdwCgkAnM hZQDdQfrFlhjKzPpC9Jycag=lRYc -----END PGP SIGNATURE-----