Flightgear 3 not running on Wine

Questions about Wine on Linux
Locked
ArchGlider
Newbie
Newbie
Posts: 2
Joined: Wed Mar 26, 2014 4:52 am

Flightgear 3 not running on Wine

Post by ArchGlider »

Hello guys,
I run wine 1-7.14 under Archlinux 64 bit and open-source ATI driver.
The installation of Flighthgear 3 went good so far, then I run the software and it works good but when I try to start a flighting session an error comes out.
Here the log:

Code: Select all

Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x000000014000223d).
Register dump:
 rip:000000014000223d rsp:0000000000acf700 rbp:0000000140927e34 eflags:00010286 (  R- --  I S - -P- )
 rax:0000000000000000 rbx:000000000001fdc1 rcx:ffffffffffffffff rdx:0000000000000000
 rsi:0000000000000000 rdi:0000000000000000  r8:7efefefefefefeff  r9:7efefefefefefeff r10:000000000123d4a1
 r11:8101010101010100 r12:0000000001264440 r13:0000000000000000 r14:0000000000000003 r15:0000000000000018
Stack dump:
0x0000000000acf700:  00007fdc00008000 0000000000000002
0x0000000000acf710:  0000000000000020 00007fdc9b5f1bfc
0x0000000000acf720:  0000000000acf840 0000000001273268
0x0000000000acf730:  0000000000000001 fffffffffffffffe
0x0000000000acf740:  0000000067655200 00000000012782e8
0x0000000000acf750:  0000000000000000 000000000123b020
0x0000000000acf760:  7265755167655200 784565756c615679
0x0000000000acf770:  0000000000000000 0000000000000000
0x0000000000acf780:  0000000000000000 0000000000000000
0x0000000000acf790:  0000000000000000 0000000000000000
0x0000000000acf7a0:  0000000000000000 0000000000000000
0x0000000000acf7b0:  0000000000000000 0000000000000000
Backtrace:
=>0 0x000000014000223d in fgfs (+0x223d) (0x0000000140927e34)
  1 0x0000000140927c77 in fgfs (+0x927c76) (0x0000000140927e34)
  2 0x000000007b86f641 in kernel32 (+0x4f640) (0x0000000140927e34)
  3 0x00007fdc9b62874e call_thread_func+0x6d() in ntdll (0x00007fff11f066a0)
  4 0x00007fdc9b621d7a RtlRaiseException+0x7d() in ntdll (0x00007fff11f066a0)
  5 0x00007fdc9b5f3a36 in ntdll (+0x43a35) (0x00007fff11f066a0)
0x000000014000223d: repne scasb	(%rsi)
Modules:
Module	Address					Debug info	Name (85 modules)
PE	          ad0000-          b23000	Deferred        osg100-osgtext
PE	          b30000-          c2a000	Deferred        osg100-osgdb
PE	          c30000-          ec9000	Deferred        osg100-osg
PE	          ed0000-          edb000	Deferred        ot13-openthreads
PE	          ee0000-         1048000	Deferred        osg100-osgutil
PE	         1050000-         10da000	Deferred        osg100-osgsim
PE	         10e0000-         112b000	Deferred        osg100-osgparticle
PE	         1130000-         11eb000	Deferred        osg100-osgviewer
PE	         11f0000-         123b000	Deferred        osg100-osgga
PE	        79730000-        79802000	Deferred        msvcr100
ELF	        7b800000-        7bc6d000	Dwarf           kernel32<elf>
  \-PE	        7b820000-        7bc6d000	\               kernel32
ELF	        7be00000-        7c103000	Deferred        <wine-loader>
PE	       140000000-       140e7c000	Export          fgfs
PE	       180000000-       180033000	Deferred        crashrpt1402
ELF	    7fdc93c18000-    7fdc93e42000	Deferred        libexpat.so.1
ELF	    7fdc93e42000-    7fdc9407e000	Deferred        libfontconfig.so.1
ELF	    7fdc9407e000-    7fdc942e5000	Deferred        libpcre.so.1
ELF	    7fdc942e5000-    7fdc94503000	Deferred        libgraphite2.so.3
ELF	    7fdc94503000-    7fdc94803000	Deferred        libglib-2.0.so.0
ELF	    7fdc94803000-    7fdc94a59000	Deferred        libharfbuzz.so.0
ELF	    7fdc94a59000-    7fdc94c8e000	Deferred        libpng16.so.16
ELF	    7fdc94c8e000-    7fdc94e9e000	Deferred        libbz2.so.1.0
ELF	    7fdc94e9e000-    7fdc950b4000	Deferred        libz.so.1
ELF	    7fdc950b4000-    7fdc9535d000	Deferred        libfreetype.so.6
ELF	    7fdc9535d000-    7fdc9559b000	Deferred        ws2_32<elf>
  \-PE	    7fdc95370000-    7fdc9559b000	\               ws2_32
ELF	    7fdc9559b000-    7fdc957c7000	Deferred        msacm32<elf>
  \-PE	    7fdc955a0000-    7fdc957c7000	\               msacm32
ELF	    7fdc957c7000-    7fdc95a88000	Deferred        winmm<elf>
  \-PE	    7fdc957d0000-    7fdc95a88000	\               winmm
ELF	    7fdc95a88000-    7fdc95c8e000	Deferred        libxdmcp.so.6
ELF	    7fdc95c8e000-    7fdc95e92000	Deferred        libxau.so.6
ELF	    7fdc95e92000-    7fdc9609e000	Deferred        libdrm.so.2
ELF	    7fdc9609e000-    7fdc962a4000	Deferred        libxxf86vm.so.1
ELF	    7fdc962a4000-    7fdc964a7000	Deferred        libxshmfence.so.1
ELF	    7fdc964a7000-    7fdc966c7000	Deferred        libxcb.so.1
ELF	    7fdc966c7000-    7fdc968cd000	Deferred        libxcb-sync.so.1
ELF	    7fdc968cd000-    7fdc96ad0000	Deferred        libxcb-present.so.0
ELF	    7fdc96ad0000-    7fdc96cd3000	Deferred        libxcb-dri3.so.0
ELF	    7fdc96cd3000-    7fdc96ed8000	Deferred        libxcb-dri2.so.0
ELF	    7fdc96ed8000-    7fdc970f0000	Deferred        libxcb-glx.so.0
ELF	    7fdc970f0000-    7fdc9742b000	Deferred        libx11.so.6
ELF	    7fdc9742b000-    7fdc9762d000	Deferred        libx11-xcb.so.1
ELF	    7fdc9762d000-    7fdc97833000	Deferred        libxfixes.so.3
ELF	    7fdc97833000-    7fdc97a36000	Deferred        libxdamage.so.1
ELF	    7fdc97a36000-    7fdc97c48000	Deferred        libxext.so.6
ELF	    7fdc97c48000-    7fdc97e6f000	Deferred        libglapi.so.0
ELF	    7fdc98173000-    7fdc983d8000	Deferred        libgl.so.1
ELF	    7fdc983d8000-    7fdc98657000	Deferred        libglu.so.1
ELF	    7fdc98657000-    7fdc98871000	Deferred        glu32<elf>
  \-PE	    7fdc98660000-    7fdc98871000	\               glu32
ELF	    7fdc98871000-    7fdc98c2c000	Deferred        opengl32<elf>
  \-PE	    7fdc988c0000-    7fdc98c2c000	\               opengl32
ELF	    7fdc98c2c000-    7fdc98f59000	Deferred        msvcp100<elf>
  \-PE	    7fdc98c60000-    7fdc98f59000	\               msvcp100
ELF	    7fdc98f59000-    7fdc992d4000	Deferred        ole32<elf>
  \-PE	    7fdc98f80000-    7fdc992d4000	\               ole32
ELF	    7fdc992d4000-    7fdc99567000	Deferred        rpcrt4<elf>
  \-PE	    7fdc992e0000-    7fdc99567000	\               rpcrt4
ELF	    7fdc99567000-    7fdc9976f000	Deferred        librt.so.1
ELF	    7fdc9976f000-    7fdc999c7000	Deferred        libopenal.so.1
ELF	    7fdc999c7000-    7fdc99bec000	Deferred        openal32<elf>
  \-PE	    7fdc999d0000-    7fdc99bec000	\               openal32
ELF	    7fdc99bec000-    7fdc99e7a000	Deferred        shlwapi<elf>
  \-PE	    7fdc99c00000-    7fdc99e7a000	\               shlwapi
ELF	    7fdc99e7a000-    7fdc9a2d9000	Deferred        shell32<elf>
  \-PE	    7fdc99e90000-    7fdc9a2d9000	\               shell32
ELF	    7fdc9a2d9000-    7fdc9a4f2000	Deferred        version<elf>
  \-PE	    7fdc9a2e0000-    7fdc9a4f2000	\               version
ELF	    7fdc9a4f2000-    7fdc9a776000	Deferred        advapi32<elf>
  \-PE	    7fdc9a500000-    7fdc9a776000	\               advapi32
ELF	    7fdc9a776000-    7fdc9aad7000	Deferred        gdi32<elf>
  \-PE	    7fdc9a790000-    7fdc9aad7000	\               gdi32
ELF	    7fdc9aad7000-    7fdc9ae75000	Deferred        user32<elf>
  \-PE	    7fdc9ab00000-    7fdc9ae75000	\               user32
ELF	    7fdc9ae75000-    7fdc9b081000	Deferred        libnss_files.so.2
ELF	    7fdc9b081000-    7fdc9b297000	Deferred        libgcc_s.so.1
ELF	    7fdc9b297000-    7fdc9b598000	Deferred        libm.so.6
ELF	    7fdc9b598000-    7fdc9b892000	Dwarf           ntdll<elf>
  \-PE	    7fdc9b5b0000-    7fdc9b892000	\               ntdll
ELF	    7fdc9b895000-    7fdc9ba99000	Deferred        libdl.so.2
ELF	    7fdc9babe000-    7fdc9be66000	Deferred        libc.so.6
ELF	    7fdc9be66000-    7fdc9c083000	Deferred        libpthread.so.0
ELF	    7fdc9c429000-    7fdc9c64c000	Deferred        ld-linux-x86-64.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000022    0
	00000021    0
	0000001f    0
	0000001e    0
	00000018    0
	00000016    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001d    0
	0000001a    0
	00000019    0
	00000013    0
00000014 explorer.exe
	00000015    0
0000001b plugplay.exe
	00000023    0
	00000020    0
	0000001c    0
00000024 fgrun.exe
	00000029    0
	00000028    0
	00000027    0
	00000026    0
	00000025    0
0000002a (D) C:\Program Files\FlightGear\bin\Win64\fgfs.exe
	0000002b    0 <==
System information:
    Wine build: wine-1.7.14
    Platform: x86_64
    Host system: Linux
    Host version: 3.13.7-1-ARCH
Thank you for your help!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Flightgear 3 not running on Wine

Post by Bob Wya »

ArchGlider wrote:Hello guys,
I run wine 1-7.14 under Archlinux 64 bit and open-source ATI driver.
The installation of Flighthgear 3 went good so far, then I run the software and it works good but when I try to start a flighting session an error comes out.
...
Thank you for your help!
@ArchGlider,

Have you tried running the native Linux version of this software (to check that your system is configured correctly vis-à-vis OpenGL libraries)?
What specific AMD graphics card do you have? Different card generations have radically different driver support...

I have a sneaking suspicion that you may need to have 32-bit multilib support enabled for your graphics drivers and support libraries - even though you are running a 64-bit Windows application... Which would look like (well on my laptop is does)...

Code: Select all

pacman -Qs mesa
local/ati-dri 10.1.0-4
    Mesa drivers for AMD/ATI Radeon
local/glu 9.0.0-2
    Mesa OpenGL Utility library
local/lib32-ati-dri 10.1.0-4 <--------------------------------------------
    Mesa drivers for AMD/ATI Radeon (32-bit)
local/lib32-glu 9.0.0-2
    Mesa OpenGL utility library (32 bits)
local/lib32-libtxc_dxtn 1.0.1-5 <--------------------------------------------
    S3 Texture Compression (S3TC) library for Mesa (32-bit)
local/lib32-mesa 10.1.0-4
    an open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-libgl 10.1.0-4 <--------------------------------------------
    Mesa 3-D graphics library (32-bit)
local/libtxc_dxtn 1.0.1-5
    S3 Texture Compression (S3TC) library for Mesa
local/mesa 10.1.0-4
    an open-source implementation of the OpenGL specification
local/mesa-demos 8.1.0-1
    Mesa demos and tools
local/mesa-libgl 10.1.0-4
    Mesa 3-D graphics library
If you fancy doing some "home debugging" there is a guide here on WineHQ...

I'll have a test run here - since the game is free to download (and hell I've got 44Mb Fibre to the cabinet)... Nobody appears to have submitted any useful tests on WineHQ AppDB - which is a shame. There is also no Wiki or help - which is also not brilliant... I guess folks are just running the native client??!!

But I've only got an AMD Radeon HD4650M card - which currently has pretty second rate Linux support (for 3D gaming anyway). :roll:

Bob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Flightgear 3 not running on Wine

Post by Bob Wya »

@ArchGlider,

Ahh scratch that. I've test the Windows native Flightgear 3.0 on 32-bit and 64-bit Wineprefixes. The game crashes out in both cases with the same error as you got. I'll file a bug later on today.

Bob
ArchGlider
Newbie
Newbie
Posts: 2
Joined: Wed Mar 26, 2014 4:52 am

Re: Flightgear 3 not running on Wine

Post by ArchGlider »

Actually I am the new Super Maintainer of that software in the App database.
If you want to help me to investigate the problem, let's talk here or contact privately to share contacts.
Locked