Tera Online working on Fedora, broken on Gentoo

Questions about Wine on Linux
Locked
siber.cat1
Level 1
Level 1
Posts: 6
Joined: Wed Feb 17, 2016 2:53 am

Tera Online working on Fedora, broken on Gentoo

Post by siber.cat1 »

So I've got a weird problem with Wine right now, and it's keeping me from playing Tera. When I originally set up this PC, I decided to give Fedora a try, and was happy for the most part, but I ended up missing the under the hood feel of Gentoo, so I switched back about a month ago.
I've got most everything working again, but the single biggest problem I haven't been able to solve is getting Tera running again. Every time I run TERA-Launcher.exe, I get a crash at 0x1045a910, which corresponds to libcef.dll that comes bundled with the game. I will mention that I had my /home mounted on a separate partition from the beginning, and kept all my hidden config files, but at this time I have deleted the wine prefix at least a dozen times. I think I've eliminated that as being the problem by creating a new user and trying to install and run Tera on that one.

I have a list of the packages installed on my old Fedora installation, which is now gone, and have generated the installed packages list and config settings for Gentoo's package manager. I'd include them, but my Fedora list is apparently 3.8MB. I am configuring my own Linux kernel in Gentoo, and can provide the config file for that if necessary as well. Oh, and I do not have any winetricks installed at the moment. Any help in getting this figured out would be appreciated.
The debugger output from the crash is below:

Code: Select all

0x1045a910: int	$3
Modules:
Module	Address			Debug info	Name (129 modules)
PE	  400000-  4b7000	Deferred        tera-launcher
PE	 3280000- 32b8000	Deferred        launcher
PE	 32d0000- 333b000	Deferred        patcher
PE	 3460000- 348d000	Deferred        copycub
PE	 3bb0000- 3c60000	Deferred        downloader
PE	10000000-113b2000	Export          libcef
PE	4ad00000-4b681000	Deferred        icudt
ELF	7b800000-7b926000	Deferred        kernel32<elf>
  \-PE	7b810000-7b926000	\               kernel32
ELF	7bc00000-7bcf8000	Dwarf           ntdll<elf>
  \-PE	7bc20000-7bcf8000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d1e8000-7d200000	Deferred        libresolv.so.2
ELF	7d330000-7d3a4000	Deferred        d3dcompiler_43<elf>
  \-PE	7d340000-7d3a4000	\               d3dcompiler_43
ELF	7d3a4000-7d422000	Deferred        libcups.so.2
ELF	7d422000-7d498000	Deferred        libgmp.so.10
ELF	7d498000-7d4cf000	Deferred        libhogweed.so.4
ELF	7d4cf000-7d50f000	Deferred        libnettle.so.6
ELF	7d50f000-7d524000	Deferred        libtasn1.so.6
ELF	7d524000-7d65b000	Deferred        libgnutls.so.28
ELF	7d671000-7d68b000	Deferred        d3dx9_43<elf>
  \-PE	7d680000-7d68b000	\               d3dx9_43
ELF	7d68b000-7d6f1000	Deferred        comdlg32<elf>
  \-PE	7d690000-7d6f1000	\               comdlg32
ELF	7d6f1000-7d72c000	Deferred        winspool<elf>
  \-PE	7d700000-7d72c000	\               winspool
ELF	7d72c000-7d770000	Deferred        usp10<elf>
  \-PE	7d730000-7d770000	\               usp10
ELF	7d770000-7d784000	Deferred        msimg32<elf>
  \-PE	7d780000-7d784000	\               msimg32
ELF	7d784000-7d79c000	Deferred        userenv<elf>
  \-PE	7d790000-7d79c000	\               userenv
ELF	7d79c000-7d800000	Deferred        setupapi<elf>
  \-PE	7d7b0000-7d800000	\               setupapi
ELF	7d904000-7d96a000	Deferred        wininet<elf>
  \-PE	7d910000-7d96a000	\               wininet
ELF	7d96a000-7da00000	Deferred        urlmon<elf>
  \-PE	7d980000-7da00000	\               urlmon
ELF	7db00000-7db2f000	Deferred        netapi32<elf>
  \-PE	7db10000-7db2f000	\               netapi32
ELF	7db2f000-7db61000	Deferred        secur32<elf>
  \-PE	7db40000-7db61000	\               secur32
ELF	7db61000-7db7d000	Deferred        libgcc_s.so.1
ELF	7db8c000-7dbad000	Deferred        mpr<elf>
  \-PE	7db90000-7dbad000	\               mpr
ELF	7dbad000-7dbc7000	Deferred        cryptnet<elf>
  \-PE	7dbb0000-7dbc7000	\               cryptnet
ELF	7dbc7000-7dc09000	Deferred        rsaenh<elf>
  \-PE	7dbd0000-7dc09000	\               rsaenh
ELF	7dc09000-7dc1d000	Deferred        psapi<elf>
  \-PE	7dc10000-7dc1d000	\               psapi
ELF	7dc1d000-7dc83000	Deferred        dbghelp<elf>
  \-PE	7dc20000-7dc83000	\               dbghelp
ELF	7dc83000-7dc9e000	Deferred        imagehlp<elf>
  \-PE	7dc90000-7dc9e000	\               imagehlp
ELF	7dc9e000-7dcd6000	Deferred        uxtheme<elf>
  \-PE	7dca0000-7dcd6000	\               uxtheme
ELF	7dcd6000-7ddc6000	Deferred        comctl32<elf>
  \-PE	7dce0000-7ddc6000	\               comctl32
ELF	7ddc6000-7ddf0000	Deferred        iphlpapi<elf>
  \-PE	7ddd0000-7ddf0000	\               iphlpapi
ELF	7ddf0000-7de04000	Deferred        sensapi<elf>
  \-PE	7de00000-7de04000	\               sensapi
ELF	7de26000-7de2d000	Deferred        libxfixes.so.3
ELF	7de2d000-7de39000	Deferred        libxcursor.so.1
ELF	7de3c000-7de43000	Deferred        libnss_dns.so.2
ELF	7de7a000-7dea4000	Deferred        libexpat.so.1
ELF	7dea4000-7dee8000	Deferred        libfontconfig.so.1
ELF	7dee8000-7df26000	Deferred        libpng16.so.16
ELF	7df26000-7df38000	Deferred        libbz2.so.1
ELF	7df38000-7df50000	Deferred        libz.so.1
ELF	7df50000-7e002000	Deferred        libfreetype.so.6
ELF	7e002000-7e015000	Deferred        libxi.so.6
ELF	7e015000-7e022000	Deferred        libxrandr.so.2
ELF	7e022000-7e02e000	Deferred        libxrender.so.1
ELF	7e02e000-7e035000	Deferred        libxxf86vm.so.1
ELF	7e035000-7e05b000	Deferred        libxcb.so.1
ELF	7e05b000-7e1ab000	Deferred        libx11.so.6
ELF	7e1db000-7e26b000	Deferred        winex11<elf>
  \-PE	7e1f0000-7e26b000	\               winex11
ELF	7e26b000-7e2bc000	Deferred        winmm<elf>
  \-PE	7e270000-7e2bc000	\               winmm
ELF	7e2bc000-7e351000	Deferred        crypt32<elf>
  \-PE	7e2d0000-7e351000	\               crypt32
ELF	7e351000-7e387000	Deferred        wintrust<elf>
  \-PE	7e360000-7e387000	\               wintrust
ELF	7e387000-7e407000	Deferred        rpcrt4<elf>
  \-PE	7e390000-7e407000	\               rpcrt4
ELF	7e407000-7e53d000	Deferred        ole32<elf>
  \-PE	7e420000-7e53d000	\               ole32
ELF	7e53d000-7e674000	Deferred        oleaut32<elf>
  \-PE	7e550000-7e674000	\               oleaut32
ELF	7e674000-7e691000	Deferred        jsproxy<elf>
  \-PE	7e680000-7e691000	\               jsproxy
ELF	7e691000-7e6d0000	Deferred        winhttp<elf>
  \-PE	7e6a0000-7e6d0000	\               winhttp
ELF	7e6d0000-7e70b000	Deferred        ws2_32<elf>
  \-PE	7e6e0000-7e70b000	\               ws2_32
ELF	7e70b000-7e77f000	Deferred        shlwapi<elf>
  \-PE	7e720000-7e77f000	\               shlwapi
ELF	7e77f000-7e9cb000	Deferred        shell32<elf>
  \-PE	7e790000-7e9cb000	\               shell32
ELF	7e9cb000-7e9ef000	Deferred        imm32<elf>
  \-PE	7e9d0000-7e9ef000	\               imm32
ELF	7e9ef000-7ea67000	Deferred        advapi32<elf>
  \-PE	7ea00000-7ea67000	\               advapi32
ELF	7ea67000-7eb7f000	Deferred        gdi32<elf>
  \-PE	7ea70000-7eb7f000	\               gdi32
ELF	7eb7f000-7ecfb000	Deferred        user32<elf>
  \-PE	7eb90000-7ecfb000	\               user32
ELF	7ecfb000-7ed4f000	Deferred        libncurses.so.5
ELF	7ef4f000-7ef5d000	Deferred        libnss_files.so.2
ELF	7ef5d000-7ef6a000	Deferred        libnss_nis.so.2
ELF	7ef6a000-7ef85000	Deferred        libnsl.so.1
ELF	7ef85000-7efd0000	Deferred        libm.so.6
ELF	7efd1000-7efe6000	Deferred        libxext.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73c0000-f73c7000	Deferred        libxdmcp.so.6
ELF	f73c7000-f73cc000	Deferred        libxau.so.6
ELF	f73cd000-f757b000	Dwarf           libc.so.6
ELF	f757c000-f7581000	Deferred        libdl.so.2
ELF	f7581000-f759d000	Dwarf           libpthread.so.0
ELF	f75c0000-f75c4000	Deferred        libxcomposite.so.1
ELF	f75c4000-f75cd000	Deferred        libnss_compat.so.2
ELF	f75cd000-f7796000	Dwarf           libwine.so.1
ELF	f7797000-f77bb000	Deferred        ld-linux.so.2
ELF	f77bd000-f77be000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\sibercat\drive_c\TERA\TERA-Launcher.exe
	0000005b    0
	0000005a    0
	00000057    0
	00000056    0
	00000052    0
	00000051    0
	00000050    0
	0000004f    0
	0000004e    0
	00000042    0
	00000040    0
	0000003f    0
	0000003e    0
	0000003d    0
	0000003c    0
	0000003b    0 <==
	0000003a    0
	00000039    0
	00000038    0
	00000037    0
	00000036    0
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
	0000002e    0
	0000002d    0
	0000002c    0
	0000002b    0
	00000028    0
	00000027    0
	00000026    0
	00000009    0
0000000e services.exe
	00000020    0
	0000001f    0
	00000016    0
	00000012    0
	0000000f    0
00000010 explorer.exe
	00000025    0
	00000024    0
	00000023    0
	00000011    0
00000014 winedevice.exe
	0000001e    0
	0000001b    0
	0000001a    0
	00000015    0
0000001c plugplay.exe
	00000022    0
	00000021    0
	0000001d    0
System information:
    Wine build: wine-1.8 (Staging)
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.1.12-gentoo
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by dimesio »

Code: Select all

Wine build: wine-1.8 (Staging)
Try the latest development and/or staging release.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by Bob Wya »

@siber.cat1,

Hi yah, fellow Gentoo user!!

Have you tested any other games or applications - running under Wine - on your Gentoo install. Just to make sure you haven't borked your set-up in someway?

CEF frameworks (possibly the issue at hand):
libcef.dll Chromium Embedded Framework (CEF) Dynamic Link Library. Chromium Embedded Framework (CEF) Dynamic Link Library.
I think bug 39403 might be a factor - if sandboxing is enabled. Not sure why it would work on Fedora - unless something has changed recently (e.g a Tera Online client update)... Always a good idea to keep more than one distro installed (I've currently got Arch, Gentoo, Fedora 23, Ubuntu Mate 15.10 & OpenSUSE Tumbleweed on my laptop) - for testing purposes and because reasons... :lol:

The 2 patches (linked to from the bug report above):
ntdll: Add thunks to support Chrome's sandbox trampolines.
hack for CrossOver
are tested (by my good self) and work well enough for the Steam client.
The latter patch is total hack - take a look at it if you don't believe me!! It would need "massaging work" to use it with other executables calling the chrome sandbox. :-)

#horrible-self-promotion 8)
I've got a live Wine build in my overlay, listed in layman (bobwya), that is a slight improvement over the stock Gentoo one... With USE +staging it'll build off the Wine Staging git master and then get Wine git commit referenced by the Wine Staging master commit (the latest live Gentoo Wine ebuild is bit wonky - since it does stuff back-to-front). My live version works better when the Wine and Wine Staging git trees are out of sync (uhmmm - because they always are). All Gentoo users should "live on the edge". 8)
The live ebuild can be passed a Wine (USE -staging) or a Wine Staging (USE +staging) commit hash as well and will build wine against that.

Bob
siber.cat1
Level 1
Level 1
Posts: 6
Joined: Wed Feb 17, 2016 2:53 am

Re: Tera Online working on Fedora, broken on Gentoo

Post by siber.cat1 »

I tried using Bob Wya's live ebuild, and get a compilation error about initializing the loop variable in a for loop in shader.c when using the wine-staging, and wants -std=c99, c11, gnu99, or gnu11 defined, but when I do, something strips the CFLAGS and CXXFLAGS and removes that gcc flag. I did, however, get regular Wine-1.9.4 installed, and receive the same error, listed below.

I also am working on getting Fedora installed and working again next to this Gentoo install, but it would still be nice to figure out why this game seems to work on some distros but not others. (Granted I've only tested two so far.)

Code: Select all

0x1045a910: int	$3
Modules:
Module	Address			Debug info	Name (128 modules)
PE	  400000-  4b7000	Deferred        tera-launcher
PE	 1fc0000- 1fed000	Deferred        copycub
PE	 3100000- 3138000	Deferred        launcher
PE	 3140000- 31ab000	Deferred        patcher
PE	 3550000- 3600000	Deferred        downloader
PE	10000000-113b2000	Export          libcef
PE	4ad00000-4b681000	Deferred        icudt
ELF	7b800000-7b926000	Deferred        kernel32<elf>
  \-PE	7b810000-7b926000	\               kernel32
ELF	7bc00000-7bced000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bced000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d20a000-7d222000	Deferred        libresolv.so.2
ELF	7d2b3000-7d327000	Deferred        d3dcompiler_43<elf>
  \-PE	7d2c0000-7d327000	\               d3dcompiler_43
ELF	7d427000-7d4a5000	Deferred        libcups.so.2
ELF	7d4a5000-7d51b000	Deferred        libgmp.so.10
ELF	7d51b000-7d552000	Deferred        libhogweed.so.4
ELF	7d552000-7d592000	Deferred        libnettle.so.6
ELF	7d592000-7d5a7000	Deferred        libtasn1.so.6
ELF	7d5a7000-7d6de000	Deferred        libgnutls.so.28
ELF	7d6f4000-7d70e000	Deferred        d3dx9_43<elf>
  \-PE	7d700000-7d70e000	\               d3dx9_43
ELF	7d70e000-7d775000	Deferred        comdlg32<elf>
  \-PE	7d710000-7d775000	\               comdlg32
ELF	7d775000-7d7b0000	Deferred        winspool<elf>
  \-PE	7d780000-7d7b0000	\               winspool
ELF	7d818000-7d82c000	Deferred        psapi<elf>
  \-PE	7d820000-7d82c000	\               psapi
ELF	7d82c000-7d871000	Deferred        usp10<elf>
  \-PE	7d830000-7d871000	\               usp10
ELF	7d871000-7d885000	Deferred        msimg32<elf>
  \-PE	7d880000-7d885000	\               msimg32
ELF	7d885000-7d89d000	Deferred        userenv<elf>
  \-PE	7d890000-7d89d000	\               userenv
ELF	7d89d000-7d900000	Deferred        setupapi<elf>
  \-PE	7d8b0000-7d900000	\               setupapi
ELF	7da0b000-7da38000	Deferred        netapi32<elf>
  \-PE	7da10000-7da38000	\               netapi32
ELF	7da38000-7da6a000	Deferred        secur32<elf>
  \-PE	7da40000-7da6a000	\               secur32
ELF	7da6a000-7db00000	Deferred        urlmon<elf>
  \-PE	7da80000-7db00000	\               urlmon
ELF	7dc12000-7dc78000	Deferred        wininet<elf>
  \-PE	7dc20000-7dc78000	\               wininet
ELF	7dc78000-7dc94000	Deferred        libgcc_s.so.1
ELF	7dca3000-7dcc4000	Deferred        mpr<elf>
  \-PE	7dcb0000-7dcc4000	\               mpr
ELF	7dcc4000-7dcde000	Deferred        cryptnet<elf>
  \-PE	7dcd0000-7dcde000	\               cryptnet
ELF	7dcde000-7dd20000	Deferred        rsaenh<elf>
  \-PE	7dce0000-7dd20000	\               rsaenh
ELF	7dd20000-7dd3a000	Deferred        imagehlp<elf>
  \-PE	7dd30000-7dd3a000	\               imagehlp
ELF	7dd3a000-7dd72000	Deferred        uxtheme<elf>
  \-PE	7dd40000-7dd72000	\               uxtheme
ELF	7dd72000-7de61000	Deferred        comctl32<elf>
  \-PE	7dd80000-7de61000	\               comctl32
ELF	7de61000-7de8a000	Deferred        iphlpapi<elf>
  \-PE	7de70000-7de8a000	\               iphlpapi
ELF	7de8a000-7de9e000	Deferred        sensapi<elf>
  \-PE	7de90000-7de9e000	\               sensapi
ELF	7dec0000-7dec7000	Deferred        libxfixes.so.3
ELF	7dec7000-7ded3000	Deferred        libxcursor.so.1
ELF	7ded3000-7dee6000	Deferred        libxi.so.6
ELF	7dee6000-7deea000	Deferred        libxcomposite.so.1
ELF	7deea000-7def7000	Deferred        libxrandr.so.2
ELF	7def7000-7df03000	Deferred        libxrender.so.1
ELF	7df03000-7df0a000	Deferred        libxxf86vm.so.1
ELF	7df0a000-7df11000	Deferred        libxdmcp.so.6
ELF	7df11000-7df16000	Deferred        libxau.so.6
ELF	7df16000-7df3c000	Deferred        libxcb.so.1
ELF	7df3c000-7e08c000	Deferred        libx11.so.6
ELF	7e08c000-7e0a1000	Deferred        libxext.so.6
ELF	7e0a6000-7e0ad000	Deferred        libnss_dns.so.2
ELF	7e0d1000-7e160000	Deferred        winex11<elf>
  \-PE	7e0e0000-7e160000	\               winex11
ELF	7e160000-7e185000	Deferred        msacm32<elf>
  \-PE	7e170000-7e185000	\               msacm32
ELF	7e185000-7e1d6000	Deferred        winmm<elf>
  \-PE	7e190000-7e1d6000	\               winmm
ELF	7e1d6000-7e26b000	Deferred        crypt32<elf>
  \-PE	7e1e0000-7e26b000	\               crypt32
ELF	7e26b000-7e2a1000	Deferred        wintrust<elf>
  \-PE	7e270000-7e2a1000	\               wintrust
ELF	7e2a1000-7e321000	Deferred        rpcrt4<elf>
  \-PE	7e2b0000-7e321000	\               rpcrt4
ELF	7e321000-7e457000	Deferred        ole32<elf>
  \-PE	7e340000-7e457000	\               ole32
ELF	7e457000-7e58f000	Deferred        oleaut32<elf>
  \-PE	7e470000-7e58f000	\               oleaut32
ELF	7e58f000-7e5ac000	Deferred        jsproxy<elf>
  \-PE	7e590000-7e5ac000	\               jsproxy
ELF	7e5ac000-7e5eb000	Deferred        winhttp<elf>
  \-PE	7e5b0000-7e5eb000	\               winhttp
ELF	7e5eb000-7e626000	Deferred        ws2_32<elf>
  \-PE	7e5f0000-7e626000	\               ws2_32
ELF	7e626000-7e699000	Deferred        shlwapi<elf>
  \-PE	7e630000-7e699000	\               shlwapi
ELF	7e699000-7e890000	Deferred        shell32<elf>
  \-PE	7e6b0000-7e890000	\               shell32
ELF	7e890000-7e8b4000	Deferred        imm32<elf>
  \-PE	7e8a0000-7e8b4000	\               imm32
ELF	7e8bc000-7e8e6000	Deferred        libexpat.so.1
ELF	7e8e6000-7e92a000	Deferred        libfontconfig.so.1
ELF	7e92a000-7e968000	Deferred        libpng16.so.16
ELF	7e968000-7e980000	Deferred        libz.so.1
ELF	7e980000-7ea32000	Deferred        libfreetype.so.6
ELF	7ea62000-7eada000	Deferred        advapi32<elf>
  \-PE	7ea70000-7eada000	\               advapi32
ELF	7eada000-7ebed000	Deferred        gdi32<elf>
  \-PE	7eaf0000-7ebed000	\               gdi32
ELF	7ebed000-7ed50000	Deferred        user32<elf>
  \-PE	7ec00000-7ed50000	\               user32
ELF	7ed50000-7ed5e000	Deferred        libnss_files.so.2
ELF	7ed5e000-7ed6b000	Deferred        libnss_nis.so.2
ELF	7ed6b000-7ed85000	Deferred        libnsl.so.1
ELF	7ef85000-7efd0000	Deferred        libm.so.6
ELF	7efd4000-7efe6000	Deferred        libbz2.so.1
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f7408000-f740d000	Deferred        libdl.so.2
ELF	f740d000-f75bb000	Dwarf           libc.so.6
ELF	f75bb000-f75d7000	Dwarf           libpthread.so.0
ELF	f75d7000-f75e0000	Deferred        libnss_compat.so.2
ELF	f7607000-f77bf000	Dwarf           libwine.so.1
ELF	f77c0000-f77e4000	Deferred        ld-linux.so.2
ELF	f77e6000-f77e7000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 TERA-Minimal-Setup.exe
	00000029    0
	00000028    0
	00000027    0
	00000009    0
0000000e services.exe
	0000001e    0
	0000001d    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001a    0
	00000019    0
	00000018    0
	00000013    0
0000001b plugplay.exe
	00000020    0
	0000001f    0
	0000001c    0
00000021 explorer.exe
	00000025    0
	00000024    0
	00000023    0
	00000022    0
0000002f rpcss.exe
	00000043    0
	0000003a    0
	00000035    0
	00000034    0
	00000033    0
	00000031    0
	00000030    0
00000048 winemenubuilder.exe
	00000047    0
00000045 winemenubuilder.exe
	00000042    0
00000060 winemenubuilder.exe
	00000051    0
00000054 (D) C:\users\Public\Games\En Masse Entertainment\TERA\TERA-Launcher.exe
	00000075    0
	00000074    0 <==
	00000073    0
	0000006c    0
	0000006b    0
	0000005d    0
	00000062    0
	0000002b    0
	0000003d    0
	00000036    0
	0000000b    0
	0000002d    0
	0000003c    0
	0000002e    0
	0000004d    0
	0000005e    0
	0000005f    0
	00000061    0
	00000064    0
	00000050    0
	00000046    0
	00000041    0
	0000003b    0
	0000004e    0
	00000066    0
	00000057    0
	00000038    0
	0000003f    0
	0000003e    0
	00000039    0
	00000056    0
	00000067    0
	00000065    0
	00000017    0
System information:
    Wine build: wine-1.9.4
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.1.12-gentoo
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by dimesio »

One thing to compare is the gcc versions. https://bugs.winehq.org/show_bug.cgi?id=38653
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by Bob Wya »

dimesio wrote:One thing to compare is the gcc versions. https://bugs.winehq.org/show_bug.cgi?id=38653
That's already checked for in the stock Gentoo app-emulation/wine ebuild:

Code: Select all

        # bug #549768
        if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
                einfo "Checking for gcc-5 ms_abi compiler bug ..."
                $(tc-getCC) -O2 "${FILESDIR}"/pr66838.c -o "${T}"/pr66838 || die
                # Run in subshell to prevent "Aborted" message
                if ! ( "${T}"/pr66838 || false ) >/dev/null 2>&1; then
                        eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
                        eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
                        eerror "or use gcc-config to select a different compiler version."
                        eerror "See https://bugs.gentoo.org/549768"
                        eerror
                        return 1
                fi
        fi
siber.cat1
Level 1
Level 1
Posts: 6
Joined: Wed Feb 17, 2016 2:53 am

Re: Tera Online working on Fedora, broken on Gentoo

Post by siber.cat1 »

So I figured out why Wine Staging wasn't compiling. The default stable release of GCC was 4.9 something, so I updated to ~amd64 and have GCC 5.3 running now. Tera is still not wanting to run in Gentoo on the latest release, unfortunately.

I did start running it from the terminal, and "[0302/001529:FATAL:x509_certificate_win.cc(1109)] Check failed: oid_info. : Success." always appears right before the 0x80000003 exception at a particular address. I'm a little confused by it, though, because it prints failed and success on the same line. Think that's the cause of the crash?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by Bob Wya »

siber.cat1 wrote:So I figured out why Wine Staging wasn't compiling. The default stable release of GCC was 4.9 something, so I updated to ~amd64 and have GCC 5.3 running now. Tera is still not wanting to run in Gentoo on the latest release, unfortunately.

I did start running it from the terminal, and "[0302/001529:FATAL:x509_certificate_win.cc(1109)] Check failed: oid_info. : Success." always appears right before the 0x80000003 exception at a particular address. I'm a little confused by it, though, because it prints failed and success on the same line. Think that's the cause of the crash?
@siber.cat1,

That's like asking me if "I like your new house" and then showing me a photo of your letter box... Perhaps a full console dump would be more useful!! 8)

What's the output from:

Code: Select all

emerge -pv app-emulation/wine
Which version of Tera Online are you using (I see they offer both Steam-based or regular downloads)? That might make a difference... I'll download the version you are using and have a crack at getting it running to see what the issues are...

Bob
siber.cat1
Level 1
Level 1
Posts: 6
Joined: Wed Feb 17, 2016 2:53 am

Re: Tera Online working on Fedora, broken on Gentoo

Post by siber.cat1 »

Yeah, sorry about that. I know I should be better about large walls of text and stuff, but it's just so overwhelming some times. Hope this is more along what you need, and thanks for looking into this for me.

I have been using the direct download installer, since that was the only one that worked successfully when I had Tera running before. The launcher crashes as it tries to load the login page, sometimes rendering it, sometimes not.

emerge -pv app-emulation/wine

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] app-emulation/wine-9999::bobwya  USE="X alsa -capi cups -custom-cflags dos fontconfig gecko -gphoto2 -gsm -gstreamer jpeg lcms ldap mono mp3 ncurses -netapi nls -odbc openal opencl opengl -osmesa -oss -pcap perl -pipelight png -prelink pulseaudio realtime run-exes -s3tc -samba -scanner (-selinux) ssl staging {-test} threads truetype udisks -v4l -vaapi xcomposite -xinerama xml" ABI_X86="32 64 (-x32)" LINGUAS="-ar -bg -ca -cs -da -de -el -en -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
emerge --info

Code: Select all

Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.21-r2, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-06-17-with-gentoo-2.2
KiB Mem:     8165700 total,    121476 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 28 Feb 2016 07:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 4

fkmclane
    location: /var/lib/layman/fkmclane
    masters: gentoo
    priority: 5

nightmare
    location: /var/lib/layman/nightmare
    masters: gentoo
    priority: 6

bobwya
    location: /var/lib/layman/bobwya
    masters: gentoo
    priority: 7

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --ask --ask-enter-invalid --jobs=3 --keep-going --load-average=5.2 --misspell-suggestions n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo canna cdda cdr cjk cli consolekit cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm iconv ipv6 joystick jpeg lame lcms ldap libass libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg openal opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qt3support qt4 readline sdl seccomp session smp spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
wine TERA-Minimal-Setup.exe (The direct download)

Code: Select all

wine: created the configuration directory '/home/sibercat/.wine'
fixme:winediag:start_process Wine Staging 1.9.4 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:dwmapi:DwmIsCompositionEnabled 0x6d88c758
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69e94b5e, context 0x9cd540, init_notify 0, handle 0x138e1a0): stub
fixme:ntdll:__syscall_NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0a6836, context 0x93ded0, init_notify 0, handle 0x124e794): stub
wine: configuration in '/home/sibercat/.wine' has been updated.
fixme:ntdll:__syscall_NtLockFile I/O completion on lock not implemented yet
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e49767c,0x33e750): stub
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e4976a6,0x33e634): stub
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e4976aa,0x33e654): stub
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e4976ce,0x33e750): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=6d0000006e, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e49767c,0x33e750): stub
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e4976a6,0x33e634): stub
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e4976aa,0x33e654): stub
fixme:ole:NdrClearOutParameters (0x33e41c,0x7e4976ce,0x33e750): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=7a0000007b, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=8700000088, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=9400000095, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33e20c,0x7e49767c,0x33e54c): stub
fixme:ole:NdrClearOutParameters (0x33e20c,0x7e4976a6,0x33e430): stub
fixme:ole:NdrClearOutParameters (0x33e20c,0x7e4976aa,0x33e450): stub
fixme:ole:NdrClearOutParameters (0x33e20c,0x7e4976ce,0x33e54c): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=a1000000a2, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33f19c L"C:\\users\\sibercat\\Temp\\{3198B73F-7E2C-420D-B2FA-C421B3AC19C9}\\Disk1\\data1.hdr"
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e49767c,0x33e7b0): stub
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e4976a6,0x33e694): stub
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e4976aa,0x33e6b4): stub
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e4976ce,0x33e7b0): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=b9000000ba, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e49767c,0x33e7b0): stub
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e4976a6,0x33e694): stub
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e4976aa,0x33e6b4): stub
fixme:ole:NdrClearOutParameters (0x33e47c,0x7e4976ce,0x33e7b0): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=c6000000c7, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=d3000000d4, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=e0000000e1, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fc90 4 stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33e26c,0x7e49767c,0x33e5ac): stub
fixme:ole:NdrClearOutParameters (0x33e26c,0x7e4976a6,0x33e490): stub
fixme:ole:NdrClearOutParameters (0x33e26c,0x7e4976aa,0x33e4b0): stub
fixme:ole:NdrClearOutParameters (0x33e26c,0x7e4976ce,0x33e5ac): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=ed000000ee, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:explorerframe:taskbar_list_SetProgressState iface 0x1ca39c0, hwnd 0x90044, flags 2 stub!
fixme:explorerframe:taskbar_list_SetProgressValue iface 0x1ca39c0, hwnd 0x90044, ullCompleted 1, ullTotal 64 stub!
fixme:shell:IShellLinkW_fnGetPath (0x1c8200): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x1c8200): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x1ccc090): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x1ccc090): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x1cc7e48): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x1cc7e48): WIN32_FIND_DATA is not yet filled.
fixme:vbscript:VBScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED
fixme:wscript:run_script Could not get script text
fixme:vbscript:VBScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED
fixme:wscript:run_script Could not get script text
fixme:vbscript:VBScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED
fixme:wscript:run_script Could not get script text
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ReleaseDate" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Genres" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Ratings" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Version" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"SavedGames" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"WindowsSystemPerformanceRating" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Developers" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Publishers" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"GameExecutables" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ExtendedProperties" in Game Definition File not yet supported
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=ae000000af, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=5300000054, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
wine .wine/drive_c/users/Public/Games/En\ Masse\ Entertainment/TERA/TERA-Launcher.exe

Code: Select all

fixme:winediag:start_process Wine Staging 1.9.4 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
fixme:iphlpapi:NotifyAddrChange (Handle 0x33cb6c, overlapped 0xddb180): stub
fixme:winsock:WSALookupServiceBeginW (0x33cc18 0x00000ff0 0x33cc54) Stub!
[0302/114618:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
[0302/114637:FATAL:x509_certificate_win.cc(1109)] Check failed: oid_info. : Success.
wine: Unhandled exception 0x80000003 in thread 3b at address 0x1045a910 (thread 003b), starting debugger...
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by Bob Wya »

@siber.cat1,

For me the downloader app is still blowing up... Probably because it's using the chrome runtime libcef.dll. Certainly I'm able to reproduce your initial failure in the address space of this dll.

I've got further by setting the Wine Windows version to Windows 2000 (in winecfg) - using a 32-bit Wineprefix obviously. Then chrome runtime can't using any sandboxing - because it won't work on such an old Windows version (it hooks into the kernel address space)...

I'll report back once the game has finished downloading... It's going to take a while 8)

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

Re: Tera Online working on Fedora, broken on Gentoo

Post by Bob Wya »

@siber.cat1

After many cycles of the moon and sun passed ... :shock:

To get the installed (Tera Online) game running I needed:

Code: Select all

winetricks devenum vcrun2013
Otherwise it appears to work OK (in my clean 32-bit Wineprefix).

I also used a Wine Virtual Desktop (native monitor resolution) & Window Version=2000, set from:

Code: Select all

winecfg
Things tend to "blow up" - on my dual monitor setup... Sadly I was too late to do this - before Plasma 5 moved my panels around (yet again). I've actually had to write a BASH/awk script to reset my panels automatically... Plasma 5 #otherdesktopsareavailable :roll:

My wine build settings for reference:

Code: Select all

emerge -pv wine
[ebuild   R   ~] app-emulation/wine-1.9.4::bobwya  USE="X alsa cups fontconfig gecko gphoto2 gsm gstreamer jpeg lcms mono mp3 ncurses nls openal opencl opengl osmesa pipelight png pulseaudio realtime run-exes s3tc samba scanner ssl staging threads truetype udisks xcomposite xinerama xml -capi -custom-cflags -dos -ldap -netapi -odbc -oss -pcap -perl -prelink (-selinux) {-test} -v4l -vaapi" ABI_X86="32 64 (-x32)"
Let me know if you're still stuck at your end...
siber.cat1
Level 1
Level 1
Posts: 6
Joined: Wed Feb 17, 2016 2:53 am

Re: Tera Online working on Fedora, broken on Gentoo

Post by siber.cat1 »

Well... I don't know exactly what did it, but between changing the version of ca-certificates a few times, updating my linux kernel to 4.1.15 (and changing a few options, which I can grab for those interested), re-syncing portage and updating a couple packages, and installing TERA then copying *all* the files from a working Windows install, TERA finally seems to be working for me.
I've got it running in a 64bit prefix set to WinXP, with devenum and vcrun2013 winetricks installed on wine-1.9.3 with the same useflags Bob Wya has listed above. I tried installing in a 32bit prefix, tried using win2000 to break chrome's sandboxing, rolling back Wine, rolling forward Wine, even tried the big no-no of hexediting NOPs into the offending dll. It kept crashing for me. Gonna make a backup of the entirety of my Gentoo install, in case it breaks again.

Thanks for helping me out with getting this to work like it used to, Bob.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Tera Online working on Fedora, broken on Gentoo

Post by Bob Wya »

siber.cat1 wrote:Well... I don't know exactly what did it, but between changing the version of ca-certificates a few times, updating my linux kernel to 4.1.15 (and changing a few options, which I can grab for those interested), re-syncing portage and updating a couple packages, and installing TERA then copying *all* the files from a working Windows install, TERA finally seems to be working for me.
I've got it running in a 64bit prefix set to WinXP, with devenum and vcrun2013 winetricks installed on wine-1.9.3 with the same useflags Bob Wya has listed above. I tried installing in a 32bit prefix, tried using win2000 to break chrome's sandboxing, rolling back Wine, rolling forward Wine, even tried the big no-no of hexediting NOPs into the offending dll. It kept crashing for me. Gonna make a backup of the entirety of my Gentoo install, in case it breaks again.

Thanks for helping me out with getting this to work like it used to, Bob.
Heh, heh,

Yeah, that was pretty obvious, wasn't it (except to me)... :oops: :lol:
Confirmed it will run in a 64-bit Wineprefix - just had to make sure my app-misc/ca-certificates package was up-to-date.

Presumably the isn't using the sandboxing feature of the chrome runtime (well because it wouldn't run in that case)... The chrome runtime is just checking that your system ca-certificates are up-to-date (I would speculate)...

So you aren't doing regular backups anyway??!! :shock: :wink:

Bob
Locked