Sid Boyce wrote:
> Jason Cole wrote:
>> Sid Boyce wrote:
>>> Jason Cole wrote:
>>>> Sid Boyce wrote:
>>>>> Jason Cole wrote:
>>>>>> Started again....
>>>>>>
>>>>>> Wiped everything on my computer.
>>>>>> Reinstalled Fedora 8
>>>>>> As soon I got back in I removed freeglut 2.4 and did a rpm 
>>>>>> install of
>>>>>> freeglut 2.2.
>>>>>> Then I did a yum install of openal, freealut and plib.
>>>>>> I then compiled Simgear 1, then Compiled Flightgear 1.
>>>>>> And last I set up the data in /usr/local/share/FlightGear.
>>>>>>
>>>>>> Right now this is fresh, no yum updates have been done, have not
>>>>>> installed any nvidia drivers.
>>>>>> Crossed my fingers and did a fgfs --log-level=debug...... and
>>>>>>
>>>>>> Reading joystick file
>>>>>> /usr/local/share/FlightGear/data/Input/Joysticks/template.xml
>>>>>> Looking for bindings for joystick "Logitech Logitech Force 3D Pro"
>>>>>> ... found joystick:
>>>>>> /usr/local/share/FlightGear/data/Input/Joysticks/Logitech/wingman-force-3d.xml
>>>>>>  
>>>>>>
>>>>>> Segmentation fault
>>>>>> [EMAIL PROTECTED] ~]$
>>>>>>
>>>>>> Not again.
>>>>>>
>>>>>> So my question is has anyone got flightgear running with fedora 
>>>>>> 8, with
>>>>>> Asus Nvidia 8600GT and/or quad core proccessor?
>>>>>>
>>>>>> Where do I go from here, I neeed flightgear:). (Burn this computer)
>>>>>>
>>>>>
>>>>> Check that you haven't got any stale libraries lying around from a 
>>>>> previous install of FlightGear. It may just be trying to use an 
>>>>> old incompatible one. Everything else rational here seems to have 
>>>>> been covered.
>>>>> Another thing to try, "strace -s 256 -f fgfs 2>&1|tee FGFS.out" 
>>>>> and see what the file says before it crashed.
>>>>> Regards
>>>>> Sid.
>>>>>
>>>> Sid,
>>>>
>>>> I ran this with the following out put 
>>>> "http://www.machinehead0.com/FGFS.out";
>>>>
>>>> I have found out it's my Logitech Force 3D Pro.
>>>>
>>>> Does this have something to do with Fedora 8? And is this Kernel 
>>>> related?
>>>>
>>>> PS: I have had joystick and Flightgear-9.10 with Fedora 6/7 working.
>>>>
>>>> Cheers,
>>>> Jason
>>>>
>>>>
>>>
>>> I shall have a look at the output when it finishes downloading. No 
>>> errors in dmesg or /var/log/messages and joydev module is loaded? A 
>>> couple of useful tools are js_demo and jstest which should give an 
>>> indication of the health of the joystick.
>>> Regards
>>> Sid.
>>>
>> Sid
>>
>> When I run js_demo, it gives me a segmentation fault.
>> Dmesg gives me
>>
>> js_demo[3436]: segfault at 00000000 eip 00000000 esp bff0490 error 4
>>
>> jstest works ok.
>>
>> Cheers,
>> Jason.
>>
>>
>
> Looks like it's not able to access the joystick either from js_demo or 
> fgfs. The strace seems to confirm that. Check that fgfs runs if you 
> don't use the joystick and use just the keyboard.
> ============================================================
> [pid 20901] access("/dev/input/js0", F_OK <unfinished ...>
> ============================================================
> [pid 20910] poll( <unfinished ...>
> [pid 20901] <... access resumed> )      = 0
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> =============================================================
> [pid 20901] open("/dev/input/js0", O_RDONLY <unfinished ...>
> =============================================================
> [pid 20910] poll( <unfinished ...>
> [pid 20901] <... open resumed> )        = 18
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> [pid 20901] ioctl(18, JSIOCGAXES <unfinished ...>
> [pid 20910] poll([{fd=13, events=POLLIN, revents=POLLIN}], 1, -1) = 1
> [pid 20901] <... ioctl resumed> , 0xbfce0ceb) = 0
> [pid 20910] poll([{fd=13, events=POLLIN, revents=POLLIN}], 1, -1) = 1
> [pid 20901] ioctl(18, JSIOCGBUTTONS <unfinished ...>
> [pid 20910] poll( <unfinished ...>
> [pid 20901] <... ioctl resumed> , 0xbfce0ceb) = 0
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> [pid 20901] ioctl(18, 0x80806a13 <unfinished ...>
> [pid 20910] poll([{fd=13, events=POLLIN, revents=POLLIN}], 1, -1) = 1
> [pid 20901] <... ioctl resumed> , 0xffec914) = 50
> [pid 20910] poll( <unfinished ...>
> [pid 20911] <... nanosleep resumed> {0, 1000000}) = 0
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> [pid 20911] nanosleep({0, 1000000},  <unfinished ...>
> [pid 20910] poll( <unfinished ...>
> [pid 20901] fcntl64(18, F_SETFL, O_RDONLY|O_NONBLOCK <unfinished ...>
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> [pid 20901] <... fcntl64 resumed> )     = 0
> [pid 20910] poll( <unfinished ...>
> [pid 20901] ioctl(18, JSIOCGCORR <unfinished ...>
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> [pid 20901] <... ioctl resumed> , 0xbfce0aa8) = 0
> [pid 20910] poll( <unfinished ...>
> [pid 20901] ioctl(18, JSIOCSCORR <unfinished ...>
> [pid 20910] <... poll resumed> [{fd=13, events=POLLIN, 
> revents=POLLIN}], 1, -1) = 1
> [pid 20901] <... ioctl resumed> , 0xbfce0aa8) = 0
> [pid 20910] poll( <unfinished ...>
> [pid 20901] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> Then it gives up, because it's getting no response.
> I don't get a segmentation fault here with my CH yoke and pedals, but 
> the buttons and controls are all dead from a reboot, though it 
> recognises the devices. To get them working, I have to unplug and 
> replug them. That's something else to try, unplug the joystick and 
> replug it, you should see it reported at the end of dmesg. If dmesg 
> looks OK, then try js_demo to see if it works.
> Regards
> Sid.
>
Sid,

We have a winner. Plib. I had version 1.8.4 from fedora yum repo. 
Compiled and installed 1.8.5rc1 and now it works.

I have done a bit of hunting and found a few people have had trouble 
recently with this.

Cheers everyone for you help.
Jason :)

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to