How do I fix extremely slow rendering with buffered images?
I've found random examples of people with this problem, but I can't seem to find any solutions in my googling. So I figured I'd go to the source. Basically, I am working on a simple platform game in java (an applet) as a surprise present for my girlfriend. The mechanics work fine, and are actually really fast, but the graphics are AWFUL. I wanted to capture some oldschool flavor, so I want to render several backgrounds scrolling in paralax (the closest background scrolls faster than far backgrounds). All I did was take a buffered image and create a graphics context for it. I pass that graphics context through several functions, drawing the background, the distant paralax, the player/entities, particles, and finally close paralax.
Only problem is it runs at like 5 fps (estimated, I havn't actually counted).
I KNOW this is a graphics thing, because I can make it run quite smoothly by commenting out the code to draw the background/paralax backgrounds... and that code is nothing more complicated than a graphics2d.drawImage
So obviously I am doing something wrong here... how do I speed this up?
Code for main class follows:
import javax.swing.JApplet;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.event.*;
import Entities.*;
import Worlds.*;
// run this applet in 640x480
public class Orkz extends JApplet implements Runnable, KeyListener
double x_pos = 10;
double y_pos = 400;
int xRes=640;
int yRes=480;
boolean up_held;
boolean down_held;
boolean left_held;
boolean right_held;
boolean jump_held;
Player player;
World world;
BufferedImage buffer;
Graphics2D bufferG2D;
int radius = 20;
public void init()
//xRes=(int) this.getSize().getWidth();
//yRes=(int) this.getSize().getHeight();
buffer=new BufferedImage(xRes, yRes, BufferedImage.TYPE_INT_RGB);
bufferG2D=buffer.createGraphics();
addKeyListener(this);
public void start ()
player=new Player(320, 240, xRes,yRes);
world=new WorldOne(player, getCodeBase(), xRes, yRes);
player.setWorld(world);
// define a new thread
Thread th = new Thread (this);
// start this thread
th.start ();
public void keyPressed(KeyEvent e)
//works fine
}//end public void keypressed
public void keyReleased(KeyEvent e)
//this works fine
public void keyTyped(KeyEvent e)
public void paint( Graphics g )
update( g );
public void update(Graphics g)
Graphics2D g2 = (Graphics2D)g;
world.render(bufferG2D);
g2.drawImage(buffer, null, null);
public void run()
// lower ThreadPriority
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
long tm;
long tm2;
long tm3;
long tmAhead=0;
// run a long while (true) this means in our case "always"
while (true)
tm = System.currentTimeMillis();
player.moveEntity();
x_pos=player.getXPos();
y_pos=player.getYPos();
tm2 = System.currentTimeMillis();
if ((tm2-tm)<20)
// repaint the applet
repaint();
else
System.out.println("Skipped draw");
tm3= System.currentTimeMillis();
tmAhead=25-(tm3-tm);
try
if (tmAhead>0)
// Stop thread for 20 milliseconds
Thread.sleep (tmAhead);
tmAhead=0;
else
System.out.println("Behind");
catch (InterruptedException ex)
System.out.println("Exception");
// set ThreadPriority to maximum value
Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
public void stop() { }
public void destroy() { }
}Here's the code for the first level
package Worlds;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.util.*;
import javax.swing.*;
import javax.imageio.*;
import java.awt.event.*;
import java.awt.*;
import java.awt.image.*;
import java.io.File;
import java.net.URL;
import java.awt.geom.AffineTransform;
import Entities.Player;
public class WorldOne implements World
Player player;
//Location of Applet
URL codeBase;
// Image Resources
BufferedImage paralax1Image;
BufferedImage paralax2Image;
BufferedImage backgroundImage;
// Graphics Elements
int xRes;
int yRes;
double paralaxScale1,paralaxScale2;
double worldSize;
int frameX=1;
int frameY=1;
public WorldOne(Player player, URL codeBase, int xRes, int yRes)
this.player=player;
this.codeBase=codeBase;
this.xRes=xRes;
this.yRes=yRes;
worldSize=4000;
String backgroundImagePath="worlds\\world1Graphics\\WorldOneBack.png";
String paralax1ImagePath="worlds\\world1Graphics\\WorldOnePara1.png";
String paralax2ImagePath="worlds\\world1Graphics\\WorldOnePara2.png";
try
URL url1 = new URL(codeBase, backgroundImagePath);
URL url2 = new URL(codeBase, paralax1ImagePath);
URL url3 = new URL(codeBase, paralax2ImagePath);
backgroundImage = ImageIO.read(url1);
paralax1Image = ImageIO.read(url2);
paralax2Image = ImageIO.read(url3);
paralaxScale1=(paralax1Image.getWidth()-xRes)/worldSize;
paralaxScale2=(paralax2Image.getWidth()-xRes)/worldSize;
catch (Exception e)
System.out.println("Failed to load Background Images in Scene");
System.out.println("Background Image Path:"+backgroundImagePath);
System.out.println("Background Image Path:"+paralax1ImagePath);
System.out.println("Background Image Path:"+paralax2ImagePath);
}//end constructor
public double getWorldSize()
double xPos=player.getXPos();
return worldSize;
public void setFramePos(int frameX, int frameY)
this.frameX=frameX;
this.frameY=frameY;
public int getFrameXPos()
return frameX;
public int getFrameYPos()
return frameY;
public void paralax1Render(Graphics2D renderSpace)
int scaledFrame=(int)(paralaxScale1*frameX);
renderSpace.drawImage(paralax1Image,-scaledFrame,0,null); //Comment this to increase performance Massively
public void paralax2Render(Graphics2D renderSpace)
int scaledFrame=(int)(paralaxScale2*frameX);
renderSpace.drawImage(paralax2Image,-scaledFrame,0,null); //Comment this to increase performance Massively
public void backgroundRender(Graphics2D renderSpace)
renderSpace.drawImage(backgroundImage,null,null); //Comment this to increase performance Massively
public void entityRender(Graphics2D renderSpace)
//System.out.println(frameX);
double xPos=player.getXPos()-frameX+xRes/2;
double yPos=player.getYPos();
int radius=15;
renderSpace.setColor (Color.blue);
// paint a filled colored circle
renderSpace.fillOval ((int)xPos - radius, (int)yPos - radius, 2 * radius, 2 * radius);
renderSpace.setColor(Color.blue);
public void particleRender(Graphics2D renderSpace)
//NYI
public void render(Graphics2D renderSpace)
backgroundRender(renderSpace);
paralax2Render(renderSpace);
entityRender(renderSpace);
paralax1Render(renderSpace);
}//end class WorldOneI can post more of the code if people need clarification. And to emphasize, if I take off the calls to display the background images (the 3 lines where you do this are noted), it works just fine, so this is purely a graphical slowdown, not anything else.
Edited by: CthulhuChild on Oct 27, 2008 10:04 PM
are the parallax images translucent by any chance? The most efficient way to draw images with transparent areas is to do something like this:
public static BufferedImage optimizeImage(BufferedImage img)
GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
GraphicsConfiguration gc = gd.getDefaultConfiguration();
boolean istransparent = img.getColorModel().hasAlpha();
BufferedImage img2 = gc.createCompatibleImage(img.getWidth(), img.getHeight(), istransparent ? Transparency.BITMASK : Transparency.OPAQUE);
Graphics2D g = img2.createGraphics();
g.drawImage(img, 0, 0, null);
g.dispose();
return img2;
}I copied this from a util class I have and I had to modify it a little, I hope I didn't break anything.
This piece of code does a number of things:
- it allows the images to be hardware accelerated
- the returned image is 100% compatible with the display, regardless of what the input image is
- BITMASK transparent images are an incredible amount faster than translucent images
BITMASK means that a pixel is either fully transparent or it is fully opaque; there is no alpha blending being performed. Alpha blending in software rendering mode is very slow, so this may be the bottleneck that is bothering you.
If you require your parallax images to be translucent then I wouldn't know how to get it to draw quicker in an applet, other than trying out java 6 update 10 to see if it fixes things.
Similar Messages
-
Extremely slow performance with Radeon HD 7870
Hi,
I am using a number of Adobe programs on my new Windows 8 64 bit system, with 16 gigs of ram, an Intel Core i5 2.67ghz, and AMD Radeon HD 7870 2 gig. All the programs (including After Effects and Illustrator) work very well with the exception of Photoshop CS6 64 bit, which has extremely slow performance with Use Graphics Processor enabled in my preferences (which Photoshop selects by default). If I turn off Use Graphics Processor, the slow performance vanishes. If I change Drawing Mode to Basic, there might be a slightly detectable improvement over Normal and Advanced, but it's still horribly slow. The refresh rate seems to be just a few frames per second. Everything is slow: brushes, zooming, panning, everything.
I've tried changing the settings I've seen suggested elsewhere: I switched Cache levels to 2, history states to 10, and tile size to 128k. No effect. Photoshop is currently at the default of using 60% of available ram. Efficiency has remained at 100% throughout all my tests. Also, this slow performance has affected me from the moment I installed Photoshop; it didn't crop up after previous good performance. The problem exists regardless of the size or number of documents I have open. Performance is still terrible even when I create a 500 x 500 pixel blank new canvas and try a simple task like drawing with the brush.
Photoshop is fully up to date, and so are my graphics drivers (Catalyst version 13.1). Any help would be greatly appreciated; at the moment performance is so bad in Photoshop that it's unusable with graphics acceleration enabled. Thanks in advance for replying.
Photoshop System Info:
Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
Operating System: Windows 8 64-bit
Version: 6.2
System architecture: Intel CPU Family:6, Model:14, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 4
Processor speed: 2665 MHz
Built-in memory: 16379 MB
Free memory: 13443 MB
Memory available to Photoshop: 14697 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 2
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 1.2 AMD-APP (1084.4)
OpenGL Version: 3.0
Video Rect Texture Size: 16384
OpenGL Memory: 2048 MB
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 7800 Series
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
Video Card Number: 2
Video Card: AMD Radeon HD 7800 Series
Driver Version:
Driver Date:
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 7800 Series
Video Card Memory: 2048 MB
Video Card Number: 1
Video Card: Microsoft Basic Render Driver
Driver Version: 9.12.0.0
Driver Date: 20121219000000.000000-000
Video Card Driver:
Video Mode:
Video Card Caption: Microsoft Basic Render Driver
Video Card Memory: 0 MB
Serial number: 90970078453021833509
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\RAFFAE~1\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 931.5G, 534.8G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/09/10-12:31:21 5.0.4 79.517869
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 7.0.0.1686
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.1.0.20577 2.1.0.20577
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
LogSession.dll LogSession 2.1.2.1681
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
Required plug-ins:
3D Studio 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
Angled Strokes 13.0
Average 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 7.3
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Collada 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Embed Watermark 4.0
Entropy 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Extrude 13.0
FastCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Maximum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mean 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Measurement Core 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Median 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mezzotint 13.0
Minimum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
MMXCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Picture Package Filter 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Pinch 13.0
Pixar 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Range 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.1.2
Shear 13.0
Skewness 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
STL 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Sumi-e 13.0
Summation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Variations 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
WIA Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Wind 13.0
Wireless Bitmap 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
ZigZag 13.0
Optional and third party plug-ins:
DAZ Studio 3D Bridge 12.0
DazUpdateScene 12.0
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEGreat news!
I followed your suggestion, Noel, and uninstalled my drivers with the Catalyst Uninstall Utility (which I hadn't used before), rebooted, reinstalled Catalyst 13.2 Beta 7, rebooted, deleted the PS Prefs, started PS, and now the performance is radically improved!
It baffles me why I would need to do a clean driver uninstall in a new system environment that has only ever had this video card, and is only a few months old, but that action seems to be what's improved the situation. Note that because I deleted the PS preferences, the good performance now occurs with the default Use Graphics Processor enabled, and Drawing Mode set to Advanced (with every feature in the Advanced dialog checked except 30bit display).
Having no reference point, I can't tell for sure if performance is as good as it theoretically ought to be for my system specs, but using the standard 13px brush is only slightly laggy behind the cursor, even if I become reckless and squiggle on the canvas violently. It wasn't just sluggish response before: Photoshop seemed to be in pain trying to draw the line segments as it laboured to catch up to the cursor. That is pretty much gone now.
Much more tellingly, zooming and panning the canvas is like it ought to be, responsive and clean, more or less like it was for me in CS4 with my old Nvidia 9600GT. The poor performance with zooming and panning was the most worrying aspect of the issue. It's a great relief to see these working more properly now.
I have to confess I'm a little embarrassed to have drug you through all this hassle only to discover that something as rudimentary as properly cleaning out the drivers would be the apparent solution. I never would have imagined that doing that, with such a new and stable system, would make any difference, since I don't have a legacy of older drivers dotting my hard drive. In any event, I'm really grateful that you guys took the time to try to help me.
In the interest of completeness, here's the relevant portion of my system info after doing the reinstall steps I mentioned above:
Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
Operating System: Windows 8 64-bit
Version: 6.2
System architecture: Intel CPU Family:6, Model:14, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 4
Processor speed: 2665 MHz
Built-in memory: 16379 MB
Free memory: 13680 MB
Memory available to Photoshop: 14695 MB
Memory used by Photoshop: 60 %
Image tile size: 1024K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 3.0
OpenGL Version: 3.0
Video Rect Texture Size: 16384
OpenGL Memory: 2048 MB
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 7800 Series
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
Video Card Number: 2
Video Card: AMD Radeon HD 7800 Series
Driver Version:
Driver Date:
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 7800 Series
Video Card Memory: 2048 MB
Video Card Number: 1
Video Card: Microsoft Basic Render Driver
Driver Version: 12.100.17.0
Driver Date: 20130226000000.000000-000
Video Card Driver:
Video Mode:
Video Card Caption: Microsoft Basic Render Driver
Video Card Memory: 0 MB
As you can see, the Microsoft Basic Render Driver still appears as a Video Card in the list. This presumably has something to do with Windows 8, and I really don't know if its presence here is still a sign that my card is not being used to its optimal capability. I have a hunch that the slight lag that I am still experiencing with the brush when Use Graphics Processor is on -- totally absent with the acceleration turned off -- implies that Photoshop is still unable to take maximum advantage of my card. I would assume that the brush tool should be more responsive with acceleration on than off, in a rig without any issues, but that's just assumption on my part. If you turn off Use Graphics Processor on your systems, is the brush tool more or less responsive?
But again, panning the canvas with the hand tool is now extremely responsive, without any screen tearing or visible lag, and that's a massive improvement over the total meltdown of performance I was suffering from before.
Thanks again very much for your help. I'm grateful to all of you who took the time to chime in. -
How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
Please help
MarceloIf there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
Gray, Blue or White screen at boot, w/spinner/progress bar
Also take this time to backup your users files off the machine if possible.
Most commonly used backup methods
Sometime that won't work and you need to do more
..Step by Step to fix your Mac -
How can i fix my wifi connection with my router
how can i fix my wifi connection with my router?
I think I'm having a similar problem, my wifi disconnects when a bluetooth device is connected to the MBA.
I have a MacBook Air (13-inch, Mid 2012) with WiFi and Apple Trackpad. I'm unable to use the trackpad(bluetooth) and wifi at the same time. If I turn off the trackpad then the wifi works fine and if I shutoff the wifi then the trackpad works fine. This configuration was working fine prior to upgrading to Yosemite.
I experienced the same problem at home and at the office.
Additional test:
I turned off the bluetooth trackpad and connected my bluetooth headphones to the MBA. The wifi disconnected as soon as I paired the headphones with the MBA.
I have had no problems with the MBA's keyboard or integrated trackpad.
Rick -
How do I fix the timeline so both the images and the timeline are 1080p?
Hello everybody. I'm a relative newbie to FCP, but not totally new to the world of video editing. I've got a problem that I hope somebody out there can assist me with.
I've shot a lot of footage in HD (1080p) and have imported everything into a timeline. I've performed all my edits, transitions, music integration etc - now when I go to output the footage I realise I've made the mistake of doing everything in a 576p timeline.
I've figured out how to resize the timeline, but all the clips appear in their original 576p resolution in the middle of the canvas (ie huge bars around the image)..
My question is simple enough.. How do I fix the timeline so both the images and the timeline are 1080p? Is there a method to 'resize' all the clips to the new timeline? Will this resize the 576p clips or will they still be native 1080p?
If importing all those clips into the original timeline has destroyed pixels, then resizing to 1080p is definately not what I want to do. I want to retain all the resolution of the original clips.
Any advice would be very much appreciated. I've created nearly 300 edits in this timeline, not including all the effects and transitions. If I have to redo all this because I set up the timeline incorrectly I'm going to be rather upset!
Thanks everybody.If you captured the footage as 1080 then the fastest way to re-size all the clips back to 1080 is to select all the clips on the time line and then in the menu bar go to Edit -> Remove Attributes. This will pop up window asking which attributes you want to remove. I would try checking the Basic Motion and Distort attributes and click OK. This should pop everything back to their original size and shape.
However, this will also remove any re-sizing or distortion that is intentional (ie to blow up a particular clip so you can focus on something). -
The latest two updates of Mozilla Firefox are not useful for me because of extremely slow printing of web pages. It was never a problem before. Same iMac and HP officejet printer. How can I either fix it, or revert to an earlier version of the browser (without losing all my bookmarks) which didn't cause this problem?
Try scanning from your Mac. Use Image Capture app in your Applications folder.
Click once on the scanner on the left side, then click on Show Details along the bottom. Along the right side you will see LOTS of options for scanning and saving.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
How do I fix super slow internet - all browsers are affected
There is some problem with internet connectivity with my MacBook Pro, but I cannot figure out how to resolve it. Speedtest.net is measuring my internet speed at download speeds of 0.88MBps and upload of .84Mbps. Other devices utilizing the same router also via wifi (my husband's MacBook Pro for example) are running at 4.08MBps down and 0.86MBps up.
I've tried many things, but I must be missing something and do not understand what is causing the problem. Please let me know what I need to do to resolved this.
Symptoms are occurring across multiple browsers (see list below), and I also tried the iTunes store and it was also extremely slow to load.
Safari 7.1.3
Chrome Version 40.0.2214.111 (64-bit)
Firefox 34.0.5
and iTunes 12.xx
Mail program also exhibits a lack of getting and downloading new email that I know if should download, because it shows up on our iPhone. Attachments in Mail have also sometimes been blank with zero bytes, but if I restart Mail, sometimes those attachment then have data in them.
The Mail problem seems to be possibly intermittent, but the internet browser speed is really a significant and consistent problem.
I have:
Restarted our router. (no improvement)
Verified permissions. (no improvement)
Repaired permissions. (no improvement)
Verified disk (it's okay). (no improvement)
Safari>Preferences>Privacy>Remove All Website Data. (no improvement)
Safari>Advanced>Stop plug-ins to save power changed to "unchecked" (no improvement)
Reset Safari (no improvement)
Quit and Restarted Safari
Firefox>History>Clear History (Browsing&Download, Cookies, Cache, Active Logins)
Quit and Restarted Firefox
Chrome>Clear browsing data
Quit and Restarted Chrome
Restarted the computer multiple times. (no improvements)
Shut down computer, System Management Controller - SMC and Reset P-RAM. After restarting after this last bit, speedtest.net clocked in a 4MBps when I first launched Safari, but 2 minutes later, it was slow again at 0.93MBps.
System Preferences>Network
Wi-Fi is "Connected"
In "Advanced" -
Wi-Fi: my Network Name is at the top of the list. "Remember networks which computer has joined" is checked.
TCP/IP: Configure IPv4 "Using DHCP"
DNS Servers: 192.168.1.254 Search Domains: Home. There is only one in the list.
Proxies: No boxes checked. "Bypass proxy setting for these Hosts & Domains: "*.local, 169.254/16" "Use Passive FTP Mode (PASV)" is Checked.
Hardware: Configure: Automatically.
Please let me know any thoughts on troubleshooting and thanks!
15" MacBook Pro 2.8 GHz, late 2009 model running OS 10.9.5. Software Update - everything is up to date. Including the Security Update 2015-001. Internet was slow before this last update as well.Safari is not the only browser that's slow. Will Safari slow down other browsers even if Safari is not running? Right now I'm using Chrome after restarting and it remains very slow.
Nonetheless, in Safari:
In "Top Sites" of a new tab, I held down the Option key and clicked the "x" for every single top site so that the list is empty. No change noticed. I also emptied the folder for cache website previews in the library folder, but that has made no noticeable change after restarting.
What do you mean by "sharing your devices?" Do you mean a network? I don't have any podcasts, I don't know what you mean by this? I also don't understand refreshing automatically? I'm not running iTunes right now.
I have taken a screen shot of Activity Monitor after restarting and this is what shows for CPU. What data specifically are you looking to analyze in Activity Monitor? -
How do I fix Calendar getting stuck with updating to iOS5?
I have a 3rd generation iPod Touch. I updated to iOS5 this summer, but some programs/apps got very slow, but the biggest, consistent problem is the Calendar app. It gets stuck, it launches and the calendar is "empty" even though there are series of appt. each day. If it does launch okay and I try to touch the + to make a new appointment, it is extremely slow, but if it does work, when I tap "done" for it to make the appointment, it gets stuck on the screen and I have to leave the program by tapping the home screen.
How do I get the Calendar app to function smoothly, properly, and just work?
Here's my set up:
3rd generation iPod Touch.
iOS 5.1.1
In Settings -> Accounts:
1.****@gmail.com (which then says iCloud) with Mail "off", Contacts "on" Calendars "OFF", Bookmarks "On" Notes "Off"
2. Gmail with Mail, Calendars and Notes "ON."
(This was the set up from the days of iOS4, IMAP gmail/mail program via wifi, Calendar syncs via google calendar and syncs over to iCal on MacBook Pro, Notes sync wifi into Mail program notes.)
I have tried switching Calendar Off and on again and it doesn't help, but I can try again. I'm looking for the next level of diagnostics or means to remedy the problem.
Thanks!Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
How to configure airport extreme to work with Actiontec gt701d modem
I have been trying to set up a new Actiontec modem to work with a new Airport Extreme with no luck. I don't know what the right settings are to get it to work correctly. So far the only way I have been able to get the two to work together is to have the AE connect with ethernet and bridge mode. However with this configuration I can't setup a guest network which I would like to be able to do. I have read some past posts and have tried other configurations but end up either losing internet connection or getting a very slow connection. If anyone has some idea how to get this modem to work with the AE i would really appreciate some advice
Thank youWelcome to the discussion area, Meagan!
The Actiontec "modem" that you mention is really a gateway...a combination modem/router, so with this device and the AirPort Extreme, you have two routers on the network.
Whenever you have two routers on a network, the first router must be configured to handle the main routing chores and any other routers must be configured in Bridge Mode to function correctly. So, Bridge Mode is the correct setting for the AirPort Extreme when used with the Actiontec gt701d gateway.
In order for the AirPort Extreme to provide a Guest Network, it must be configured as the "main" router on a network. This won't be possible unless you can re-configure the Actiontec device to act as a simple modem, not a router. You might want to check with Actiontec support to see whether this might be possible.
Message was edited by: Bob Timmons -
MacBook Pro running extremely slow- something with RAM maybe?
I'm using a MacBook Pro, and yesterday, out of nowhere it stated running extremely slow and constantly freezes. I did some research and ended up looking in the Activity Monitor, and it seemed like I have no free space available - so I deleted a bunch of files and the computer is still running exactly as slow as it was before. My stats on the activity monitor are:
Free: 9.7 MB
Wired: 851.7 MB
Active: 2.11 GB
Inactive: 1.05 GB
Used: 3.99 GB
VM Size: 162.33 GB
Page ins: 541.0 MB
Page outs: 4.02 GB
Swap Used: 10.41 GB
Finder says I have 317.3 GB available. What's the problem here?Safe mode prevents almost all third-party software from running such as preference panes, plug-ins, extensions, and launchagents and launch daemons. Normal boot lets all that run. So the issue is with one or more of these third-party items. Perhaps you can download EtreCheck 1.9.10 and run it when your system is at it's worst state. Then post the results here for us to check.
Also,
Pre-Mavericks
Open Activity Monitor in the Utilities folder. Select All Processes from the Processes dropdown menu. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem.
Mavericks and later
Open Activity Monitor in the Utilities folder. Select All Processes from the View menu. Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem. -
How to configure Airport Extreme to work with Spotify
Issue: Spotify no longer syncs Spotify files to my iMac or my iPhone despite me being a premium member. I've never had an issue with this until this past week. I can't see anything that has changed but I must be missing something. Anyhow...I'm posting this here because I need assistance with my Airport Extreme configuration (not Spotify).
According to Spotify, I am to configure my (Airport Extreme, latest gen) router to allow the following:
The following IP ranges should be open on port 4070:
78.31.8.0/21
193.182.8.0/21
The number 21 is the prefix length.
I've assigned the static IP to my iMac and my iPhone. I've also forwarded port 4070 (Public & Private UDP and TCP) to my iMac's static IP. I also tried it on my iPhone. What I don't know about is how to open the IP Range on that port as stated above.
Any idea where this can be done? Thanks!Welcome to the discussion area, Meagan!
The Actiontec "modem" that you mention is really a gateway...a combination modem/router, so with this device and the AirPort Extreme, you have two routers on the network.
Whenever you have two routers on a network, the first router must be configured to handle the main routing chores and any other routers must be configured in Bridge Mode to function correctly. So, Bridge Mode is the correct setting for the AirPort Extreme when used with the Actiontec gt701d gateway.
In order for the AirPort Extreme to provide a Guest Network, it must be configured as the "main" router on a network. This won't be possible unless you can re-configure the Actiontec device to act as a simple modem, not a router. You might want to check with Actiontec support to see whether this might be possible.
Message was edited by: Bob Timmons -
HT1476 How do I fix charging not supported with this device?
Charging not supported with this device. How do I fix this. Charger that came with the phone is used.
Clean the contacts on the dock end of the cable and inside the dock on the phone
-
Extremely slow printing with hp photosmart d110
Recently, I've had extremely slow wireless printing from my laptop to our HP Photosmart D110 series printer. The printer is part of our wireless network and is used by my business laptop and our home laptop. When I send a simple Excel spreadsheet to print, the printer screen says, "Printing", the on/off light flashes and it looks like it's printing. But it takes 1-2 minutes for the document to finally print. This problem does not occur when we print from the home laptop; things print instantly. No updates or system changes before this problem started.
1-2 minutes! Try 10-15 minutes on my Photosmart. These things are junk. I have discussed my many issues with phone support 10-12 times in the last six months with no progress.
-
Extremely slow performance with NEW hdd
Ok guys, this is pretty frustrating. Today I bought 2 new external hdd's, same manufacturer, same model. One of them seems to work great, but the other one.. well look at this:
/dev/sdk1:
Timing buffered disk reads: 96 MB in 3.04 seconds = 31.53 MB/sec
bash-3.2# hdparm -t /dev/sdj1
/dev/sdj1:
Timing buffered disk reads: 4 MB in 4.30 seconds = 951.52 kB/sec
As you can see, my sdj is extremely slow - what could possibly be wrong here?fukawi2 wrote:Is DMA enabled in the BIOS?
Probably - If it wasn't the other drive shouldnt behave like normal.
By the way:
bash-3.2# dmesg | grep -i ata.*dma
ata1: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f100 irq 22
ata2: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f180 irq 22
ata3: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f200 irq 22
ata4: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f280 irq 22
ata1.00: ATA-8: SAMSUNG HD501LJ, CR100-11, max UDMA7
ata1.00: configured for UDMA/133
ata2.00: ATA-7: ST3320820AS, 3.AAD, max UDMA/133
ata2.00: configured for UDMA/133
ata3.00: ATA-8: SAMSUNG HD501LJ, CR100-12, max UDMA7
ata3.00: configured for UDMA/133
bash-3.2# -
After a lot of searching I found that Outlook 2003 appends "IPM.appointment.location" to calendar events under Message Class.
Outlook originally appended just "IPM.appointment" to calendar events.
If Iphone sees anything besides "IPM.appointment" it will not sync. This explains why some calendar events sync but others don't.
So, all you computer guru's out there, how do you fix the form in Outlook to stop appending "IPM.appointment.location"?
I know about unchecking addins, clearing the folder cache, etc. That won't do it.
or...
How do you get Apple to sync both Message Classes from outlook?See https://discussions.apple.com/docs/DOC-3141.
Maybe you are looking for
-
Change of User Account in E-Recruiting
Did E-Recruiting ever intend for the change of a User Account in R/3 for an Internal Employee who is a Recruiter, or a Manager, or an Administrator? For example, an employee's 0105-0001 user id is initially set to 'xxx'. So, in E-Recruiting this empl
-
My company just purchased 3 Sun X4600 Servers. 1 unit produces video while the other 2 units do not have video (or in redirection) and just show a blank display. Serial Console & ILOM work fine. Green LED on front of server. No faults on CPU/RAM card
-
When using firefox beta can not enter text into reply areas on forums.
When visiting vbulletin type sites, the firefox beta will not enter text into the message reply text box. Seems to be only a problem on honeycomb os.
-
Hi, I created a web service based on PL/SQL procedure using Jdeveloper, OC4J and now I would like to know all the options that exists for security (SSL, user/password, etc).... Is there any .pdf /whitepaper / Guide of security in Oracle Web services
-
Webdynpro abap onChange event for input
Hello, I wanted to know if "onChange" event for input field is somehow possible in wd abap or if it is planned for next ehp releases of ECC6. (Like in Developer studio 7.11) thanks.