soft launches, then window becomes black

Questions about Wine on Linux
Post Reply
k3ck3c
Level 2
Level 2
Posts: 32
Joined: Wed Oct 22, 2014 12:42 am

soft launches, then window becomes black

Post by k3ck3c » Thu Jul 25, 2019 12:18 pm

Hello

Ubuntu 18.04
wine-4.12.1 (Staging)

I try to use a Windows software
educadhoc
the Windows version is available at
http://www.kiosque-edu.com/enedownload

I get the file
ls -alrt Téléchargements/educadhoc-win-v6.exe
-rw-rw-r-- 1 gg gg 167086264 juil. 25 16:05 Téléchargements/educadhoc-win-v6.exe
I create a new wine prefix

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.wine_edu wine Téléchargements/educadhoc-win-v6.exe
it installs fine.

the only requirement for the soft is W10, so I run winecfg and select Windows 10

When I look for winetricks to do I do not find many specific things

Code: Select all

$ objdump -x Téléchargements/educadhoc-win-v6.exe | grep -i DLL | sort | uniq
DllCharacteristics	00008540
	Nom DLL: ADVAPI32.dll
	Nom DLL: COMCTL32.dll
	Nom DLL: GDI32.dll
	Nom DLL: KERNEL32.dll
	Nom DLL: ole32.dll
	Nom DLL: SHELL32.dll
	Nom DLL: USER32.dll
 vma:            Hint    Temps     Avant    DLL       Premier
When I launch it

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.wine_edu WINEDEBUG=loaddll wine .wine_edu/drive_c/Program\ Files/Hachette/educadhoc/educadhoc.exe 2> aa.tmp
a nice window appears, and after 3 or 4 seconds, the window is completely black.

If I search for unloaded in the temporary file, I get

Code: Select all

grep Unloaded aa.tmp
000b:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\Normaliz.dll" : builtin
000b:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\iertutil.dll" : builtin
0009:trace:loaddll:free_modref Unloaded module L"Z:\\home\\gg\\.wine_edu\\drive_c\\Program Files\\Hachette\\educadhoc\\OpenAL32.dll" : builtin
0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\iertutil.dll" : builtin
0009:trace:loaddll:free_modref Unloaded module L"Z:\\home\\gg\\.wine_edu\\drive_c\\Program Files\\Hachette\\educadhoc\\d3dcompiler_47.dll" : builtin
0025:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\drivers\\winehid.sys" : builtin
0025:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\hidclass.sys" : builtin
0025:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\drivers\\winebus.sys" : builtin
The soft seems to use QT5, as during the installation I see many file QT5*.dll copied.

Any idea on how to fix this?

Thanks for any hint

jkfloris
Level 6
Level 6
Posts: 682
Joined: Thu Aug 14, 2014 10:10 am

Re: soft launches, then window becomes black

Post by jkfloris » Thu Jul 25, 2019 4:17 pm

When I try to run this program with wine-devel there are a lot of "fixme:d3d11" messages when the black window is shown.

I get an login window after I installed dxvk-1.3.1
I don't have a inlog, so I can't test the program.

Code: Select all

winetricks dxvk

k3ck3c
Level 2
Level 2
Posts: 32
Joined: Wed Oct 22, 2014 12:42 am

Re: soft launches, then window becomes black

Post by k3ck3c » Fri Jul 26, 2019 12:05 pm

I have installed dxvk, but still have the same error messages
gg@gg-UX305UA:~$ grep Unloaded aa.tmp
000b:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\Normaliz.dll" : builtin
000b:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\iertutil.dll" : builtin
0009:trace:loaddll:free_modref Unloaded module L"Z:\\home\\gg\\.wine_edu\\drive_c\\Program Files\\Hachette\\educadhoc\\OpenAL32.dll" : builtin
0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\iertutil.dll" : builtin
0009:trace:loaddll:free_modref Unloaded module L"Z:\\home\\gg\\.wine_edu\\drive_c\\Program Files\\Hachette\\educadhoc\\d3dcompiler_47.dll" : builtin
0024:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\drivers\\winehid.sys" : builtin
0024:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\hidclass.sys" : builtin
0024:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\drivers\\winebus.sys" : builtin
gg@gg-UX305UA:~$
and the windows still becomes black after 3 seconds

jkfloris
Level 6
Level 6
Posts: 682
Joined: Thu Aug 14, 2014 10:10 am

Re: soft launches, then window becomes black

Post by jkfloris » Fri Jul 26, 2019 2:59 pm

Could you try the following three commands?

Code: Select all

WINEPREFIX=~/wine-edu winetricks -q dxvk
WINEPREFIX=~/wine-edu wine start /unix ~/Téléchargements/educadhoc-win-v6.exe
WINEPREFIX=~/wine-edu wine start /unix ~/wine-edu/drive_c/Program\ Files\ \(x86\)/Hachette/educadhoc/educadhoc.exe
If you still get a black window, please post the output of the last command and the output of

Code: Select all

cat ~/wine-edu/drive_c/Program\ Files\ \(x86\)/Hachette/educadhoc/educadhoc_d3d11.log
cat ~/wine-edu/drive_c/Program\ Files\ \(x86\)/Hachette/educadhoc/educadhoc_dxgi.log

k3ck3c
Level 2
Level 2
Posts: 32
Joined: Wed Oct 22, 2014 12:42 am

Re: soft launches, then window becomes black

Post by k3ck3c » Fri Jul 26, 2019 4:02 pm

Hello

I modified as I use .wine_edu and not wine-edu
the first command
gg@gg-UX305UA:~$ WINEARCH=win32 WINEPREFIX=~/.wine_edu winetricks -q dxvk
Using winetricks 20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924 with wine-4.12.1 (Staging) and WINEARCH=win32
Unknown arg dxvk
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs. Each verb installs an application or changes a setting.

Options:
--force Don't check whether packages were already installed
--gui Show gui diagnostics even when driven by commandline
--isolate Install each app or game in its own bottle (WINEPREFIX)
-k, --keep_isos Cache isos (allows later installation without disc)
--no-clean Don't delete temp directories (useful during debugging)
-q, --unattended Don't ask any questions, just install automatically
-r, --ddrescue Retry hard when caching scratched discs
--showbroken Even show verbs that are currently broken in wine
-t --torify Run downloads under torify, if available
--verify Run (automated) GUI tests for verbs, if available
-v, --verbose Echo all commands as they are executed
-h, --help Display this message and exit
-V, --version Display version and exit

Commands:
list list categories
list-all list all categories and their verbs
apps list list verbs in category 'applications'
benchmarks list list verbs in category 'benchmarks'
dlls list list verbs in category 'dlls'
games list list verbs in category 'games'
settings list list verbs in category 'settings'
list-cached list cached-and-ready-to-install verbs
list-download list verbs which download automatically
list-manual-download list verbs which download with some help from the user
list-installed list already-installed verbs
prefix=foobar select WINEPREFIX=/home/gg/.local/share/wineprefixes/foobar
gg@gg-UX305UA:~$
the second
gg@gg-UX305UA:~$ WINEARCH=win32 WINEPREFIX=~/.wine_edu wine start /unix ~/Téléchargements/educadhoc-win-v6.exe
000b:fixme:winediag:start_process Wine Staging 4.12.1 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0014:fixme:reg:RegOpenUserClassesRoot (00000090, 0x0, 0x2000000, 006EF254) semi-stub
0014:fixme:ole:NdrCorrelationInitialize (006EE560, 006EE04C, 1024, 0x0): semi-stub
0014:fixme:ole:NdrCorrelationFree (006EE560): stub
000b:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
000b:fixme:ntdll:EtwRegisterTraceGuidsA (0x6307379f, 0x630b1cf8, {0cfe0455-93ba-440d-a3fe-553973d0b723}, 1, 0x6ae818, (null), (null), 0x630b1d00): stub
000b:fixme:ntdll:EtwRegisterTraceGuidsA (0x6307379f, 0x630b1d18, {797fabac-7b58-4796-b924-d51178a59ce4}, 1, 0x6ae818, (null), (null), 0x630b1d20): stub
000b:fixme:ntdll:EtwEventRegister ({43d1a55c-76d6-4f7e-995c-64c711e5cafe}, 0x6309ce28, (nil), 0x630b1500) stub.
000b:fixme:ntdll:EtwEventRegister ({9e3b3947-ca5d-4614-91a2-7b624e0e7244}, 0x63073c41, 0x630b3258, 0x630b3180) stub.
000b:fixme:ntdll:EtwEventEnabled (deadbeef, 0x6302b3c0): stub
000b:fixme:ntdll:EtwEventEnabled (deadbeef, 0x63020688): stub
000b:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
000d:fixme:reg:RegOpenUserClassesRoot (00000088, 0x0, 0x2000000, 0032F8A8) semi-stub
gg@gg-UX305UA:~$ 002a:fixme:reg:RegOpenUserClassesRoot (00000088, 0x0, 0x2000000, 0032E6D4) semi-stub
002a:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0031:fixme:reg:RegOpenUserClassesRoot (00000084, 0x0, 0x2000000, 0032F738) semi-stub
002f:fixme:reg:RegOpenUserClassesRoot (00000084, 0x0, 0x2000000, 0032F738) semi-stub
002d:fixme:reg:RegOpenUserClassesRoot (00000084, 0x0, 0x2000000, 0032F738) semi-stub
the third command gives in a small window "chemin introuvable", which translates as "Path not found"
gg@gg-UX305UA:~$ WINEARCH=win32 WINEPREFIX=~/.wine_edu wine start /unix ~/.wine_edu/drive_c/Program\ Files\ \(x86\)/Hachette/educadhoc/educadhoc.exe
000b:fixme:winediag:start_process Wine Staging 4.12.1 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0011:fixme:reg:RegOpenUserClassesRoot (00000090, 0x0, 0x2000000, 006EF254) semi-stub
0011:fixme:ole:NdrCorrelationInitialize (006EE560, 006EE04C, 1024, 0x0): semi-stub
0011:fixme:ole:NdrCorrelationFree (006EE560): stub
000d:fixme:reg:RegOpenUserClassesRoot (00000088, 0x0, 0x2000000, 0032F8A8) semi-stub
000b:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
000b:fixme:ntdll:EtwRegisterTraceGuidsA (0x6307379f, 0x630b1cf8, {0cfe0455-93ba-440d-a3fe-553973d0b723}, 1, 0x6ae818, (null), (null), 0x630b1d00): stub
000b:fixme:ntdll:EtwRegisterTraceGuidsA (0x6307379f, 0x630b1d18, {797fabac-7b58-4796-b924-d51178a59ce4}, 1, 0x6ae818, (null), (null), 0x630b1d20): stub
000b:fixme:ntdll:EtwEventRegister ({43d1a55c-76d6-4f7e-995c-64c711e5cafe}, 0x6309ce28, (nil), 0x630b1500) stub.
000b:fixme:ntdll:EtwEventRegister ({9e3b3947-ca5d-4614-91a2-7b624e0e7244}, 0x63073c41, 0x630b3258, 0x630b3180) stub.
000b:fixme:ntdll:EtwEventEnabled (deadbeef, 0x6302b3c0): stub
000b:fixme:ntdll:EtwEventEnabled (deadbeef, 0x63020688): stub
000b:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
^C002a:fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
gg@gg-UX305UA:~$
For the last 2 commands, as I use WINE 32 bits and not 64 bits, I do not have the Program Files (X86) folder, infact, I do not have such files
gg@gg-UX305UA:~$ find .wine_edu/ -name "*log"
.wine_edu/winetricks.log
.wine_edu/drive_c/Program Files/VideoLAN/VLC/skins/skin.catalog
.wine_edu/drive_c/Program Files/VideoLAN/VLC/uninstall.log
.wine_edu/drive_c/users/gg/Temp/ASPNETSetup_00000.log
.wine_edu/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/ngen.log
.wine_edu/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/ngen_service.log
.wine_edu/drive_c/windows/ie8.log
.wine_edu/drive_c/windows/ie8_main.log
.wine_edu/drive_c/windows/system32/Macromed/Flash/FlashInstall32.log
.wine_edu/drive_c/windows/spupdsvc.log
gg@gg-UX305UA:~$
no window appeared in any of those commands

I did all this on my Ubuntu 18.04 computer, I can do it again on my Debian

Code: Select all

gg@gg-UX305UA:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
gg@gg-UX305UA:~$ wine --version
wine-4.12.1 (Staging)
gg@gg-UX305UA:~$ 
Thanks for your time

jkfloris
Level 6
Level 6
Posts: 682
Joined: Thu Aug 14, 2014 10:10 am

Re: soft launches, then window becomes black

Post by jkfloris » Fri Jul 26, 2019 4:28 pm

I have installed dxvk...
Using winetricks 20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924 with wine-4.12.1 (Staging) and WINEARCH=win32
Unknown arg dxvk
You don't have dxvk installed.
Update winetricks and try again
I modified as I use .wine_edu and not wine-edu
Please test in a clean wineprefix.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2772
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: soft launches, then window becomes black

Post by Bob Wya » Fri Jul 26, 2019 4:35 pm

@k3ck3c

Please can you use the forum Code tags:

Code: Select all

...
to delineate blocks of code/ terminal commands+output, etc.

Using forum Quote tags:
...
for code blocks is simply plain confusing... The Quote tags should be restricted to instances when you are quoting from other websites or posts from other users.

Thanks
Bob

k3ck3c
Level 2
Level 2
Posts: 32
Joined: Wed Oct 22, 2014 12:42 am

Re: soft launches, then window becomes black

Post by k3ck3c » Fri Jul 26, 2019 4:54 pm

ok, sorry about that

User avatar
Bob Wya
Level 12
Level 12
Posts: 2772
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: soft launches, then window becomes black

Post by Bob Wya » Fri Jul 26, 2019 5:27 pm

k3ck3c wrote:ok, sorry about that
No worries... 8)

k3ck3c
Level 2
Level 2
Posts: 32
Joined: Wed Oct 22, 2014 12:42 am

Re: soft launches, then window becomes black

Post by k3ck3c » Sat Jul 27, 2019 1:34 am

I had installed dxvk following

https://www.addictivetips.com/ubuntu-li ... -on-linux/

I did

Code: Select all

wget http://ftp.br.debian.org/debian/pool/main/d/dxvk/dxvk_0.96+ds1-1_all.deb
wget http://ftp.br.debian.org/debian/pool/main/d/dxvk/dxvk-wine64-development_0.96+ds1-1_amd64.deb
sudo dpkg -i dxvk*
I updated my winetricks,

Code: Select all

gg@gg-UX305UA:~$ WINEARCH=win32 WINEPREFIX=~/.wine_edu winetricks dxvk
Using winetricks 20190615-next - sha256sum: 2d3311f8cc0783b747c4e074008e701f2ce844765ba53d2fd4d27126d1df2383 with wine-4.12.1 (Staging) and WINEARCH=win32
Executing w_do_call dxvk
Executing load_dxvk 
Executing cd /tmp/winetricks.UncIAtNP
Downloading https://raw.githubusercontent.com/doitsujin/dxvk/latest-release/RELEASE to /tmp/winetricks.UncIAtNP
--2019-07-27 08:26:54--  https://raw.githubusercontent.com/doitsujin/dxvk/latest-release/RELEASE
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.112.133
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 6 [text/plain]
Enregistre : «RELEASE»

RELEASE                                   100%[=====================================================================================>]       6  --.-KB/s    ds 0s      

2019-07-27 08:26:55 (278 KB/s) - «RELEASE» enregistré [6/6]

Executing cd /home/gg
Executing mkdir -p /home/gg/.cache/winetricks/dxvk
Executing cd /home/gg/.cache/winetricks/dxvk
Downloading https://github.com/doitsujin/dxvk/releases/download/v1.3.1/dxvk-1.3.1.tar.gz to /home/gg/.cache/winetricks/dxvk
--2019-07-27 08:26:55--  https://github.com/doitsujin/dxvk/releases/download/v1.3.1/dxvk-1.3.1.tar.gz
Résolution de github.com (github.com)… 140.82.118.3
Connexion à github.com (github.com)|140.82.118.3|:443… connecté.
requête HTTP transmise, en attente de la réponse… 302 Found
Emplacement : https://github-production-release-asset-2e65be.s3.amazonaws.com/106558568/59457100-ab4f-11e9-95ab-eda4c482c314?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190727%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190727T062655Z&X-Amz-Expires=300&X-Amz-Signature=054a7c22748715131f78525b7ad1bad33ab1fc9157a65cc5e57e83204535e27a&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddxvk-1.3.1.tar.gz&response-content-type=application%2Foctet-stream [suivant]
--2019-07-27 08:26:55--  https://github-production-release-asset-2e65be.s3.amazonaws.com/106558568/59457100-ab4f-11e9-95ab-eda4c482c314?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190727%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190727T062655Z&X-Amz-Expires=300&X-Amz-Signature=054a7c22748715131f78525b7ad1bad33ab1fc9157a65cc5e57e83204535e27a&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddxvk-1.3.1.tar.gz&response-content-type=application%2Foctet-stream
Résolution de github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.95.27
Connexion à github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.95.27|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 5284075 (5,0M) [application/octet-stream]
Enregistre : «dxvk-1.3.1.tar.gz»

dxvk-1.3.1.tar.gz                         100%[=====================================================================================>]   5,04M  3,91MB/s    ds 1,3s    

2019-07-27 08:26:57 (3,91 MB/s) - «dxvk-1.3.1.tar.gz» enregistré [5284075/5284075]

Executing cd /home/gg
------------------------------------------------------
Please refer to dxvk version 1.3.1 release notes... See: https://github.com/doitsujin/dxvk/releases/tag/v1.3.1
------------------------------------------------------
------------------------------------------------------
Please refer to current dxvk base graphics driver requirements... See: https://github.com/doitsujin/dxvk/wiki/Driver-support
------------------------------------------------------
Executing cd /home/gg/.wine_edu/dosdevices/c:/windows/temp/_dxvk
Executing tar -zxf /home/gg/.cache/winetricks/dxvk/dxvk-1.3.1.tar.gz
Executing mv /home/gg/.wine_edu/dosdevices/c:/windows/temp/_dxvk/dxvk-1.3.1/x32/dxgi.dll /home/gg/.wine_edu/dosdevices/c:/windows/system32/
Executing mv /home/gg/.wine_edu/dosdevices/c:/windows/temp/_dxvk/dxvk-1.3.1/x32/d3d10.dll /home/gg/.wine_edu/dosdevices/c:/windows/system32/
Executing mv /home/gg/.wine_edu/dosdevices/c:/windows/temp/_dxvk/dxvk-1.3.1/x32/d3d10_1.dll /home/gg/.wine_edu/dosdevices/c:/windows/system32/
Executing mv /home/gg/.wine_edu/dosdevices/c:/windows/temp/_dxvk/dxvk-1.3.1/x32/d3d10core.dll /home/gg/.wine_edu/dosdevices/c:/windows/system32/
Executing mv /home/gg/.wine_edu/dosdevices/c:/windows/temp/_dxvk/dxvk-1.3.1/x32/d3d11.dll /home/gg/.wine_edu/dosdevices/c:/windows/system32/
Using native override for following DLLs: dxgi d3d10 d3d10_1 d3d10core d3d11
Executing wine regedit C:\windows\Temp\_dxvk\override-dll.reg
gg@gg-UX305UA:~$
now re-installing, launching, and it works fine, after the 3 or 4 seconds wait, I get a nice login window.

Thanks a lot

jkfloris
Level 6
Level 6
Posts: 682
Joined: Thu Aug 14, 2014 10:10 am

Re: soft launches, then window becomes black

Post by jkfloris » Sat Jul 27, 2019 3:10 am

I'm glad you got the program up and running and used a great layout in your forum post!
+ level up :lol:
k3ck3c wrote:I had installed dxvk following

https://www.addictivetips.com/ubuntu-li ... -on-linux/

I did

Code: Select all

wget http://ftp.br.debian.org/debian/pool/main/d/dxvk/dxvk_0.96+ds1-1_all.deb
wget http://ftp.br.debian.org/debian/pool/main/d/dxvk/dxvk-wine64-development_0.96+ds1-1_amd64.deb
sudo dpkg -i dxvk*
Last thing I want to mention is this Wiki page
As you have seen, dxvk develops very fast. Even a half year old version is already outdated!

Post Reply