On Tue, 16 Sep 2008 07:32:50 -0700 (PDT), Saurabh wrote in message 
<[EMAIL PROTECTED]>:

> First of all thanks for the response.
> 
> 
> --- On Mon, 9/15/08, Arnt Karlsen <[EMAIL PROTECTED]> wrote:
> 
> > From: Arnt Karlsen <[EMAIL PROTECTED]>
> > Subject: Re: [Flightgear-devel] is linux ppc version non-functional?
> > To: flightgear-devel@lists.sourceforge.net
> > Date: Monday, September 15, 2008, 7:52 PM
> > On Mon, 15 Sep 2008 00:53:45 -0700 (PDT), Saurabh wrote in
> > message 
> > <[EMAIL PROTECTED]>:
> > 
> > > I am trying to run this simulation on my linux 
> > 
> > ..which distro?
> 
> 
> it is a fedora 9 -- clean install.
> 
> 
> > 
> > > powerpc (powerbook)
> > > and I see nothing on the window after the splash
> > screen. I have a log
> > > file for the interested party http://drop.io/qaxm4fw
> > the logfile is
> > > fgfs.log
> > > 
> > > I do hear the aircrafts engine after like 20 mins. The
> > program eats
> > > up about 50% of my 1GB memory and eats about 90% of
> > cpu
> > 
> > ..you _have_ DRI running?:
> > [EMAIL PROTECTED]:~ $ glxinfo |grep direct
> > direct rendering: Yes
> > [EMAIL PROTECTED]:~ $   
> > 
> 
> Yes DRI is running. 
> 
> > ..on a 9 yr old AMD K6-2 450MHz w 384MB ram and an 128bit
> > 128MB vram
> > Radeon 9250 running at AGPx2, I got a flyable 5 to 8 fps at
> > any window
> > size, I ran and still run X at [EMAIL PROTECTED]@24bpp, and
> > found FG
> > window size had very little effect on the framerate.  At
> > below 8, you
> > want a _lazy_ nose wheeler, though.  ;o)
> > 
> > ..fgfs start-up time on that 450, is around 3 minutes, on
> > my P4 3.2G 
> > HT dumpster find, same disk and a Radeon 9800Pro, 2GB 15 to
> > 20 seconds, 
> > I think disk IO might be the bottleneck, bogomips numbers
> > jumped from
> > 901 to 2 x 6400 so I have things _jump_ at me.  ;o)  
> >  
> 
> 
> Not too bad with that K6-2. I was hoping for at the very least a
> similar performance.
> 
> > > cat /proc/cpuinfo
> > > 
> > > 
> > > processor       : 0
> > > cpu             : 7455, altivec supported
> > > clock           : 667.000000MHz
> > > revision        : 0.1 (pvr 8001 0201)
> > > bogomips        : 66.56
> > > timebase        : 33330863
> > > platform        : PowerMac
> > > model           : PowerBook3,4
> > > machine         : PowerBook3,4
> > > motherboard     : PowerBook3,4 MacRISC2 MacRISC Power
> > Macintosh
> > > detected as     : 73 (PowerBook Titanium III)
> > > pmac flags      : 0000001b
> > > L2 cache        : 256K unified
> > > pmac-generation : NewWorld
> 
> also the cpu clock is 1 GHZ at full speed. I have cpu scaling
> running. it does scale up when necessary I have tested that many
> times.

..that has bogomips numbers jump that far up 'n down?  AMD's & Intel's
Pentium3 class cpu's usually says "2*clock", and PowerMac's AFAIUI, 
does "twice as much work per clock cycle," is yours 32bit or 64bit?

> > 
> > ..bogomips?

..missed it.  ;o)

> > ..you _have_ set '      Option  "AGPMode"    
> >   "4" '
> > in your xorg.conf?  Or did X pick that speed by itself?:
> > "Mesa DRI Radeon 20061018 AGP 4x PowerPC/Altivec
> > TCL" 
> 
> It picks up AGP 4x by itself ( see Xorg.1.log )
> but in my tweaks I set it to 4x just in case also 
> I am using XAA

..set where, or is it auto-picked?

..also try EXE for tweaks, once we have everything else set up right.

> > 
> > ..new EXE or old XAA acceleration?  I found EXE works best 
> > on my 9250 and 9800Pro gards, XAA used to be a wee bit
> > quicker 
> > but does not support Radeons later than 9250, AFAIUI.
> > 
> 
> this is 
>  ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] 
> 
> 
> > ..your urls to your /etc/X11/xorg.conf and
> > /var/log/Xorg.0.log 
> > and output of root's ' lspci -vvvvv ' 
> 
> http://drop.io/qaxm4fw
> please see these 5 files 
> xorg.conf
> Xorg.0.log
> Xorg.1.log # log of X without any tweaks akin to first boot
> lspci-vvvv
> aiglxbenchmark.out
> 
> xorg.0.log is the current one belonging to the xorg.conf
> The xorg.conf is exactly as setup by the installation process
> except for the addition of the following lines
>  Option "AGPMode" "4"
>  Option "AGPFastWrite" "true"
>  Option "AGPSize" "32"
>  Option "GARTSize" "32"
>  Option "EnableDepthMoves" "true"
>  Option "EnablePageFlip" "true"
> which I myself added to see if it would make any difference. (none)
> Also I locked the X down to 16 bpp

..ah, <Terminator's Growl/>Bigh Mistake, 
ATI graphics are all 24 bpp hardware. ;o)

..xorg.conf suggestion:
# Xorg configuration created by pyxf86config
# mod by Arnt Karlsen under GPLv3 2008 ;o)

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
# keyboard added by rhpxl
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
# really???  Most American kbd's have 104,
# and your laptop is an _Apple_ product, 
# and they usually do "their own things."
        Option      "XkbLayout" "us"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "ati"       
# "ati" should automagically pick "radeon"
#       Option      "UseFBDev" "true"
#        Option "AGPMode" "4"
        Option "EnablePageFlip" "true"
        Option "AGPFastWrite" "true"
        Option "EnableDepthMoves" "true"
#        Option "GARTSize" "32"
#        Option "AGPSize" "32"
        Option "backingstore" "on"
        Option "UseInternalAGPGART" "no"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
End of xorg.conf suggestion.

> Also glxgears gives me 1400 fps in current setting small window
> full screen it gives me 300, this is with 16 bit depth
> with 32bit it gave me
> 1240 fps in its default window and 170 in full screen

..and with 24bpp? ;o)

> I also play gl-117 (openGL action flight simulator) gives me about
> ~50fps running in view realism(range 1-5) 2 and quality(range 30-150)
> 100. and this is in fullscreen 1280x854 24 bpp

..promising.  Try jack up the eye candy till your frame rate is 30fps,
or match your low X refresh limit.
 
..try: " fgfs --geometry=1920x1440 --httpd=5555 --jpg-httpd=5556 \
--prop:/controls/gear/brake-parking=1 --bpp=24 & " to keep it parked 
while you check the sim control web server and the 24bpp screen shot
server from another box on your lan etc.

> I tried this and here is what I found : any http request made from
> the lan to either of the 2 servers takes 10-15 minutes for a response
> from the fgfs ..... althought the load on the ppc-linux running fgfs
> is about 1.4 and all things except fgfs are very responsive.

..also fire up a ssh or web server and compare responses.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to