RIFT crashes with Nvidia Xid errors

Questions about Wine on Linux
Locked
Kenjitamura
Newbie
Newbie
Posts: 3
Joined: Tue May 10, 2011 6:32 pm

RIFT crashes with Nvidia Xid errors

Post by Kenjitamura »

So recently my RIFT installation has started crashing at random times and when I open my kernel logs there are XID error messages that appear exact same time of crash. The Xid error is always either 13 or 31 and alternates between them randomly.
Jan 3 20:33:34 adam-GA-78LMT-S2P kernel: [12180.560893] NVRM: Xid (0000:01:00): 31, Ch 00000007, engmask 00000101, intr 10000000
Jan 3 20:33:35 adam-GA-78LMT-S2P kernel: [12180.605627] NVRM: Xid (0000:01:00): 31, Ch 0000000b, engmask 00000101, intr 10000000
Jan 3 20:33:35 adam-GA-78LMT-S2P kernel: [12180.740661] NVRM: Xid (0000:01:00): 31, Ch 0000000d, engmask 00000101, intr 10000000
Jan 3 20:33:35 adam-GA-78LMT-S2P kernel: [12180.864979] NVRM: Xid (0000:01:00): 31, Ch 00000005, engmask 00000101, intr 10000000
Jan 3 20:33:35 adam-GA-78LMT-S2P kernel: [12180.992137] NVRM: Xid (0000:01:00): 31, Ch 00000011, engmask 00000101, intr 10000000
Jan 3 20:33:41 adam-GA-78LMT-S2P kernel: [12187.356767] NVRM: Xid (0000:01:00): 31, Ch 0000000f, engmask 00000101, intr 10000000
I'm using Linux Mint 15 with kernel 3.8.0-34. My graphics card is an Nvidia GT 640 with 2 gb gddr3 ram and I have the xorg edgers 331.20 driver installed.

This is the command I've been using to launch the game:
WINEPREFIX=/home/adam/.wine-rift2 LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 WINEDEBUG=-all wine riftpatchlive.exe
Wine version is 1.7.9.

It feels like the frequency of this happening has jumped significantly recently but I have no clue what could have caused it. When this happens the rift.exe process will freeze and then the game will automatically create and send an error report. It can take up to a minute after the game has frozen for the game to finally close itself down and start the error report but I can alt-tab at anytime and kill the process in the system monitor so I don't have to wait so long.

From googling Xid errors it seems the most common cause of the problem is faulty graphics cards but is there any way I can verify for certain?

Edit: I also have Neverwinter installed to another prefix and I've never had it crash on me though I've only recently started playing it.
Locked