Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 298
Registered: ‎05-02-2010
My Device: Bold 9700
My Carrier: Verizon
Accepted Solution

What is the fledge command line argument to control the Graphics Acceleration?

Is there a command line argument to control the Graphics Acceleration for a JDE 5.0 simulator?

 

I would like to set it to OFF at the command line so I can add it to the Eclipse IDE simulator Run and Debug configuration.

 

I checked fledge /help and I didn't find anything that I could see that would work.

 

Thanks.

--Todd

Windows 7 Enterprise 64-bit (6.1 Build 7600) | Java SE Runtime Environment (build 1.6.0_24-b07) | Eclipse Version: 3.6.2 [M20110210-1200] | BlackBerry Eclipse Plug-in: 1.3.0.201102031007-19 | Java Compiler level: 1.3 | Targeting devices running OS 5 | Simulators: JDE 5.0 packaged 9700, 9630, 9300
Developer
Posts: 298
Registered: ‎05-02-2010
My Device: Bold 9700
My Carrier: Verizon

Re: What is the fledge command line argument to control the Graphics Acceleration?

9700 Simulator Graphics Acceleration Menu

 

 

I've looked through each simulator's XML file and any other file that I could read to see if I could find an option to permanently set Graphics Acceleration to OFF, but no luck.

Is there a registry entry on Windows that could be set?

 

From Eclipse IDE, I guess I could use Running BlackBerry Simulator to debug, but in the past that has frozen the simulator as well.

 

There are several posts on this issue with no clear answer. Does RIM even provide support of any type or read these boards? <frustration>Because compared to Android this is a garbage development environment.</frustration>

--Todd

Windows 7 Enterprise 64-bit (6.1 Build 7600) | Java SE Runtime Environment (build 1.6.0_24-b07) | Eclipse Version: 3.6.2 [M20110210-1200] | BlackBerry Eclipse Plug-in: 1.3.0.201102031007-19 | Java Compiler level: 1.3 | Targeting devices running OS 5 | Simulators: JDE 5.0 packaged 9700, 9630, 9300
BlackBerry Development Advisor
Posts: 15,211
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: What is the fledge command line argument to control the Graphics Acceleration?

[ Edited ]

The settings are stored in a file located at 

\Documents and Settings\[windows login name]\net\rim\fledge-2\fledge-saved.conf

 

Near the bottom of the file look for the line:

 

 

<BodyBuilder::opengl-acceleration>4</BodyBuilder::opengl-acceleration>

 

 

Change the number there to 0 for no acceleration.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 298
Registered: ‎05-02-2010
My Device: Bold 9700
My Carrier: Verizon

Re: What is the fledge command line argument to control the Graphics Acceleration?

Thank you!

 

Wow, what a relief, that helps a lot and I hope that this will help others out as well.

If I could get the Debug Step commands to work with the JDE Simulators, I'd be a lot closer to a consistent development environment.

--Todd

Windows 7 Enterprise 64-bit (6.1 Build 7600) | Java SE Runtime Environment (build 1.6.0_24-b07) | Eclipse Version: 3.6.2 [M20110210-1200] | BlackBerry Eclipse Plug-in: 1.3.0.201102031007-19 | Java Compiler level: 1.3 | Targeting devices running OS 5 | Simulators: JDE 5.0 packaged 9700, 9630, 9300