Get rid of tearing

Hello
I have Intel Graphics HD 2000 gpu built into my cpu, I have latest x.org, kernel from Core and Extra. I use XFCE. Tried with the kernel compiled with ck.  Tried with libdrm and xf86-video-video from git, same problems.
Here is my xorg.conf:
Section "ServerFlags"
    Option "AutoAddDevices" "Off"
EndSection
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbLayout" "no"
EndSection
Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    Option      "AccelMethod" "UXA"
    Option      "TearFree" "true"
    Option      "MigrationHeuristic" "greedy"
    Option         "TripleBuffer" "true"
EndSection
As the settings are, rendering of windows are fast but very much tearing when moving the windows fast, even if I have a compositor enabled or not. Tried both xfce's wm's intergrated one and xcompmgr.
Changing Accelmethod from UXA to SNA, the tearing is gone, but the rendering is very slow.
EDIT:
With this xorg.conf:
Section "ServerFlags"
    Option "AutoAddDevices" "Off"
EndSection
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbLayout" "no"
EndSection
Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    Option      "AccelMethod" "SNA"
#    Option      "TearFree" "true"
    Option      "MigrationHeuristic" "greedy"
    Option    "TripleBuffer" "true"
EndSection
With this rendering is and as much tearing as with UXA.
EDIT2:
Here is my .drirc:
<device screen="0" driver="dri2">
    <application name="Default">
    <option name="vblank_mode" value="1"/>
    </application>
</device>
<device screen="0" driver="dri">
    <application name="Default">
    <option name="vblank_mode" value="1"/>
    </application>
</device>
Last edited by Roberth (2012-09-11 22:45:01)

DSpider wrote:Enable VSync then.
It has been on by default for a few releases now... and yes of course I have tried that; It has no effect. The setup that actually works is using MPlayer with VDPAU output and suspending the compositing for full screen windows.
DSpider wrote:Active development my foot. Since 2008? For four years? Come on...
These things don't happen over night.
https://www.ohloh.net/p/weston
https://www.ohloh.net/p/wayland
http://www.chaosreigns.com/wayland/state/
http://www.reddit.com/r/wayland
http://gstconf.ubicast.tv/videos/wayland/
Last edited by Teho (2012-09-12 19:04:11)

Similar Messages

  • Undeletable e-mail in Mail - the latest! How can I get rid of it?

    Following my recent posts about an undeletable e-mail received as undeliverable mail (I never sent it in the first place so it's obviously coming from a virused address book) I now have 13 copies of an identical e-mail which won't go away. My Mac says they're junk, but they're in the inbox and when I move them manually, they leave the inbox but don't appear in the junk. Once I return to the inbox, there they are again - with one more copy. There is no visible body, just a header stating:
    "Subject: A hacker can access a public web site linked to an internal distributed file system and gain access to company and customer files."
    I recently went to a PC forum for help and when I copied and pasted the header onto their forum , a green link appeared under the words "web site" taking me to a site "zimki.com" with whom I have never dealt.
    How can I get rid of these self-generating e-mails?
    Incidentally this message is not on my server as web mail access was used to delete it, so it only appears on the Mac.

    Yes I did repost, as the original problem - a huge e-mail downloading - proved not to be the case so this is a more accurate description of the problem in the hope that I can get a more accurate solution.
    I used the edit/ cut solution (thank you!) which removed the e-mails from my inbox, but they're now back with a vengeance including about twenty copies of one entitled "fez" (a virus maybe?) - I now have two of every e-mail downloading; my Mac tells me this fez message is junk but now adds that "You need to take this account on-line to download this message" - except the download in progress wheel keeps going on, and on, and on....and the new messages in my inbox (I now have two or three variations on the original theme) won't go anywhere except by edit / cut.
    I'm tearing my hair out!!!
    I've just erased all the messages by webmail, 52 messages, so it appears my Mac is also no longer automatically erasing the messages on the server after download even though the box for this is ticked.

  • Nokia N8 cannot get rid of "security code" after u...

    Please help me I am tearing my hair out trying to fix this!
    I have a Nokia N8 (sim lock to Vodafone)
    I have NEVER used a security code or set one on it.
    I upgraded to Belle and ever since then it asks me for "Security Code"
    I can enter ANY code including 1234  0000  12345 and anything else it always tells me CODE ERROR but then it lets me use the phone like normal.
    I can NOT do a factory reset from the menu as it asks me for code
    I CAN flash/downgrade it to scandinavian 11.5 firmware but that doesn't make the code request go away
    I downgraded it - still code request!
    I upgraded it back to Belle again using Nokia Suite - still code request!
    I can put it into TEST MODE but then can not get it to do full factory reset, which I am told might fix the issue.
    Please can someone tell me STEP BY STEP what I need to do to get rid of this annoying code request when I power the phone on
    I DID try hard reset power + camera + volume down + menu button this made other problems with apps and licence but did NOT fix the problem - luckily I managed to reflash to Belle and got my apps/licences back but still code problem
    Help please!

    check here.
    http://www.knowyourcell.com/nokia/nokia-n8/n8-guides/572758/how_to_secure_your_nokia_n8_with_a_passc...
    Disable by: Settings - Phone -Phone Management-Security Settings-Phone and SIM Card: click NONE from the choices of (Phone Autolock period). This will disable the LOCK from setting itself. Keep the code you originally created handy as you will need it should you ever decide to reactivate the lock system.
    I found this information by searching for an hour, after reading numerous posts about Resetting, etc. Useless information since what we both wanted to do was turn the damn lock system off.
    Hope you can use this info. BTW... does your main camera work? Mine does not, and the phone also fails in cold weather by shutting itself off. ugh

  • When I login on my When I sign in to a site on my ipad using my email address as ID a short cut of my email address comes up. How can I get rid of it?

    When I sign in to a site on my iPad using my email address as ID a short cut of my email address comes up. How can I get rid of it?

    You can edit keyboard shortcuts in Settings>General>Keyboard>Shortcuts>Edit.

  • When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of it.

    When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of this message. When I login to my husband's account, this message does not appear.

    Hey sunnyday7!
    Here is an article that can help you address this issue:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    Additional Information
    OS X automatically relaunches the Finder when it is quit. If the Finder is unresponsive, use Force Quit to relaunch it. Select Finder in the Force Quit Window or Dock, then click Relaunch.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I keep getting the box that asks "Do you use the Yahoo! Toolbar on multiple Computers. It asks Save to my Yahoo! ID, or No thanks, just save to this computer. How do I get rid of this one way or the other?

    When I log on to Firefox, I get this block that pops up saying, "Do you use the Yahoo! Toolbar on multiple computers? It has 2 buttons asking "Save to my Yahoo! ID or No thanks, just save to this computer" It drops down from the Yahoo toolbar, next to the Y! on the left side of the tool bar. I have tried the Save button and no response, I tried the No thanks button no response. I tried the underlined "Learn more" and it too no response. I tried the close X but that does not get rid of this box. I tried right clicking and no response. It stays there through out while working on the mail, I cannot access the that toolbar so I cannot use the buttons on this tool bar. Please help or I will have to try another browser to see if it go away.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • I cant update nor download any applications. My password was always invalid. And other username is prompted richardca0521@yahoo.ca which is not my account. How to get rid of this apple id and use my account for download? I have registered this to itunes.

    I can't update nor download any apps in itunes. Prompted invalid password, upon checking the apple id was not mine. The id was [email protected] whic is not mine. Pls. Help how to get rid of this. Thank you.

    try and delete the apps and re-add them

  • I have a Australian iTunes account and want to switch to using the u.s store as I now live there, I cannot do this because I have $1.41 still in the oz account an image to have a zero balance to change stores, how can I get rid of the $1.41?

    I want to switch to the u.s store as I now live in the us, I cannot switch stores because my balance is $1.41 in the oz store and needs to be zero, how can I get rid of the $1.41 when everything costs more or less than that? I do not have a credit card on the oz iTunes account an I cannot use my us one to top it up.
    HELP

    Click here and request assistance.
    (60992)

  • I want to switch stores from Japan to USA. I used to have an iTunes card, and there's 15 YEN left in my account, how can I get rid of that so I can start purchasing in the US store using my new credit card?

    I want to switch stores from Japan to USA. I used to have an iTunes card, and there's 15 YEN left in my account, how can I get rid of that so I can start purchasing in the US store using my new credit card?

    I can't seem to find an app that costs my available balance. iTunes said I need to spend it ALL before I can change stores. This means I cannot totally change stores.... Hopeless.

  • In ical edit, can you get rid of invitees, availability, url, notes?

    in ical edit, can you get rid of invitees, availability, url, notes?

    in ical edit, can you get rid of invitees, availability, url, notes?

  • Since downloading ios5 on my iphone 4 the capacity guage in itunes shows other as over 21Gb and i can no longer fit any music on it. How do I get rid of the other stuff? other

    Since downloading ios5 on my iphone 4 a few days ago, the capacity guage in itunes shows "other" as over 21Gb and i can no longer fit any music on my iphone.
    How do I get rid of the other stuff?
    capacity available on 32 Gb iphone is 28.49Gb
    i previously had 21.97 Gb music, over 6 Gb photos, about 1Gb of apps, and minute amount of audio
    now i have no music, 5.4 Gb photos and similar (0.8Gb) for  apps and audio. i have deleted heaps of photos and unused apps to try to make space but obviosly this is a much bigger problem. I also created a smaller music folder on itunes to sync to but at present no music is selected for syncing due to the lack of available space.
    i have 15Gb icloud account now also which is about half full.
    Ive done a little research and heard similar tales but with much smaller other totals than this. Can you help?
    i cant update my apps as i get a message saying i do not have enough available space.

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • Can't get rid of a TX - message keeps appearing and being processed by OSB

    I have some sort of a poison message or TX I can't flush. Every 10 seconds I get a log message like the second one below, and the number of pending messages in multiple places and OSB proxy service messages processed keep climbing - all without producing any new messages on my part. I've tried deleting the default server store on the OSB managed server and the filestore for the JMS server. No luck.
    When this first started happening, the error messages looked like the first one below. Something I did caused the change, I assume. However, it's the same TX ID throughout.
    So, first, how can I get rid of this thing? It's driving me nuts and keeping me from closing out a POC.
    Second, why is it happening? I have one suspicion - could it be because that somehow we configured mutiple domains with the same name for a distributed application? It's not my normal practice but it happened. These domains don't communicate directly, but there are domains that need to communicate with both. So I'm guessing the name ambiguity may be hurting us. Just a guess, though.
    In this case, the sgosb domain's proxy service (this domain name is unique) is receiving messages from a queue resident in the pega_domain in Singapore and another proxy service is putting a message to another queue in the pega_domain in the UK. This is not in a single TX; the first proxy service forwards the message to a queue in the sgosb_domain, the second proxy service gets that message and puts it into the other pega_domain. It's an XA TX for each proxy service.
    Just to make it more fun, the sgosb_domain has another proxy service reading from a different queue and forwarding it to a queue in the third pega_domain in the US.
    TIA for any help or insight.
    Oh yes, the OSB domain is WLS 10.3.4, while the pega_domains are WLS 10.3.2
    Original error message
    ####<Apr 13, 2011 4:32:13 AM GMT> <Error> <EJB> <sg01app510> <sgosb_1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<anonymous>> <> <92f54a30d60e6302:-4b6d523c:12f4cfeaabc:-8000-0000000000000123> <1302669133597> <BEA-010026> <Exception occurred during commit of
    transaction Xid=BEA1-039B0B6D3D0E77C1B135(1898471720),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since
    begin=0,seconds left=600,XAServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=(ServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=
    (state=new,assigned=none),xar=null,re-Registered = false),SCInfo[sgosb_domain+sgosb_1]=(state=rolledback),SCInfo[pega_domain+pega_1]=(state=rolledback),properties=
    ({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sgosb_1+152.64.128.243:22110+sgosb_domain+t3+, XAResources={eis/tibjms/Topic,
    WLStore_sgosb_domain_FileStore_auto_1, eis/aqjms/Queue, eis/wls/Queue, eis/tibjms/Queue, WLStore_sgosb_domain__WLS_sgosb_1, eis/AQ/aqSample, eis/aqjms/Topic,
    eis/pramati/Queue, eis/sunmq/Queue, WLStore_sgosb_domain_WseeFileStore_auto_1, WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1,
    WSATGatewayRM_sgosb_1_sgosb_domain, eis/jbossmq/Queue, eis/activemq/Queue, eis/fioranomq/Topic, eis/tibjmsDirect/Topic, eis/wls/Topic,
    eis/tibjmsDirect/Queue, eis/Apps/Apps, eis/webspheremq/Queue},NonXAResources={})],CoordinatorURL=pega_1+nj09mhm5078:22111+pega_domain+t3+):
    javax.transaction.RollbackException: This transaction does not exist on the coordinating server.  It was probably rolled back and forgotten.
            at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
            at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
            at weblogic.transaction.internal.CoordinatorImpl_1032_WLStub.commit(Unknown Source)
            at weblogic.transaction.internal.TransactionImpl$1.run(TransactionImpl.java:331)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.transaction.internal.SecureAction.runAction(SecureAction.java:72)
            at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:327)
            at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:252)
            at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:239)
            at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:553)
            at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:424)
            at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:326)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
            at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
            at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
            at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
            at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: javax.transaction.RollbackException: This transaction does not exist on the coordinating server.  It was probably rolled back and forgotten.
            at weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:94)
            at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The error message I'm getting now
    ####<Apr 13, 2011 4:51:38 AM GMT> <Error> <EJB> <sg01app510> <sgosb_1> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <>
    <92f54a30d60e6302:-42808c28:12f4d3173cb:-8000-0000000000000032> <1302670298730> <BEA-010026> <Exception occurred during commit of transaction
    Xid=BEA1-0011D0679BA5074B8E12(1930603846),Status=Rolled back. [Reason=javax.transaction.xa.XAException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds
    left=60,XAServerResourceInfo[WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1]=(ServerResourceInfo[WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1]=
    (state=rolledback,assigned=sgosb_1),xar=WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1239571724,re-Registered =
    false),XAServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=(ServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=
    (state=rolledback,assigned=pega_1),xar=null,re-Registered = false),SCInfo[sgosb_domain+sgosb_1]=(state=rolledback),SCInfo[pega_domain+pega_1]=(state=rolledback),properties=
    ({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sgosb_1+152.64.128.243:22110+sgosb_domain+t3+, XAResources={eis/tibjms/Topic,
    WLStore_sgosb_domain_FileStore_auto_1, eis/aqjms/Queue, eis/wls/Queue, eis/tibjms/Queue, WLStore_sgosb_domain__WLS_sgosb_1, eis/AQ/aqSample, eis/aqjms/Topic, eis/pramati/Queue, eis/sunmq
    /Queue, WLStore_sgosb_domain_WseeFileStore_auto_1, WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1, WSATGatewayRM_sgosb_1_sgosb_domain, eis/jbossmq/Queue, eis/activemq
    /Queue, eis/fioranomq/Topic, eis/tibjmsDirect/Topic, eis/wls/Topic, eis/tibjmsDirect/Queue, eis/Apps/Apps, eis/webspheremq/Queue},NonXAResources=
    {})],CoordinatorURL=sgosb_1+152.64.128.243:22110+sgosb_domain+t3+): weblogic.transaction.RollbackException: Unknown reason
            at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1881)
            at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:345)
            at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:239)
            at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:553)
            at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:424)
            at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:326)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
            at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
            at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
            at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
            at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: javax.transaction.xa.XAException
            at weblogic.store.gxa.internal.GXAResourceImpl.prepare(GXAResourceImpl.java:1227)
            at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1295)
            at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:500)
            at weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:380)
            at weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTransactionImpl.java:2593)
            at weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTransactionImpl.java:1321)
            at weblogic.transaction.internal.SubCoordinatorImpl.startPrepare(SubCoordinatorImpl.java:183)
            at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    .>Edited by: SteveElkind on Apr 13, 2011 5:50 AM

    Tom,
    Thanks! Succinct and easy to understand as ever.
    Yup, that covers it - I had also just seen this in the docs after looking at atheek1's earlier response (thanks to him/her as well). It's covered almost as clearly there as you state it here (http://download.oracle.com/docs/cd/E11035_01/wls100/jta/trxcon.html).
    While the ESB domains meet all of those requirements (except for cross-domain security configuration), each of the other two sets of domains (3 in each set) do not meet the naming uniqueness criteria for domain and server names; they do for JMS server names. I saw the store names in the TX identifier string as included resource, and assumed they might play a part - that's why I changed them. As you say, an unnecessary change. Oh well - it was an easy one.
    My normal practice has been for unique names in the past, due to problems I had years ago with cross-domain JMS traffic in an earlier WLS version. I guess it's the wrong time to have forgotten that lesson.
    Does anyone know of a quick way of changing a domain name quickly without rebuilding the domain? In the past WLST resulted in incomplete copies for me, is that still a problem? Server names are easy, just some global search-and-replace in the config.xml file (and in the management scripts, too)
    /Steve

  • Can I get rid of parts of the JRE for my app?

    I am trying to figure out how to easily deploy a stand-alone desktop Swing application. It's more like Microsoft Word than the typical Swing business app that deals with networks and databases. I'd like to make this easily downloadable by regular people, like a 10-year old who has installed an IM client, or a 70-year old who has downloaded the latest version of a browser, i.e., just download an installation file and then click to install in the relatively standard manner in which Windows apps are installed.
    What I am definitely trying to avoid is making the user go to Sun's Java distribution website, which is written by computer geeks for computer geeks. If a potential user sees that, they'll get confused, give-up, and I'll have lost a potential user.. Since a Swing application that is developed and tested using an earlier version of the JRE won't necessarily work with a later version, I can't make the assumption that as long as the latest JRE is installed on the user machine, everything is fine. As far as I can tell, I need to download a self-contained version of the JRE that I developed with in order to guarantee that the app will run as expected. I also don't want the user to have to download a 15 Mb 1.5 JRE, or the purported 50 Mb 1.6 JRE just to be able to run my little program. (I'm really starting to see why there are no popular Java desktop apps.)
    So my question is - if I compile my application down into machine code from binary code, does anyone know if can I get away with running it with a stripped-down JRE? I'm wondering if I can get rid of parts of the JRE that deal with things like interpreting bytecode, networking or database access, none of which I need to worry about. Sun's legal department might not like this, but is this at all technically feasible? I'm actually happy to hear about any ideas regarding shrinking the size of the distribution. Thanks.

    I voted for the enhancement request. It is almost exactly what I am concerned with.
    I am a big fan of Excelsior Jet. I tried out the free version about a year-and-a-half ago, and was pretty happy with it. It was actually the only machine-code compiler I tried out of several that worked. If I ever get to the point where I can start selling my app, I expect that I'll use it. I've been checking the website every so often since then, and reading about the next version, where a JRE can be included in the distribution. That helped spark my original question. While the worry about making sure my application had the right JRE version will be solved, it still bugs me that I have to ship so much unnecessary JRE code. (I blame Sun for that, not Excelsior Jet.) I was wondering if it was at all technically feasible to strip out the unnecessary code, irrespective of the legal issues. When compiled to byte-code, my program is under 1 MB. When I compiled it to machine code under JDK 1.4, it was about 5 MB. I imagine that compiling to machine-code with the included 1.5 JRE, after compression, will result in a size in the 15-20 MB range. And this after refactoring my program to where it's about 1/3 it's original size. I'm really worried about the direction this is going, and I don't even want to think about what including the 1.6 JRE will require.
    Where did you read that I've been programming Java since '97. I was a contractor at Sun between 1995 and 1997, and started working on Java 1.0 apps back then, but I don't ever remember mentioning that. If you asked because you're thinking I should know more about JVM/JRE issues, you're probably right, but I focus almost exclusively on higher-level application and GUI/Graphics issues. The deep-down Java stuff makes me break out into a cold-sweat.

  • How do I get rid of the "other" data on my iPhone 4?

    The "other" data on my iPhone 4 is currently taking up 4.5 gb of my 6.4 gb phone. As you can see I'm not very happy about this. I am basically limited too about ten apps and I cannot download iOS 7 due to my lack of storage. I was wondering if there were any ways to get rid if the "other" data without resetting my iPhone. I cannot reset my iPhone because my family has a shared data plan and a limited amount of storage to back up to on iCloud. We don't have enough storage on iCloud to backup the 5.8 gb I'm using because of the other data. Any help?

    You would need to restore the iphone.

  • I transferred data from my external hard drive to my restored Mac Book Pro via migration assistant and now my external hard drive in time capsule has red minus signs. How do I get rid of that without getting rid of any of my data?

    I used Migration Assistant to transfer my data from my external hard drive via Time Capsule to my restored Mac Book Pro. When I now go into Time Capsule I there are red minus signs in the corner of all the folders that are contained in my back up. How do I get rid of this and access my previous back-ups?

    Select the drive and Finder > Get info and at the bottom "ignore permissions on this volume"
    You can copy the files, but the ownership on the files still belongs to the other user account, once your done copying, then perform a #6 Reset Users Permissions and that will set all the ownership to that account.
    ..Step by Step to fix your Mac
    Another method is to copy the entire folder, then change it's permissions.

Maybe you are looking for