LTSpice & WINE Issues - Page 1
Forum section: electronics / general

author: Zero999
author_rank: Super Contributor
timestamp: August 05, 2017, 06:14:49 pm
content: Sorry, if this is posted in the wrong place. There's no simulation section, and if there is and I've not found it, could a moderator please move it.I've noticed that, on in the component selection window, the bottom or top line of components in the list is often hidden. There is a work around: resizing the window or using the cursor keys to navigate but it's a pain. Has anyone else noticed this? Is there an easy fix?See attached. Notice that the resistor network in the list is hidden? If you look carefully, you can see where it's highlighted at the bottom left hand corner of the list. If the window is shrunk vertically slightly, it disappears altogether.

author: alm
author_rank: Super Contributor
timestamp: August 05, 2017, 08:11:46 pm
content: No such problem here, see attachment. Running the latest LTspice (just updated) on Wine 1.8.7 in a dedicated wineprefix that had nothing else installed (no winetricks or nothing). Resizing the select component symbol window does not trigger the problem either.Try installing LTspice in a fresh wineprefix. Something like:Code:env WINEPREFIX=$HOME/.wine.ltspice wine LTspiceXVII.exeenv WINEPREFIX=$HOME/.wine.ltspice wine ~/.wine.ltspice/drive_c/Program\ Files/LTC/LTspiceXVII/XVIIx64.exe

author: Zero999
author_rank: Super Contributor
timestamp: August 05, 2017, 09:22:36 pm
content: Quote from: alm on August 05, 2017, 08:11:46 pmI tried that but it didn't work. It generates some interesting errors though:Code:env WINEPREFIX=$HOME/.wine.ltspice wine /home/alunjones/Downloads/LTspiceXVII.exefixme:winediag:start_process Wine Staging 2.13 is a testing version containing experimental patches.fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33f6c8, 0x33f6d8 0x33f6ccfixme:nls:get_dummy_preferred_ui_language (0x38 0x33f6c8 0x33f6d8 0x33f6cc) returning a dummy value (current locale)fixme:module:load_library unsupported flag(s) used (flags: 0x00000060)fixme:module:load_library unsupported flag(s) used (flags: 0x00000060)fixme:shell:InitNetworkAddressControl stubCould not parse file "/home/alunjones/.local/share/applications/wine-LTspice XVII.desktop": Invalid key name: Path[$e]fixme:ver:GetCurrentPackageId (0xb30e798 (nil)): stub[alunjones@localhost ~]$ fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)fixme:ver:GetCurrentPackageId (0xacbd20 (nil)): stubfixme:shell:InitNetworkAddressControl stubfixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xb3248,0xef5b0): stubfixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xb3248,0xfb990): stubfixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xc51c58,0xff770): stubfixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xc4fce8,0x101570): stubThe bit where it says "start_process Wine Staging 2.13 is a testing version containing experimental patches." doesn't sound good to me. I've checked my packages and I've got 2.13-1, yet according to the website the latest stable version is 2.0.1 and the development version is 2.1.4, so it looks like I have a development version. I'm using PCLinuxOS by the way.https://www.winehq.org/

author: alm
author_rank: Super Contributor
timestamp: August 05, 2017, 09:39:32 pm
content: Could be a Wine version issue. Either that or something in the display/font configuration that upsets Wine.

author: HoracioDos
author_rank: Frequent Contributor
timestamp: August 07, 2017, 06:26:55 pm
content: It could be many things. I would check if ms core fonts package is installed. If it's not the case: sudo apt-get install ttf-mscorefonts-installerIf you want to update wine, you can do it from WineHQ directly or some other PPA.WineHQ now has a stable version 2.0.2 (This is the lastest stable, NOT staging or development version).Install instructions for ubuntu based distro:https://wiki.winehq.org/UbuntuAlso you can get the same version from this excelent ppa:https://launchpad.net/~jonathonf/+archive/ubuntu/wineI found that LTSpice is now a little bit more buggy with newer wine versions. Also happened that my previous ./wine config was not recognized and updated when I switched to a different repository and I had to install Win apps again.I've been upgrading from 1.6.x - 1.8.x to 2.0.x in the last year. I would recommend to stick to one repository and stay there. There should be no problems to upgrade wine from them in the future once you've made your choice.Hope this can help.

author: Zero999
author_rank: Super Contributor
timestamp: August 07, 2017, 09:04:14 pm
content: I agree, it does look like a font problem. I've noticed that in alm's screenshot the text is anti-aliased, but it isn't in mine, despite the fact that all the other text on my system is anti-aliased.What are the names of the font packages which need to be installed? Is use PCLinuxOS, which uses APT-RPM.

author: alm
author_rank: Super Contributor
timestamp: August 07, 2017, 09:15:15 pm
content: Doesthis admittedly old articlehelp? In particular this quote:Quote

author: HoracioDos
author_rank: Frequent Contributor
timestamp: August 07, 2017, 09:54:18 pm
content: Quote from: Hero999 on August 07, 2017, 09:04:14 pmI'm pretty sure that Synaptic is already installed in PCLinuxOS. Open Synaptic and search for something like "msttcore". It's always better to install from the official repos.b) If yum package manager is installed: yum search msttcore* Then: yum install "package name"c) Download the rpm package from here and install it with: rpm -ivh "package name"ftp://rpmfind.net/linux/sourceforge/m/ms/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpmd) Use this method from PCLinuxOS KB.http://pclinuxoshelp.com/index.php/Fonts,_WindowsBy the way. This is how it looks like in Mint 18.2 under wine 2.0.2

author: Zero999
author_rank: Super Contributor
timestamp: August 07, 2017, 10:12:01 pm
content: "webcore fonts" is installed. The directory is also present. Here's what I get when I do an ls:Code:[me@localhost ~]$ ls /usr/share/fonts/webcoreandalemo.ttf calibrib.ttf cambria.ttc couri.ttf georgiaz.ttf segoeuii.ttf tahomabd.ttf trebucbd.ttf verdana.ttfarialbd.ttf calibrii.ttf cambriaz.ttf cour.ttf impact.ttf segoeuil.ttf tahoma.ttf trebucbi.ttf verdanaz.ttfarialbi.ttf calibri.ttf comicbd.ttf fonts.scale l_10646.ttf segoeuiz.ttf timesbd.ttf trebucit.ttf webdings.ttfariali.ttf calibriz.ttf comic.ttf georgiab.ttf lucon.ttf seguibk.ttf timesbi.ttf trebuc.ttf wingding.ttfarial.ttf cambriab.ttf courbd.ttf georgiai.ttf micross.ttf seguisb.ttf timesi.ttf verdanab.ttfariblk.ttf cambriai.ttf courbi.ttf georgia.ttf segoeuib.ttf symbol.ttf times.ttf verdanai.ttfSo it seems like it's a problem with the WINE version I'm using.