How do I enable hardware acceleration in an air exe?

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/)

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...

Similar Messages

  • How to enable hardware acceleration in desktop Adobe AIR app

    Hello,
    As the author of this post How do I enable hardware acceleration in an air exe? , I am trying to enable hardware acceleration inside my AIR application
    If the user has disabled hardware acceleration in his flash player's settings, context3d.driverInfo will say "Hw_disabled=userDisabled"
    His only way to re-enable it is to open Internet Explorer or Firefox and right click on a flash content, then check "Enable hardware acceleration"
    I (we) would like to be allowed to re-enable it directly inside the AIR app (via actionscript code) and not telling the user to open a browser and check some random checkboxes (cause you know it's not very user-friendly...)
    A bug has been opened here Bug#3843535 - Disabling Hardware Acceleration in IE flash plugin disables it in AIR EXEs and is marked as fixed but nothing is fixed : there's still no way to enable hardware acceleration in desktop AIR application
    Thanks

    Hello,
    I pushed to get this bug fixed and was under the impression that we addressed this back in v16.  Can you share a sample app so I can have our team take a look?
    Thanks,
    Chris

  • How to turn of font smoothing in minefield 4.0b8pre but still enable hardware acceleration?

    I use minefield 4.0b8 pre.
    I enabled Hardware Acceleration in options. But i really don't like the font render by Hardware Acceleration.
    How to disable font render in minefield but still enable Hardware Acceleration.
    Thanks!

    Try the mozillaZine Builds forum.<br />
    You need to register on the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=23

  • How to Enable Hardware Acceleration in FireFox 31

    Please advise how to enable hardware acceleration in FireFox 31. All my graphics and other hardware/software is current and updated. I've also paired my Bookmark Toolbar down to under 20 entries.
    FireFox is so sluggish that just a few open tabs cause the pausing "wheel of doom" every time I try to enter information or go to another part of the website. Sometimes the pauses are 5-10 seconds, sometimes a minute or more.
    I do not have this issue on the other browsers that I use.
    Thank you in advance for your help!

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can also check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

  • "Enable hardware acceleration" message box.

    HI, guys, I am delivering some Captivate SWFs through a PDF and everytime i launch the swf from inside the PDF, i get a popup with "Adobe Flash Player Settings" Display" and "Enable hardware acceleration" is checked. how do i turn off the annoying popup?

    Hi,
    I'm not sure why this is happening.  While you might find someone here that knows the answer to this, I think your best bet would be to repost this question over on the Captivate forums.
    Thanks,
    Chris

  • Annoying "Enable hardware acceleration" message box

    HI, guys, I am delivering some Captivate SWFs through a PDF and everytime i launch the swf from inside the PDF, i get a popup with "Adobe Flash Player Settings" Display" and "Enable hardware acceleration" is checked. how do i turn off the annoying popup?

    Hi,
    I'm not sure why this is happening.  While you might find someone here that knows the answer to this, I think your best bet would be to repost this question over on the Captivate forums.
    Thanks,
    Chris

  • Does the "Enable hardware acceleration" check box work in Google Chrome?

    There have been some recent changes to the Flash Player "Enable hardware acceleration" tab in the settings dialog on Google Chrome.  This tab is referenced in the How do I disable or enable hardware acceleration? FAQ.
    You may have noticed that this tab was recently removed but is now present once again.  We wanted to let you know that our intention for this setting on Chrome is to allow you to toggle hardware video decoding on and off.  However, as of the current version of Flash Player (11.7.700.225) this is currently not enabled.  While the check box will allow you to check and uncheck the box, nothing is actually occurring behind the scenes.  We expect to correct this behavior in a upcoming release and will update this FAQ once completed.

    davidgurvich wrote:Gallium is a software renderer.
    No it's not. Gallium is a new architecture for writing drivers, and a bit more than that. Only softpipe and llvmpipe are software renderers, the others are hardware. If easyonthev is now seeing llvmpipe where he saw RV before, it indeed means he lost hardware rendering. I don't have experience with radeon cards though, so I don't know where to look for solutions. According to the log, everything loaded fine.
    easyonthev, which graphic card exactly do you have? And are you using KMS or not?

  • Any wiki about enabling hardware acceleration on openssl?

    Is there any wiki about how to enable hardware acceleration on openssl?
    or does it just automatically happen?

    Archwiki, or in general?  The answer to either would be why do you want us to do your googling for you?  I did a quick search for each option and took all of 5 seconds to have both answers.  (edit: make that all three answers including whether it is "automatic").
    Last edited by Trilby (2013-08-10 14:07:18)

  • Where/how can I find hardware acceleration?

    Since I started using Firefox the text fonts are really, really thin and hard to read. So I went thru the questions & answers posted in the help forum. I found a very good answer - it says: Turn off hardware acceleration in Options. I cud not find it, so......
    I come to my question: Where or how can I find Hardware acceleration??

    That preference isn't available in Firefox 3.6.x versions, it is a new preference / feature in Firefox 4.0.

  • Enabled hardware acceleration in version 33+ causing everything to render in solid black on Intel HD3000 (on both 2 years old and latest drivers).

    Hello,
    I'm experiencing troubles with Firefox versions 33+. Enabling hardware acceleration makes everything render in solid black, even on clean profile, even the "Choose profile" and "Firefox already running" dialogs.
    Problem started when developers started to work on MSE.
    Also the font rendering is doing wild things - some characters like 'l' (small L), 'i' and '-' at certain font sizes are not rendered at all and some characters like '=' are rendered partially like '-'. Of course with hardware acceleration disabled.
    This is pretty annoying, because it appears in places I use a lot like address bar and youtube HTML5 player, leading to those render failures:
    'Exit full screen' renders as 'Ex t fu screen'
    or
    'https://www.google.com/search?q=mozilla+firefox&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-nightly&channel=fflb' renders as 'https://www.google.com/search?q-mozilla+firefox&ie-utf 8&oe=utf 8&aq-t&rls-org.mozilla:en-US:unofficial&client-firefox nightly&channel-fflb'
    Is there anything I can do about it?
    I've tried to update graphic drivers through my laptop manufacturer official sources and through intel's website, but neither did help.
    Thanks.

    I had the same thing with a nvidia gpu (660GTX) and ff nightly 33 .... every thing had big black pulsing borders like the css animations code had gone mental and the whole screen was flickery .. and all the text was clipping when scrolling creating trails .. I went into the gpu settings disabled acceleration and it worked perfectly after that so I can confirm that 3D accellerations has issue in 33.

  • Finaly. How to enable hardware acceleration for X-

    After much discussion on this form and with my friends, I've finally cracked hardware acceleration for X-FI on Vista. It works by using Alchemy on a large scale and gives acceleration for everything you listen to. The breakthrough finally came through thanx to help and info I received from alexs3ds on this thread?http://forums.creative.com/creativel...message.id=645?It started as an emulation concept discussion and evolved in to this. It gives all your 3D audio effects and EAX in games without game by game transmutation and I have noticed a large quality and volume enhancement in normal music and film audio because even that is now accelerated. Here's a step by step guide on how to do it.[color="#ff0033">?[color="#3366ff">Download Alchemy and install. Get it here .[color="#3366ff">http://preview.creativelabs.com/alchemy/default.aspx[color="#3366ff">?[color="#3366ff">Open a?window in explorer and go to [color="#3333ff">Windows\System32.[color="#3366ff">?[color="#3366ff">Locate the file dsound.dll and right click on it then select properties.[color="#3366ff">?[color="#3366ff">Click the security tab then click advanced.[color="#3366ff">?[color="#3366ff">In the advanced security panel?that opens up, click the owner tab then edit.[color="#3366ff">?[color="#3366ff">Use this to set your user account name as owner. Use the other users and groups button if you can't see your account name select your user account name using the select users pane and add it. Make sure your user account name is set as owner.[color="#3366ff">?[color="#3366ff">Next you want to change permissions in the advanced security panel so you would click the permissions tab, click edit, on the panel that pops up click add and add your user account name. On permission entry panel, click full control under the allow line. Then ok everything and close every thing down till your back at the explorer.[color="#3366ff">?[color="#3366ff">Now rename dsound.dll to something like dsound.dll.bak. ( changing owner and permissions allows you to do this ).[color="#3366ff">?[color="#3366ff">Open up another explorer window and navigate to the Alchemy directory ie C:\program files\alchemy, highlight the dsound.dll file and the dsound.ini file and copy them.[color="#3366ff">?[color="#3366ff">Paste them into the system32 folder and that's it. Reboot your computer and you are now using hardware accelerated sound. ?[color="#ff0033">IMPORTANT NOTES YOU MUST KNOW[color="#ff0033">?This only supports 6-Bit samples. You can't use 24-Bit audio samples. You can however reverse the process and regain support. The Alchemy drivers can cause a bit of choppy sound now and then if you don't configure them right. See the Alchemy advanced FAQ for info. Plus, remember they are Beta. You can however update your system as and when alchemy updates. It's not known if every game will work with EAX or 3Dsound with this. To my knowledge?all, if not?most do.You can still edit and add game settings to the dsound.ini file. For help and info in getting the best quality out of your X-FI and a list of what XP software you can install off your driver disk that came with your card refer to this thread. http://forums.creative.com/creativel...essage.id=6029?Enjoy. Edit:- IMPORTANT UPDATE?This will only work if your card is set in game mode. It will not work properly in any other mode. See my post further down this thread for more details.Also important is that I have only been able to test this on Vista 32 ultimate. It is untested in any other version of Vista. Perhaps people who have it running on other versions of Vista could post this info and help put together a list. ?
    Message Edited by Sensi on 05-09-200705:20 AM
    Message Edited by Sensi on 05-09-200705:20 AM

    It does work, however I discovered more?important conditions. You MUST have your audio card in game mode BEFORE you do this. The reason is that the alchemy file passes the audio to OpenAL in game mode only. IF YOU TRY TO RUN GAMES IN ANY OTHER MODE YOUR SYSTEM WILL CRASH WITH BSD. IF YOU TRY TO RUN MEDIA PLAYER IT WILL HANG. IF YOU RUN DIRECTX DIAGNOSTIC YOUR SYSTEM WILL CRASH WITH BSD. YOUR?CARD MUST BE IN GAME MODE. IF YOU TRY TO CHANGE TO GAME MODE AFTER THE SWITCH, YOU WILL NOT BE ABLE TO AS THE AUDIO PANEL WON'T LOAD. DO IT BEFORE YOU SWITCH. As for windows replacing files after reboot, that aint happening to me. I've looked everywhere and can't find any sign of?were replacement files would come form either. Not that I'm saying it isn't happening, Vista is supposed to have a security system that stops you from replacing core system files. It just ain't happening in my system. However, I do have various system hacks in place and one of them may be stopping this. Need to look in to this. Fact:- I'm sitting with this in system now ( got no intentions of going back cause the audio's great ). I've tested 0 up-to date games and all give EAX etc. Without transmutation. Audio sounds amazing compared to what it was before and video audio finely plays in sync ( hurray). Maybay I should add a warning to this mod that you must only try it if you know what you are?doing.BTW in case this has anything to do with it, my system is :-
    Asus?am2 with nforce 4, amd am2 x2 dual core cpu, 2 gig dual channel ddr2 800, oem?SB X-FI and Vista 32 ultimate.
    Message Edited by Sensi on 05-09-200705:04 AM

  • How can I disable hardware acceleration in Safari 5.1 ?

    for performance testing purposes, I need to do so. Specifically, to disable 2D Canvas hardware acceleration.
    I can't figure out how. Is there any way? I am on Mac. I would like to know about how to do so both on Mac and Windows.

    You can switch acclelerated compositing and accelerated canvas drawing on and off from the Debug menu. To enable this menu run
    defaults write com.apple.safari IncludeInternalDebugMenu 1

  • How do I disable hardware acceleration? (This option from preferences menu not works on Linux)

    I want to disable hardware accelaration because it freezes my pc at startup.
    I am convinced that HA causes this problem.
    My OS is Crunchbang (http://crunchbang.org/about/) .
    My pc is a pentium 4, nvidia 5200 gpu, nouveau drivers.
    I ask for help at MozillaZIne Forum (http://forums.mozillazine.org/viewtopic.php?f=38&t=2767265) and at Crunchbang forum.
    I disable HA in firefox (preferences and about:config) without result.
    In FireFox General Options "Use hardware accelaration when available" is disabled.
    In about: config gfx.content.azure.enabled is false and gfx.direct2d.disabled (user set) is true.
    Also xorg.conf doesn't help me.
    In xorg.conf (configuration file of Nouveau GPU driver) hardware accelaration is disabled.
    The only solution is to disable nouveau hardware accelaration editing the boot menu (kernel boot parameter : nouveau.noaccel=1) and firefox works.
    But HA is necessary for other applications like OpenOffice.
    If HA is disabled menus, buttons and other UI components do not show properly

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Enabling hardware acceleration distorts website text in firefox 6

    When using Aurora ver. 6.0a2 (2011-05-29) I have to disable hardware acceleration. When this setting is enabled, everything visible with the program (this includes the entire GUI, websites, all text & images) is distorted. It's not that you can't see the images or read the text at all, it just appears to not be rendered correctly. When acceleration is disabled, everything is returned to it's optimal viewability (for lack of a better term).
    My current relevent system specs are:
    Windows 7 Ultimate x64 (with all updates applied)
    Video Card: AMD Radeon HD 6950
    Video Card Driver: Catalyst ver. 11.5
    Firefox Version: Aurora ver. 6.0a2 (2011-05-29)
    Also of note, when using the official Firefox release (ver. 4.0.1), I do not have this problem. If you need any more information, I will be happy to provide it.

    I have this problem with yahoo mail and Firefox 6 (no such problem with Firefox 5.0.1 and below). No other websites show this issue. When I disable hardware acceleration yahoo mail renders fine but with hardware acceleration it looks washed out in parts and patches.
    System specs:
    My current relevent system specs are:
    Windows 7 Professional x86 (with all updates applied) Video Card: AMD Radeon HD 3870 Video Card Driver: Catalyst ver. 11.7 and 11.8

  • How to make smooth hardware accelerated JApplet?

    Hi there ive made a game that extends JPanel and im using the paintComponent method to do my painting
    as far as i know JPanel is hardware accelerated by default bufferStrategy(2)
    ive put the JPanel in a JFrame and the game runs very smooth with ~62fps and cpu usage is <10%
    then i tried putting the JPanel in JApplet and opened it in firefoxbrowser and the fps says ~59fps and cpu usage ~30% but its super skippy and looks like its drawing incorrectly like some of the objects are displaced very far from where they are supposed to be some frames and drawn perfectly some other frames. What's happening? Is there anyway to fix this?
    Below is some code that for a JApplet and JFrame they both contain the JPanel and ive packed everything in a jar file that can be run as a desktopapp or japplet
    I've also tried add the JApplet directly into the JFrame but it seems the performance might go down a little (though im not sure how much)
    main extends JApplet
    RobotValkyrieAttack extends JPanel
    package RobotValkyrieAttack;
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    public class main extends JApplet{
         static LinkedList<Image> listImage;
         //no JApplet constructor is allowed to be overrriden
         public void init(){ //called by the japplet container
              this.loadImages();
              RobotValkyrieAttack r = new RobotValkyrieAttack(listImage);
              this.add(r);
              Thread t = new Thread(r);
              t.start();
              this.addKeyListener(r);
         public void loadImages(){
              //images
              listImage = new LinkedList<Image>();
              listImage.add( new ImageIcon(this.getClass().getResource("data/valkyrie0.png")).getImage() );
              listImage.add( new ImageIcon(this.getClass().getResource("data/astroid0.png")).getImage() );
              listImage.add( new ImageIcon(this.getClass().getResource("data/clouds0.jpg")).getImage() );
              listImage.add( new ImageIcon(this.getClass().getResource("data/cloud0.png")).getImage() );
              listImage.add( new ImageIcon(this.getClass().getResource("data/cloud1.png")).getImage() );
              listImage.add( new ImageIcon(this.getClass().getResource("data/cloud2.png")).getImage() );
              MediaTracker mt = new MediaTracker(this);
              for(int i=0; i<listImage.size(); i++){
                   mt.addImage(listImage.get(i),0);
              try{
                   mt.waitForAll();
              catch(Exception ex){
                   ex.printStackTrace();
         public void update(Graphics g){
              this.paint(g);
         public static void main(String args[]){
              JFrame j = new JFrame();
              j.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              j.setSize(1200,700);
              j.setLocationRelativeTo(null);
              main m = new main();
              m.loadImages();
              RobotValkyrieAttack r = new RobotValkyrieAttack(listImage);
              j.add(r);
              Thread t = new Thread(r);
              t.start();
              j.addKeyListener(r);
              main m = new main();
              m.init();
              j.add(m);
              j.setVisible(true);
    }

    Before we begin, note that performance of Java graphics has always been a bit 'hit and miss' in the sense that the same box with the same hardware and Java version can show radically different FPS rates if the video driver is updated.
    For better help sooner, post an SSCCE.
    Applet SSCCEs that involve images are a problem. Normally I would invite creators of image based SSCCEs to hot-link to [images available off my site|http://pscode.org/media/#image], but an applet cannot hot-link to images. It will be necessary to generate the images in code, if you want much chance of people running the code. Note that very few people will follow a link to anywhere, or download any 'build zip' or similar, to help out on a problem.
    That code snippet as posted, had a number of things that seemed horrific.
    - A class called 'main'. O_o Better would be AppletRenderTest which is not only more descriptive, but also uses the common nomenclature for a class name.
    - Frame size 1200x700?! It pays to ensure any 'comparison' of applet and application is done at the same size and my screen size is 1024x768. Make it a lot smaller, like 800x600.
    - A Swing based Timer is more typically used for Swing animation, than a Thread/Runnable.
    - GUI construction should be done on the EDT.
    - This..
    //no JApplet constructor is allowed to be overrriden..is not only factually wrong, but also incorrectly spelt.
    I am not confident you are up to writing:
    - Test code (especially test code you intend others to help with)
    - GUIs
    - Animation code
    - Applets
    Or if you are capable of parts of that, of combining the 4.
    Are you confident?

Maybe you are looking for