java swing JTable repaint issue with nvidia graphics

Bug #876721 reported by Claudiu Bulcu
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Open the attached java application project with NetBeans. Run the project from within NetBeans. A window frame will open. Resize the columns so that the horizontal scrollbar shows. Now scroll to the right. The table's content should be garbled

This bug was reproduced on 2 different machines, both having NVidia based graphics cards. If you need other info, please let me know.
---
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 280.13 Wed Jul 27 16:53:56 PDT 2011
 GCC version: gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,resize,move,gnomecompat,obs,grid,regex,mousepoll,snap,imgpng,place,commands,animation,wall,vpswitch,expo,unitymtgrabhandles,fade,workarounds,ezoom,session,scale,unityshell]
CompositorRunning: compiz
DistUpgraded: Log time: 2011-10-13 21:17:14.766565
DistroCodename: oneiric
DistroRelease: Ubuntu 11.10
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 280.13, 2.6.38-11-generic, x86_64: installed
 nvidia-current, 280.13, 3.0.0-12-generic, x86_64: installed
 nvidia-current-updates, 280.13, 3.0.0-12-generic, x86_64: installed
GraphicsCard:
 nVidia Corporation G94 [GeForce 9600 GT] [10de:0622] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: CardExpert Technology Device [10b0:0801]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
JockeyStatus:
 xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
 xorg:nvidia_173_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Enabled, In use)
MachineType: Gigabyte Technology Co., Ltd. P35C-DS3R
NonfreeKernelModules: nvidia
Package: nvidia-graphics-drivers (not installed)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=e89e6cf2-9ee5-41ed-9d07-dc16449311be ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Tags: oneiric running-unity ubuntu compiz-0.9
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (7 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf:
 Section "Device"
  Identifier "Default Device"
  Option "NoLogo" "True"
 EndSection
dmi.bios.date: 01/04/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F10
dmi.board.name: P35C-DS3R
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF10:bd01/04/2008:svnGigabyteTechnologyCo.,Ltd.:pnP35C-DS3R:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP35C-DS3R:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P35C-DS3R
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :
Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

I attached a screenshot.

I used the latest jdk 6 build from Oracle.

I also noticed repaint issues with Intellij IDEA, after closing its Diff tool. Maybe I'll attach some images of that too.

Just to be known, these issues weren't present with Natty.

Revision history for this message
Victor Vargas (kamus) wrote :

I have reassigned this issue to nvidia driver package for now

affects: ubuntu → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 876721
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Incomplete
Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

Hi,

I tried twice to run that reporting tool and twice it brought me to the point where it offered me payed support !? That's because I couldn't find the right category.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : .proc.driver.nvidia.params.txt

apport information

tags: added: apport-collected compiz-0.9 oneiric running-unity ubuntu
description: updated
Revision history for this message
Claudiu Bulcu (cbulcu) wrote : BootDmesg.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : BootLog.gz

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : DpkgLog.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : GconfCompiz.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : GdmLog.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : GdmLog1.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : GdmLog2.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : LightdmLog.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : Lspci.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : Lsusb.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : ProcModules.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : UdevDb.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : UdevLog.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : XorgLog.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : XorgLogOld.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : Xrandr.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : nvidia-settings.txt

apport information

Revision history for this message
Claudiu Bulcu (cbulcu) wrote : xdpyinfo.txt

apport information

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → New
summary: - java swing JTable repaint issue
+ java swing JTable repaint issue with nvidia graphics
Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

My previous comment (about trying the reporting tool twice) was a response to the second part of Walter's entry.

I've just realized that the message on one of the reporting tool's windows hasn't been clear enough to me. There is an statement, followed by a question, in the same phrase. So it seemed to me the first time.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

I noticed the same issue with a text component, with a horizontal scrolling bar. As I said before, IntelliJ IDEA also displayed issues.

Revision history for this message
Claudiu Bulcu (cbulcu) wrote :

I couldn't reproduce the issue in VirtualBox. So it could be related to the nvidia drivers.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

I'm seeing the same behavior with a Java swing application and nvidia drivers

Revision history for this message
Jeroen de Jong (jeroen-de-jong) wrote :

I have had the same problem and found the following solution: I enabled OpenGL in Java2D by passing the following command line option when starting my Java program:

-Dsun.java2d.opengl=True

Now the scrolling goes faster and the text is no longer garbled.

Revision history for this message
Andreas Kern (kerna) wrote :

This Bug is NOT nvidia related.
it also happens with " Gallium 0.4 on AMD RV730"
the program i was using is freemind which shows exactly the same problem as in the screenshot in post #2
the tip from Jeroen de Jong in #34 fixed the problem

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

still present in precise

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

... and also in quantal

Revision history for this message
Jochen Fahrner (jofa) wrote :

Maybe this bug is related: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1032936

It also happens with AMD Radeon HD graphics card.

See also https://bugs.freedesktop.org/show_bug.cgi?id=41086

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

still an issue in raring

Revision history for this message
Matthias Meschede (matthias-meschede) wrote :

still an issue in freemind + ubuntu 12.04 + NVIDIA. When I scroll I get weired streaks and lines. Comment #34 and #35 fixed this problem.

I did:

sudo vim /usr/bin/freemind

and added the command line options to the "${JAVA_CMD}" lines in the end of the file

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

I ill duplicate this bug to bug 1032936, to see if gets more attention. If anybody thinks this are unrelated issues, please feel free to unduplicate this bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.