WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WINE - moving mouse crashes some 3d games  (Read 2986 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
WINE - moving mouse crashes some 3d games
« on: July 22, 2013, 12:40:40 PM »
Hello, I'm a Linux newcomer who tryes to run some games via WINE on TinyCore.

Some 3D apps that I have on my Windows partition are running without problems or further configuration needed using wine (1.4.1) through Linux Mint 14 (Mate) with nvidia drivers.

On TC, some 3D apps either do not lauch at all or they crash as soon as I move the mouse.


I tryed:
  • nouveau (xf86-video-nv.tcz)
  • nvidia (from TC repo)
  • nvidia 319.17 (created tcz via scripts I found here on TC forum)
  • Xorg 7.5 / 7.5-3D / 7.6 / 7.6-3D
  • wine.tcz (from TC repo) + gecko (+/- DirectX9.0c ; +/- DInput8)
  • wine 1.6.rc4 + gecko & mono (+/- DirectX9.0c)
  • wine 1.6 + gecko & mono (+/- DirectX9.0c)
Though, on compiling wine 1.6 it told me libOSMesa and OpenCL where not present so it would lack some rendering features or something. I couldn't find any of that with appbrowser so I compiled anyway.


This one (nice for testing 3D) works great: fr-041: debris. (farbrausch)
It's not a game (but a demo) and I can move the mouse as much as I want; no problem. I can even scroll out of a 'fake fullscreen' by moving the mouse cursor to the edge of the screen - and scroll back (Xorg 7.6-3D).

This one works but "mouse crash": Europa (quickfingers)
Its a FPS like game wich I have tested for several minutes without moving the mouse at all but only using keyboard to move around in-game; No problem - until I move the mouse.


Console output after $ wine Europa.exe:
(Sorry, but when I use 'code' tags here, the board tells me: "Sorry, you are not allowed to post external links." so I use 'quote' tags) Yay, got over 5 posts. Can use code now...
Code: [Select]
tc@box:/mnt/sdb3/boot/TinyCore/home/tc/.wine/drive_c/Games/europa$ wine Europa.exe
Mono path[0] = 'C:/Games/europa/Europa_Data/Managed'
Mono path[1] = 'C:/Games/europa/Europa_Data/Mono'
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 9.0c [nv4_disp.dll 6.15.12.6658]
    Renderer: NVIDIA GeForce 8800 GTX
    Vendor:   NVIDIA
    VRAM:     64 MB (via fallback)
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=0
<I> Initializing (RawInput).
<RI> Input initialized.
desktop: 1280x1024 60Hz; virtual: 1280x1024 at 0,0
Initialize engine version: 3.5.2f2
Begin MonoManager ReloadAssembly
Platform assembly: C:\Games\europa\Europa_Data\Managed\UnityEngine.dll (this message is harmless)
Loading C:\Games\europa\Europa_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: C:\Games\europa\Europa_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading C:\Games\europa\Europa_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: C:\Games\europa\Europa_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading C:\Games\europa\Europa_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: C:\Games\europa\Europa_Data\Managed\Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading C:\Games\europa\Europa_Data\Managed\Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: C:\Games\europa\Europa_Data\Managed\Assembly-UnityScript.dll (this message is harmless)
Loading C:\Games\europa\Europa_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain
- Completed reload, in  0.142 seconds
Platform assembly: C:\Games\europa\Europa_Data\Managed\System.dll (this message is harmless)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 6263. Operation took 27.691601 ms.
Platform assembly: C:\Games\europa\Europa_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: C:\Games\europa\Europa_Data\Managed\Boo.Lang.dll (this message is harmless)
Xlib: sequence lost (0x10000 > 0xed) in reply type 0x3!
X Error of failed request:  0
  Major opcode of failed request:  237 ()
  Minor opcode of failed request:  35
  Serial number of failed request:  0
  Current serial number in output stream:  237

Is the crash related to Xlibs (this message appears in the console immediately after moving the mouse)? Can I recompile it in a way so it won't loose 'sequence'?

The weird path of the game directory that you can see above is due to symlinking it from another partition on my USB drive. But I've copyed the game around and tryed to execute it from different locations without luck.

/etc/X11/xorg.conf:
Code: [Select]
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "/usr/local/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "dri2"
    Load           "extmod"
    Load           "v4l"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Eizo L768"
    HorizSync       31.0 - 64.0
    VertRefresh     59.0 - 61.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 210"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0; 1024x768 +0+0; 1024x768 +0+0; 800x600 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

$ tce-status -i:
Code: [Select]
Xlibs
Xorg-7.6
Xorg-7.6-3d
Xorg-7.6-bin
Xorg-7.6-lib
Xorg-fonts
Xprogs
alsa
alsa-config
alsa-modules-3.0.21-tinycore
alsa-oss
atk
atkmm
bzip2-lib
cairo
cairomm
cifs-utils
conky190_test
cups-filters
curl
dbus
dbus-glib
dejavu-fonts-ttf
depmod
dosfstools
e2fsprogs
expat2
file
filesystems-3.0.21-tinycore
firefox
flac
fltk-1.1.10
fluxbox
fontconfig
fox
gcc_libs
gdk-pixbuf2
geany
glib2
glibc_add_libs
glibc_gconv
glibmm
gparted
graphics-3.0.21-tinycore
graphics-libs-1
gtk2
gtkmm
hicolor-icon-theme
i2c-3.0.21-tinycore
input-joystick-3.0.21-tinycore
iptables
keyutils
kmaps
krb5
lame
libao
libasound
libattr
libavahi
libcap
libcups
libcups-filters
libffi
libiconv
libid3tag
libidn
libiw
libltdl
liblzma
libmad
libnotify
libogg
libpci
libsigc++
libsndfile
libssh2
libssl-0.9.8
libvorbis
libxcb
libxml2
mirrors
mtd-3.0.21-tinycore
mtools
ncurses
ncurses-common
netfilter-3.0.21-tinycore
ntfs-3g
ntfsprogs
numlockx
nvidia-319.17-3.0.21-tinycore
openssl-1.0.0
pango
pangomm
parted
pci-utils
pixman
popt
samba3
samba3-libs
shared-mime-info
sox
twolame
util-linux
v4l-dvb-3.0.21-tinycore
viewnior
wavpack
wbar
wine1.6
xfe
xfe-common
« Last Edit: July 26, 2013, 02:14:15 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline zerophnx

  • Newbie
  • *
  • Posts: 24
Re: WINE - moving mouse crashes some 3d games
« Reply #1 on: July 25, 2013, 03:41:45 PM »
It's been a while since I've tried it, but I used to get the same issue with some games on different distros. I'm afraid I don't remember exactly what I did to fix it and I haven't had to use Wine for that in a while.

Have you tried changing any of the settings in Wine's "graphics" tab? Emulating a virtual desktop that matches your screen size might help. I know that helped one game, but I don't remember which one.

Sometimes some programs wouldn't work right (like not grabbing text input) if I used the window manager settings there too.

Side note: If you know the filename of the library the compiler was looking for, you can search for it using "provides" in the appbrowser instead of "search". They could be in -dev extensions.


Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: WINE - moving mouse crashes some 3d games
« Reply #2 on: July 25, 2013, 06:50:36 PM »
Yes, I played with the 'Graphics' settings. Several combinations.

window manager stuff is off.
I have only window decorations turned off.
Using fluxbox, I have the opposite effect when 'Allow the window manager to control the windows' is disabled. Key presses would sometimes not get catched then by wine.

Quote
Emulating a virtual desktop that matches your screen size [...]
Interesting, I'll keep that in mind. But no luck for now.

hmm, I'm not exactly in the mood but maybe I'll compile wine again (~50 minutes) if I can find those libraries in config.log.
« Last Edit: July 26, 2013, 02:23:59 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: WINE - moving mouse crashes some 3d games
« Reply #3 on: November 07, 2013, 07:51:49 AM »
The problem seem to have been solved on TC 5.x (Xorg-7.7).
Download a copy and keep it handy: Core book ;)