You are not logged in.

#1 2016-07-16 10:52:29

danielausparis
Member
Registered: 2010-06-22
Posts: 34

[SOLVED]Nvidia/optirun setup, wine crashes

Fellows,

My MSI 1758 with Nvidia 840 card worked fine, but since last update wine crashes with access violation trying to run World Of Warcraft (BC) :

Exe:      Z:\windows\Program Files (x86)\Wow-BC\Wow.exe
Time:     Jul 16, 2016 12:22:03.258 PM
User:     daniel
Computer: sariette
------------------------------------------------------------------------------

This application has encountered a critical error:

ERROR #132 (0x85100084) Fatal Exception
Program:	Z:\windows\Program Files (x86)\Wow-BC\Wow.exe
Exception:	0xC0000005 (ACCESS_VIOLATION) at 0023:7D96D6F7

The instruction at "0x7D96D6F7" referenced memory at "0x00000008".
The memory could not be "read".

lspci | egrep 'VGA|3D' gives :

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)

lspci -v gives some suspicious output concerning the 3D :

01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff) (prog-if ff)
        !!! Unknown header type 7f
        Kernel modules: nouveau, nvidia_drm, nvidia

'optirun glxgears' terminates silently, which is of course not normal.

Your help is much appreciated...

Last edited by danielausparis (2016-07-16 15:56:29)

Offline

#2 2016-07-16 11:05:02

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED]Nvidia/optirun setup, wine crashes

Blacklist the nouveau module and report back.

An observation: You're the third or fourth user with a problem taggable as "Optimus, GTX 8xx(m)" this week. There might be something going on.

Offline

#3 2016-07-16 11:20:57

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: [SOLVED]Nvidia/optirun setup, wine crashes

Thank you for your quick input.

I just blacklisted nouveau as per https://bbs.archlinux.org/viewtopic.php?id=213042 (conf file) and rebooted.

Same outputs and wine crash, nothing changed at all unfortunately. Should I unblacklist nouveau ?

Offline

#4 2016-07-16 11:53:19

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED]Nvidia/optirun setup, wine crashes

It's always a good idea to have nouveau blacklisted, if you use Bumblebee with the nvidia package. Let's say it doesn't hurt.

Offline

#5 2016-07-16 13:39:46

sdlnv
Member
Registered: 2016-03-13
Posts: 2

Re: [SOLVED]Nvidia/optirun setup, wine crashes

I had a very similar problems yesterday with the last update (367.27-1 -> 367.35-1) which I had to revert.
I'm using optirun too, I did try Dota2 and Insurgency on Steam (native), both crash instantly on startup for segmentation fault:

/data/Steam/steamapps/common/insurgency2/insurgency.sh: line 55: 26515 Segmentation fault      (core dumped) ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "-game insurgency $@"
Game removed: AppID 222880 "Insurgency", ProcID 26461

Edit:

"optirun glxgears" exits silently, "primusrun glxgears" works, "optirun glxgears" with 'Bridge=primus' in bumblebee.conf works. Steam games do not work in any case, always Segfault.

Last edited by sdlnv (2016-07-16 14:05:21)

Offline

#6 2016-07-16 15:32:57

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: [SOLVED]Nvidia/optirun setup, wine crashes

Ah thank you very much. The above revert for Nvidia makes 'optirun glxgears' work again, which is a very good sign.

However my game still makes wine crash with the same error.

Offline

#7 2016-07-16 15:39:01

sdlnv
Member
Registered: 2016-03-13
Posts: 2

Re: [SOLVED]Nvidia/optirun setup, wine crashes

Did you downgrade all the nvidia packages?

cd /var/cache/pacman/pkg/
sudo pacman -U nvidia-utils-367.27-1-x86_64.pkg.tar.xz lib32-nvidia-utils-367.27-1-x86_64.pkg.tar.xz nvidia-367.27-1-x86_64.pkg.tar.xz

Offline

#8 2016-07-16 15:53:22

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: [SOLVED]Nvidia/optirun setup, wine crashes

My oh my, thank you very much sdlnv ! I forgot the lib32-nvidia-utils package... That did the trick :-)

Tagging the Nvidia packages as IgnorePkg in pacman.conf and marking topic as closed

Offline

Board footer

Powered by FluxBB