I don't know whether this is an xorg problem or a sun problem as I
haven't reviewed it more than the simple test case that Dan had dug up.
Anyway, the binary JDK failed, the source-built passed, or at least
didn't display the assertion, I just realized I didn't check the return
value...shouldn't matter.
Below is the abridged version of the tests (minus ls/pwd to figure out
where the heck I was, and missed tab completions) after I finally got
Xinerama working with my POS Radeon.
For the binary crowd, is it really OK to sed out Xinerama in the
distributed one? Or, should I look at building a replacement libmawt?
-- DJ Lucas
[EMAIL PROTECTED] X11]# xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 70200000
X.Org version: 7.2.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0xa0000d, revert to PointerRoot
number of extensions: 30
BIG-REQUESTS
DAMAGE
DEC-XTRAP
DPMS
Extended-Visual-Information
GLX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XAccessControlExtension
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1not saying
screen #0:
print screen: no
dimensions: 2800x1050 pixels (640x240 millimeters)
resolution: 111x111 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x66
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xd2001d
KeyPressMask ButtonPressMask
ButtonReleaseMask
EnterWindowMask StructureNotifyMask
SubstructureRedirectMask
PropertyChangeMask ColormapChangeMask
number of visuals: 8
default visual id: 0x23
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
[EMAIL PROTECTED] X11]# cd /home/dj
[EMAIL PROTECTED] dj]# mkdir testcase
[EMAIL PROTECTED] dj]# cd testcase
[EMAIL PROTECTED] testcase]# echo $JAVA_HOME
/opt/jdk/jdk
[EMAIL PROTECTED] testcase]# echo $CLASSPATH
.:/usr/share/junit-4.1/junit-4.1.jar:/usr/share/junit-4.1
[EMAIL PROTECTED] testcase]# ls -l /opt/jdk/jdk
lrwxrwxrwx 1 root root 7 2007-06-25 21:53 /opt/jdk/jdk -> jdk-6u1
[EMAIL PROTECTED] testcase]# ls
[EMAIL PROTECTED] testcase]# cat > Hello.java << EOF
> import java.awt.*;
>
> public class Hello extends Frame {
> public static void main(String argv[])
> {
> new Hello();
> }
> Hello() {
> Label hello = new Label("Hello World");
> //add(hello, "Center");
> //setSize(200, 200);
> //setVisible(true);
> }
> }
> EOF
[EMAIL PROTECTED] testcase]# javac Hello.java
[EMAIL PROTECTED] testcase]# ls
Hello.class Hello.java
[EMAIL PROTECTED] testcase]# java Hello
[EMAIL PROTECTED] testcase]# rm Hello.class
[EMAIL PROTECTED] testcase]# cd /opt/jdk/
[EMAIL PROTECTED] jdk]# rm jdk
[EMAIL PROTECTED] jdk]# ln -s ./jdk-bin-6u1 jdk
[EMAIL PROTECTED] jdk]# ls -l jdk
lrwxrwxrwx 1 root root 13 2007-06-26 23:05 jdk -> ./jdk-bin-6u1
[EMAIL PROTECTED] jdk]# cd /home/dj/testcase/
[EMAIL PROTECTED] testcase]# ls
Hello.java
[EMAIL PROTECTED] testcase]# javac Hello.java
[EMAIL PROTECTED] testcase]# java Hello
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted
[EMAIL PROTECTED] testcase]#
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page