You are not logged in.

jschrader

Intermediate

  • "jschrader" started this thread

Posts: 237

Location: Bavaria, Germany

Occupation: Photographer, Producer

  • Send private message

1

Tuesday, June 5th 2012, 7:41am

Performance issue when using a beamer

Now that we have solved the issue with flash versions the customer is reporting a performance issue when he is displaying the panorama with a beamer.
They are using MacMinis with OS 10.4 and 10.5 and said on the computer screen it looks fine but the automovements I had implemented are extremely stuttering as soon as they use the beamer (which is the main purpose as the panoramas will be usd in an exhibition at a museum).

Is this a known problem when using external video devices?
Anything I could do to improve performance besides reducing tilesizes?

Any hint is much appreciated.

Thanks
J├╝rgen

2

Tuesday, June 5th 2012, 10:41am

Hi,
Is this a known problem when using external video devices?
no, krpano will be played/shown via the Flashplayer, there is no direct hardware/device access from krpano, so from that perspective it doesn't matter where the Flashplayer/browser window will be shown...

when the performance is okay on the normal monitor and the beamer also shows the same size/resolution/framerate, then the problem might be related to the graphic-card and operation systems...

Anything I could do to improve performance besides reducing tilesizes?
can you show the problematic pano?
maybe there are settings/changes possible there to improve the performance with it...

best regards,
Klaus

jschrader

Intermediate

  • "jschrader" started this thread

Posts: 237

Location: Bavaria, Germany

Occupation: Photographer, Producer

  • Send private message

3

Tuesday, June 5th 2012, 10:50am

Thank you, Klaus.
Do you need to see it or would the code do it for now?

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<krpano version="1.0.8.14" onstart="startup">
<!--
<include url="%CURRENTXML%/skin/default_black/settings.xml" />
<include url="%CURRENTXML%/skin/default_black/layout.xml" devices="flash|ipad" />
<include url="%CURRENTXML%/skin/default_black/layout_phone.xml" devices="iphone" />

<settings name="interface"
    tour_title="La Familistere"
    title_width="150"
    first_scene=""
/>
-->

		<action name="startup">
		<!-- load the first scene -->
		loadscene(get(scene[0].name), null, MERGE); wait(BLEND);oninterrupt(break);
		lookto(192.97,-8.39,80.49,smooth(1,5,-30),shortestway(false));wait(5);lookto(332.55,-25.87,86.65,smooth(1,5,-30));wait(5);lookto(164.63,1.18,48.17,smooth(1,5,-30),shortestway(false));wait(5);lookto(31.54,90,120,smooth(1,5,-30));wait(5);lookto(-0.150,-90,120,smooth(1,5,-30));wait(5);loadscene('scene_familistere_03',null,MERGE,BLEND(1));

	</action>
	
<!--	    	<action name="lookaround">
		
	</action>
-->
	
	<scene name="scene_familistere_01" title="familistere_01" onstart="set(idletime,10)" thumburl="panos/familistere_01.tiles/thumb.jpg">
<plugin url="plugins/options.swf" keep="true" />
	<!--<plugin name="logo" url="skin/logo.png" align="topright" keep="true" onhover="showtext(www.bavaria360.de)" />-->
 <events onidle="startup" />
		<view architectural="0" hlookat="-0.150" vlookat="-90" fovtype="MFOV" fov="120" fovmin="60" fovmax="120" maxpixelzoom="1.0" limitview="auto" />

		<preview url="panos/familistere_01.tiles/preview.jpg" />

		<image>
			<cube url="panos/familistere_01.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="panos/familistere_01.tiles/mobile_%s.jpg" />
			</mobile>
			<tablet>
				<cube url="panos/familistere_01.tiles/tablet_%s.jpg" />
			</tablet>
		</image>

		<!--
		<hotspot name="liv" ath="0" atv="0" style="_hotspot_ani" icon_type="arrow" toscene="SCENE_NAME" hlookat="0" vlookat="0" fov="100"/>
		<hotspot name="img" ath="20" atv="0" style="_hotspot_ani" icon_type="camera" image_url="images/FILE_NAME.jpg"/>
		-->

	</scene>
[...]

4

Tuesday, June 5th 2012, 11:26am

Do you need to see it or would the code do it for now?
there is nothing performance related to see in the posted code

what about the included xml files?

btw - there is a small error in your xml - this part 'shortestway(false)' doesn't work, just 'false' would be correct,

best regards,
Klaus

jschrader

Intermediate

  • "jschrader" started this thread

Posts: 237

Location: Bavaria, Germany

Occupation: Photographer, Producer

  • Send private message

5

Tuesday, June 5th 2012, 11:34am

Thank you for debugging ;-)
There are no inlcudes used here, they are all <!-- [...] -->

The customer is running them as standalone Flashplayer in fullscreen mode.
I sent them a version with the options plugin, maybe they can test with different diaply settings?
Anything you would recommend for least load on CPU and GPU?

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
<display fps="30"
currentfps="on"
         details="30"
         tessmode="-1"
         movequality="LOW"
         stillquality="HIGH"
         flash10="on"
         movequality10="LOW"
         stillquality10="HIGH"
         sharpen="12"
         stilltime="0.25"
         showpolys="false"
         />

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

6

Tuesday, June 5th 2012, 12:17pm

I would assume that using a beamer would make it smoother as they usually do not have a high resolution and screen resolution is what has the largest effect on performance for flash.
The beamer is still using the same Graphic card isn't it.

The flash version also is important as there are large differences. The last update of Flash 11 was an big improvement but you can not use it on Tiger.

Hans

7

Tuesday, June 5th 2012, 12:23pm

Hi,
Anything you would recommend for least load on CPU and GPU?
I would recommend keeping the default setting as they are and look at the Flashplayer itself:
  • make sure that the Standalone Flashplayer is up to date
  • if up-to-date, maybe try also older versions
  • try the pano on the beamer with enabled and disabled Flashplayer hardware acceleration (changeable in the Flashplayer settings, restart the Flashplayer after each change), when the 'GPU-blitting' on the beamer is the problem (because of too limited GPU resources), then disabling the hardware acceleration can also improve the performance.

Best regards,
Klaus

jschrader

Intermediate

  • "jschrader" started this thread

Posts: 237

Location: Bavaria, Germany

Occupation: Photographer, Producer

  • Send private message

8

Tuesday, June 5th 2012, 10:05pm

With the use of the options plugin the customer found out that it worked best for them when quality settings were all HIGH and sharpen=0.
Also the time for the movements was reduced and now it seems acceptable.

Similar threads