Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't run RPGMaker VX Ace games with wine-proton [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Sun Jan 08, 2023 2:23 pm    Post subject: Can't run RPGMaker VX Ace games with wine-proton [SOLVED] Reply with quote

My wine-proton installation fails to run RPGMaker VX Ace games. When attempting to run the game, an error message appears, "DLL initialisation failed."
I have tried recompiling wine, downgrading wine, and even re-emerging all packages. The problem persists. I also could not find similar cases with the same problem.
Manually compiling wine-proton does not have this issue.
I ran it again with WINEDEBUG=warn+seh and it has an seh:dispatch_exception message which is not reproduced in the manually compiled version.
Code:

--- proton-ebuild.txt   2023-01-08 22:16:58.955166349 +0800
+++ proton-works.txt   2023-01-08 22:18:48.243172203 +0800
@@ -6,22 +6,17 @@
 0070:warn:seh:dispatch_exception unknown exception (code=6ba) raised
 0070:warn:seh:dispatch_exception unknown exception (code=6ba) raised
 0070:warn:seh:dispatch_exception unknown exception (code=6ba) raised
-007c:warn:seh:dispatch_exception unknown exception (code=6ba) raised
+0080:warn:seh:dispatch_exception unknown exception (code=6ba) raised
 wine: configuration in L"/home/joe/.wine" has been updated.
-013c:warn:seh:check_bpf_jit_enable Could not open /proc/sys/net/core/bpf_jit_enable.
 0144:warn:seh:check_bpf_jit_enable Could not open /proc/sys/net/core/bpf_jit_enable.
-0144:fixme:imm:ImeSetActiveContext (0x4803d0, 0): stub
-0144:fixme:imm:ImmReleaseContext (0000000000020032, 00000000004803D0): stub
+014c:warn:seh:check_bpf_jit_enable Could not open /proc/sys/net/core/bpf_jit_enable.
+014c:fixme:imm:ImeSetActiveContext (0x4803d0, 0): stub
+014c:fixme:imm:ImmReleaseContext (0000000000020032, 00000000004803D0): stub
 0024:fixme:imm:ImeSetActiveContext (0xa10030, 1): stub
-0024:fixme:imm:ImmReleaseContext (0006005E, 00A10030): stub
+0024:fixme:imm:ImmReleaseContext (00050054, 00A10030): stub
 0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
-0024:warn:seh:dispatch_exception EXCEPTION_ILLEGAL_INSTRUCTION exception (code=c000001d) raised
-0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
-0024:warn:seh:dispatch_exception EXCEPTION_ILLEGAL_INSTRUCTION exception (code=c000001d) raised
-0058:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4d004 (device=4 access=3 func=401 method=0)
-0024:warn:seh:dispatch_exception EXCEPTION_ILLEGAL_INSTRUCTION exception (code=c000001d) raised
-015c:fixme:oleacc:find_class_data unhandled window class: L"Static"
-015c:fixme:oleacc:find_class_data unhandled window class: L"Button"
-015c:fixme:oleacc:find_class_data unhandled window class: L"Static"
-015c:fixme:oleacc:find_class_data unhandled window class: L"#32770"
-015c:fixme:oleacc:find_class_data unhandled window class: L"Button"
+0164:fixme:oleacc:find_class_data unhandled window class: L"Static"
+0164:fixme:oleacc:find_class_data unhandled window class: L"Button"
+0164:fixme:oleacc:find_class_data unhandled window class: L"Static"
+0164:fixme:oleacc:find_class_data unhandled window class: L"#32770"
+0164:fixme:oleacc:find_class_data unhandled window class: L"Button"

This is as far as I can figure out. Help!
Code:

Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/hardened, gcc-12, glibc-2.36-r6, 6.1.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-glibc2.36
KiB Mem:    16329004 total,   7894484 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository guru: Thu, 05 Jan 2023 00:47:36 +0000
Head commit of repository guru: b6e2cdea7190da10fdb1a287931781fa90c4bc25

Timestamp of repository steam-overlay: Thu, 05 Jan 2023 00:47:25 +0000
Head commit of repository steam-overlay: dee7fa136b7164c325f3ece3837562556335b152

Timestamp of repository torbrowser: Tue, 03 Jan 2023 09:03:39 +0000
Head commit of repository torbrowser: f0c78f337c11a5ec7ae68fa04d3f4b2565abbed2

Timestamp of repository gentoo: Fri, 06 Jan 2023 07:32:08 +0000
Head commit of repository gentoo: 9fee8addf8ee26fd618017b009897c830dbc38f6

sh bash 5.2_p15
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.6::gentoo
app-shells/bash:           5.2_p15::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.8.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo, 3.12.0_alpha3-r1::gentoo
dev-lang/rust:             1.66.0::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.6::gentoo
sys-devel/gcc:             12.2.1_p20221231::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.6::gentoo
sys-devel/llvm:            15.0.6::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: True

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: True

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=8"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://download.nus.edu.sg/mirror/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.riken.jp/Linux/gentoo/"
LANG="en_PH.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 bzip2 clang cli crypt dbus dri elogind encode fortran gdbm hardened iconv ipv6 jpeg2k libass libglvnd libtirpc lm-sensors matroska mp3 mp4 mtp multilib ncurses nls nptl ogg openmp opus pam pcre pdf pie pulseaudio qt5 readline seccomp split-usr ssl ssp svg symlink test-rust theora tiff unicode v4l vorbis vulkan webp wmf x264 xattr xinerama xml xtpax xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" AMDGPU_TARGETS="gfx803" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-proton-7.0.5::gentoo was built with the following:
USE="alsa fontconfig gecko gstreamer mono nls pulseaudio sdl ssl unwind v4l vkd3d xcomposite xinerama -crossdev-mingw -custom-cflags -debug -llvm-libunwind -openal -osmesa -perl (-selinux) -udev -udisks -usb" ABI_X86="32 64"

_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705


Last edited by apple75 on Tue Jan 10, 2023 3:50 am; edited 1 time in total
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2727

PostPosted: Sun Jan 08, 2023 8:58 pm    Post subject: Reply with quote

Does it work with non-proton? ebuild is largely the same for wine-vanilla and staging, with the exception that wine-proton supports enabling/disabling less features given upstream Valve doesn't really test/support toggling these and use a specific configuration for Proton.

When you say manual build, did you use the same configure options? And was it a wow64 build or a 32-bit only build? (latter is the default, so if you did nothing special it's what you get -- possible to do that with the ebuild too if USE=-abi_x86_64)

Also wine-proton is always a USE=mingw build (the USE isn't made available to turn it off unlike staging/vanilla, and mingw is needed for a lot of popular games like Blizzard titles and Valve always enables it -- not that it's impossible it cause issues with some more obscure things, in that situation I'd suggest wine-vanilla/staging). Note not to confuse USE=mingw with crossdev-mingw, you can ignore the latter and leave it disabled.

If you did a manual build, I assume it didn't use mingw unless you setup the PATH for mingw64-toolchain and did --with-mingw to be sure, e.g.
PATH=/usr/lib/mingw64-toolchain/bin:${PATH}
Back to top
View user's profile Send private message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Mon Jan 09, 2023 1:45 am    Post subject: Reply with quote

Thanks for your response.

Wine-vanilla and wine-staging also have the same problem for me. As you predicted, I did nothing special, so it was a wow64 build and it didn't use mingw.
_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705
Back to top
View user's profile Send private message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Mon Jan 09, 2023 5:46 am    Post subject: Reply with quote

Compiling wine-vanilla with USE="-mingw" still results in the same error.
_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2727

PostPosted: Mon Jan 09, 2023 6:13 am    Post subject: Reply with quote

Are you setting CFLAGS for your manual build? If not, that'd mean ebuild is using -march=native and your manual one is not. Possible there's something strange going on with it plus your hardware given the "illegal instruction" bit, so may want to try without and just -O2.

Can't think of a whole lot, the ebuild isn't really doing anything particularly special.
Back to top
View user's profile Send private message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Tue Jan 10, 2023 3:49 am    Post subject: Reply with quote

Ionen wrote:
Are you setting CFLAGS for your manual build? If not, that'd mean ebuild is using -march=native and your manual one is not. Possible there's something strange going on with it plus your hardware given the "illegal instruction" bit, so may want to try without and just -O2.


This turned out to be the problem, and disabling -march=native fixes the issue. Thank you!
_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum