You are not logged in.

#1 2006-11-09 15:21:54

Merlin615
Member
From: Colfax, WI
Registered: 2006-11-08
Posts: 6

Java Blank

I've installed KDE and JAVA 1.5 which works great, but running Beryl causes all my java windows to come up with nothing in them.  Any suggestions on how to fix it?  Thanks.

Offline

#2 2006-12-21 03:22:30

QuimaxW
Member
From: Waukesha, WI
Registered: 2006-12-03
Posts: 218

Re: Java Blank

I followed the Beryl wiki to use AIGLX.  Beryl work beautifully on my 915G mobile chipset. smile

However, after enabling the "Composite" line (I think that's the culprit), java & flash show blank.  They seem to be working, like I can push buttons, but I'm unable to see what I'm doing.

 My xorg.conf:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option         "AIGLX" "true"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "dri"
	Load  "freetype"
	Load  "type1"
#	Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
       Option     "DRI"  "true"              	# [<bool>]
	Option	   "XAANoOffscreenPixmaps" "true"
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	#SubSection "Display"
	#	Viewport   0 0
	#	Depth     1
	#EndSubSection
	#SubSection "Display"
	#	Viewport   0 0
	#	Depth     4
	#EndSubSection
	#SubSection "Display"
	#	Viewport   0 0
	#	Depth     8
	#EndSubSection
	#SubSection "Display"
	#	Viewport   0 0
	#	Depth     15
	#EndSubSection
	#SubSection "Display"
	#	Viewport   0 0
	#	Depth     16
	#EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

I'm running an up to date system...(it just started telling me 0.8 when I'm booting!)

If anyone has any ideas...of if there are other files I need to post.[/code]

Offline

#3 2006-12-21 04:06:53

QuimaxW
Member
From: Waukesha, WI
Registered: 2006-12-03
Posts: 218

Re: Java Blank

And one more bit of information...I believe it has to do directly with Beryl.

1) Open jacman, it shows up blank.
2) Using the beryl-manager (which is already running), switch the window manager to KWin
YEA!  jacman buttons show up.
3) Switch back to the beryl window manager & the jacman buttons continue to work until I close and reopen, then I have to repeat this process all over again.

This doesn't seem to solve the flash problems, just the java.  I thought it was worth noting though.

Offline

#4 2006-12-21 12:02:40

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Java Blank

i duno if there was a fix fr runnign java in a compositing environment, but a quick way round it would be to xnest ur java app...

Xnest [ ...]

sorry if command not found, i can't remember which pkg distributses that command...
one of the ^xorg- i thin


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#5 2006-12-21 19:32:14

QuimaxW
Member
From: Waukesha, WI
Registered: 2006-12-03
Posts: 218

Re: Java Blank

I figured out how to run Xnest :1  It appears to start a server, but for the life of me, I can't figure out how to run an app inside that display. (Pathetic, aren't I?)

Offline

#6 2006-12-21 20:19:04

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Java Blank

sorry forgot to drop a suggestion as to how to go about this...
here ya go .... if i remember it correctly ...

Xnest :1 & DISPLAY=:1 /usr/bin/java_app

The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

Board footer

Powered by FluxBB