Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FIXED: After profile switch 13.0-17.0 Wine apps stop working
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Fri Jan 05, 2018 11:02 am    Post subject: FIXED: After profile switch 13.0-17.0 Wine apps stop working Reply with quote

Hi all,

I did all steps mentioned in eselect news, including rebuiding the whole system. Afterthat some of my favorite apps running under wine are now segfaulting. The most important one is "Aerofly Professional Deluxe" a model flight simulator, I used it many years. It terminates now with the following debug message:

Code:

Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0xf73e81fa).                                         
Register dump:                                                                                                                   
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b                                                                                 
 EIP:f73e81fa ESP:0033f098 EBP:7c8f4d80 EFLAGS:00010246(  R- --  I  Z- -P- )                                                     
 EAX:00000000 EBX:00000677 ECX:f753a960 EDX:00000000                                                                             
 ESI:00000000 EDI:00000003                                                                                                       
Stack dump:                                                                                                                       
0x0033f098:  00000000 00000000 00000000 00000000                                                                                 
0x0033f0a8:  00000677 00000000 00000000 00000000                                                                                 
0x0033f0b8:  00000000 00000000 00000000 00000000                                                                                 
0x0033f0c8:  f753c000 00000000 00000000 f753c7b0                                                                                 
0x0033f0d8:  00000060 00000000 00000024 00002710                                                                                 
0x0033f0e8:  4e5625b6 62306260 055e66a0 f753c7b0                                                                                 
Backtrace:                                                                                                                       
=>0 0xf73e81fa (0x7c8f4d80)                                                                                                       
  1 0x7c8f5557 (0xfbad2480)                                                                                                       
0xf73e81fa: ldsl        %eax,%edi                                                                                                 
Modules:                                                                                                                         
Module  Address                 Debug info      Name (23 modules)                                                                 
PE        400000- 946b000       Deferred        afprod                                                                           
PE      7a820000-7a824000       Deferred        opengl32                                                                         
PE      7b420000-7b5bd000       Deferred        kernel32                                                                         
PE      7bc10000-7bc14000       Deferred        ntdll                                                                             
PE      7d910000-7d913000       Deferred        winealsa                                                                         
PE      7d980000-7d988000       Deferred        oleaut32                                                                         
PE      7daa0000-7daa4000       Deferred        uxtheme                                                                           
PE      7dae0000-7db0f000       Deferred        comctl32                                                                         
PE      7dd50000-7dd54000       Deferred        mmdevapi                                                                         
PE      7dd70000-7dd7b000       Deferred        dinput                                                                           
PE      7de80000-7de84000       Deferred        winex11                                                                           
PE      7df10000-7df14000       Deferred        imm32                                                                             
PE      7e190000-7e19e000       Deferred        setupapi                                                                         
PE      7e200000-7e204000       Deferred        hid                                                                               
PE      7e220000-7e224000       Deferred        dinput8                                                                           
PE      7e240000-7e244000       Deferred        rpcrt4                                                                           
PE      7e2c0000-7e2c4000       Deferred        version                                                                           
PE      7e2e0000-7e33a000       Deferred        user32
PE      7e460000-7e468000       Deferred        ole32
PE      7eb10000-7eb14000       Deferred        dsound
PE      7eb70000-7eb74000       Deferred        advapi32
PE      7ebe0000-7ebe7000       Deferred        gdi32
PE      7eff0000-7eff3000       Deferred        glu32
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
        0000004b    0
        00000033    0
        0000002a    0
        00000024    0
        00000016    0
        00000010    0
        0000000f    0
00000012 jqs.exe
        0000001f    0
        0000001c    0
        0000001b    0
        0000001a    0
        00000013    0
00000014 explorer.exe
        00000023    0
        00000022    0
        00000021    0
        00000020    0
        00000015    0
0000001d LSSrvc.exe
        00000027    0
        00000026    0
        0000001e    0
00000028 winedevice.exe
        00000032    0
        0000002d    0
        0000002c    0
        00000029    0
00000030 plugplay.exe
        00000036    0
        00000035    0
        00000031    0
00000061 (D) C:\Program Files (x86)\IPACS\AeroFly Professional Deluxe\afprod.exe
        00000065   15
        00000064    0
        00000063    0
        00000062    0 <==
System information:
    Wine build: wine-2.0.3
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.9.72-gentoo


I still worked one day before the "upgrade" to the 17.0 profile.

This is a desaster for me since the successor of this quite old windows app does not the job as good as the old one and furthermore costs a lot of money. Is there any way to get this working again? How can this happen? Did it contain illegal memory access with are now not accepted anymore be the new building model?

thanks
Erdie
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W


Last edited by Erdie on Mon Jun 25, 2018 7:25 am; edited 1 time in total
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Sun Jan 14, 2018 4:48 am    Post subject: Reply with quote

wine upgrades have a tendency to break things, newer is not always better, figure out what version you had and mask for now. check upstream for best compatible version maybe.
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 808

PostPosted: Sun Jan 14, 2018 11:19 am    Post subject: Reply with quote

It's KPTI fault, turn it off.
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Sun Jan 14, 2018 5:39 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
It's KPTI fault, turn it off.


not sure if u trolling or what

Quote:
Host version: 4.9.72-gentoo
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 808

PostPosted: Sun Jan 14, 2018 5:44 pm    Post subject: Reply with quote

on AMD KPTI freezes machine when wine is being launched.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Sun Jan 14, 2018 5:53 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
It's KPTI fault, turn it off.
Could you provide a citation for this claim? I concur with blopsalot that your diagnosis is likely incorrect, but if you are correct, it would be good to be able to track when that bug is fixed, so that KPTI can be turned on at that point.
Perfect Gentleman wrote:
on AMD KPTI freezes machine when wine is being launched.
OP is not reporting a machine hang. He is reporting a crash of the Wine-wrapped program. Moreover, as blopsalot hinted, OP appears to be running a pre-KPTI kernel, so if the uname is accurate, he cannot have enabled KPTI because it's not present until a later kernel version.
Back to top
View user's profile Send private message
mega_flow
n00b
n00b


Joined: 26 Jun 2016
Posts: 32
Location: Belgium, Maasmechelen

PostPosted: Sun Jan 14, 2018 9:40 pm    Post subject: Reply with quote

Games start crashing on my system. After upgrading to the 17 profile
if this program use your graphic card and the amdgpu driver hopeful this will work

I find llvm-5 is what the crash the game on my system
make sure u uninstall llvm-5, after u install llvm-4. Portage wil not uninstall this automatic if u mask the 5 version.
then rebuild mesa
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Mon Jan 15, 2018 12:19 am    Post subject: Reply with quote

What games crashed for you? What bug reports indicated that downgrading was the solution? Did you try rebuilding the game before downgrading?
Back to top
View user's profile Send private message
mega_flow
n00b
n00b


Joined: 26 Jun 2016
Posts: 32
Location: Belgium, Maasmechelen

PostPosted: Mon Jan 15, 2018 6:05 am    Post subject: Reply with quote

with wine "Star wars the old republic" and "World of Warcraft".
and with Steam "Sid Meier's Civilization 6" native game

After this games not longer work on a unstable ~amd64 + 17.0 profile, i reinstall gentoo stable and the 17 profile this time
after making sure this game still work. I start keywords mesa xf86-video-amdgpu and linux-firmware + gentoo-sources
I find that llvm-5 start the same problems as the unstable ~amd64 gentoo install
also to note that the use flag d3d9 and wine-any not work with llvm-5

I have a Radeon RX 480 so the graphic card give better perform with this keywords
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Mon Jan 29, 2018 8:45 am    Post subject: Reply with quote

Is it possible, that the issue is somewhere hidden in the 32bit compatibiltiy libraries? Any clues in the area?
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon Jan 29, 2018 10:02 am    Post subject: Reply with quote

It might not be Profile-17 per-se; went back to Profile 13 after moving to 17 broke half of my binary programs (Acrobat Reader-9 and Thunderbird-1.5 being the most deal-breakery)

However, after upgrading gcc from 5.4 to 6.4 and recompiling bits of the toolchain, most notably glibc, the same binaries broke again so, at least in my case, gcc-6.4 is doing something weird that is causing this breakage; I originally thought it was Profile 17 enabling PIE, but since Profile 13 doesn't have PIE enabled it would seem unlikely that's the problem.
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 360

PostPosted: Mon Jan 29, 2018 2:57 pm    Post subject: Reply with quote

Are you sure it's the profile change per se? Around the same time wine was repackaged for gentoo, one had to unemerge the current wine installation and choose between wine-any and wine-vanilla. With wine-vanilla, my programs crashed as well. I unmerged wine-vanilla and installed wine-any, and everything works again. I experimented, but might have overseen some obvious tweaks, of course.

(I only have very few windows programs I need, only my tax program, and the games moo and smac (old fashion, I know...).)
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Mon Jan 29, 2018 7:25 pm    Post subject: Reply with quote

I will try to switch from wine-vanilla to wine-any. Will report the results ..
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Mon Jan 29, 2018 8:02 pm    Post subject: Reply with quote

Unfortunately switching to wine-any makes not difference.

BTW: As far as I can remember wine-vanilla worked before the compiler switch and rebuild of the system. The wine split was done before I did this system change and I am testing after every wine update normally.
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1786
Location: Here and Away Again

PostPosted: Tue Jan 30, 2018 9:33 am    Post subject: ><)))°€ Reply with quote

Some 'emerge --info wine-vanilla' (or which ever the variant is that you're using) could be helpful.

You say 'some' applications fail, so others still work? Do basic things like 'winecfg' work okay?

Do you remember if things last worked with the current version of Wine you're using?
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Tue Jan 30, 2018 6:48 pm    Post subject: Re: ><)))°€ Reply with quote

Chiitoo wrote:
Some 'emerge --info wine-vanilla' (or which ever the variant is that you're using) could be helpful.

You say 'some' applications fail, so others still work? Do basic things like 'winecfg' work okay?

Do you remember if things last worked with the current version of Wine you're using?


Yes, I tested it after I emerged from the previous wine to the the "wine split" version, which was wine-vanilla. It worked. One day later I decided to do the system profile switch and rebuild. Afterthat it failed like described here.
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Tue Feb 20, 2018 4:44 pm    Post subject: Reply with quote

Erdie, just to clarify for you and anyone else who comes across this, llvm version does not matter unless youre using AMD/Gallium. You may get better performance than you ever got before using wine-staging, which is better choice for nvidia.

It looks like you using a 64bit prefix, try to create and use a 32bit with something like this
Code:

export WINEARCH="win32"
export WINEPREFIX=~/.wine32/
wineboot -u


wine is rather unique because of the nature of it's development where sometimes you have to stick with an old version for certain programs, so many different windows programs, so little open source winapi. :)
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Fri Feb 23, 2018 7:15 am    Post subject: Reply with quote

blopsalot wrote:
Erdie, just to clarify for you and anyone else who comes across this, llvm version does not matter unless youre using AMD/Gallium. You may get better performance than you ever got before using wine-staging, which is better choice for nvidia.

It looks like you using a 64bit prefix, try to create and use a 32bit with something like this
Code:

export WINEARCH="win32"
export WINEPREFIX=~/.wine32/
wineboot -u


wine is rather unique because of the nature of it's development where sometimes you have to stick with an old version for certain programs, so many different windows programs, so little open source winapi. :)


Thanks, this gives me:

Code:

wine: WINEARCH set to win32 but '/home/martin/.wine' is a 64-bit installation


is this correct? I am not very familiar with this stuff, to be honest ..
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Fri Feb 23, 2018 6:08 pm    Post subject: Reply with quote

BTW: Wine Staging did not make any difference
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1786
Location: Here and Away Again

PostPosted: Sun Feb 25, 2018 3:49 pm    Post subject: Reply with quote

Please share the output of 'emerge --info wine-vanilla' (or whichever variant you're now using) so we'll get a better overview of the system.

Erdie wrote:
Thanks, this gives me:

Code:

wine: WINEARCH set to win32 but '/home/martin/.wine' is a 64-bit installation


is this correct? I am not very familiar with this stuff, to be honest ..

The 'bitness' of a Wine prefix can not be changed after it has been created, so you'd want to make sure the prefix directory doesn't already exist (move/delete the default directory, or use WINEPREFIX to set it to something else).

Unless you used a 32-bit prefix for an application in the past, it should not require it now either (regressions do happen though).

I don't imagine any of the non-working applications are freely available for download and use?
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Tue Feb 27, 2018 5:55 pm    Post subject: Reply with quote

emerge --info wine-staging:

Code:

emerge --info wine-staging
Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-AMD_FX-tm-4300_Quad-Core_Processor-with-gentoo-2.4.1
KiB Mem:    12205620 total,   5554536 free
KiB Swap:    9767484 total,   9767484 free
Timestamp of repository gentoo: Sun, 25 Feb 2018 07:45:01 +0000
Head commit of repository gentoo: 14d7035516a3d8ca34282c7ac2698584683ed5f6
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo                                                                                                                   
sys-devel/gcc-config:     1.8-r1::gentoo                                                                                                                     
sys-devel/libtool:        2.4.6-r3::gentoo                                                                                                                   
sys-devel/make:           4.2.1::gentoo                                                                                                                     
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)                                                                                                 
sys-libs/glibc:           2.25-r10::gentoo                                                                                                                   
Repositories:                                                                                                                                               
                                                                                                                                                             
gentoo                                                                                                                                                       
    location: /usr/portage                                                                                                                                   
    sync-type: rsync                                                                                                                                         
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage                                                                                                     
    priority: -1000                                                                                                                                         
    sync-rsync-extra-opts:                                                                                                                                   
                                                                                                                                                             
dsr                                                                                                                                                         
    location: /var/lib/layman/dsr                                                                                                                           
    masters: gentoo                                                                                                                                         
    priority: 50                                                                                                                                             
                                                                                                                                                             
ACCEPT_KEYWORDS="amd64"                                                                                                                                     
ACCEPT_LICENSE="* -@EULA RTCW-ETEULA Q3AEULA AdobeFlash-10.3 AdobeFlash-11.x PUEL google-talkplugin Google-TOS RAR FraunhoferFDK"                           
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                 
CFLAGS="-march=bdver2 -mprefer-avx128 -mvzeroupper -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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=bdver2 -mprefer-avx128 -mvzeroupper -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="rsync://rsync.mirrorservice.org/distfiles.gentoo.org/ ftp://tux.rainside.sk/gentoo/ rsync://gentoo.prz.rzeszow.pl/gentoo"
LANG="de_DE.UTF-8"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 apulse berkdb bloodsuckermaps bluetooth branding bzip2 cairo cdda cdr cli crypt cups cxx dbus declarative dri dts dvd dvdr elogind emboss encode exif fam ffmpeg flac fltk fortran freesound g3dvl gdbm gif glamor gpm gt4 gtk iconv ipv6 jack jpeg kde kipi kwallet ladspa lcms libnotify libsamplerate lv2 mad midi mng modules mp3 mp4 mpeg mplayer multilib music ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt5 readline scanner sddm sdl seccomp semantic-desktop sndfile snmp sound soundtouch spell ssl startup-notification svg tcpd tiff timidity truetype udev udisks unicode upower usb vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel hdsp ice1712" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse2i sse3 sse4 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq 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-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="hp" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-emulation/wine-staging-2.21::gentoo was built with the following:
USE="X alsa cups fontconfig gecko jpeg lcms mono mp3 ncurses nls opengl perl png realtime run-exes scanner ssl (staging) threads truetype udev udisks xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gstreamer -kerberos -ldap -netapi -odbc -openal -opencl -osmesa -oss -pcap -pipelight -prelink -pulseaudio -s3tc -samba (-selinux) -test -themes -v4l -vaapi -xinerama" ABI_X86="32 64 (-x32)"
CFLAGS="-march=bdver2 -O2 -pipe"
CXXFLAGS="-march=bdver2 -O2 -pipe"


_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1786
Location: Here and Away Again

PostPosted: Wed Feb 28, 2018 1:49 pm    Post subject: Reply with quote

Thanks!

I can't see anything obviously weird, though I'm unfamiliar with your CFLAGS:

Code:
CFLAGS="-march=bdver2 -mprefer-avx128 -mvzeroupper -O2 -pipe"

Did you always use these in the past, too, or at least when things last worked, and did you build the whole system with the same flags?

Without delving deeper into it to know for sure, I imagine the 'prefer-avx128' and 'vzeroupper' might well be defaults for 'bdver2', and from looking at what they do, I don't know if they could be an issue:

https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html wrote:
-mvzeroupper
This option instructs GCC to emit a vzeroupper instruction before a transfer of control flow out of the function to minimize the AVX to SSE transition penalty as well as remove unnecessary zeroupper intrinsics.

-mprefer-avx128
This option instructs GCC to use 128-bit AVX instructions instead of 256-bit AVX instructions in the auto-vectorizer.

I tried building 'wine-staging' with these two flags, and didn't find anything mis-behaving yet (I have a different CPU though, and the thing could be triggered by a different package as well, but really these might have nothing to do with the issue).

As a side note, if you're interested on what GCC would choose if you were to use 'native' march, you could do something like this:

Anon-E-moose at https://forums.gentoo.org/viewtopic-p-6473349.html#6473349 wrote:
Code:
gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'

Right now though, I want to know what 'eselect opengl list' shows you?
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2033
Location: Heidelberg - Germany

PostPosted: Thu Mar 01, 2018 8:37 pm    Post subject: Reply with quote

These are the opengl settings:

Code:

eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


Code:

gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'
-march=bdver2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver2


could "native" be the better choice? When I set up my system this was about 7 years ago, so I didn´t know "native" at all. It could be that this option was not available at that time.
_________________
Desktop AMD FX-4300 12GB RAM, Asus GF GTX 650. Sound RME Multiface + PCI + Cardbus, 2x RME Quadmic, 1x Behringer ADA8000 + ganz viele Modellflugzeuge, ein Tandem, Rennrad und DFXL ;)
2x IBM Thinkpad T60
Zotag Mag Mini Atom
Raspberry Pi 1 + 2 + Zero W
Back to top
View user's profile Send private message
Tyrus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2018
Posts: 143

PostPosted: Thu Mar 01, 2018 9:28 pm    Post subject: Reply with quote

Im am using app-emulation/wine-vanilla-3.0 and app-emulation/wine-mono-4.7.1. Also mesa is used (wine-vanilla with use opengl) which uses llvm:5.

Don't believe that downgrading llvm is the solution for the problem here. All my wine-prefixes run as expected.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1786
Location: Here and Away Again

PostPosted: Fri Mar 02, 2018 3:37 pm    Post subject: Reply with quote

Erdie wrote:
These are the opengl settings:

Code:

eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Darn.

I was really hoping it to be 'xorg-x11', because that could have explained at least a few things. :]

Oh well. Back to the thinking...

Quote:
Code:

gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'
-march=bdver2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver2


could "native" be the better choice? When I set up my system this was about 7 years ago, so I didn´t know "native" at all. It could be that this option was not available at that time.

It may not necessarily be 'better', but it's generally the safe choice except for set-ups where the machine is used for 'distcc'.

From that output, we can see that it would choose '-march=bdver2' as well, so things would remain the same there. I don't think the additional options that you have set are an issue either, especially if you've used them for so many years already. If nothing else, I think we can scratch off a lot of possible causes for the issue.

Tyrus wrote:
Don't believe that downgrading llvm is the solution for the problem here. All my wine-prefixes run as expected.

This is especially true since it seems the proprietary nvidia-drivers are in use, so 'media-libs/mesa' and friends should have little to no effect on things here.

Not to mention that Wine does not even depend upon LLVM directly, nor Mesa if USE="-osmesa". :]

Are any of the applications that show the issue available to be freely downloaded and used? Would help a lot if we could test them too.
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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