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

Intermittent painting issues on Linux with opengl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 8
    • client-libs
    • Linux with accelerated card driver

    • 2d
    • x86
    • linux

      Run the attached test with jdk8 on Linux with opengl enabled:
      java -Dsun.java2d.opengl=True JPanelTest

      Once in a while -- sometimes every other time, sometimes once in five times -- paint is not performed or performed not in full. It looks like a timing issue while trying to calculate a dirty region.

      I tried it on Ubuntu 12.04 i586 and x64 with Nvidia and ATI drivers and also on some OEL 6.3 with ATI, all with the similar results.
      Not reproducible on OS X (10.8) nor on Windows (tried 7x64).

      Note about the test: the sleep added at the end may be changed to realSync() on Gnome but should not on Xfce and Windows.

            psadhukhan Prasanta Sadhukhan
            yan Yuri Nesterenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: