Tested on Gentoo 64-bit. All launched Steam games crash immediately a
key is pressed (even during loading screens/videos). On condition that
"Enable Steam Community in-game" checkbox is enabled.

Workaround is to disable GameOverlayRenderer.dll

Test in both 32-bit and 64-bit Wineprefixes.

wine --version
wine-1.7.31

gcc --version
gcc (Gentoo 4.9.2 p1.0, pie-0.6.1) 4.9.2

emerge -pv app-emulation/wine x11-base/xorg-server x11-drivers/nvidia-drivers 
[ebuild   R   ~] x11-base/xorg-server-1.16.1:0/1.16.1  USE="glamor ipv6 nptl 
suid systemd udev xorg xvfb -dmx -doc -kdrive -minimal (-selinux) -static-libs 
-tslib -unwind -wayland -xnest" 0 KiB
[ebuild   R    ] x11-drivers/nvidia-drivers-340.58  USE="X acpi multilib tools 
uvm -pax_kernel" 0 KiB
[ebuild   R   *] app-emulation/wine-9999  USE="X alsa cups fontconfig gecko 
gphoto2 gsm jpeg lcms mono mp3 ncurses nls openal opencl opengl osmesa perl png 
prelink realtime run-exes scanner ssl threads truetype udisks xinerama xml 
-capi -custom-cflags -dos -gstreamer -ldap -netapi -odbc -oss -pipelight 
(-pulseaudio) -samba (-selinux) {-test} -v4l -xcomposite" ABI_X86="32 64 
(-x32)" LINGUAS="en en_US -ar -bg -ca -cs -da -de -el -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

Build flags for wine itself are (cough) super aggressive:
THREADS=12
CPU_OPTIMISATION="-march=native -mtune=native"

GRAPHITE="-floop-block -floop-interchange -floop-strip-mine -ftree-loop-
distribution -fgraphite-identity"

CFLAGS="-O2 -fomit-frame-pointer ${GRAPHITE} -fuse-linker-plugin 
-flto=${THREADS} -ftree-vectorize -pipe ${CPU_OPTIMISATION}"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common 
${CFLAGS}"
MAKEOPTS="-j${THREADS} -s"

I'll run some further tests with different versions of gcc and override
the build settings to use the recommendations give in this thread...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900901

Title:
  Steam overlay does not work due to GCC-4.6 issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/900901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to