Highlighted

How do I enable hardware acceleration in an air exe?

Contributor ,
Oct 14, 2014

Copy link to clipboard

Copied

I have a Stage3d game compiled as a windows bundle (exe) using adt -target bundle. Users download it from Steam and have no idea it's even running Adobe AIR.

The problem is that if the user has manually disabled hardware acceleration in Firefox, it will also be disabled in my game. In these cases, context3d.driverInfo will say "Hw_disabled=userDisabled". If they open Firefox, right-click on a flash animation, open the security settings box and check "enable hardware acceleration", it will start working on my Adobe AIR game too. (note this isn't on all systems - I can't recreate the problem myself)

I would love to pop open the display tab of the security panel for them right in my game:

Security.showSettings(Security.DISPLAY);

But that command doesn't work in AIR, it only works in browser plugins.

Explaining to users how to enable hardware acceleration in FF, IE, Safari etc seems like a terrible, confusing solution.


Any better ideas?


(also, I think this might be a bug? can anyone point me to documentation saying firefox & air should share settings like this? I went to report it but the bug tracker's down as usual: http://bugs.adobe.com/flex/)


TOPICS
Performance issues

Views

1.2K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How do I enable hardware acceleration in an air exe?

Contributor ,
Oct 14, 2014

Copy link to clipboard

Copied

I have a Stage3d game compiled as a windows bundle (exe) using adt -target bundle. Users download it from Steam and have no idea it's even running Adobe AIR.

The problem is that if the user has manually disabled hardware acceleration in Firefox, it will also be disabled in my game. In these cases, context3d.driverInfo will say "Hw_disabled=userDisabled". If they open Firefox, right-click on a flash animation, open the security settings box and check "enable hardware acceleration", it will start working on my Adobe AIR game too. (note this isn't on all systems - I can't recreate the problem myself)

I would love to pop open the display tab of the security panel for them right in my game:

Security.showSettings(Security.DISPLAY);

But that command doesn't work in AIR, it only works in browser plugins.

Explaining to users how to enable hardware acceleration in FF, IE, Safari etc seems like a terrible, confusing solution.


Any better ideas?


(also, I think this might be a bug? can anyone point me to documentation saying firefox & air should share settings like this? I went to report it but the bug tracker's down as usual: http://bugs.adobe.com/flex/)


TOPICS
Performance issues

Views

1.2K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 14, 2014 0
Contributor ,
Oct 27, 2014

Copy link to clipboard

Copied

I found the correct/new link for the bugbase: https://bugbase.adobe.com

and posted this issue as bug 3843535:

https://bugbase.adobe.com/index.cfm?event=bug&id=3843535

It seems to be an unfortunately common problem which I would love to find a workaround for if anyone has any ideas. This would be easier if I could recreate it myself...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 27, 2014 0