Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-13-11, 02:26 AM   #25
Lauwenmark78
Registered User
 
Join Date: Mar 2005
Posts: 33
Default Re: 260.xx drivers break Java2D OpenGL pipeline

Quote:
Originally Posted by mdeggers View Post
This seems to be fixed for me.

Environment
--------------
Hardware: 7600 GS (overclocked)
Driver: 275.09.04 (beta)
OS: Fedora 15
Windowing System: KDE 4.6.3
JDK: 1.6.0_24

I tested NetBeans 6.9.1 with the default metal theme, Nimbus theme, and GTK theme by running:

/opt/netbeans-6.9.1/bin/netbeans --laf <look-and-feel-abbreviation> \
-J-Dsun.java2d.opengl=true

I've not tried Gnome 3 or WindowMaker yet, but I don't expect any differences.

. . . . just my two cents.

/mde/
It indeed seems that the 275.09.04 version also fixed it for me, so this is indeed great news .
__________________
CPU: AMD Athlon 3500+, MB: Asus A8N-SLI Deluxe (BIOS rev.1014), GFX:: Point-of-View 6600GT 128MB, Mem: 2x512MB DDR400 Kingston CL2.5, HDDs: 2x80GB Maxtor DiamondMax SATA + 1x160GB Hitachi/IBM SATA, OS:Windows Xp Pro Sp2 fr/ForceWare 78.05, Debian Linux AMD64 Sid/NVIDIA-7676
Lauwenmark78 is offline   Reply With Quote
Old 06-13-11, 07:04 AM   #26
DeiF
Registered User
 
Join Date: Oct 2008
Posts: 114
Default Re: 260.xx drivers break Java2D OpenGL pipeline

I still get the same screen as my previous screenshot with 275.09.04, with the same command line parameters.
DeiF is offline   Reply With Quote
Old 06-13-11, 11:47 PM   #27
mdeggers
Registered User
 
Join Date: Apr 2003
Posts: 17
Default Re: 260.xx drivers break Java2D OpenGL pipeline

Quote:
Originally Posted by DeiF View Post
I still get the same screen as my previous screenshot with 275.09.04, with the same command line parameters.
Testing environment:

Hardware: 7600 GS (overclocked)
Driver: 275.09.04
OS: Fedora 15 2.6.38.7-30.fc15.i686
JRE: 1.6.0_22 (with vulnerability patched)
Xserver: xorg-x11-server-Xorg-1.10.2-1.fc15.i686
Gnome: gnome-shell-3.0.2-1.fc15.i686

command line used: java -Dsun.java2d.opengl=True -jar josm-tested.jar

I get the following output (in part):

OpenGL pipeline enabled for default config on screen 0

I get completely functioning menus, icons, text. Since I don't know this software, all I really looked at was the Help->About dialogue box.

I've not tried this under KDE or WindowMaker yet.

I wonder what's different on our systems.

. . . . just my two cents.

/mde/
mdeggers is offline   Reply With Quote
Old 06-14-11, 06:18 AM   #28
DeiF
Registered User
 
Join Date: Oct 2008
Posts: 114
Default Re: 260.xx drivers break Java2D OpenGL pipeline

I attached a "nvidia-bug-report.log" with my original comment, so you can see my config there.
My java version is 1.6.0_25, pretty similar to yours.

One difference is that I use Xorg 1.9.3. Another is that I run a 64bit environment.


I any NVIDIA dev is looking into this and needs more info, please ask.
DeiF is offline   Reply With Quote
Old 06-15-11, 02:21 AM   #29
KDE
Registered User
 
Join Date: Nov 2007
Posts: 50
Default Re: 260.xx drivers break Java2D OpenGL pipeline

Netbeans 7.0 is crashing at startup if -J-Dsun.java2d.opengl=true is used and grsec TPE is enabled.
With driver 256.53 crash doesn't happen.

Driver: 275.09.07 (patched with following patch)
OS: Gentoo
Kernel: 2.6.39.1 64-bit
JRE: 1.6.0_26 Client VM 32-bit
Xserver: 1.9.5

Code:
--- kernel/nv-linux.h.orig      2010-08-28 05:28:03.000000000 +0200
+++ kernel/nv-linux.h   2011-05-27 12:47:08.175727041 +0200
@@ -639,7 +639,7 @@
 #define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
     {                                                           \
         kmem_cache = kmem_cache_create(name, sizeof(type),      \
-                        0, 0, NULL);                            \
+                        0, SLAB_USERCOPY, NULL);                            \
     }
 #else
 #error "NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT value unrecognized!"
Code:
grsec: denied untrusted exec of /tmp/glx2vnKN by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glJVYZ8w by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glkZkyah by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glHXe8b1 by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glzum2zL by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: more alerts, logging disabled for 10 seconds
PAX: execution attempt in: (null), 00000000-00000000 00000000
PAX: terminating task: /usr/java/jdk/bin/java(java):32497, uid/euid: 1012/1012, PC:            (nil), SP: 000000009ded2bec
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
PAX: bytes at SP-8: 9ded2c589fe59980 9d2890009f3b3548 082a095800000001 08391db09f13c6b2 9d2890000000002a 9d2890009f2a84a0 9d2a54549d1cf008 0000000000000001 0000000000000000 000000019fe58524 9ded2c589fe59980
KDE is offline   Reply With Quote
Old 07-12-11, 11:05 AM   #30
ariekenb
Registered User
 
Join Date: Oct 2010
Posts: 10
Default Re: 260.xx drivers break Java2D OpenGL pipeline

Quote:
I can also confirm this bug still exists with the 260.19.29 drivers on 64-bit linux:

1. If I just set -Dsun.java2d.opengl=true, I see all swing frames are empty - no widgets are drawn (see empty_java2d_opengl_window).

2. If I set -Dsun.java2d.opengl=true and -Dsun.java2d.opengl.fbobject=false (disable frame buffer objects) this works around problem #1 and widgets are displayed (although this has known performance
impacts)
This appears to be fixed for me with the latest 275.09.07 drivers. I can now run java apps with -Dsun.java2d.opengl=true and leave sun.java2d.opengl.fbobject unset (defaulting to true). Widgets display correctly and it seems to be stable.

There is a comment in the release notes for 275.09.07 saying: "Fixed a bug that caused Java2D widgets to disappear when Java is configured to render using FBOs." It looks like this did the trick - thanks Nvidia!

My configuration is similar to what it was in the original post:

OS: Debian 5.0 x86_64
CPU: Core 2 Duo E6600
JDK: Sun 1.6.0_22 64-bit
Graphics Card: Quadro FX 550
ariekenb is offline   Reply With Quote
Old 07-25-11, 03:17 AM   #31
coder270
Registered User
 
Join Date: Jul 2011
Posts: 3
Default Re: 260.xx drivers break Java2D OpenGL pipeline

I encountered the same problem after I had updated NetBeans to version 7.0, NVidia driver 275.19, sun-java6-jdk 6.26-1. OS: Kubuntu 10.04 32bit, kernel 2.6.32-33.70 (generic-PAE). My video-card is GeForce 9600GT, 512Mb RAM.

But it even behaves worser: NetBeans window is empty and it cannot be closed. The only way to close it is to kill java process. As a work-around I have to launch NetBeans under IBM JDK 6, where fonts are ugly and drawing is slow.
Attached Files
File Type: gz nvidia-bug-report.log.gz (51.9 KB, 69 views)

Last edited by coder270; 07-25-11 at 03:34 AM. Reason: Added hardware details
coder270 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:58 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.