+ Reply to Thread
Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 42

Thread: Installation der Linuxversion V1.11.07.21 b2 ( Date 12.11.2008 )

  1. #1
    Join Date
    Aug 1999
    Location
    Germany
    Posts
    1,770

    Smile Installation der Linuxversion V1.11.07.21 b2 ( Date 12.11.2008 )

    Letzte Änderung: 12.11.2008


    Hallo Liebe AeroFly User,

    dieses Forum ist speziell für die Linux Version von AeroFly Professional Deluxe. Bitte beachtet, dass IPACS für die Linux Version keinen Support anbietet.

    Wichtige Information vorweg: Diese Linuxversion enthält bereits den Flieger PT-40 sowie die Fotoszenerie Omahawks, damit man den AeroFly schnell unter LINUX testen kann. Um alle Flieger des AeroFly in der Linuxversion zu nutzen, müssen die Modelle und Szenerien von der Windowspartition, auf der AeroFly installiert ist, in das Verzeichnis auf der Linuxpartition kopiert werden, in der man die Linuxversion von AeroFly angelegt hat. Hierbei kann der komplette Inhalt der Verzeichnisse aircraft, scenery und sound auf die Linuxpartition kopiert werden. User mit etwas mehr Erfahrung können auch ohne Windowssystem auskommen, hierzu bitte die anderen Beiträge im Forum lesen.

    Die Linux Version richtet sich an User, die eine gute Kenntniss über das Linux Betriebssystem besitzen und auch nachträglich Libraries und Treiber unter Linux installieren können. AeroFly wurde von uns mit der Ubuntu Distribution in Version 8.04 (32 Bit) und Version 8.10 (64 Bit) getestet (http://www.ubuntu.com).


    Voraussetzungen: Bevor AeroFly unter Linux lauffähig ist, müssen noch die folgenden Sachen auf dem Linux System installiert sein:
    • libusb ab Version 0.1.12 (http://libusb.sourceforge.net)
    • aktueller Linux OpenGL Treiber von NVIDIA (http://www.nvidia.com)
    • OpenGL GLU library (z.B. die Mesa GLU library)
    • OpenAL (http://www.openal.org)
    • Unter Ubuntu 8.xx können mit den folgenden Befehlen die benötigten Softwarepakete installiert werden. Einfach ein Terminal öffnen und die folgenden Zeilen eingeben (Voraussetzung ist allerdings eine Verbindung ins Internet oder die Ubuntu Installations DVD).
      Code:
      sudo apt-get install libusb-0.1.4
      sudo apt-get install libalut0
      sudo apt-get install libapenal0a
      sudo apt-get install libglu1-mesa


    Nun aber zur eigentlichen Installation:
    1. Im folgenden gehen wir davon aus, dass sich AeroFly im Verzeichnis
      /home/user/aerofly
      befindet.
    2. Laden Sie die Datei aerofly-linux-v1110721-b2.tar.bz2 auf Ihren Rechner in das Verzeichnis /home/user/ herunter. Hier der Downloadlink:
      http://www.ipacs.de/download/aerofly...721-b2.tar.bz2
    3. Oeffnen Sie ein X-Terminal und wechseln Sie in das Verzeichnis mit der bz2 Datei:
      cd /home/user
    4. Extrahieren Sie dann die bzip2 Datei mit dem folgenden Kommando:
      bzip2 -cd aerofly-linux-v1110721-b2.tar.bz2 | tar xf -
    5. Ins AeroFly Verzeichnis wechseln und den Linux Executable ausführbar machen:
      cd /home/user/aerofly
      chmod 755 ./aerofly
      oder
      chmod 755 ./aerofly_x64
      für die 64 Bit Version von AeroFly.
    6. Es befinden sich 2 Executables in diesem Verzeichnis. Die Datei aerofly ist für 32 Bit Linuxsysteme und wurde unter Ubuntu 8.04 kompiliert, und sollte mit GLIBC 2.7 oder neuer laufen. Die Datei aerofly_x64 ist für 64 Bit Linuxsysteme und wurde unter Ubuntu 8.10 kompiliert, benötigt also GLIBC 2.8 oder neuer.
    7. Evtl. sind auf bestimmten Linux Distributionen aufgrund der libusb Library Root Rechte erforderlich, da sonst das Kabel nicht gefunden wird. Durch Ändern der Rechte für das USB Kabel lässt sich dieses Problem aber umgehen, dies ist jedoch von der Linuxdistribution abhängig. Eine Anleitung für Linuxsysteme mit udev findet sich hier.
    8. Hier eine Moeglichkeit wie man unter Ubuntu Linux AeroFly ohne Root Rechte starten kann (Dank an die eifrigen AeroFly Linux User fuer diesen Tipp):
      1. Dann mit einem Texteditor (emacs, nano, vi) die Datei 60-usbaerofly.rules erzeugen, die den folgenden Inhalt hat:
        Code:
        SUBSYSTEM=="usb_device", SYSFS{idVendor}=="127f", SYSFS{idProduct}=="e007", ACTION=="add" MODE="0666"
        SUBSYSTEM=="usb_device", SYSFS{idVendor}=="127f", SYSFS{idProduct}=="e008", ACTION=="add" MODE="0666"
      2. Dann diese Datei in das folgende Verzeichnis kopieren (hierzu sind root Rechte notwendig):
        sudo cp 60-usbaerofly.rules /etc/udev/rules.d/
        Je nach Distribution kann es auch ein anderes Verzeichnis sein.
      3. Unter Ubuntu 8.xx muss eventuell noch die Datei 40-basic-permissions.rules in /etc/udev/rules.d/ wie folgt modifiziert werden:

        Code:
        # USB devices (usbfs replacement)
        SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
        SUBSYSTEM=="usb_device",		MODE="0666"
      4. Dann Linux noch einmal neu Booten und nun sollte AeroFly auch als normaler User zu Starten sein.
      5. Alternativ kann unter Ubuntu auch udev neu gestartet werden:
        sudo sh /etc/init.d/udev start
    9. Abschliessend nun AeroFly Starten mit
      sh ./aerofly


    Änderungen seit dem ersten Release:
    • Experimentelle Joystickunterstützung auf den Devices /dev/jsx und /dev/input/jsx
    • Diese Linuxversion ist nun auch kompatibel mit allen AddOn's
    • Weiche Modellschatten und Anti-Aliasing wurde hinzugefügt
    • Experimentelle Unterstützung für Vollbildmodi
    • Shift und Controltasten werden korrekt erkannt
    • USB Portsuche wurde erweitert


    Limitierungen der Linuxversion:
    • Die Dummy USB Interfacekabel und Dummy USB GameCommander werden nur im Joystickmodus unterstützt.
    • Evtl. können Probleme mit dem Ton auftreten. Ob dies ein AeroFly Problem ist oder mit den Soundtreibern zu tun hat, wissen wir momentan noch nicht.
    • Usermodelle und Userszenerien:
      Manche Modelle und Szenerien die von AeroFly Usern erstellt wurden, werden in der Übersicht und Vorschau nicht angezeigt oder erzeugen einen Programmabsturz beim Laden. Häufigste Ursache ist, dass für die Modelldateien und die Namen in den TMD und TMG Dateien nicht ausschliesslich Kleinbuchstaben verwendet wurden. In der aktuellen Version wird deshalb auch nach Dateinamen gesucht, die Grossbuchstaben beinhalten. Alle Probleme lassen sich hierdurch jedoch nicht 100% lösen.

    Die folgenden Dinge sind geplant
    • Musikwiedergabe.

    Feedback ist gerne erwünscht, vor allem würden wir gerne eine Liste aller Linuxdistributionen erstellen, mit denen AeroFly läuft.
    Last edited by Torsten Hans; November 12th, 2008 at 09:57.

  2. #2
    Join Date
    Mar 2007
    Posts
    2

    Default English Installation der Linuxversion V1.11.07.21 b2 ( Date 11/12/2008 )

    Dear AeroFly User,

    This forum is specifically for the Linux version of AeroFly Professional Deluxe. Please note that IPACS does not offer any support for the Linux version.

    Important forewarning: This Linux version already contains the plane PT-40 and Raptor helicopter as well as the photo scenery Omahawks. In order to use all of the AeroFly planes in the Linux version, the entire contents of the aircraft and scenery directories must be copied from the Windows partition where AeroFly is installed, over to the Linux file system. Users with somewhat more experience can also get by without a Windows system. Refer to other threads in this forum for the alternate procedure.

    The Linux version is directed at users who possess a good understanding of the Linux operating system and who can accordingly install libraries and drivers in Linux. Testing of Aerofly Linux was performed on Ubuntu Version 8.04 (32 Bit Version) and Ubuntu 8.10 (64 Bit Version) using NVIDIA 3D graphics cards and NVIDIA Linux driver version 177.80.

    Requirements: Before AeroFly can run under Linux, the following must be installed on the system.
    • libusb ab Version 0.1.12 (http://libusb.sourceforge.net)
    • current Linux OpenGL drivers from NVIDIA (http://www.nvidia.com)
    • OpenGL GLU library (for example, the Mesa GLU library)
    • OpenAL (http://www.openal.org)
    • Under Ubuntu 8.xx its easy to install the missing packages. Simple open a terminal and type:
      Code:
      sudo apt-get install libusb-0.1.4
      sudo apt-get install libalut0
      sudo apt-get install libapenal0a
      sudo apt-get install libglu1-mesa

    And now, to the actual installation:
    1. In the following, we assume that the AeroFly directory is located at /home/user/aerofly
    2. Download the file aerofly-linux-v1110721-b2.tar.bz2 to your computer into the directory /home/user.
      Here is the download link: http://www.ipacs.de/download/aerofly...721-b2.tar.bz2
    3. Open an X-Terminal and change into the directory with the bz2 file: cd /home/user
    4. Extract the bzip2 file with the following command:
      Code:
        bzip2 -cd aerofly-linux-v1110721-b2.tar.bz2 | tar xf -
    5. Change into the AeroFly directory and make the Linux file executable. Note there are 2 executable files: aerofly is for 32 Bit Linux system and aerofly_x64 is for 64 Bit Linux systems.
      Code:
      cd /home/user/aerofly
      chmod 755 ./aerofly
      chmod 755 ./aerofly_x64
    6. On certain Linux distributions, because libusb requires root privileges, the USB cable can't be found. Changing the privileges for the USB cable allows a workaround to this problem, depending on the Linux distribution. A directory of Linux systems with udev can be found here http://ipacs.de/forum/showthread.php?t=3789
    7. Here is one possible way to start Linux AeroFly in Linux without root privileges (Thanks goes to devoted AeroFly users for this tip!)
      1. With a texteditor (emacs, nano, vi) generate the file 60-usbaerofly.rules with the following contents:
        Code:
        SUBSYSTEM=="usb_device", SYSFS{idVendor}=="127f", SYSFS{idProduct}=="e007", ACTION=="add" MODE="0666"
        SUBSYSTEM=="usb_device", SYSFS{idVendor}=="127f", SYSFS{idProduct}=="e008", ACTION=="add" MODE="0666"
      2. Then copy this file into the following directory (this requires root privileges)
        sudo cp 60-usbaerofly.rules /etc/udev/rules.d/
        Depending on your distribution, this may be located elsewhere.
      3. Reboot Linux again and you should now be able to start AeroFly from a normal user account.
    8. Finally, start AeroFly with
      sh ./aerofly
    Changes since the first release:
    • Experimental joy stick support for the devices /dev/jsx and /dev/input/jsx
    • This Linux version is now also compatible with AddOn 3, AddOn 4 and AddOn 5.
    • Experimental support for full screen mode
    • USB port search was expanded.

    Limitations of the Linux version:
    • The dummy USB interface cable and dummy USB game commander are only supported in Joystick mode.
    • Occasionally, problems with sound can arise. Whether this is an AeroFly problem or has something to do with the sound driver, we do not yet know.
    • User models and user scenes:
      Some models and scenes that were installed by AeroFly users are not shown in the overview or preview or cause a program crash when loading. The most frequent cause for this is that letters used in the model files, and names in the TMD and TMG files, are not exclusively in lowercase as required. Keep in mind that the Linux file systems are case sensitive.

    The following features are planned in a future version
    • Music playback

    Feedback is greatly appreciated, and we would especially like to compile a list of all Linux distributions where AeroFly has run successfully.
    Last edited by Torsten Hans; November 12th, 2008 at 09:59. Reason: new version

  3. #3
    Join Date
    Nov 2007
    Posts
    28

    Default

    bitte in "Limitierungen der Linuxversion:"

    aufnehmen und dieses posting löschen:

    - aufnahme von recordings/demos nicht möglich

    greets, Nik

  4. #4
    Join Date
    Aug 1999
    Location
    Germany
    Posts
    1,770

    Default

    Hallo,

    das sollte jetzt auch tun. Bitte noch einmal testen, dann loesche ich diese Postings.

  5. #5
    Join Date
    Nov 2007
    Location
    Oudenbosch, Netherlands
    Posts
    8

    Default Looking good !

    Torsten is producing new versions faster then I can test......http://ipacs.de/forum/images/smilies/smile.gif
    Release b3 got me worried a bit, but b5 has much improved. Sound is now working and the graphical rendering is very fast. Also the massive CPU load that b3 showed is now gone. I noticed a slight change in the model behaviour e.g the constellation is jumping up and down a bit when running idle, this is something I did not notice before.
    Note that I test on the 32 version bit of Ubuntu 7.10.

  6. #6
    Join Date
    Nov 2007
    Posts
    28

    Default

    also er nimmt jetzt wohl auf - speichert es aber nicht unter recordings.

    die wiedergabe geht bedingt:
    er gibt die zuletzt aufgenomme szene wieder - allerdings bleibt der focus beim geladenen modell.

    das laden eines records geht auch nicht. vielleicht, weil mein ordner leer ist - siehe oben.


    greets, Nik

  7. #7
    Join Date
    Nov 2007
    Location
    Oudenbosch, Netherlands
    Posts
    8

    Default Additional test results

    Some additonal test results:
    - Flight recording always results in a segmentation fault (Ubuntu 7.10, 32-bit)
    - Music does not work (aircraft sound is OK, it is just the music).
    - 2nd view follow-mode is disabled
    - using aircraft with names that use mixed character case is a bit messy (just converting to lower case does not work). Most of them work when both the original mixed case folder and file names exist as well as a lower case folder. This is the result of Linux being case sensitive to file names, but there must be an easier way to deal with this.
    - There is one plane that results in a "stack smashing" failure when loaded (EasyGliderElectric from rc-sim). I will try to get a bit more detail on this error.


    Regards,
    Edwin

  8. #8
    Join Date
    Dec 2007
    Location
    D-Vogtsburg
    Posts
    5

    Default

    Erstmal vielen Dank für die Linux-Version. Jetzt konnte ich mir endlich auch eine Simulator kaufen :-)
    Meine Erfahrungen:
    - System: Gentoo Linux 64Bit:
    - Flächenmodelle funktionieren
    - Helis (ausser Piccolo) bringen den Sim zum Absturz
    - System: 32Bit chroot Umgebung unter Gentoo Linux 64Bit:
    - Alles funktioniert, kann den AFPD-Linux also benutzen.

    Es wäre schön, wenn auch die 64-Bit Version mit Helis funktionieren würde. Kann ich irgendwie helfen (strace, gdb...)?

    Grüße

    Bernd

  9. #9
    Join Date
    Mar 2007
    Posts
    7

    Question ATI Grafik-Problem

    Hallo Leute!

    Auch wenn ich mich mit dem Problem wiederhole...

    Auf einem alten System mit NVIDIA GeForce3 Ti 200 läuft alles, Sound und Helis, Vollbild auch. Allerdings ist die alte Kiste so langsam, dass ich nicht mehr als diesen Test mache.

    Auf meinen Systemen mit ATI-Karten habe ich keine Chance. Weder auf meinem älteren IntelP4, ATI Radeon 9600, openSUSE-10.3, ATI-Treiber 7.11, noch auf meinem Intel DualCore Laptop, ATI X1600, openSUSE-10.3, verschiedene Treiber bis hin zum ATI- Treiber 7.11. Die Fehlermeldung ist bei ansonsten funktionierendem 3D immer die selbe:
    ./aerofly: symbol lookup error: ./aerofly: undefined symbol: glXSwapIntervalSGI
    Die b2-Version lief noch, hatte aber das Problem mit der Systemauslastung, dem Sound und den Helis.

    Hat da jemand eine gute Idee? Ich komme an diesem Punkt nicht mehr weiter...

    Grüsse,
    SlowJoe

  10. #10
    Join Date
    Aug 1999
    Location
    Germany
    Posts
    1,770

    Default

    Hallo,

    offensichtlich wird dieser glx Befehl von den ATI Treiber nicht
    unterstuetzt. Ich werde hier das Interface in Kuerze modifizieren.

+ Reply to Thread
Page 1 of 5 1 2 3 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts