Test Results for Xinerama and JDK6

DJ Lucas dj at linuxfromscratch.org
Tue Jun 26 16:38:55 PDT 2007


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

[root at NAME25 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
[root at NAME25 X11]# cd /home/dj
[root at NAME25 dj]# mkdir testcase
[root at NAME25 dj]# cd testcase
[root at NAME25 testcase]# echo $JAVA_HOME
/opt/jdk/jdk
[root at NAME25 testcase]# echo $CLASSPATH
.:/usr/share/junit-4.1/junit-4.1.jar:/usr/share/junit-4.1
[root at NAME25 testcase]# ls -l /opt/jdk/jdk
lrwxrwxrwx 1 root root 7 2007-06-25 21:53 /opt/jdk/jdk -> jdk-6u1
[root at NAME25 testcase]# ls
[root at NAME25 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
[root at NAME25 testcase]# javac Hello.java
[root at NAME25 testcase]# ls
Hello.class  Hello.java
[root at NAME25 testcase]# java Hello
[root at NAME25 testcase]# rm Hello.class
[root at NAME25 testcase]# cd /opt/jdk/
[root at NAME25 jdk]# rm jdk
[root at NAME25 jdk]# ln -s ./jdk-bin-6u1 jdk
[root at NAME25 jdk]# ls -l jdk
lrwxrwxrwx 1 root root 13 2007-06-26 23:05 jdk -> ./jdk-bin-6u1
[root at NAME25 jdk]# cd /home/dj/testcase/
[root at NAME25 testcase]# ls
Hello.java
[root at NAME25 testcase]# javac Hello.java
[root at NAME25 testcase]# java Hello
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted
[root at NAME25 testcase]#





More information about the blfs-dev mailing list