Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4066692

Color problems in 16/24/32-bpp X servers

XMLWordPrintable

    • 2d
    • kestrel
    • generic, sparc
    • generic, solaris_2.5.1, solaris_2.6, solaris_7



      Name: sg39081 Date: 07/23/97


      I'm running these java 1.2-EA applications on a Solaris/Sparc machine
      but with the display redirected to a Linux box (using the standard env.
      variable DISPLAY)

      On JDK 1.0.x it was impossible to do it, the applications didn't even
      start up.

      On JDK 1.1.x and JDK 1.2-EA the applications run but exhibit problems with
      image colors. As far as I can guess, images are being displayed in 8bpp whether
      the X server is running in 16bpp, 24bpp or 32bpp. Other non-java
      applications behave well.
      ======================================================================


      ingrid.yao@Eng 1999-09-14

      Error messages forwarded by HP:

       java.lang.InternalError: Unsupported 16-bit depth
       
               at sun.awt.motif.X11Graphics.X11LockViewResources(Native Method)
               at sun.awt.motif.X11Graphics.lock(X11Graphics.java:797)
               at sun.java2d.loops.LockableRaster.<init>(LockableRaster.java:97)
               at sun.java2d.loops.RasterOutputManager$RenderImageCachedState.getDstLR(RasterOutputManager.java:358)
               at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:469)
               at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2040)
               at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1634)
               at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:440)
               at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:676)
               at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:596)
               at sunw.hotjava.ui.SplashImage.paint(SplashFrame.java:158)
               at sunw.hotjava.ui.SplashImage.imageUpdate(SplashFrame.java:124)
               at sun.awt.image.ImageWatched.newInfo(ImageWatched.java:62)
               at sun.awt.image.ImageRepresentation.imageComplete(ImageRepresentation.java:586)
               at sun.awt.image.ImageDecoder.imageComplete(ImageDecoder.java:142)
               at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:285)
               at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:248)
               at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:221)
               at sun.awt.image.ImageFetcher.run(ImageFetcher.java:189)

            tnguyensunw Thanh Nguyen (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: