Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  1st renderOnce() takes long on Ati only...?  (Read 2618 times)
0 Members and 1 Guest are viewing this topic.
Offline Bombadil

Senior Duke





« Posted 2004-01-26 10:24:32 »

Hello,

my Xith3d application runs fine on a Windows PC with Detonator graphics driver. The application builds a very small scenegraph (a few primitive objects). Then it calls view.renderOnce() for the very first time and the call takes literally no time, as expected for a fast PC.

However, when the same Xith app is run on the same PC with an Ati graphics card and Catalyst driver (v3.09), the very first call to renderOnce() takes about 5 seconds. :-(
I quit the app and start it again, but suddenly the first call to renderOnce() is OK and takes literally no time.

Do I have some Ati-Jogl-Xith3d cache problem?

If I quit the Xith app and use some other 3d software or change resolution/bpp etc, and start the Xith app, again its first call to renderOnce() takes about 5 seconds.

Did anybody experience "longer starting times" with Ati drivers and Xith/Jog apps, too?



PS: I don't use the very newest Catalyst driver (4.10) because the first time I started my Xith app resulted in a BSoD (the blue screen sayed an AtiXXX.dll caused it). :-(
Offline Java Cool Dude

Senior Duke




Java forever


« Reply #1 - Posted 2004-01-26 10:31:21 »

Using ATi Radeon 9700 Pro with Catalyst 4.1 and my fps rocks Smiley
Offline kevglass

JGO Kernel


Medals: 188
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2004-01-26 10:47:39 »

I've profiled my app a view times for exactly this sort of thing and never come across this, although I'm using Omega drivers on ATi instead.

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Bombadil

Senior Duke





« Reply #3 - Posted 2004-01-26 11:39:09 »

Quote
I've profiled my app a view times for exactly this sort of thing and never come across this, although I'm using Omega drivers on ATi instead.

Thanks for that info. So I suppose it's a kind of ATI related problem, and not application specific. :-(
Offline zparticle

Senior Duke




Thick As A Brick


« Reply #4 - Posted 2004-01-26 12:28:49 »

I have the same issue on my GeForce Ti 4600, it isn't 5 seconds but the first call does take noticably longer than the rest.

Offline Bombadil

Senior Duke





« Reply #5 - Posted 2004-01-26 13:20:54 »

Quote
I have the same issue on my GeForce Ti 4600, it isn't 5 seconds but the first call does take noticably longer than the rest.

Is your scenegraph filled with a lot?
Does your "system" cache - ie is the first render call still delayed when you start your Xith app a 2nd time within a short time?

My scenegraph is very small, about three primitive objects, so that can't be the issue.
On a Geforce TI4200 on the same PC the same Java Xith app doesn't take "extra seconds" for the first render call. I just noticed it on an ATI gfx card, but maybe it's a general problem...

Kev, did your profile say anything about where the problem could be? JOGL? Xith? Did you notice the delay just on ATI gfx cards (like I did) ?
Offline zparticle

Senior Duke




Thick As A Brick


« Reply #6 - Posted 2004-01-26 13:29:22 »

Very small scene graph, like 1 object a sphere.  Also I think it happens every run, I'm not at home now and I can't remember. I simply assumed this had something to do with getting the OGL system initialized.

Offline Bombadil

Senior Duke





« Reply #7 - Posted 2004-01-27 05:40:48 »

Quote
Very small scene graph, like 1 object a sphere.  Also I think it happens every run, I'm not at home now and I can't remember. I simply assumed this had something to do with getting the OGL system initialized.

Could you please verify if the first render call is being delayed always, or does the system cache it, so if you start your app again after a short time, the first render call returns instantly?
Offline Bombadil

Senior Duke





« Reply #8 - Posted 2004-01-29 05:46:33 »

When it comes to debugging a small Xith application with just a handfull polygons it's very annoying to see the app taking 5+ seconds before the Canvas3d has finished its very first render call... :-(

Javacooldude: you wrote you don't see such delays - do you call renderOnce() or do you use the view.startView() automatic render thread?

Probably most Xith users don't have got ATI gfx cards? Lucky you. As mentioned: I don't notice any delay with the sam app when it runs on a Geforce4.
Offline Java Cool Dude

Senior Duke




Java forever


« Reply #9 - Posted 2004-01-29 13:14:00 »

In all my demos, renderOnce() is all I use to refresh the scene.
Here, take a look at the source code of my applications in this thread:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1071038323

PS: It might be some other thing in your system that is slowing the first pass down.
After all a PC is not just a Graphic Card Wink
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Planner1

Senior Newbie





« Reply #10 - Posted 2004-01-29 17:00:52 »

I'm experiencing the same problem with my current project. I render a large terrain and two ASE models. The program loads and the scene is initially rendered but if I try to move within the scene for the first few seconds, I get no response. After this delay, the programs runs pretty quickly. This is on a Radeon 9800.
Offline Bombadil

Senior Duke





« Reply #11 - Posted 2004-01-30 05:35:25 »

Quote
I'm experiencing the same problem with my current project. I render a large terrain and two ASE models. The program loads and the scene is initially rendered but if I try to move within the scene for the first few seconds, I get no response. After this delay, the programs runs pretty quickly. This is on a Radeon 9800.

Judging from the people who reported here about similar problems I think there could be some ATI OpenGL issue.

Planner1, did you have the chance to (let) test your application on a PC with another (non-ATI) gfx card?
Offline Planner1

Senior Newbie





« Reply #12 - Posted 2004-01-30 18:49:32 »

No I have not tried it on any other machine. I do have a co-worker who runs it on a G5 with OS X and a Radeon and he says he has not experienced the problem. The delay doesn't really bother me that much I just wanted to post here to get the word out that the problem is not just Bombadil's.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (42 views)
2014-10-16 15:22:06

Norakomi (32 views)
2014-10-16 15:20:20

lcass (37 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (66 views)
2014-10-14 00:35:47

TehJavaDev (59 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (85 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!