[Bug 17548] New: wine startup scans all fonts, takes ages
http://bugs.winehq.org/show_bug.cgi?id=17548 Summary: wine startup scans all fonts, takes ages Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: felix-wine(a)fefe.de wine startup takes ages for me, particularly the first time. I have about 3500 fonts installed on my system, and wine opens all the files at startup. This takes 15-20 seconds on my moderately fast PC. I find this completely unacceptable. We already have TWO font databases to avoid exactly this unnecessary work: fontconfig and the "Software\\Wine\\Fonts\\External Fonts" key in user.reg. Please give me a way to stop this. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Felix von Leitner <felix-wine(a)fefe.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|trivial |normal -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2009-02-28 14:40:00 --- Read definitions of severity levels: http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jack_fear_2009(a)hotmail.com --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-03-03 08:38:57 --- *** Bug 17598 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 --- Comment #3 from jack fear <jack_fear_2009(a)hotmail.com> 2009-03-03 18:10:51 --- This bug makes wine useless if you have more than default fonts installed. Wine system tray also fails to load due to fonts in linux. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 --- Comment #4 from jack fear <jack_fear_2009(a)hotmail.com> 2009-03-03 18:13:40 --- (In reply to comment #1)
Read definitions of severity levels: http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
I would mark this as MAJOR. It stops applications from functioning. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewroth(a)gmail.com --- Comment #5 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2009-03-10 21:31:53 --- *** Bug 17674 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Andrew Roth <andrewroth(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #6 from Andrew Roth <andrewroth(a)gmail.com> 2009-03-11 11:08:32 --- *** This bug has been confirmed by popular vote. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2009-09-08 11:42:49 --- Is this still an issue in current (1.1.29 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Sebastian Thürrschmidt <thuerrschmidt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thuerrschmidt(a)gmail.com --- Comment #8 from Sebastian Thürrschmidt <thuerrschmidt(a)gmail.com> 2009-09-16 15:09:42 --- This is still very much an issue with Wine 1.29 (as with all previous versions I have used, going back to pre-1.0 times). The start-up time of any Windows executable run under Wine will increase dramatically (and non-proportionally) when the number of fonts installed under Linux grows into the thousands. My computer is a fairly recent Core 2 notebook currently running Ubuntu 9.10 (Karmic) amd64 Alpha 5 with Wine 1.29 (Jaunty build). I have a few hundred fonts installed in /usr/share/fonts, which constitute the font set that I actually use. In addition, I have a collection of several thousand font files in ~/share/fonts, few of which I actually ever use. As long as only the system-wide fonts (i.e. those in /usr/share/fonts) are active, launching most Windows programs with Wine doesn't take more than a few seconds. If, however, I add a reference to my user font directory (~/share/fonts) in ~./.fonts.conf and then try to run a Windows program, even a very simple one like Wine's own notepad.exe, there will be frenetic activity (in terms of processor load and hard disk access) for several minutes, without any visual feedback from Wine and/or the operating system. Only after this long delay will an application window appear. When I launch another program with Wine (or the same program again) during the same session, the delay will initially be much shorter. Later on, however, and especially after I restart the computer, the delay will go into the minutes again. Here are some measurements that I took, the first one with only the system-wide fonts being active: time wine cmd.exe /c exit real 0m1.206s user 0m0.144s sys 0m0.052s Then I added ~/share/fonts to my .fonts.conf and ran the fc-cache command, and I got these results: time wine cmd.exe /c exit real 2m20.847s user 0m1.280s sys 0m0.412s Without any changes to my font configuration, I ran the same command once more: time wine cmd.exe /c exit real 0m5.495s user 0m1.236s sys 0m0.348s So the time needed to start and immediately quit cmd.exe went from about 1 second with a few hundred fonts installed, to well over two minutes with several thousands fonts installed, back to just five seconds with the same huge font set. However, after restarting my computer and with system-wide plus user fonts still all installed, the delay went up again: time wine cmd.exe /c exit real 2m43.974s user 0m1.192s sys 0m0.552s Finally, after removing the reference to ~/usr/share/fonts in .fonts.conf and running fc-cache once more, I got these results: time wine cmd.exe /c exit real 0m1.283s user 0m0.128s sys 0m0.068s To summarize: There seem to be scaling problems in the way Wine manages font information, which are most visible when an above-average number of fonts are installed. While having thousands of fonts installed simultaneously is certaily not a good idea and can be avoided by using tools like FontForge, applications should a least give the user some kind of feedback during long delays, font-related or otherwise, to avoid the impression of blockage. Apart from that, even with thousands of fonts installed, most of the Linux applications I know (Inkscape being one notable exception) show only minor delays during launch and/or user interaction. The same should be true of Wine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Martin Lindhe <martin(a)startwars.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin(a)startwars.org -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jstpierre(a)mecheye.net --- Comment #9 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-07-13 01:01:15 --- *** Bug 23630 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17548 --- Comment #10 from butraxz(a)gmail.com 2013-04-23 15:34:38 CDT --- No update for 900 days. Is this still an issue in 1.5.28 or higher or should this be closed as abandoned ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=17548 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=17548 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED --- Comment #11 from Austin English <austinenglish(a)gmail.com> --- Over 2 years with no reply, marking abandoned. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=17548 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv(a)dawncrow.de --- Comment #12 from André H. <nerv(a)dawncrow.de> --- closing abandoned -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org