unable to use wine to run anything

Questions about Wine on Linux
Locked
berardely
Newbie
Newbie
Posts: 4
Joined: Mon Aug 20, 2018 4:54 am

unable to use wine to run anything

Post by berardely »

so ive been trying all day today to try to get Wine to run any of the Touhou games. ive tried using many different Wine versions and trying to launch different Touhou versions, none of it has worked at all. it was working just fine yesterday and i have no idea what i could have possibly changed to cause this to not work anymore.
in the attached file below, i was using wine version 3.14, i got it from this website and compiled it from source, it is what the output was when i tried to launch Touhou 8. ive also tried wine versions 3.13 and 3.0.2, which neither of those worked either, i didnt log the output of launching anything with them though.
when i ran the 'configure' file in the wine source code directory it did output this at the end:

Code: Select all

configure: libxinerama 32-bit development files not found, multi-monitor setups won't be supported.
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: pcap 32-bit development files not found, wpcap won't be supported.
configure: libhal 32-bit development files not found, no legacy dynamic device support.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: gstreamer-1.0 base plugins 32-bit development files not found, GStreamer won't be supported.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libSDL2 32-bit development files not found, SDL2 won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libkrb5 32-bit development files not found (or too old), Kerberos won't be supported.
configure: libgssapi_krb5 32-bit development files not found (or too old), no Kerberos SSP support.
configure: libtiff 32-bit development files not found, TIFF won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libvulkan and libMoltenVK 32-bit development files not found, Vulkan won't be supported.
configure: vkd3d 32-bit development files not found, Direct3D 12 won't be supported.
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.
does anyone have any idea how i can fix this? when i logged the output of wine when trying to open Touhou 8 it didnt tell me anything that i understand how to fix.
berardely
Newbie
Newbie
Posts: 4
Joined: Mon Aug 20, 2018 4:54 am

Re: unable to use wine to run anything

Post by berardely »

by the way i wasnt able to upload the actual log file, so here are the contents

Code: Select all

000d:err:menubuilder:RefreshFileTypeAssociations failed wait for semaphore
0034:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0034:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0034:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0029: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$
0029:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
0036:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x958878, init_notify 0, handle 0x119fc88): stub
wine: configuration in '/home/brendan/.wine' has been updated.
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32f914,0x00000000), stub!
0009:fixme:win:WINNLSEnableIME hwnd (nil) enable 0: stub!
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0055), starting debugger...
Ctrl-C: stopping debuggee
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32f914,0x00000000), stub!
0009:fixme:win:WINNLSEnableIME hwnd (nil) enable 0: stub!
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 002d), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00000000 ESP:01e0fa4c EBP:01e0fb88 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:0011ed28 EBX:00000000 ECX:00000000 EDX:0021fda2
 ESI:00000000 EDI:0021fd78
Stack dump:
0x01e0fa4c:  7e64de6d 00000003 00000000 0021fd98
0x01e0fa5c:  7e64fbeb 00154028 00000001 01e0fb68
0x01e0fa6c:  00151f64 00000000 00000002 00000280
0x01e0fa7c:  000001e0 78703d20 7e6aca21 00168e4c
0x01e0fa8c:  7e710228 001b01b8 00000000 00000000
0x01e0fa9c:  00000000 00004228 7e6c483c 00000000
Backtrace:
=>0 0x00000000 (0x01e0fb88)
  1 0x7e650fc4 shader_glsl_select+0xa3(shader_priv=0x151f50, context=0x150b30, state=0x1b0004c) [/mnt/hdd1/wine-3.14/dlls/wined3d/glsl_shader.c:10807] in wined3d (0x01e$
  2 0x7e612b72 draw_primitive+0x581(device=<is not available>, state=<is not available>, parameters=<is not available>) [/mnt/hdd1/wine-3.14/dlls/wined3d/context.c:3984$
  3 0x7e619c68 wined3d_cs_exec_draw+0xb7() [/mnt/hdd1/wine-3.14/dlls/wined3d/cs.c:871] in wined3d (0x01e0fe88)
  4 0x7e61a6e9 wined3d_cs_run+0xe8(ctx=<is not available>) [/mnt/hdd1/wine-3.14/dlls/wined3d/cs.c:2781] in wined3d (0x01e0fed8)
  5 0x7bc7f924 call_thread_func_wrapper+0xb() in ntdll (0x01e0feec)
  6 0x7bc82e29 call_thread_func+0xf8() [/mnt/hdd1/wine-3.14/dlls/ntdll/signal_i386.c:2654] in ntdll (0x01e0ffdc)
  7 0x7bc7f916 call_thread_entry+0x9() in ntdll (0x01e0ffec)
0x00000000: -- no code accessible --
Modules:
Module  Address                 Debug info      Name (141 modules)
PE        400000- 18dd000       Deferred        th08
ELF     67e8f000-67ec7000       Deferred        uxtheme<elf>
  \-PE  67ea0000-67ec7000       \               uxtheme
ELF     67ec7000-68000000       Deferred        comctl32<elf>
  \-PE  67ed0000-68000000       \               comctl32
ELF     78332000-78378000       Deferred        usp10<elf>
  \-PE  78340000-78378000       \               usp10
ELF     78378000-783c5000       Deferred        dinput<elf>
  \-PE  78380000-783c5000       \               dinput
ELF     783c5000-783dd000       Deferred        libresolv.so.2
  \-PE  78380000-783c5000       \               dinput
ELF     783c5000-783dd000       Deferred        libresolv.so.2
ELF     783dd000-78469000       Deferred        libvorbisenc.so.2
ELF     78469000-784af000       Deferred        libflac.so.8
ELF     784af000-78545000       Deferred        libsndfile.so.1
ELF     78545000-785ce000       Deferred        libpulsecommon-11.1.so
ELF     785ce000-78700000       Deferred        oleaut32<elf>
  \-PE  785e0000-78700000       \               oleaut32
ELF     78813000-78870000       Deferred        libpulse.so.0
ELF     79b06000-79b34000       Deferred        libvorbis.so.0
ELF     79b34000-79b3c000       Deferred        libogg.so.0
ELF     79b3c000-79b44000       Deferred        libuuid.so.1
ELF     79b44000-79b4e000       Deferred        librt.so.1
ELF     79b4e000-79b54000       Deferred        libasyncns.so.0
ELF     7a596000-7a5f1000       Deferred        libncurses.so.6
ELF     7a800000-7a93d000       Deferred        opengl32<elf>
  \-PE  7a820000-7a93d000       \               opengl32
ELF     7a940000-7a94b000       Deferred        libwrap.so.0
ELF     7a94b000-7a969000       Deferred        libice.so.6
ELF     7a975000-7a98b000       Deferred        winejoystick<elf>
  \-PE  7a980000-7a98b000       \               winejoystick
ELF     7a98b000-7aaed000       Deferred        libllvmsupport.so.6
ELF     7aaed000-7adb1000       Deferred        libllvmcore.so.6
ELF     7adb1000-7ae79000       Deferred        libllvmmc.so.6
ELF     7ae79000-7af45000       Deferred        libllvmobject.so.6
ELF     7af45000-7b400000       Deferred        libllvmcodegen.so.6
ELF     7b400000-7b7ec000       Deferred        kernel32<elf>
  \-PE  7b420000-7b7ec000       \               kernel32
ELF     7b7f0000-7b81a000       Deferred        winepulse<elf>
  \-PE  7b800000-7b81a000       \               winepulse
ELF     7b81a000-7b87d000       Deferred        libllvmbitreader.so.6
ELF     7b87d000-7bc00000       Deferred        libllvmanalysis.so.6
ELF     7bc00000-7bcfd000       Dwarf           ntdll<elf>
  \-PE  7bc10000-7bcfd000       \               ntdll
ELF     7bcfd000-7bd05000       Deferred        libxtst.so.6
ELF     7bd05000-7bd0f000       Deferred        libsm.so.6
ELF     7bd0f000-7bd32000       Deferred        mmdevapi<elf>
  \-PE  7bd10000-7bd32000       \               mmdevapi
ELF     7bd56000-7c000000       Deferred        libllvmx86desc.so.6
ELF     7c000000-7c004000       Deferred        <wine-loader>
ELF     7c00a000-7c027000       Deferred        libgcc_s.so.1
ELF     7c027000-7c045000       Deferred        libllvmdemangle.so.6
ELF     7c045000-7c05d000       Deferred        libllvmbinaryformat.so.6
ELF     7c05d000-7c0a6000       Deferred        libllvmmcparser.so.6
ELF     7c0a6000-7c107000       Deferred        libllvmprofiledata.so.6
ELF     7c107000-7c150000       Deferred        libllvmbitwriter.so.6
ELF     7c150000-7c1bf000       Deferred        libllvmruntimedyld.so.6
ELF     7c1bf000-7c1cf000       Deferred        libllvmtarget.so.6
ELF     7c1cf000-7c229000       Deferred        libllvmx86asmprinter.so.6
ELF     7c229000-7c400000       Deferred        libllvmtransformutils.so.6
ELF     7c1cf000-7c229000       Deferred        libllvmx86asmprinter.so.6
ELF     7c229000-7c400000       Deferred        libllvmtransformutils.so.6
ELF     7c405000-7c42c000       Deferred        libllvmexecutionengine.so.6
ELF     7c42c000-7c43d000       Deferred        libllvmmcjit.so.6
ELF     7c43d000-7c547000       Deferred        libllvminstcombine.so.6
ELF     7c547000-7c864000       Deferred        libllvmscalaropts.so.6
ELF     7c864000-7c918000       Deferred        libllvmdebuginfocodeview.so.6
ELF     7c918000-7cbe0000       Deferred        libllvmselectiondag.so.6
ELF     7cbe0000-7cf8f000       Deferred        libllvmx86codegen.so.6
ELF     7d041000-7d050000       Deferred        libllvmx86utils.so.6
ELF     7d050000-7d053000       Deferred        libllvmx86info.so.6
ELF     7d053000-7d05c000       Deferred        libllvmmcdisassembler.so.6
ELF     7d05c000-7d06e000       Deferred        libllvmdebuginfomsf.so.6
ELF     7d06e000-7d12c000       Deferred        libllvmasmprinter.so.6
ELF     7d12c000-7d18f000       Deferred        libllvmglobalisel.so.6
ELF     7d18f000-7d271000       Deferred        libllvmx86asmparser.so.6
ELF     7d271000-7d3d8000       Deferred        libllvmx86disassembler.so.6
ELF     7d3d8000-7d3e2000       Deferred        libdrm_nouveau.so.2
ELF     7d3e2000-7df77000       Deferred        nouveau_dri.so
ELF     7df77000-7df8c000       Deferred        libdrm.so.2
ELF     7df8c000-7df92000       Deferred        libxcb-dri2.so.0
ELF     7df92000-7dfaf000       Deferred        libxcb-glx.so.0
ELF     7dfaf000-7dfb2000       Deferred        libx11-xcb.so.1
ELF     7dfb2000-7dfb6000       Deferred        libxdamage.so.1
ELF     7dfb6000-7dfd4000       Deferred        libglapi.so.0
ELF     7dfd4000-7dfd7000       Deferred        libxshmfence.so.1
ELF     7dfd7000-7dfdf000       Deferred        libxcb-sync.so.1
ELF     7dfdf000-7dfe3000       Deferred        libxcb-present.so.0
ELF     7dfe3000-7dfec000       Deferred        libxcb-xfixes.so.0
ELF     7dfec000-7dff2000       Deferred        libxcb-dri3.so.0
ELF     7dff2000-7e068000       Deferred        libgl.so.1
ELF     7e068000-7e06f000       Deferred        libxfixes.so.3
ELF     7e06f000-7e07b000       Deferred        libxcursor.so.1
ELF     7e07b000-7e08f000       Deferred        libxi.so.6
ELF     7e08f000-7e09d000       Deferred        libxrandr.so.2
ELF     7e09d000-7e0a9000       Deferred        libxrender.so.1
ELF     7e0a9000-7e0d6000       Deferred        libxcb.so.1
ELF     7e0d6000-7e228000       Deferred        libx11.so.6
ELF     7e228000-7e23e000       Deferred        libxext.so.6
ELF     7e260000-7e2ee000       Deferred        winex11<elf>
  \-PE  7e270000-7e2ee000       \               winex11
ELF     7e2ee000-7e312000       Deferred        imm32<elf>
  \-PE  7e2f0000-7e312000       \               imm32
ELF     7e312000-7e345000       Deferred        libexpat.so.1
ELF     7e345000-7e391000       Deferred        libfontconfig.so.1
ELF     7e391000-7e3ab000       Deferred        libz.so.1
ELF     7e3ab000-7e3e8000       Deferred        libpng16.so.16
ELF     7e3e8000-7e3fa000       Deferred        libbz2.so.1
ELF     7e3fa000-7e4be000       Deferred        libfreetype.so.6
ELF     7e4be000-7e4c2000       Deferred        libxcomposite.so.1
ELF     7e4c2000-7e4c9000       Deferred        libxxf86vm.so.1
ELF     7e4c9000-7e4d0000       Deferred        libxdmcp.so.6
ELF     7e4e0000-7e50b000       Deferred        msacm32<elf>
  \-PE  7e4f0000-7e50b000        \               msacm32
ELF     7e50b000-7e5c4000       Deferred        winmm<elf>
  \-PE  7e510000-7e5c4000       \               winmm
ELF     7e5c4000-7e711000       Dwarf           wined3d<elf>
  \-PE  7e5d0000-7e711000       \               wined3d
ELF     7e711000-7e746000       Deferred        d3d8<elf>
  \-PE  7e720000-7e746000       \               d3d8
ELF     7e746000-7e791000       Deferred        dsound<elf>
  \-PE  7e750000-7e791000       \               dsound
ELF     7e791000-7e812000       Deferred        rpcrt4<elf>
  \-PE  7e7a0000-7e812000       \               rpcrt4
ELF     7e812000-7e82c000       Deferred        version<elf>
  \-PE  7e820000-7e82c000       \               version
ELF     7e82c000-7e953000       Deferred        gdi32<elf>
  \-PE  7e840000-7e953000       \               gdi32
ELF     7e953000-7eb59000       Deferred        user32<elf>
  \-PE  7e970000-7eb59000       \               user32
ELF     7eb59000-7ebd2000       Deferred        advapi32<elf>
  \-PE  7eb70000-7ebd2000       \               advapi32
ELF     7ebd2000-7ed2c000       Deferred        ole32<elf>
  \-PE  7ebf0000-7ed2c000       \               ole32
ELF     7ef12000-7efde000       Deferred        libm.so.6
ELF     7efdf000-7efe4000       Deferred        libxau.so.6
ELF     7efe4000-7f000000       Deferred        dinput8<elf>
  \-PE  7eff0000-7f000000       \               dinput8
ELF     f7b9e000-f7ba3000       Deferred        libdl.so.2
ELF     f7ba3000-f7d8d000       Deferred        libc.so.6
ELF     f7d8d000-f7dad000       Deferred        libpthread.so.0
ELF     f7dc1000-f7dcf000       Deferred        libnss_files.so.2
ELF     f7dcf000-f7f86000       Dwarf           libwine.so.1
ELF     f7f88000-f7fb0000       Deferred        ld-linux.so.2
ELF     f7fb3000-f7fb4000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\mnt\hdd1\Touhou\Touhou 8 - Imperishable Night\th08.exe
        00000032    0
        00000031    0
        00000030   15
        0000002f   15
        0000002e    0
        0000002d    0 <==
        00000009    0
0000000e services.exe
        00000024    0
        0000001f    0
        00000013    0
        00000010    0
        0000000f    0
00000011 winedevice.exe
        0000001c    0
        00000019    0
        00000018    0
        00000012    0
00000016 explorer.exe
        0000002c    0
        0000002b    0
        0000002a    0
        00000017    0
0000001d plugplay.exe
        00000021    0
        00000020    0
        0000001e    0
00000022 winedevice.exe
        00000029    0
        00000026    0
        00000025    0
        00000023    0
System information:
    Wine build: wine-3.14
    Platform: i386
    Version: Windows 10
    Host system: Linux
    Host version: 4.14.65-gentoo
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: unable to use wine to run anything

Post by Bob Wya »

berardely wrote:... in the attached file below, i was using wine version 3.14, i got it from this website and compiled it from source ...
Why?? Are you running Gentoo or something? :wink:

There are binary packages for most major Linux distributions: WineHQ Download ; which is what end-users are expected to use...

Bob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: unable to use wine to run anything

Post by Bob Wya »

OK so you are running Gentoo... :lol:

You've got some app-emulation/wine-vanilla USE flags disabled - that I would probably encourage people to enable for games / gaming:
  • mp3
  • gstreamer
  • osmesa
  • xinerama
Is the application portable, you are testing?
Because you are using WINEPREFIX:

Code: Select all

/home/brendan/.wine
and referencing an application installed at:

Code: Select all

/mnt/hdd1/Touhou/Touhou 8 - Imperishable Night
This looks suspect.

Bob
berardely
Newbie
Newbie
Posts: 4
Joined: Mon Aug 20, 2018 4:54 am

Re: unable to use wine to run anything

Post by berardely »

Bob Wya wrote:OK so you are running Gentoo... :lol:
You've got some app-emulation/wine-vanilla USE flags disabled - that I would probably encourage people to enable for games / gaming:
  • mp3
  • gstreamer
  • osmesa
  • xinerama
Bob
ok i was unable to successfully compile wine with the osmesa use flag, all the other ones worked right, though it still doesnt work after that. this time i just used portage to install it. it still wont run though after compiling it with all the other useflags you reccommended

though this is what happened with trying to compile it with the osmesa useflag, i could post the outputs of those commands if you want to help me with it.

Code: Select all

>>> Failed to emerge media-libs/mesa-18.1.6, Log file:

>>>  '/var/tmp/portage/media-libs/mesa-18.1.6/temp/build.log'

 * Messages for package media-libs/mesa-18.1.6:

 * ERROR: media-libs/mesa-18.1.6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mesa-18.1.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-18.1.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-18.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-18.1.6/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-18.1.6/work/mesa-18.1.6-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/mesa-18.1.6/work/mesa-18.1.6'
berardely
Newbie
Newbie
Posts: 4
Joined: Mon Aug 20, 2018 4:54 am

Re: unable to use wine to run anything

Post by berardely »

Bob Wya wrote: You've got some app-emulation/wine-vanilla USE flags disabled - that I would probably encourage people to enable for games / gaming:
  • mp3
  • gstreamer
  • osmesa
  • xinerama
Bob
ok so i figured out how to compile wine with the osmesa useflag. when i tried to recompile media-libs/mesa with the osmesa useflag, i got some error about being unable to include the llvm/ADT/Twine.h library. so i just compiled mesa without llvm support and it worked fine. so basically ive recompiled wine version 3.0.2 from portage with all the useflags you recommended but yet wine still crashes when i try to run anything.
by the way yesterday the only thing i did with wine is create a new 32 bit wineprefix to try and run diablo 3, but i dont think that would have messed anything up. i remember everything working properly before that, though i dont think i had used wine for a few days before i tried to setup diablo 3.
also i just tried wine to run the elder scrolls V: skyrim, the launch menu loaded just fine, but the game freezes when i actually try to run it. it sounds like it could be something related to 3d rendering. here are some terminal outputs when i try to run it with wine

Code: Select all

0030:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x1440a8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!]
0030:fixme:win:EnumDisplayDevicesW ((null),0,0x33f464,0x00000000), stub!
0030:fixme:d3d9:D3DPERF_SetOptions (0x1) : stub
0030:fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT!
0030:fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table.
0030:fixme:xinput:XInputSetState (index 0, vibration 0x33fc28) Stub!
0030:fixme:xinput:XInputSetState (index 0, vibration 0x33fc14) Stub!
Locked