Problem with huge graphic - Lines become noise

Hi there,
I have a strange problem when drawing a huge graphic. Is is a kind of line-chart. The graphic (chart) is placed to a JPanel within a JScrollPane. The size can be configured and if it exceeds a size the lines are not visible anymore, but every pixel of the line is distributed within the whole graphic. It looks like noise or a snow flurry.
The line chart is updated (re-drawn) within a certain interval. I think no manual repaint is done and it happens and sometimes later is ok again and you can see the line chart and then its gone again.
Can can't exactly tell what the "critical" size is, but the chart is actually about 3000x300 pixels big.
The strange thing is, that never happens when unsing Java 1.4.XX, it is since Java 1.5, and does not happen with smaller size (at least I think so)
The lines are "PolyLines" with several thousand edges.
The code for creating this is like:
          m_bufImage = new BufferedImage(m_nWidth, m_nHeight, BufferedImage.TYPE_INT_RGB);
          m_imageG2D = m_bufImage.createGraphics();
          m_imageG2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
          m_imageG2D.setColor(m_colBg);
          m_imageG2D.fillRect(m_nWidth, m_nHeight, m_bufImage.getWidth(), m_bufImage.getHeight());               
          m_pnlChart.add(new JLabel(new ImageIcon(m_bufImage)));     
Any idea?
regards

Any idea?
Yes.
m_pnlChart.add(new JLabel(new ImageIcon(m_bufImage)));
Swing may have a hard time keeping up with repainting thousands of labels.
You could abandon the components and draw the polyLines directly into an image and draw that
for each repaint. Try this:
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Random;
import javax.swing.*;
public class SimpleDrawing extends JPanel {
    BufferedImage image;
    Random seed = new Random();
    protected void paintComponent(Graphics g) {
         super.paintComponent(g);
         if(image == null)
             initImage();
         g.drawImage(image, 0, 0, this);
    public Dimension getPreferredSize() {
        return new Dimension(3000, 300);
    private void draw() {
        Dimension d = getPreferredSize();
        int w = d.width;
        int h = d.height;
        int r = 20;
        int cx = r/2 + seed.nextInt(w - r);
        int cy = r/2 + seed.nextInt(h - r);
        int nPoints = 3 + seed.nextInt(4);
        int[] xPoints = new int[nPoints+1];
        int[] yPoints = new int[nPoints+1];
        double theta = 0;
        double thetaInc = 2*Math.PI/nPoints;
        for(int j = 0; j <= nPoints; j++) {
            xPoints[j] = (int)(cx + r*Math.cos(theta));
            yPoints[j] = (int)(cy + r*Math.sin(theta));
            theta += thetaInc;
        Graphics2D g2 = (Graphics2D)image.getGraphics();
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        g2.setPaint(Color.black);
        g2.drawPolyline(xPoints, yPoints, nPoints+1);
        g2.dispose();
        repaint();
    private void initImage() {
        Dimension d = getPreferredSize();
        int w = d.width;
        int h = d.height;
        int type = BufferedImage.TYPE_INT_RGB;
        image = new BufferedImage(w, h, type);
        Graphics2D g2 = image.createGraphics();
        g2.setBackground(getBackground());
        g2.clearRect(0,0,w,h);
        g2.dispose();
    private void start() {
        Thread thread = new Thread(new Runnable() {
            public void run() {
                do {
                    try {
                        Thread.sleep(50);
                    } catch(InterruptedException e) {
                        System.out.println("init interrupted");
                        System.exit(1);
                } while(image == null);
                while(true) {
                    try {
                        Thread.sleep(50);
                    } catch(InterruptedException e) {
                        System.out.println("interrupted");
                        break;
                    draw();
        thread.setPriority(Thread.NORM_PRIORITY);
        thread.start();
    public static void main(String[] args) {
        final SimpleDrawing test = new SimpleDrawing();
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(new JScrollPane(test));
        f.setSize(500,400);
        f.setLocation(200,200);
        f.setVisible(true);
        test.start();
}

Similar Messages

  • Problem with ATI Graphic in U330

    dear all 
    i have a problem about my u330 with Solidwork program
    when i use solidwork program with ATI graphic it become like this every time i move my mouse
    http://upload.mwake.com/v3.php?id=s5/MeSir3gOqW.jpg
    http://upload.mwake.com/v3.php?id=s5/xAFDJZfwHO.jpg
    http://upload.mwake.com/v3.php?id=s5/MeSir3gOqW.jpg
    http://upload.mwake.com/v3.php?id=s5/xAFDJZfwHO.jpg
    but
    when i switch back to intel 
    nothing happen in solidwork program
    i can use it normaly
    did anyone can tell me any solution???
    thank
    tonn
    ps. now i use window 7 and already flash new bios 

    due to an application error, re-install it.
    still you may need to install updated graphic cards driver and directx.
    http://www.microsoft.com/games/en-us/aboutgfw/pages/directx10.aspx
    ati windows 7 : http://consumersupport.lenovo.com/en/DriversDownloads/drivers_show_2029.html
    ati vista 32 bit : http://consumersupport.lenovo.com/en/DriversDownloads/drivers_show_276.html

  • I have problems with my films that become slightly jerky after I have imported and edited them in iMovie and then burned them onto a DVD using iDVD. I can see the weak jerkiness when panning in both laterally and vertically. I shoot with a camcorder Canon

    I have problems with my films that become slightly jerky after I have imported
    and edited them in iMovie and then burned them onto a DVD using iDVD.
    I can see the weak jerkiness when panning in both laterally
    and vertically.
    I shoot with a camcorder Canon Vixia HF10. The camera has been set to deliver HD quality (1920x1080). But I have accidentally filmed with a frame rate of 60 (?).
    When I import the films in iMovie I have been asked if I want to change to frame rate 30 (instead of 25). I have chosen 30.
    Could it be the setting of a frame rate 60 in my camcorder that causes jerkiness when panning or what else?

    I have problems with my films that become slightly jerky after I have imported
    and edited them in iMovie and then burned them onto a DVD using iDVD.
    I can see the weak jerkiness when panning in both laterally
    and vertically.
    I shoot with a camcorder Canon Vixia HF10. The camera has been set to deliver HD quality (1920x1080). But I have accidentally filmed with a frame rate of 60 (?).
    When I import the films in iMovie I have been asked if I want to change to frame rate 30 (instead of 25). I have chosen 30.
    Could it be the setting of a frame rate 60 in my camcorder that causes jerkiness when panning or what else?

  • Problem with dual graphic

    I own HP PAVILION G6 1202TX model.It is built with dual graphics INTEL and RADEON. INTEL - INTEL(R) HD Graphics 3000 and
    AMD- RADEON(TM) HD 6470M.earlier accidently i lost my windows and its all drivers but my main issue is with ts graphics.If i install AMD drivers a notification bar shows problem with INTEL graphics and if i install INSTALL it shows issue with RADEON.After installing the driver every time i  restart my pc AMD shows a dialogue box and if i have installed AMD ,INTEL keeps poping up notification bar in right lower corner of pc it something related to INTEL SYSTEM TRAY GRAPHICS.
       Now i have installed INTEL graphics driver i and every time ii restart my pc it shows a dialogue box 
    this dialogue box appers every time i start my pc
    PLEASE HELP ME
    Hope for a freequent action
    THNK YOU.
    This question was solved.
    View Solution.

    Hi ashwani26596,
    Let's start by using the HP Support Assistant to check for any updates and drivers to see if that resolves the issue. If that doesn't work then go your Control Panel and then Programs and Features and uninstall the Catalyst Control Center. Then try installing both the Intel High-Definition Audio Driver and the AMD High-Definition Audio Driver.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Problem with the graphics

    I am having problem with my hp desktop p2-1255il.<br>After installing windows 7. There is a problem with the graphics. The video is not playing in good quality.<br>And the screen resolution is not changing.<br>Please help me please<br>with regards

    Here are the specs for your HP Pavilion p2-1255il Desktop Computer and here is the HP Software and Driver Downloads page for your computer. If you haven't installed any drivers and/or there are unknown devices in the Windows Device Manager, you will need to download and install the proper drivers from the drivers link above. This includes your video adapter being listed as "VGA" instead on "Intel HD xxxx".
    Please  send KUDOs
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Problem with Table control lines

    Hi Friends,
    This is the problem with table control lines:
    I have screen with table control and I would like change the table control lines dynamicaly.
    Exp:
    In my PBO the Internal table which I am using to loop the TC is havig 7 records and its displayed with 7 records, now I have added one more record into my ITAB and now ITAB is having 8 records, when I am looping this ITAB with TC its taking the TC lines 7 only.
    here is the code:
    Initial values in gt_scr400 = 8
    Initial values in tc_scr400 = 8
    Now added one more recor into gt_scr400 , now gt_scr400  = 9.
      LOOP AT   gt_scr400
           INTO wa_scr400
           WITH CONTROL tc_scr400
           CURSOR tc_scr400-current_line.
      ENDLOOP.
    I have used this logic :
      DESCRIBE TABLE gt_scr400 LINES g_rec_300 .
      tc_scr300-lines = g_rec_300.
    but its not modifying the lines in my table control.
    How to change the TC lines based on ITAB total records.
    Thanks,
    Sridhar

    there is a field in TableViewName-xxx
    don't remember the exact field name for (total no of records)
    you can check it in debug.  when you add records in Internal table, u need to modify this field which is set at the first time when table control is populated.

  • Mountain lion - problem with the graphics.

    mountain lion after installation I have a problem with the graphics.

    This is how it looks like for me. This accours on every Boot Up.

  • Problem with discrete graphic card and DirectX 11

    If I try any application to launch with discrete graphic card (nvidia geforce 740m) that using directx 11 it always crashes.
    There no problems with directx 9 on on this graphic card.
    There are no problems with integrated graphic card whether application using directx 9 or 11. Problem occurs only with discrete graphic card and directx 11.
    The things that i did:
    - Reinstall Windows
    - Install latest driver updates (I also tried to uninstall latest and install recomended driver downloaded from the oficial HP support 'driver download' web page)
    - different options on nvidia control panel 3d settings page
    I also tried microsoft 'Direct3D Tutorial Win32 Sample' source code to build and debug. It is failed in function IDXGISwapChain:resent with code DXGI_ERROR_DEVICE_REMOVED and ID3D10Device::GetDeviceRemovedReason returns DXGI_ERROR_DRIVER INTERNAL_ERROR.
    Is there any chance that is not hardware malfunction?
    Model Envy 15-j175er
    OS Windows 8.1 64

    @Enegue ,
    Hello and thank you for posting on the HP support forum.  In your situation I would consider keeping with Directx 9.  The reason I say this is your notebook is not a performance gaming machine.  It is designed to be fore general use.
    Some cards will notice issues when upgrading to direct 11 from a lower level.  
    Not to mention with your notebook you will want to stick with the drivers only provided from the HP support site.  They are proprietary for the notebook and could be the reason why the directx 11 is not working.
    Here is the link to your systems supported drivers.
    HP ENVY 15-j175er Notebook PC (ENERGY STAR)
    Thank you again for posting and have a great day.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Hello i have a problem with my macbook pro become to slow to write any thing, to do any thing and the fan is always on never stop what can i do?

    hello i have a problem with my macbook pro become to slow to write any thing, to do any thing and the fan is always on never stop what can i do?
    i already reinstall the software many times and still the same i dont know what is happening is there is somebody who can help me please im will waiting

    There are any number of possibilies... you could have problems with runaway applications, causing your machine to overheat and setting the fans off, you could have bad fan sensors, etc.
    Open Activity Monitor (Applications>Utilities) and see if you have any apps that may be hogging the CPU. Call back.
    Clinton

  • HP Pavilion g7-sr2377 Nr. D2H11EA#ACB Problem with switchable graphic

    Hello everyone.
    I have a big problem with switchable graphic on HP Pavilion g7-2377,  he doesn't work.
    Main graphic card: Intel HD 4000
    Discrete: AMD Radeon HD7600
    I'am using a Windows 7 Ultimate x64 Operating System. Someone can help to fix that problem?
    This question was solved.
    View Solution.

    Hi:
    Uninstall any graphics drivers you have tried, reboot and use this one...
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-111285-1&cc=us&dlc=en&lc=en...

  • Satellite Pro A120: I have problems with the graphics driver installation for W2k

    I have installed windows 2000 on an A120 the system is fully service packed and up to date before I even begin installing the required drivers I am unable to restart the system. Once I install the drivers as recommended I have problems with the graphics driver as it will not install because it requires a restart and then I am unable to install any new programs that require a restart as the driver has not installed correctly.
    The laptop is a A120 Pro, 1 week old and came with XP home, because of this toshiba will not offer me support as I have changed the O/S even though they obviously support 2000 on this laptop as they supply the drivers.
    Any ideas would be greatly appreciated.

    the reason the driver is not working is down to a problem with the windows 2000 not having the ability to reboot.
    When you select restart the system appears to power down then stays switched on. Now if I try to install software I get an error saying that the system needs to complete a restart to finish the install of the driver.
    The restart problem happens as soon as win2k is installed as although I have now shipped the laptop to the sales team I have another one which has just had a clean install of win2k without any drivers and the fault is present on this one.
    I am thinking it could be to do with power management but I'm not to sure as I have never come across this as I normally purchase machines which accept just about any O/S.

  • Has anyone had a problem with the iPhone 4 becoming unresponsive as a call is being received?

    Has anyone had a problem with the iPhone 4 becoming unresponsive as a call is being received?

    I'm sure someone has.

  • System crashes after waking; problems with distnoted, graphics chip error

    I am running 10.3.9 on a Dual 1 GHz G4, with 1.5 GB SDRAM, a GeForce4 Ti 4600 LCD display, and a LaCie 1394 external drive. I have recently started to put my computer to sleep at night, rather than leaving it running 24 hours a day (I also installed sleepwatcher, to allow me to put my computer to sleep remotely, and anacron, to allow the nightly system maintenance jobs to continue to run). This was working fine for about a week, but for the last two days, when I woke my computer up in the morning, I got kernel panics after a few minutes. First some aspects of the display would start to get mangled (e.g. strange lines appearing, some text that I typed not showing up, icons in the dock looking speckled, etc.), then some applications would stop responding, and then a minute or so later I would get the feared kernel panic message ("You need to restart your computer" in multiple languages).
    This problem only seems to occur after the computer has been asleep for a long time (I've only experienced it after it's been asleep for 12 hours or so, and not when it's only been asleep for a few minutes). The only thing I can think of that I've changed in the last few days is an AppleScript that mounts my external LaCie drive (using "do shell script diskutil mountDisk ...") before backing up my files - using FoldersSynchronizer - then putting my computer to sleep (before I was never UNmounting this drive, so I didn't have to mount it in the AppleScript - I was still using the script to back up the files then put the computer to sleep).
    I have tried running Apple's Disk Utility (both to repair the permissions, and to repair the disk), DiskWarrior (to rebuild my startup disk), fsck, and TechTool Deluxe. None seemed to reveal any major errors except the "Surface Scan" in TechTool, which failed, presumably because of media defects in the disk (but my understanding is that fixing this would require reformatting my disk, something that I only want to do as a last resort).
    My system.log shows the following, from the time I woke my computer to the time I restarted (I've highlighted some suspicious-looking lines). It seems like the problem might either be occurring in distnoted, or with the graphics chip. Any thoughts on how I can determine the cause of the problem?
    Mar 28 10:58:31 localhost kernel: System Sleep
    Mar 28 10:58:38 localhost kernel: System Wake
    Mar 28 10:58:38 localhost kernel: Wake event 0020
    Mar 28 10:58:38 localhost kernel: enableClockSpreading returned with 0
    Mar 28 10:58:38 localhost kernel: AppleNMI unmask NMI
    Mar 28 10:58:38 localhost kernel: Adaptec warning: Resetting SCSI bus.
    Mar 28 10:58:38 localhost kernel: FWOHCI handleSelfIDInt - nodeID not valid (reset bus and retry 1)
    Mar 28 10:58:38 localhost kernel: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Half Duplex
    Mar 28 10:58:44 localhost mDNSResponder[186]: mDNSResponder Waking at 1236250
    Mar 28 10:58:44 localhost SymMissedTask - parent[233]: sleeptime recorded: Mon Mar 27 16:05:06 2006
    Mar 28 10:58:44 localhost SymMissedTask - parent[233]: waketime is: Tue Mar 28 10:58:44 2006
    Mar 28 10:59:04 localhost crontab[436]: (root) LIST (root)
    Mar 28 10:59:04 localhost crontab[438]: (root) LIST (sage)
    Mar 28 11:05:09 localhost crashdump: Unable to determine CPSProcessSerNum pid: 151 name: distnoted
    Mar 28 11:05:09 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/distnoted": exited as a result of signal 10 [pid 151]
    Mar 28 11:05:09 localhost crashdump: Started writing crash report to: /Library/Logs/CrashReporter/distnoted.crash.log
    Mar 28 11:05:09 localhost crashdump: Finished writing crash report to: /Library/Logs/CrashReporter/distnoted.crash.log
    Mar 28 11:05:10 localhost kernel: Graphics chip error! Restarted.
    Mar 28 11:05:15 localhost last message repeated 2 times
    Mar 28 11:05:19 localhost crashdump: Unable to determine CPSProcessSerNum pid: 448 name: distnoted
    Mar 28 11:05:19 localhost crashdump: Started writing crash report to: /Library/Logs/CrashReporter/distnoted.crash.log
    Mar 28 11:05:19 localhost mach_init[2]: Server 180b in bootstrap d03 uid 0: "/usr/sbin/distnoted": exited as a result of signal 10 [pid 448]
    Mar 28 11:05:19 localhost crashdump: Finished writing crash report to: /Library/Logs/CrashReporter/distnoted.crash.log
    Mar 28 11:05:20 localhost kernel: Graphics chip error! Restarted.
    Mar 28 11:05:29 localhost last message repeated 7 times
    Mar 28 11:06:59 localhost last message repeated 12 times
    Mar 28 11:07:01 localhost crashdump: Started writing crash report to: /Users/sacks/Library/Logs/CrashReporter/MouseWorks Background.crash.log
    Mar 28 11:07:01 localhost kernel: Graphics chip error! Restarted.
    Mar 28 11:07:02 localhost crashdump: Finished writing crash report to: /Users/sacks/Library/Logs/CrashReporter/MouseWorks Background.crash.log
    Mar 28 11:07:11 localhost kernel: Graphics chip error! Restarted.
    Mar 28 11:07:14 localhost last message repeated 2 times
    Mar 28 11:07:24 localhost kernel: NVKernel::initializeChannel time out.
    Mar 28 11:08:43 localhost syslogd: restart
    Yesterday's crash looks similar, except that the Graphics chip error occurs 13 seconds before the distnoted error (rather than after the distnoted error), and rather than a crash of "MouseWorks Background" there was a crash of "WindowServer". A log file from a few days ago, when I woke my computer up without a crash, has one line that is now absent: Mar 23 08:48:43 nitrogen kernel: AFPSleepWakeHandler: waking up.
    panic.log contains:
    Tue Mar 28 11:08:55 2006
    Unresolved kernel trap(cpu 1): 0x300 - Data access DAR=0x000000003AA4C34E PC=0x000000000099E54C
    Latest crash info for cpu 1:
    Exception state (sv=0x2CD3AC80)
    PC=0x0099E54C; MSR=0x00009030; DAR=0x3AA4C34E; DSISR=0x40000000; LR=0x0099EFA0; R1=0x19D63AC0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x0099FF28 0x0099EFA0 0x00997468 0x00988020 0x0027E650 0x00280324 0x0007AC48 0x00021668
    0x0001BCE8 0x0001C0F0 0x00094318 0x00000000
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.GeForce(3.4.2)@0x981000
    dependency: com.apple.iokit.IOPCIFamily(1.4)@0x4b3000
    dependency: com.apple.iokit.IOGraphicsFamily(1.3.5)@0x4c6000
    dependency: com.apple.NVDAResman(3.4.2)@0x4fc000
    dependency: com.apple.iokit.IONDRVSupport(1.3.5)@0x4e6000
    Proceeding back via exception chain:
    Exception state (sv=0x2CD3AC80)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x2CDA8000)
    PC=0x900078B8; MSR=0x0200F030; DAR=0xE0FA8000; DSISR=0x42000000; LR=0x90007438; R1=0xBFFEE3D0; XCP=0x00000030 (0xC00 - System call)
    Kernel version:
    Darwin Kernel Version 7.9.0:
    Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
    panic(cpu 1): 0x300 - Data access
    Latest stack backtrace for cpu 1:
    Backtrace:
    0x00083498 0x0008397C 0x0001EDA4 0x00090C38 0x0009402C
    Proceeding back via exception chain:
    Exception state (sv=0x2CD3AC80)
    PC=0x0099E54C; MSR=0x00009030; DAR=0x3AA4C34E; DSISR=0x40000000; LR=0x0099EFA0; R1=0x19D63AC0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x0099FF28 0x0099EFA0 0x00997468 0x00988020 0x0027E650 0x00280324 0x0007AC48 0x00021668
    0x0001BCE8 0x0001C0F0 0x00094318 0x00000000
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.GeForce(3.4.2)@0x981000
    dependency: com.apple.iokit.IOPCIFamily(1.4)@0x4b3000
    dependency: com.apple.iokit.IOGraphicsFamily(1.3.5)@0x4c6000
    dependency: com.apple.NVDAResman(3.4.2)@0x4fc000
    dependency: com.apple.iokit.IONDRVSupport(1.3.5)@0x4e6000
    Exception state (sv=0x2CDA8000)
    PC=0x900078B8; MSR=0x0200F030; DAR=0xE0FA8000; DSISR=0x42000000; LR=0x90007438; R1=0xBFFEE3D0; XCP=0x00000030 (0xC00 - Sp
    The distnoted.crash.log refers to the following exception:
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000006
    (I can post this whole log if it would be helpful.)
    Any thoughts on what might be causing this problem? I will continue to test the effects of changing various aspects of my configuration, but since I can only get the problem to occur once a day (after my computer has been asleep for a while), it might take me a few days or weeks to track the problem down through blind trial-and-error.
    Thanks!
    Dual 1 GHz G4   Mac OS X (10.3.9)   1.5 GB SDRAM, GeForce4 Ti 4600 LCD display, LaCie 1394 external drive

    After a little experimentation, I've managed to narrow the problem down a little, but still haven't resolved it. My computer still crashes almost every time I wake it up after a long sleep (multiple hours). Things work fine for a few minutes, but then some aspects of the display start to get mangled (e.g. strange lines appearing, text becoming distorted, etc.), then some applications start crashing and the system hangs. Sometimes I get a kernel panic, but not always - but I always need to reboot to solve the problem.
    The errors in the system log files differ from crash to crash, but the one thing that seems to be consistent is that I get a "Graphics chip error". Is this usually a hardware problem, or can it be due to a software problem? Sometimes this graphics chip error is the first error to occur, although sometimes an application will crash a few seconds before the graphics chip error is recorded in the system.log.
    In my original post, I suggested that the problem might be due to an AppleScript that mounts an external drive. I have since determined that this is NOT the cause of the problem.
    Any thoughts on what might be going on?
    Here's the relevant part of the system log file from today's crash:
    From /var/log/system.log:
    Mar 31 13:52:18 nitrogen kernel: System Sleep
    Mar 31 13:52:24 nitrogen kernel: System Wake
    Mar 31 13:52:24 nitrogen kernel: Wake event 0020
    Mar 31 13:52:24 nitrogen kernel: enableClockSpreading returned with 0
    Mar 31 13:52:24 nitrogen kernel: AppleNMI unmask NMI
    Mar 31 13:52:24 nitrogen kernel: Adaptec warning: Resetting SCSI bus.
    Mar 31 13:52:24 nitrogen kernel: FWOHCI handleSelfIDInt - nodeID not valid (reset bus and retry 1)
    Mar 31 13:52:24 nitrogen kernel: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Half Duplex
    Mar 31 13:52:30 nitrogen mDNSResponder[159]: mDNSResponder Waking at 19764350
    Mar 31 13:52:30 nitrogen mDNSResponder[159]: -1: DNSServiceRegister("Bill's Mostly Celtic Music", "daap.tcp.", "local.", 3689) failed: Client id -1
    invalid (-65549)
    Mar 31 13:52:30 nitrogen mDNSResponder[159]: -1: DNSServiceRegister("iTunesCtrl5DC89B66EC5DD60B", "dacp.tcp.", "local.", 3689) failed: Client id
    -1 invalid (-65549)
    Mar 31 13:52:30 nitrogen SymMissedTask - parent[240]: sleeptime recorded: Thu Mar 30 17:58:59 2006
    Mar 31 13:52:30 nitrogen SymMissedTask - parent[240]: waketime is: Fri Mar 31 13:52:30 2006
    Mar 31 13:52:50 nitrogen crontab[659]: (root) LIST (root)
    Mar 31 13:52:50 nitrogen crontab[661]: (root) LIST (sage)
    Mar 31 13:57:07 nitrogen kernel: Graphics chip error! Restarted.
    Mar 31 13:57:24 nitrogen last message repeated 19 times
    Mar 31 13:57:24 nitrogen crashdump: Started writing crash report to: /Library/Logs/CrashReporter/WindowServer.crash.log
    Mar 31 13:57:24 nitrogen crashdump: Finished writing crash report to: /Library/Logs/CrashReporter/WindowServer.crash.log
    Mar 31 13:57:25 nitrogen kernel: Graphics chip error! Restarted.
    Mar 31 13:57:31 nitrogen last message repeated 42 times
    Mar 31 14:00:00 nitrogen CRON[667]: (root) CMD ("/Library/Application Support/Symantec/Scheduler/SymSecondaryLaunch.app/Contents/schedLauncher" 1 "/Applications/Symantec Solutions/LiveUpdate.app/Contents/MacOS/LiveUpdate" " " "oapp" "aevt" "exAG" "-update LUdf -liveupdatequiet YES -liveupdateautoquit YES")
    Mar 31 14:00:00 nitrogen /Library/Application Support/Symantec/Scheduler/SymSecondaryLaunch.app/Contents/schedLauncher[667]: launch for id = 1 event = oapp result = 0
    aped[186]: Attach denied: super-user process, for LiveUpdate[674]
    aped[186]: Attach denied: super-user process, for loginwindow[686]
    aped[186]: Attach denied: super-user process, for SecurityAgent[690]
    aped[186]: Attach denied: super-user process, for IRTool[710]
    aped[186]: Attach denied: super-user process, for loginwindow[836]
    aped[186]: Attach denied: super-user process, for SecurityAgent[839]
    Mar 31 14:01:55 nitrogen sudo: sacks : TTY=ttyp1 ; PWD=/private/var/log ; USER=root ; COMMAND=/sbin/shutdown -r now
    Mar 31 14:01:55 nitrogen shutdown: reboot by sacks:
    Mar 31 14:01:57 nitrogen syslogd: exiting on signal 15
    Mar 31 14:08:44 localhost syslogd: restart
    Dual 1 GHz G4   Mac OS X (10.3.9)   1.5 GB SDRAM, GeForce4 Ti 4600 LCD display, LaCie 1394 external drive

  • Serious problems with 2 graphics cards...

    Hi,
    I'm using 4x3GHz MacPro with X1900 (2x30") and GF7300 (23").
    When all 3 monitors are connected I see weird dostortion on the viewer.
    It looks like the whole picture is divided to many rows, each offseted by 2-3 pixels to the left looking from the top of the monitor. It looks awful and of course you can't work.
    When I disconnect one of the monitors everything looks ok... I don't need to remove second card GF7300 from computer...
    It seems having 2 graphic cards is very unfortunate on this computers.
    I get problems with previews on some QuickTime videos, turning deinterlace renders screen black etc... Probably it related also to QT 7.2
    Many troubles... to many as for Apple branded computers...
    regards
    ARTI

    I, too, found out that aperture will NOT WORK with a Mac Pro with two video cards installed.  I called tech support and was advised to remove one of the cards and the program would work.  I tried just removing all but one monitor (I, like you, have three monitors) but the problem still occurred so I removed one of the cards from the machine.  Aperture worked fine then.  I need my three monitors so I put the card back in.  I was told that apple was well aware of this problem with the Mac Pro and would fix it soon.  This incident I am relating occurred about 6 to 8 months ago and still nothing from apple to fix the problem.  I have found out since that there are other Pro applications that will not work with the Mac Pro with multiple cards. Because of this problem, I have not used any of apple's graphic programs for anything and have relied of other programs to do my work. It should be noted that I gave a "one star" rating for this program on the on-line store about 3 weeks ago citing this problem. Apple has not posted it to the on-line store reviews. Now that tells me that they have no intention of fixing this problem.
    I hope that someone out there can come up with a "fix" for this. It's a shame because Apple usually produces superior products.

  • Problems with Leopard Graphics 1.0 update!!!!

    hi ppl..i've instal the Leopard Graphics 1.0 update... and i have problems with it!
    my dock is very slow, the finder crashes...what do i do??
    please some help!!

    It is strange indeed. So many people have these same issues and yet not a single word from Apple. Something is really wrong with this Leopard Graphics Update 1.0
    People are reporting all kinds of problems, but mostly we see these slow-downs... even typing does not respond as it should. There was a huge delay in between typing and characters appearing on the screen. Moving your windows on the desktop also gets jumpy and not smooth as it was before. Crazy things were happening while I had it installed.
    So I reinstalled my Leopard completely (since you can't uninstall these updates like on Windows) and reinstalled it from the scratch. Did all updates except this Leopard Graphics Update 1.0 and all problems went away. Same situation on my work machine (new aluminum iMac, 20", 2 Gb RAM).
    My advice is - do not download this update, simply ignore it and your machine will work perfectly fine. Until Apple addresses this issue I am staying away from it...

Maybe you are looking for