Portal
Anmeldung und Teilnehmerliste:  RHF2008
power-x-hobbies.de  
Portal  ·  Forum  ·  Suchen  ·  Neue Beiträge  ·  Lesezeichen  ·  Registrieren  ·  Einloggen, um private Nachrichten zu lesen  ·  Login
ac-helistore.de rcHeli-store.de
Nächstes Thema anzeigen
Vorheriges Thema anzeigen

Neues Thema eröffnen Neue Antwort erstellen Vorheriges Thema anzeigenDieses Thema verschickenZeige Benutzer, die dieses Thema gesehen habenDieses Thema als Datei sichernPrintable versionEinloggen, um private Nachrichten zu lesenNächstes Thema anzeigen
Autor Nachricht
valentyn






Alter: 37
Anmeldungsdatum: 07.05.2008
Beiträge: 5
Wohnort: amsterdam
netherlands.gif

BeitragVerfasst: 07.05.2008 16:12:55  Titel:  "unable to allocate texture" - workaround possible  
Antworten mit ZitatNach untenNach oben

While running Heli-X under Ubuntu 8.04 Hardy Heron (linux), with a 945G Intel on-board card, I get recurring "unable to allocate texture" errors. lshw says: 945G Integrated Graphics Controller / size: 256MB (so that should be enough).

Is there anything I could try to fix this? This system has 1Gb of memory, so I don't think that is the problem. A colleague with an Intel 965G and 1Gb of memory has no problems running Heli-X. Is this a serious chipset limitation, or is there a simple workaround?
Waage Geschlecht:Männlich Hund
VerstecktBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen   Bewerte diesen Beitrag: 
MichaelS






Alter: 42
Anmeldungsdatum: 18.09.2005
Beiträge: 259
Wohnort: Lindau, Bodensee
germany.gif

BeitragVerfasst: 07.05.2008 17:21:53  Titel:    
Antworten mit ZitatNach untenNach oben

Hello,

what do you see in the program? Are the scenes loaded and visible? What about the helicopters? How many FPS are displayed in the title bar?

Greetings,

Michael
_________________
Schon geklickt?
--> http://www.heli-x.net/donation.shtml
Widder Geschlecht:Männlich Pferd
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen   Bewerte diesen Beitrag: 
valentyn






Alter: 37
Anmeldungsdatum: 07.05.2008
Beiträge: 5
Wohnort: amsterdam
netherlands.gif

BeitragVerfasst: 07.05.2008 19:44:58  Titel:    
Antworten mit ZitatNach untenNach oben

MichaelS hat folgendes geschrieben:
what do you see in the program?

The scenes are loaded; I can see the helicopter, but FPS is around 0 - 2 (yes, that's null bis zwei).

When I switch to lwjgl, it's a bit better - with 800x600, framerates can be around 5-50, but response feels a bit choppy. It feels like there's really some sort of issue with the texture memory, and when it's full, a drop in framerates occurs. But that's just a feeling - I'm not sure.

If I use driconf to limit memory to existing memory (no overcommitting for 3D, at least that's what I understand from it), then the background dissapears completely, and only the helicopter is visible. However, framerates are OK now and response feels good too.

I tried the Alvier environment, judging from ls -lh, that's the smallest one; however, it doesn't help. (And yes, the "small" environment does work correctly, without rendering problems).

If I can do anything to give you more clues, please let me know.

As a sidenote, at http://valentijn.sessink.nl I'm writing about getting a Walkera sim working with Heli-X. One of the things that are to be fixed is that HELI-X/libs/lwjgl/ contains a "linux" directory that should be called "linux-i586". Also, you might want to add the LWJGL-switches to the FAQ, as it took me a couple of hours to find them back (there's only one posting where you refer to them, but they could be useful for other people, too Smile

If I can be of help with this documentation, please let me know.
Waage Geschlecht:Männlich Hund
VerstecktBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen   Bewerte diesen Beitrag: 
MichaelS






Alter: 42
Anmeldungsdatum: 18.09.2005
Beiträge: 259
Wohnort: Lindau, Bodensee
germany.gif

BeitragVerfasst: 07.05.2008 20:30:52  Titel:    
Antworten mit ZitatNach untenNach oben

Hello,

since the small scene runs well, it looks as all your problems will go, if you use scenes with a lower memory consumption. You can do this by yourself: Each scene consists out of 6 pictures with a resolution of 2024x2048. Open the pictures with a graphics program and safe them with a lower resolution. Since in older graphics cards 2^n sizes are preferred for textures, try 1024x1024. If this works for you, you can mix the sizes. You can give each picture a different resolution. Also 2048x1024 is possible. The picture will then be streched to the right appearance.

The memory consumption inside the graphics adapter does not depend on a compression in the jpg-file. It depends only on the size of the pictures. So the Alvier scene is not better (though it is a nice place to fly Wink

lwjgl is not really a preferred solution: I do not know any windows system, where it runs better than jogl in HELI-X. The xith developers feel it might be better on Linux, but my own experience shows that the simulation does not run smooth with lwjgl.

Hope this helps,

Michael
_________________
Schon geklickt?
--> http://www.heli-x.net/donation.shtml
Widder Geschlecht:Männlich Pferd
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen   Bewerte diesen Beitrag: 
valentyn






Alter: 37
Anmeldungsdatum: 07.05.2008
Beiträge: 5
Wohnort: amsterdam
netherlands.gif

BeitragVerfasst: 07.05.2008 22:50:43  Titel:    
Antworten mit ZitatNach untenNach oben

MichaelS hat folgendes geschrieben:
it looks as all your problems will go, if you use scenes with a lower memory consumption.

And yes: this helps. I get some 25+ FPS, and some 35+ FPS under lwjgl, but the latter is jerky and sometimes seems to render wrong. But no more texture errors and a good response.

BTW what I did was a mass conversion; for those who are interested:
sudo aptitude install imagemagick
find -type f -name '*.jpg'|xargs -i mogrify -geometry 1024x1024'>' -verbose {}

(So write in your notebook: 945G chipset works OK, but has lower memory available and you need to decrease the airport texture sizes). Thanks!
Waage Geschlecht:Männlich Hund
VerstecktBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen   Bewerte diesen Beitrag: 
MichaelS






Alter: 42
Anmeldungsdatum: 18.09.2005
Beiträge: 259
Wohnort: Lindau, Bodensee
germany.gif

BeitragVerfasst: 08.05.2008 08:24:40  Titel:    
Antworten mit ZitatNach untenNach oben

Hi,

I would give the resolution 2048x1024 a try. Some use it succesfully and you might get sharper scenes ...

Have fun.

Michael
_________________
Schon geklickt?
--> http://www.heli-x.net/donation.shtml
Widder Geschlecht:Männlich Pferd
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen   Bewerte diesen Beitrag: 
ToxicTear




support

Alter: 27
Anmeldungsdatum: 20.08.2006
Beiträge: 1124
Wohnort: Klagenfurt
austria.gif

BeitragVerfasst: 08.05.2008 14:26:45  Titel:    
Antworten mit ZitatNach untenNach oben

Hi!

Response time: 1h 6 min
time till solution: 5h 18 min

this is PLATIN Support Level!

remember - this is a FREE Sim! I'm not sure if a commercial sim can deliver that quality of support!

Michael - you ROCK!

cu
Andi
_________________
Never touch a running system! - Greif NIE in einen laufenden Heli!

Hurricane 550 1500W, GAUI 50A, TS: S3151, GY401+S9254
T-Rex 450 SE JGF 500TH, Jazz 40, TS: FS60, LGT2100+S3154
Carbooon CP DD Heck, was sonst?
Lama V3 Phase II Blätter sonst unverändert.
MX16s Alle Helis ohne Rotorkopfbremse - wer bremst verliert!
Skorpion Geschlecht:Männlich Affe
OnlinePersönliche Galerie von ToxicTearBenutzer-Profile anzeigenPrivate Nachricht senden   Bewerte diesen Beitrag: 
Werbung











Verfasst:   Titel: Sponsored Link  
Nach untenNach oben


Willst Du RHF supporten?
Mit jedem Click auf ein Werbebanner unterstützt Du auch das Forum!

  
 
Suchen  ·  Neue Beiträge  ·  Einloggen, um private Nachrichten zu lesen  ·  Eigene Beiträge
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnen Neue Antwort erstellen Vorheriges Thema anzeigenZeige Benutzer, die dieses Thema gesehen habenDieses Thema als Datei sichernPrintable versionEinloggen, um private Nachrichten zu lesenNächstes Thema anzeigen


Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum nicht posten
Du kannst Dateien in diesem Forum nicht herunterladen


Alle Zeiten sind GMT + 1 Stunde

Forensicherheit

58187 Angriffe abgewehrt
Powered by phpBB2 Plus based on phpBB © 2001/6 phpBB Group :: FI Theme :: Mods und Credits

[ Zeit: 2.5724s ][ Queries: 46 (2.3156s) ][ GZIP Ein - Debug Ein ]