Sol2.2, Direct XLib 2.0 doesn't draw Arcs?

Sol2.2, Direct XLib 2.0 doesn't draw Arcs?

Post by Himanshu Goh » Thu, 11 Nov 1993 10:53:48



Environment: Solaris 2.2 (w/mandatory + XView Jumbo patch + others)

I've enabled Direct XLib 2.0 for my entire desktop by setting the
LD_LIBRARY_PATH to look at the SUNWdxlib first, and then the OW libs.

My application is written in XView and uses Xlib calls to render the
graphics.

When I run the program with Direct XLib enabled, the program doesn't
draw any arcs (XDrawArc), but seems to have no problem with Lines, Points
or Segments.  Note that the program doesn't crash or anything, it just
doesn't draw the arcs and pretends nothing is wrong!

When I run the same program after disabling Direct XLib 2.0 by using,
        setenv DIRECTX_DISABLE 1
then the program behaves as expected, and draws the arcs.

Has anyone had similar problems?  I looked at Sunsite.unc.edu to find
patches, but all I found was this one for Direct Xlib 1.2 (OW 3.0).

---

Computer Graphics and Geometric Modeling Research Group
U of South Florida, Tampa, FL 33620

 
 
 

1. 'Cirrus Logic 5436/5446 PCI Direct Draw'

Hi.

I have a PC with the video card mentioned above (1M ram) - but I can't get
X to
work on it. My Linux is 1.2.8, if that makes any difference.

I made a typescript of the output from startx (see below) - I have clue
about what
I should do to remedy this. I'll be deeply grateful if somebdy could help.
And if
you could give me a pointer or two about which books to get in order to
become
a competent X developer etc, I'd be even gladder :-)

Output from startx:

XFree86 Version 3.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: Linux
Configured drivers:
  SVGA: server for 8-bit colour SVGA (Patchlevel 0):
      et4000, et4000w32, et4000w32i, et4000w32p, et3000, pvga1, wd90c00,
      wd90c10, wd90c30, wd90c31, wd90c33, gvga, vgawonder, tvga8800cs,
      tvga8900b, tvga8900c, tvga8900cl, tvga9000, clgd5420, clgd5422,
      clgd5424, clgd5426, clgd5428, clgd5429, clgd5430, clgd5434, clgd6205,
      clgd6215, clgd6225, clgd6235, ncr77c22, ncr77c22e, cpq_avga, oti067,
      oti077, oti087, mx, al2101, ali2228, ali2301, ali2302, ali2308,
      ali2401, cl6410, cl6412, cl6420, cl6440, video7, ct65520, ct65530,
      ct65540, ct65545, generic
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: Microsoft, device: /dev/mouse, baudrate: 1200,
       Chorded middle button
(**) SVGA: Graphics device ID: "Actix ProStar 64"
(**) SVGA: Monitor ID: "My Monitor"
(--) SVGA: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/l
ib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font
s/100dpi/"
Unknown Cirrus chipset: type 0x2b, rev 0
(--) SVGA: chipset:  generic
(--) SVGA: videoram: 64k
(--) SVGA: clocks:  25.18
SVGA: Too little memory for virtual resolution 1152 900

 *** A configured device found, but display modes could not be resolved.***

Fatal server error:
no screens found
xinit:  No such file or directory (errno 2):  unexpected signal 13

2. malloc debugging packages

3. Sun's direct Xlib

4. Redhat-4.2, xdm and PAM

5. sysinstall doesn't draw character lines in gnome-terminal

6. Tools using uerf error logging information (Ultrix)

7. Please help - Xlib doesn't respond ???

8. Sun not booting up

9. Sol2.4 vold doesn't recognize CDs anymore

10. getpwnam_r() doesn't seem to be MT-SAFE in Sol2.4...

11. sendmail doesn't work with MX record on Sol2.5.1

12. How to draw a pixmap with Xlib?

13. Full screen drawing in Xlib/GDK?