Seite 1 von 1
Linux- Grey screen
Verfasst: 24 Nov 2006, 18:09
von skoff
I noticed the entry in the FAQ explaining how to get rid of a grey screen. Unfortunately this doesn't work in the linux version. TVBrowser worked fine - absolutely excellent program - until I switched to Beryl. Now I get a grey screen. I can tell the information is there because the cursor changes shape and if I click I can get something, but there must be a way to fix this...?
Verfasst: 24 Nov 2006, 18:14
von ds10
Maybe it would help to change the LookAndFeel.
Do you have an other Java application to test, if it is also affected?
Verfasst: 24 Nov 2006, 18:21
von bodo
There is a Bug in Java 5 when using an XGL-Desktop like Beryl.
http://lists.freedesktop.org/archives/c ... 00224.html bzw.
http://bugs.sun.com/bugdatabase/view_bu ... id=6322854
This should help:
export AWT_TOOLKIT=MToolkit
Or you could update to Java 6 (currently in Beta)
Verfasst: 24 Nov 2006, 18:32
von skoff
Thanks for the suggestions - I'll try fixing my java (It is 5.)), maybe I can switch from Sun to Blackdown or look for an ebuild for Java 6. I can't recall if I have any other java apps (I'm sure I must), so I'll report back if and when I fix this.
Verfasst: 24 Nov 2006, 18:40
von bodo
Don't use Blackdown. We don't support it.
Verfasst: 24 Nov 2006, 19:47
von skoff
Okay, I have installed java 6 and experimented with various settings and have achieved success as follows :-
Using these available Java Virtual Machines:
- [1] blackdown-jdk-1.4.2
[2] sun-jdk-1.5
[3] sun-jdk-1.6 system-vm
I found that it was necessary to follow the suggestion to 'export AWT_TOOLKIT=MToolkit'. After which
sun-jdk-1.5 and sun-jdk-1.6 both work, Blackdown doesn't work.
Thanks for the help.
Verfasst: 13 Apr 2007, 14:13
von Vaklav
I had the same problem with IntelliJ Idea. Changing java version didn't help but
fixed it.
AMD64
Verfasst: 18 Mai 2007, 18:58
von phil
I've run into the same problem with the grey screen when running Compiz and was glad to find this thread. However, trying to set the AWT_TOOLKIT variable either in the console environment or by adding the equivalent Java-option (-D...) crashes my Java 6 VM (without caring whether I set it to MToolkit or XToolkit...):
Code: Alles auswählen
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002b9bdc6b3385, pid=8945, tid=1076017472
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)
# Problematic frame:
# C [libc.so.6+0x2f385] catgets+0x15
The following dozens of lines of the generated log file will probably be of no interest except of the following two paragraphs:
Code: Alles auswählen
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.motif.MWindowPeer.pCreate(Lsun/awt/motif/MComponentPeer;Ljava/lang/String;)V+0
j sun.awt.motif.MWindowPeer.create(Lsun/awt/motif/MComponentPeer;)V+12
j sun.awt.motif.MComponentPeer.init(Ljava/awt/Component;)V+31
j sun.awt.motif.MWindowPeer.init(Ljava/awt/Window;)V+65
j sun.awt.motif.MFramePeer.<init>(Ljava/awt/Frame;)V+159
j sun.awt.motif.MToolkit.createFrame(Ljava/awt/Frame;)Ljava/awt/peer/FramePeer;+5
j java.awt.Frame.addNotify()V+20
j javax.swing.SwingUtilities$SharedOwnerFrame.addNotify()V+1
j java.awt.Window.addNotify()V+24
j java.awt.Window.show()V+8
j util.ui.UiUtilities.centerAndShow(Ljava/awt/Window;)V+150
j tvbrowser.ui.splashscreen.SplashScreen.showSplash()V+1
j tvbrowser.TVBrowser.main([Ljava/lang/String;)V+716
v ~StubRoutines::call_stub
System Info:
Code: Alles auswählen
--------------- S Y S T E M ---------------
OS:4.0
uname:Linux 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.37 0.37 0.26
CPU:total 1 amd64 3dnow
Memory: 4k page, physical 2060416k(1051584k free), swap 1991956k(1991956k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105) for linux-amd64, built on Nov 29 2006 01:44:03 by "uucp" with gcc 3.2.2 (SuSE Linux)
The sys-info is missing my graphics card, ATI X1950Pro chipset with proprietary ubuntu drivers.
I am able to run TV-Browser in normal, non-XGL Gnome, but it also crashes with the same output when again trying to set either XToolkit or MToolkit.
Can anybody help? Might it be a 64bit problem I need to report somewhere (Ubuntu or Sun)? Thanks in advance.
Verfasst: 02 Jun 2007, 15:07
von Gast
Well, the problem seems to be the AMD64 distribution of Java6, as far as I could figure out.
Setting the default JRE to Java 1.5 via update-java-alternatives and using the above mentioned export, TV-Browser finally works.
Just thought I document this in case others have the same problem.
See you.
Verfasst: 12 Sep 2007, 23:24
von Gast
I got the same problem with amd64: it crashes the vm.