Forums

PlayOnLinux becomes corrupted after importing application from vault

PlayOnLinux becomes corrupted after importing application from vault

Auteur Réponses
Isakku Jeudi 21 September 2017 à 22:06
Isakku

Hello there! I have found a very bad problem in PlayOnLinux. I have two machines a desktop and a laptop.

I have Linux Mint Mate 17.3 and Linux Mint Mate 18.2 running on the desktop.

I have Linuix Mint KDE 18.2 and Linux Mint Cinnamon 18.2 running on the laptop.

 

The laptop has been recently installed, so it's very fresh.

The problem happened when I exported some applications using PlayOnLinux Vault from the desktop machine and I tried to import them in the laptop machine. Everything becomes corrupted. The logs show that PlayOnLinux can't find many librarries and stuff, it can't properly detect the resolution nor the audio devices, etc. For example:


 

[09/21/17 15:29:44] - Running wine-2.17-staging winecfg (Working directory : /usr/share/playonlinux/python)
fixme:winediag:start_process Wine Staging 2.17 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142
err:module:load_builtin_dll failed to load .so lib for builtin L"winepulse.drv": libpulse.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
err:alsa:get_alsa_name_by_guid No devices found in registry?
ALSA lib conf.c:3357:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet


In this case, going to the wine configuration within PlayOnLinux, and manually changing the audio defices from auto to the hardware values somewhat fixed the audio problem (now I have audio) but the video still shows nothing. So then I had this:

 

[09/21/17 15:34:34] - Running wine-2.17-staging StarCraft.exe (Working directory : /home/josue/.PlayOnLinux/wineprefix/NeoGamingOnLinux/drive_c/StarCraft)
fixme:winediag:start_process Wine Staging 2.17 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142
fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.
fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Cannot change screen BPP from 32 to 8
err:module:load_builtin_dll failed to load .so lib for builtin L"winepulse.drv": libpulse.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
ALSA lib conf.c:3357:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d_shader:upload_palette P8 surface loaded without a palette.

Using the "virtual desktop" option enabled video, but making it go full screen (alt+enter) does not work

no way to get full screen video.
Now  for StarCraft remastered, I can't even login to my account in the Blizzard App  because of the following error:

 

 err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

 

Now this is quite strange because I have searched those packages (libgnutls) and the package manager shows that I already have them. Even if I try to reinstall PlayOnLinux, the errors will persist. And Even when installing the games from scratch instead of importing them from the vault the errors persist!

Also it's strange since  I was able to import and export using the vault without any trouble when within the desktop machine (for example from the PlayOnLinux in Mate 17.3 to the PlayOnLinux in Mint Mate 18.2 both inside the desktop.)

 

PlayOnLinux version is 4.2.10 In all cases except in Mate 17.3 where it is a bit lower, but as I said I had no trouble there.
 

The applications (StarCraft and StarCraft Remastered) do work well within the desktop machine.
I think the problem is caused because this PlayOnLinux has been recently installed and everything seems to become configured the first time an application is installed and since I didn't install anything before importing from the vault, now my PlayOnLinux is corrupt. I wonder if there's any way to reset all the config and settings, etc.

Thanks in advance.

Edité par Isakku


Freedom is the right of all sentient beings.
ImperatorS79 Vendredi 22 September 2017 à 9:19
ImperatorS79Anonymous

I don't have read evrything, but it seems you are missing some library.

 

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio

You should try

sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0

Or something similar.

 

err:module:load_builtin_dll failed to load .so lib for builtin L"winepulse.drv": libpulse.so.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio

You should try

sudo apt-get install libpulse0:i386

sudo apt-get install libpulse0

Or something similar.

 

fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

You should try

sudo apt-get install libtxc-dxtn-s2tc

Or something similar.

 

For libgnutls, maybe you are missing the 32bits version, so

sudo apt-get install libgnutls30:i386

maybe it's not 30 but 28 or 26

 


POL5 is here ! -> https://github.com/PhoenicisOrg/phoenicis
Isakku Vendredi 22 September 2017 à 17:17
Isakku

 

I don't have read evrything, but it seems you are missing some library.

 

Thank you  four your reply.  That's the sad part of the story, I don't think I'm missing libraries. In fact If I had installed the games from scratch instead of using the vault to import them, I'm pretty sure everything would be working right now (as I remember things worked on my desktop ). But I didn't want to run the installer again because it means a very very long download, and I didn't want to go through that again.
Now PlayOnLinux is gone bonkers in my other distro on the laptop, I tried reseting by uninstalling and then deleting the ~/.PlayOnLinux directory. It didn't work. After reinstalling it asked (as usual) for MONO and Gecko. but I was doing something else and the system froze in the middle of the Gecko install. Now it's broken and no matter what I do, it can't get beyond there, it stays at "Installing Gecko" and it waits for hours, it doesn't move.

 

 

For libgnutls, maybe you are missing the 32bits version, so

   sudo apt-get install libgnutls30:i386

 

I had already tried that.
 
sudo apt-get install libgnutls30:i386
[sudo] password for josue:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
libgnutls30:i386 ya está en su versión más reciente (3.4.10-4ubuntu1.3).
fijado libgnutls30:i386 como instalado manualmente.
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 8 no actualizados.

 

But it says I already have it installed. Nothing to do. Taking a look at the troubleshooting I found this

 
sudo apt-get install p11-kit-modules:i386
 
I'm trying that command.
Anyways, this gets stuck one way or another.
 
EDIT

Judging by this message.... *SIGH*
 
 
 
[09/22/17 11:16:49] - Running wine-2.17-staging winepath -u C:\\users\\josue\\Escritorio (Working directory : /home/josue/.PlayOnLinux/wineprefix/StarCraftRemastered/drive_c)
wine client error:0: version mismatch 447/537.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
 

Not even the debug is sure about what is wrong.

Edité par Isakku


Freedom is the right of all sentient beings.
Isakku Mardi 26 September 2017 à 6:31
Isakku

OK, so I got tired of this. I formatted the laptop again T_T.
Now I ran some tests in my desktop and found out that in spite of what says here:

https://appdb.winehq.org/objectManager.php?sClass=version&iId=28855

wine-staging-2.17 amd64 doesn't work. It must be a regression but how can I report it if I'm using PlayOnLinux? The x86 version does work in my desktop (I will see how it does in my laptop tomorrow).

But Heck! I have 12 GB of RAM in the laptop! I want this to work in the 64bit version...

Anyways this is what I see in the logs....

 

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
fixme:wbemprox:client_security_SetBlanket 0x7d56dc98, 0x146708, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d56dc98
fixme:wbemprox:enum_class_object_Next timeout not supported
err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!
fixme:wininet:InternetSetOptionW Option 77 STUB
fixme:ver:GetCurrentPackageId (0x1abe9b8 (nil)): stub
err:wininet:open_http_connection create_netconn failed: 12029

 

fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x1aca3b0, 43) stub
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:RtlSetHeapInformation 0x110000 0 0x33fcf0 4 stub

 

fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33ecdc 1 C) semi-stub

 

 


fixme:console:AttachConsole stub ffffffff
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform

 

I have ommited many repeated lines but this is the most important part:

 

fixme:msacm:PCM_StreamOpen Unsupported source bit depth: 64
fixme:msacm:PCM_StreamOpen Unsupported source bit depth: 64
fixme:msacm:PCM_StreamOpen Unsupported source bit depth: 64
err:seh:setup_exception_record stack overflow 1136 bytes in thread 0098 eip 7bc5cef3 esp 0c460ec0 stack 0xc460000-0xc461000-0xc560000
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented

 

When it reaches this point it crashes. How funny, a stack overflow.


Freedom is the right of all sentient beings.
Isakku Samedi 30 September 2017 à 6:47
Isakku

Hey there! I'm posting this for future reference just in case it helps the developers:
For the record, I was finally able to make Blizzard App (Battle.Net) work!
After reinstalling my Linux Mint KDE 18.2, I noticed I still had this very annoying problem
 

err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.

 

It was impossible to login because of this.

After some more googling I foud this thread:

https://dev.solus-project.com/T3874

There someone mentioned that installing STEAM somehow fixed this problem. So, since I was going to install steam anyways, I used my distro's package manager and installed it. And as if it were some sort of magic, the problem was gone. I'm not sure how, but all I'm certain is that it is solved now. However, since that is Solus and I'm on Mint, I can't figure exactly what steam did under the hood, all I know is that PlayOnLinux Should have done that when I installed it and it didn't. They mention something about

libp11-kit-32bit

which I had already tried before

sudo apt-get install p11-kit-modules:i386


because I had already found that in the wiki
http://wiki.playonlinux.com/index.php/Troubleshooting_Common_Problems#Install_32-bit_version_of_p11-kit-trust.so

But that didn't solve the problem for me.

Since it seemed to be already installed I tried following the next step

 

sudo /usr/local/bin/getlibs -p p11-kit:i386

sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/p11-kit-trust.so /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so

 

But I couldn't do that ecause I couldn't find the directories!
so, what could be going on? I can't tell for sure.

It also contributed to the whole mess the fact that the audio hardware in the Laptop is quite more complex than in the desktop. The laptop is an HP Envy with Beats Audio that I had to use HDA Jack Retask to make it work.
However even though it was working fine with previous wine versions (I don't remember wine-staging-2.14 having this problem), it should be noticed that I had to manually select the audio interface in the wine configuration dialoge since the "System default" setting gave me no audio whatsoever when using wine-staging-2.17

OK, so now StarCraft Remastered is working. I will test how to make StarCraft2 work. I will post my results and if all goes well, I will set this as "solved" but that doesn't mean everything is fine, I really hope developers can use the info here to improve PlayOnLinux.

Edité par Isakku


Freedom is the right of all sentient beings.