[Solved] Wine, libjpeg.so.62 and Vulkan support

Post here if you are a new Porteus member and you're looking for some help.
Cornelius
White ninja
White ninja
Posts: 4
Joined: 21 Oct 2021, 13:35
Distribution: Porteus-KDE-v5.0rc3-x86_64

[Solved] Wine, libjpeg.so.62 and Vulkan support

Post#1 by Cornelius » 22 Oct 2021, 12:10

Hi All,

I’m new to Porteus and I have to say I think it’s great!
I’ve got a load of old laptops which I’d like to keep using in a school. I’ve tried a few other ‘light’ Linux distros but they don’t come close to speed of Porteus, especially when running in ram.
I’ve got it set up as I want it but I’m just having a little trouble with Wine. I just need to run one old 32bit Windows application. It just runs from the .exe file, there’s no installation required and it runs well on the Debian based distros I’ve tried it with.
I installed the Wine and Multilib Lite modules from the links in this post:
Multilib Lite
I copied them to the Porteus Modules folder so they are activated at startup which all works well. Then I just run my program in the terminal with ‘wine win32.exe’, the program starts up and runs OK but won’t let me save any files.
In the terminal I get this output:

Code: Select all

006c:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0090:err:plugplay:try_add_device Building report descriptor failed, removing device
0090:err:plugplay:try_add_device Building report descriptor failed, removing device
0074:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
0024:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62
I don’t know much about configuring Wine as I’ve only ever run that one application and it’s always just worked. I guess I need to install Vulcan and libjpeg.so.62? But if that is the solution, I’m not sure how I’d go about it.
Any help would be much appreciated.
Thank you.
Last edited by Cornelius on 29 Oct 2021, 15:48, edited 1 time in total.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Wine, libjpeg.so.62 and Vulkan support

Post#2 by fulalas » 24 Oct 2021, 11:01

You can try to use this as well: http://www.slackware.com/~alien/multili ... mpat32.txz

After downloading it, convert it to xzm using the right click button and then activate it.

Let me know if this fixes your issue.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Wine, libjpeg.so.62 and Vulkan support

Post#3 by fulalas » 24 Oct 2021, 12:38

I've just built a fully updated multilib-ultralite module, including libjpegturbo. Let me know if this works for you. :)

https://www.mediafire.com/file/8kehxsp6 ... 211025.xzm

Cornelius
White ninja
White ninja
Posts: 4
Joined: 21 Oct 2021, 13:35
Distribution: Porteus-KDE-v5.0rc3-x86_64

Wine, libjpeg.so.62 and Vulkan support

Post#4 by Cornelius » 24 Oct 2021, 21:16

Hi Fulalas, Thanks so much for your reply!
Unfortunately I've just realised I didn't time my post very well as we're on our half-term holiday now, so I wont be able to try this out until next week.
As soon as I'm back in work I'll give it a go.
The fact that you updated the multilib module is amazing, I'll let you know how it goes.
Thanks again!

ronriel
White ninja
White ninja
Posts: 22
Joined: 21 Sep 2021, 08:27
Distribution: Puppy Linux, Porteus, MxLinux

Wine, libjpeg.so.62 and Vulkan support

Post#5 by ronriel » 25 Oct 2021, 09:50

Hi Conelius,
I am encountering exactly the same problem and have tried different versions of wine from their website but the same problem persists.
Interestingly, this wine appimage works - https://github.com/mmtrt/WINE_AppImage/ ... 4.AppImage

I think vulkan & d3d needs to be compiled with wine for our use case. I'm a newbie myself, I don't even know how to compile. :(
For now, I'm happy with the working appimage until I can find a suitable txz or xzm format of wine.

Here's info about appimages Howto: Popular AppImages one click away.

-ronriel

Cornelius
White ninja
White ninja
Posts: 4
Joined: 21 Oct 2021, 13:35
Distribution: Porteus-KDE-v5.0rc3-x86_64

Wine, libjpeg.so.62 and Vulkan support

Post#6 by Cornelius » 25 Oct 2021, 16:38

Hi Ronriel,

Thanks for the info. I was wondering about Wine appimages but wasn't sure what one to use, so that is super helpful!
I'm looking forward to getting back into work to try these out!

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Wine, libjpeg.so.62 and Vulkan support

Post#7 by fulalas » 25 Oct 2021, 22:43

You guys are complicating this more than necessary. Just go to Wine download page, find the Slackware section, download the latest txz package, convert it to xzm module and activate it together with the multilib-compat32. :)

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Wine, libjpeg.so.62 and Vulkan support

Post#8 by Ed_P » 26 Oct 2021, 04:21

fulalas wrote:
25 Oct 2021, 22:43
Just go to Wine download page, find the Slackware section, download the latest txz package, convert it to xzm module
Obviously I'm doing something wrong.

Code: Select all

guest@porteus:~/Downloads$ ls -l *.tar.xz
-rw-r--r-- 1 guest users 19712932 Oct 26 00:06 wine-3.0.tar.xz
guest@porteus:~/Downloads$ txz2xzm *.tar.xz

Convert Slackware's TXZ package into .xzm compressed module
usage:
 options:  -x : use xz compression. 
 options:  -z : use zstd compression. 
 if no option is given xz is used. 
           -h       : show this usage. 

/opt/porteus-scripts/txz2xzm package.txz
/opt/porteus-scripts/txz2xzm package1.txz package2.txz package3.txz
/opt/porteus-scripts/txz2xzm /folder/with_packages/*

guest@porteus:~/Downloads$ 
If I click on the .tar.xz module and open it with the Archive Manager there is no .tar file inside. :unknown:
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Wine, libjpeg.so.62 and Vulkan support

Post#9 by donald » 26 Oct 2021, 05:21

Ed_P wrote:
26 Oct 2021, 04:21
Obviously I'm doing something wrong.
Yep,...wrong file Ed, wrong file.. :)
download the txz file
https://sourceforge.net/projects/wine/f ... 19/x86_64/

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Wine, libjpeg.so.62 and Vulkan support

Post#10 by Ed_P » 26 Oct 2021, 05:40

Thank you donald. :good:

How did you get to that sourceforge link from fulalas's Wine download page link? :hmmm: This is where it takes me: https://sourceforge.net/projects/wine/f ... 0Packages/ and I clicked on the green Download Latest Version button. Never mind, I see what you did. :happy62: Thanks again. :beer:

I've never gotten Wine to work in the past, looking forward to see how it works in 5.0. :)

Added in 21 minutes 47 seconds:
Good so far. :)

Code: Select all

guest@porteus:/mnt/sda6/porteus5.0/Guest/Downloads/Wine$ txz2xzm *.txz
Verifying package wine-6.19-x86_64-1sg.txz.
Installing package wine-6.19-x86_64-1sg.txz:
PACKAGE DESCRIPTION:
# wine (Wine Is Not an Emulator)
#
# Wine is an Open Source implementation of the Windows API
# on top of X and Unix.
#
# Homepage: http://www.winehq.com/
#
# Wine releases >= 1.8.4 (1.9.18) built for Slackware 14.2. Please read
# file /usr/doc/wine-<release>/README.slackware for details
#
Executing install script for wine-6.19-x86_64-1sg.txz.
Package wine-6.19-x86_64-1sg.txz installed.
Creating /mnt/sda6/porteus5.0/Guest/Downloads/Wine/wine-6.19-x86_64-1sg.xzm

guest@porteus:/mnt/sda6/porteus5.0/Guest/Downloads/Wine$ 
Ed

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Wine, libjpeg.so.62 and Vulkan support

Post#11 by fulalas » 26 Oct 2021, 06:02

I accept some feedback on the new multilib module I posted above. If it works I'll make a post on x64 section :)

Thanks!

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Wine, libjpeg.so.62 and Vulkan support

Post#12 by fulalas » 26 Oct 2021, 06:21

I noticed that I forgot to include libffi (required by Steam). It's fixed now, same link. :)

ronriel
White ninja
White ninja
Posts: 22
Joined: 21 Sep 2021, 08:27
Distribution: Puppy Linux, Porteus, MxLinux

Wine, libjpeg.so.62 and Vulkan support

Post#13 by ronriel » 26 Oct 2021, 12:11

fulalas wrote:
25 Oct 2021, 22:43
You guys are complicating this more than necessary. Just go to Wine download page, find the Slackware section, download the latest txz package, convert it to xzm module and activate it together with the multilib-compat32. :)
Hi fulalas,
I'm still getting error similar to what Cornelius already described in his original post. I am using wine-6.18-x86_64-1sg from winehq and multilib-ultralite-x86_64-20211025.xzm from the link you provided.
So for now, the least complicated solution for me is using the appimage. :)

Code: Select all

006c:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.

-ronriel

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Wine, libjpeg.so.62 and Vulkan support

Post#14 by Ed_P » 26 Oct 2021, 13:57

fulalas wrote:
26 Oct 2021, 06:02
I accept some feedback on the new multilib module I posted above.
Here's some of what happens when I tried wine.

Code: Select all

guest@porteus:/mnt/sda3/Program Files (x86)/QUICKENW$ wine QW.EXE
wine: created the configuration directory '/home/guest/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0084:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0084:err:winspool:DocumentPropertiesW Could not load config module for L"HP-Officejet-Pro-8600"
 :
 :
 :
The app I tried is a 32-bit app so maybe I need a 32-bit wine app on my 64-bit Porteus?

Added in 4 hours 37 seconds:
:lol:

Code: Select all

guest@porteus:~$ wine --help
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit
guest@porteus:~$ 
Ed

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Wine, libjpeg.so.62 and Vulkan support

Post#15 by fulalas » 26 Oct 2021, 22:55

@ronriel, this vulkan warning is kind of random and probably meaningless. On my machine if I run twice or 3 times, this message doesn't appear but the Windows application always works :D What are you trying to run? Have you tried from the file manager (right click)?

@Ed_P, it's not possible to guarantee that all Windows applications will work on Wine. You can try something simpler (like Notepad++) just to make sure your environment is working. Also, sometimes Wine only works if you try to execute the application from the file manager (right click). I don't know why :( And, no, you don't need to download a specific 32bit version of Wine because the package already contains both (wine and wine64). Again, if you use right click it will auto detect which one to use.

Post Reply