Java doesn’t seem to be utilizing my integrated graphics chipset… and according to sysinfo:/ , my graphics driver is “unknown” & here’s the output of lspci :
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
0e:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
1a:00.0 FireWire (IEEE 1394): O2 Micro, Inc. Device 10f7 (rev 01)
1a:00.1 SD Host controller: O2 Micro, Inc. Device 8120 (rev 01)
1a:00.2 Mass storage controller: O2 Micro, Inc. Device 8130 (rev 01)
…and the output of sax2 -p is:
Chip: 0 is -> Intel Mobile Intel® GM45 Express Chipset 00:02:0 0x8086 0x2a42 PCI intel
Can anyone tell me what the problem might be here, and how I could possibly correct it?
How did you find out about Java not utilizing it?
What desktop are you using?
I found out when I was trying to play a browser-based online game, which uses a Java Applet as it’s interface. Not only was the performance much slower than on my Windows XP Partition, but I also found that I was unable to use several of the higher graphical options that work quite well in Windows. Though removing openJDK in favor of the Sun JRE made the game playable, it still seems to be using my CPU to render the the graphics, and not the Integrated Chipset…
My current desktop environment is KDE 4.3.1 “Release 6”… anything else you need to know?
You can try changing the Java2D related attributes. However, these attributes can be overridden by the program itself. (I have seen Java programmers who know only Windoze, used to programatically set all Wondoze specific attributes!)
Look at the following link for details:
System Properties for Java 2D™ Technology
Also, this link will be helpful:
Java 2D Properties - Troubleshooting Guide for Java SE 6 Desktop Technologies
After reading over the articles you indicated, I did the following via terminal:
jwesleycooper@linux-twom:~> export _JAVA_OPTIONS='-Dsun.java2d.opengl=True,-Dsun.java2d.trace=log,out:rslog.txt'
jwesleycooper@linux-twom:~> firefox
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).
Picked up _JAVA_OPTIONS: -Dsun.java2d.opengl=True,-Dsun.java2d.trace=log,out:rslog.txt
jwesleycooper@linux-twom:~> echo $_JAVA_OPTIONS
-Dsun.java2d.opengl=True,-Dsun.java2d.trace=log,out:rslog.txt
jwesleycooper@linux-twom:~>
So what exactly should I be looking for in my rslog.txt file?
You should see the log of the graphical method calls there. However, if you enable this log, it will run slightly slower. Trace is good for only debugging purposes.
Remove the trace and do you notice any performance improvement?
Tried it with only enabling OpenGL, but I haven’t noticed any difference in performance, and I still can’t use some of the better graphics options as shown in the applet’s menu… What should I do now?
As I mentioned in my earlier post, the program itself may be setting something internally that may be conflicting the options you set.
Also, try installing java3d too, in case, it uses that if available.
zypper install java3d
Umm… I got this when I tried what you suggested:
linux-twom:/home/jwesleycooper # zypper install java3d
Retrieving repository 'home:broumbroum23' metadata [done]
Building repository 'home:broumbroum23' cache [done]
Loading repository data...
Reading installed packages...
'java3d' not found.
Resolving package dependencies...
Nothing to do.
Perhaps the package name was incorrectly spelled?
jwesleycooper:
Umm… I got this when I tried what you suggested:
Code:
linux-twom:/home/jwesleycooper # zypper install java3d
Retrieving repository ‘home:broumbroum23’ metadata [done]
Building repository ‘home:broumbroum23’ cache [done]
Loading repository data…
Reading installed packages…
‘java3d’ not found.
Resolving package dependencies…
Nothing to do.
Perhaps the package name was incorrectly spelled?
Hi
Have you enabled the non-oss repository? can you post the output from;
zypper lr -d
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
up 5 days 23:19, 4 users, load average: 0.08, 0.08, 0.07
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
Here it is:
jwesleycooper@linux-twom:~> zypper lr -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+-------------------+-----------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------+--------
1 | home:broumbroum23 | home:broumbroum23 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/broumbroum23/openSUSE_11.2_oss/ |
2 | openSUSE 11.2-0 | openSUSE 11.2-0 | No | No | 99 | yast2 | cd:/// |
3 | repo-debug | openSUSE-11.2-Debug | No | No | 99 | NONE | http://download.opensuse.org/debug/distribution/11.2/repo/oss/ |
4 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.2/repo/non-oss/ |
5 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.2/repo/oss/ |
6 | repo-source | openSUSE-11.2-Source | No | No | 99 | NONE | http://download.opensuse.org/source/distribution/11.2/repo/oss/ |
7 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/11.2/ |
jwesleycooper@linux-twom:~>
Hi
Have you done a refresh because it should be there. Can you try via
YaST?
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
up 6 days 15:19, 4 users, load average: 0.15, 0.11, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
Just tried refreshing zypper using zypper refresh-services as root, the output of zypper install java3d remains the same. Tried searching for java3d using YaST as well… and it isn’t there either!
I got java3d from the packman’s repo:
Index of /pub/packman/suse/11.2
YaST won’t let me install java3d, as it says that I need the following:
Cg
libCg.so
libCgGL.so
however, I do not see either libCG.so, nor libCgGL.so in either the repositories you indicated or YaST itself…
In addition, I get a message saying that nothing provides libGLU.so, which is required to install Cg; so where can I find these packages for the i586 architecture?
jwesleycooper:
YaST won’t let me install java3d, as it says that I need the following:
Cg
libCg.so
libCgGL.so
however, I do not see either libCG.so, nor libCgGL.so in either the
repositories you indicated or YaST itself…
In addition, I get a message saying that nothing provides libGLU.so,
which is required to install Cg; so where can I find these packages for
the i586 architecture?
Hi
Did you enable packman? libGLU is part of mesa-devel.
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
up 7 days 15:55, 4 users, load average: 0.18, 0.25, 0.36
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
How do I “enable packman”?
And mesa-devel is already installed!
Hi
Via YaST->Software->Software Repositories, hit the ‘add’ button,
select community repositoriesm then next scroll through the list to
select packman.
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
up 7 days 18:18, 4 users, load average: 0.00, 0.00, 0.00
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
Ok, I’ve got java3d on there now, but my issue still remains… are there any configuration options I could still possibly change?
Just a thought. I installed the new firefox 3.6 from the repo and I lost Java, CPU hung above 50%, desktop started wacking out. I just went back to firefox 3.5.7 and everything is back to normal. I am running a accer laptop with integrated intel graphics.