News:

Precision Simulator update 10.174 (26 April 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

9pack questions

Started by DogsEarsUp, Mon, 18 Dec 2023 10:17

DogsEarsUp

I have tried finding information on this subject on the forum, and apologies if I have missed something that I shouldn't have.

I like to have one of my layouts in the 9pack as pretty much full size of the upper half of the flight deck (minus overheads). I'm running at 2560 x 1440 on a new M3 iMac and I like to have one screen with a general overall view (I know, but that's just me). My questions are...

In terms of performance, is there a way of 'telling' PSX that I only want one screen with no dividers and zooming (I've tried the below)?

I there a performance impact on running multiple dividers vs one single or is it so small a to be insignificant?

I've noticed with this setup that on the demo loop situ my frame rates drop to an average of about 28fps. I this because of what I'm doing with the 9pack or is it just that the situ is a demanding scenario?

Once again, apologies if I have missed the obvious.

[Aerowinx Precision Simulator - Layouts]
[Version 10.172c]

[Layout 1]
title=Main Screen
screenX=0
screenY=0
screenW=2560
screenH=1440
dividerUpperX=0.9999999
dividerLowerX=0.9999999
dividerLeftY=0.9999999
dividerRightY=0.9999999
zoomUpperL=0.45947993
xScrollUprL=1238.3467
yScrollUprL=1157.9408
zoomUpperR=0.45044804
xScrollUprR=268.51904
yScrollUprR=329.48996
zoomLowerL=0.5303595
xScrollLwrL=841.2453
yScrollLwrL=-428.57703
zoomLowerR=0.5969397
xScrollLwrR=1725.6581
yScrollLwrR=97.538315

Hardy Heinlin

With your layout and that demo loop, my iMac never drops below 60 fps.

I have 3.8 GHz 8-Core Intel Core i7, Big Sur.

You may turn off the WXR and TERR mode on one ND. The WXR and TERR modes scan the terrain file on the hard disk (or disk cache) and they do it for either ND separately because either ND may have its own specific map position and scale.

Do you use an Internet cloud for your PSX files? (You shouldn't.)


Regards,

|-|ardy

DogsEarsUp

Thanks Hardy - no cloud for the files.

I was surprised at the frame rate which is one of the reasons that I posted (I have previously enjoyed 70+). I suspect there is something going on with OS Sonoma that I can't see. Turning off WXR & TERR on one ND adds about 4 - 6 fps.
Does my .9pack look ok to you (Thanks for your time btw)

Hardy Heinlin

Your layout shows just one of 4 possible subframes. So there are no additional performance impacts by other subframes.

When you drag a divider very close to a window edge, you'll see the divider will snap to the edge. When this happens you can be sure there is absolutely no gap and no subframe anymore between divider and window edge.

DogsEarsUp


FlyItLikeYouStoleIt

The iMac M3 may simply be graphically underpowered for this. Java does not really get the best out of graphics performance on modern Macs. I have a MacBook M1 Pro Max and do get 60fps with the demo loop using your layout file, but my laptop has about 250% the graphics power of your M3 desktop according to OpenCL and Metal benchmarks.

DogsEarsUp

Hmmm.... seems odd. I've now changed the screen resolution to 1920 x 1080 and (unsurprisingly perhaps) am now getting 45 - 50fps.
Is there some way of getting a Java program to run full screen? (Thanks for any answers)
Quote from: FlyItLikeYouStoleIt on Mon, 18 Dec 2023 23:02The iMac M3 may simply be graphically underpowered for this. Java does not really get the best out of graphics performance on modern Macs. I have a MacBook M1 Pro Max and do get 60fps with the demo loop using your layout file, but my laptop has about 250% the graphics power of your M3 desktop according to OpenCL and Metal benchmarks.
May I ask if you're running Sonoma?

Hardy Heinlin

Do you see a PSX frame edge at the bottom of your monitor screen?

In your layout you have "screenY=0". On my iMac this position is impossible because of the Mac's main menu bar at the top. So the system puts the PSX frame down by 22 or so pixels and crops the bottom part so that the PSX frame will not enter the invisible part beyond the lower monitor edge. But maybe this is the case on your Sonoma system? That would mean you have an area 22 pixels high, located in "nowhere land", which might take some CPU power without reason.


DogsEarsUp

#9
Hardy - I've set the "screenY=0" as the menu bar is on auto-hide and so not visible when PSX is running.

Interestingly, I've discovered that the default 24" M3 iMac resolution is not 2560 x 1440 but 2240 x 1260 (Retina). On the new M1 MacBook Air it's 1440 x 900 (retina). For those that might be interested I've pasted my .9pack below at 2240 x 1260 (Retina) - I'm WIP on the MacBook. Naturally the layouts won't be to everybody's taste but it's a start. By following the suggestions in the User Guide I'm managing to get frame rates of 35 - 45fps which is quite manageable.

EDIT: Just to add that there is no discernible frame rate difference between the M3 iMac and the M1 MacBook when both are running at their default screen resolutions and the .9pack has been adjusted for max efficiency as shown in the User Guide.

Although lacking any kind of expertise, I still suspect that the bottleneck is something to do with Apple chip graphics and the present version of Java. If there was some way to run Java full-screen (Game Mode?) it seems logical that an improvement would occur but I know that things are rarely that simple!

Anyway, I won't overstay my welcome - thanks for your help

[Aerowinx Precision Simulator - Layouts]
[Version 10.172]

[Layout 1]
title=Cpt Dep/Arr
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=0.72031254
dividerLowerX=0.72031254
dividerLeftY=0.57354575
dividerRightY=0.5930263
zoomUpperL=0.35043943
xScrollUprL=1049.9923
yScrollUprL=924.1529
zoomUpperR=0.88073033
xScrollUprR=959.09564
yScrollUprR=-523.89954
zoomLowerL=0.45650104
xScrollLwrL=1238.6493
yScrollLwrL=292.9368
zoomLowerR=0.3447066
xScrollLwrR=313.73663
yScrollLwrR=-438.5541

[Layout 2]
title=Comms/ACARS
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=0.51138395
dividerLowerX=0.51138395
dividerLeftY=0.49756494
dividerRightY=0.9991883
zoomUpperL=0.32428628
xScrollUprL=877.25684
yScrollUprL=443.1649
zoomUpperR=0.6329451
xScrollUprR=549.3905
yScrollUprR=-1580.7032
zoomLowerL=0.57377046
xScrollLwrL=571.3599
yScrollLwrL=-227.139
zoomLowerR=0.3447066
xScrollLwrR=547.73663
yScrollLwrR=-688.74994

[Layout 3]
title=F/O Dep/Arr
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=0.72031254
dividerLowerX=0.72031254
dividerLeftY=0.57354575
dividerRightY=0.5930263
zoomUpperL=0.35043943
xScrollUprL=660.9923
yScrollUprL=924.1529
zoomUpperR=0.88073033
xScrollUprR=-323.90436
yScrollUprR=-518.89954
zoomLowerL=0.42175817
xScrollLwrL=336.9004
yScrollLwrL=270.14584
zoomLowerR=0.3447066
xScrollLwrR=314.73663
yScrollLwrR=-441.5541

[Layout 4]
title=Cruise
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=1.0
dividerLowerX=1.0
dividerLeftY=8.116883E-4
dividerRightY=0.5930263
zoomUpperL=0.35043943
xScrollUprL=1362.7423
yScrollUprL=571.3487
zoomUpperR=0.88073033
xScrollUprR=646.3457
yScrollUprR=-523.89954
zoomLowerL=0.37402144
xScrollLwrL=1131.1552
yScrollLwrL=696.4798
zoomLowerR=0.3447066
xScrollLwrR=0.98667336
yScrollLwrR=-438.5541

[Layout 5]
title=Overhead Console
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=0.51138395
dividerLowerX=0.51138395
dividerLeftY=0.49756494
dividerRightY=0.9991883
zoomUpperL=0.72738975
xScrollUprL=1733.9978
yScrollUprL=322.44345
zoomUpperR=0.36027253
xScrollUprR=550.2746
yScrollUprR=1565.2882
zoomLowerL=0.57377046
xScrollLwrL=571.3599
yScrollLwrL=-227.139
zoomLowerR=0.3447066
xScrollLwrR=547.73663
yScrollLwrR=-688.74994

[Layout 6]
title=Overhead CB Panel
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=0.51138395
dividerLowerX=0.51138395
dividerLeftY=0.49756494
dividerRightY=0.9991883
zoomUpperL=0.72738975
xScrollUprL=1733.9978
yScrollUprL=322.44345
zoomUpperR=0.33420375
xScrollUprR=546.4652
yScrollUprR=2679.8901
zoomLowerL=0.57377046
xScrollLwrL=571.3599
yScrollLwrL=-227.139
zoomLowerR=0.3447066
xScrollLwrR=547.73663
yScrollLwrR=-688.74994

[Layout 7]
title=Main CB Panel
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=0.51138395
dividerLowerX=0.51138395
dividerLeftY=0.49756494
dividerRightY=0.9991883
zoomUpperL=0.72738975
xScrollUprL=1733.9978
yScrollUprL=322.44345
zoomUpperR=0.29854393
xScrollUprR=-593.99164
yScrollUprR=-358.10413
zoomLowerL=0.57377046
xScrollLwrL=571.3599
yScrollLwrL=-227.139
zoomLowerR=0.3447066
xScrollLwrR=547.73663
yScrollLwrR=-688.74994

[Layout 8]
title=Overview
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=1.0
dividerLowerX=1.0
dividerLeftY=8.116883E-4
dividerRightY=0.5930263
zoomUpperL=0.35043943
xScrollUprL=1362.7423
yScrollUprL=571.3487
zoomUpperR=0.88073033
xScrollUprR=646.3457
yScrollUprR=-523.89954
zoomLowerL=0.09466334
xScrollLwrL=1109.6545
yScrollLwrL=780.16064
zoomLowerR=0.3447066
xScrollLwrR=0.98667336
yScrollLwrR=-438.5541

[Layout 9]
title=Overview
screenX=0
screenY=0
screenW=2240
screenH=1260
dividerUpperX=1.0
dividerLowerX=1.0
dividerLeftY=0.57354575
dividerRightY=0.5930263
zoomUpperL=0.35043943
xScrollUprL=1049.9923
yScrollUprL=924.1529
zoomUpperR=0.88073033
xScrollUprR=959.09564
yScrollUprR=-523.89954
zoomLowerL=0.45650104
xScrollLwrL=1238.6493
yScrollLwrL=291.9368
zoomLowerR=0.3447066
xScrollLwrR=313.73663
yScrollLwrR=-438.5541

[End of file]