XF3.1.1/Mach64 tries to create depth 0 GC?

XF3.1.1/Mach64 tries to create depth 0 GC?

Post by Scott Blachowi » Wed, 15 Feb 1995 13:43:44



Hi-

This gets kinda long, but...I'm just trying to upgrade to XFree86 3.1.1
and the XF86_Mach64 server against my Winturbo card.  I'm running Linux
(1.1.90 at the moment).  I ran 'xf86config' to generate a config file (&
edited it a little after things didn't work).  I added a '-x' option to
the #!/bin/sh line in startx and put an 'strace' on the 'xinit' run in a
feeble attempt to try to figure out what's going on.  The basic problem
seems to be that the X server generates this error:

    mach64CreateGC: unsupported depth: 0

    Fatal server error:
    Caught signal 11.  Server aborting

[Perhaps I should be the 'strace' on the server.]  I don't know what's
going on with a 'depth: 0' GC...anyone got any ideas?

Appended is my XF86Config file (with some comments removed) & my 'startx'
output.

==================== Start of XF86Config
# File generated by xf86config.

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
    Protocol    "Standard"
    AutoRepeat  500 5
EndSection

Section "Pointer"
    Protocol    "Microsoft"
    Device      "/dev/mouse"

    Emulate3Buttons
#    ChordMiddle
EndSection

Section "Monitor"
    Identifier  "CTX 1765GM"
    VendorName  "CTX"
    ModelName   "1765GM"

# Bandwidth is in MHz unless units are specified

#    Bandwidth  25.2

    HorizSync   30-65
    VertRefresh 50-110
# 640x400 @ 70 Hz, 31.5 kHz hsync
Modeline "640x400"     25.175 640  664  760  800   400  409  411  450
# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600"     36     800  824  896 1024   600  601  603  625
# 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync
Modeline "1024x768"    44.9  1024 1048 1208 1264   768  776  784  817 Interlace

# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline "640x480"     31.5   640  680  720  864   480  488  491  521
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync

# 800x600 @ 72 Hz, 48.0 kHz hsync
Modeline "800x600"     50     800  856  976 1040   600  637  643  666 +hsync +vsync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync -vsync

# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
# 1280x1024 @ 87 Hz interlaced, 51 kHz hsync
Modeline "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165 Interlace

# 1024x768 @ 76 Hz, 62.5 kHz hsync
Modeline "1024x768"    85    1024 1032 1152 1360   768  784  787  823
# 1280x1024 @ 61 Hz, 64.2 kHz hsync
Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054

# 1280x1024 @ 74 Hz, 78.85 kHz hsync
Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064

# Low-res Doublescan modes
# If your chipset does not support doublescan, you get a 'squashed'
# resolution like 320x400.

# 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio
Modeline "320x200"     12.588 320  336  384  400   200  204  205  225 Doublescan
# 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio
Modeline "320x240"     12.588 320  336  384  400   240  245  246  262 Doublescan
# 320x240 @ 72 Hz, 36.5 kHz hsync
Modeline "320x240"     15.750 320  336  384  400   240  244  246  262 Doublescan
# 400x300 @ 56 Hz, 35.2 kHz hsync, 4:3 aspect ratio
ModeLine "400x300"     18     400  416  448  512   300  301  602  312 Doublescan
# 400x300 @ 60 Hz, 37.8 kHz hsync
Modeline "400x300"     20     400  416  480  528   300  301  303  314 Doublescan
# 400x300 @ 72 Hz, 48.0 kHz hsync
Modeline "400x300"     25     400  424  488  520   300  319  322  333 Doublescan
# 480x300 @ 56 Hz, 35.2 kHz hsync, 8:5 aspect ratio
ModeLine "480x300"     21.656 480  496  536  616   300  301  302  312 Doublescan
# 480x300 @ 60 Hz, 37.8 kHz hsync
Modeline "480x300"     23.890 480  496  576  632   300  301  303  314 Doublescan
# 480x300 @ 63 Hz, 39.6 kHz hsync
Modeline "480x300"     25     480  496  576  632   300  301  303  314 Doublescan
# 480x300 @ 72 Hz, 48.0 kHz hsync
Modeline "480x300"     29.952 480  504  584  624   300  319  322  333 Doublescan

EndSection

Section "Device"
    Identifier  "Generic VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Chipset     "generic"

#    VideoRam   256

#    Clocks     25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "ATI WinTurbo"
    VendorName  "ATI"
    BoardName   "WinTurbo"
    #VideoRam    2048
    Clocks  50.35  56.64  63.00  72.00  40.00  44.90  49.50  50.00
    Clocks   0.00 110.00 126.00 135.00   0.00  80.00  75.00  65.00
    Clocks  25.18  28.32  31.50  36.00  20.00  22.45  24.75  25.00
    Clocks   0.00  55.00  63.00  67.50   0.00  40.00  37.50  32.50
EndSection

Section "Screen"
    Driver      "svga"
    Device      "Generic VGA"
    #Device      "ATI WinTurbo"
    Monitor     "CTX 1765GM"
    Subsection "Display"
        Depth       8
        #Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
        Virtual     320 200
        #Virtual     1280 1024
    EndSubsection
EndSection

Section "Screen"
    Driver      "vga16"
    Device      "Generic VGA"
    Monitor     "CTX 1765GM"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

Section "Screen"
    Driver      "vga2"
    Device      "Generic VGA"
    Monitor     "CTX 1765GM"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64)

Section "Screen"
    Driver      "accel"
    Device      "ATI WinTurbo"
    Monitor     "CTX 1765GM"
    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

==================== End of XF86Config

==================== Begin 'startx' output:
+ userclientrc=/root/.xinitrc
+ userserverrc=/root/.xserverrc
+ sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
+ sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
+ clientargs=
+ serverargs=
+ [ -f /root/.xinitrc ]
+ [ -f /usr/X11R6/lib/X11/xinit/xinitrc ]
+ clientargs=/usr/X11R6/lib/X11/xinit/xinitrc
+ [ -f /root/.xserverrc ]
+ [ -f /usr/X11R6/lib/X11/xinit/xserverrc ]
+ whoseargs=client
+ [ x != x ]
+ strace xinit /usr/X11R6/lib/X11/xinit/xinitrc --
uselib("/lib/ld.so") = 0
stat("/etc/ld.so.cache", {dev 3 4 ino 26734 mode 0100644 nlink 1 uid 0 gid 0 size 468 ...}) = 0
open("/etc/ld.so.cache", RDONLY) = 3
mmap(0, 468, READ, SHARED, 3, 0) = 0x50000000
close(3) = 0
uselib("/usr/X11/lib/libX11.so.6.0") = 0
uselib("/lib/libc.so.4.5.26") = 0
munmap(0x50000000, , 468, ) = 0
munmap(0x62f00000, , 16384, ) = 0
brk(0) = 0x3000
access("/root/.xserverrc", 0) = -1 (No such file or directory)
brk(0x6000) = 0x6000
brk(0x7000) = 0x7000
sigaction(SIGQUIT, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
sigaction(SIGINT, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
sigaction(SIGHUP, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
sigaction(SIGPIPE, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
sigaction(SIGALRM, {0x2f4, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
sigaction(SIGUSR1, {0x314, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
fork() = 169
wait4(169, 0x2340, 0x1, 0) = 0
write(2, "\n", 1
) = 1
alarm(15) = 0
pause(
XFree86 Version 3.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: Linux
Configured drivers:
  Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0)
(using VT number 7)

) (RESTARTNOHAND)
 - [SIGUSR1]
sigaction(SIGUSR1, {0x314, [], INTERRUPT|NOMASK|ONESHOT}, SIG_DFL) = 0
sigreturn([QUIT ILL FPE SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH LOST 30 32], 0xbffffc8c, 0) = -1 (Interrupted system call)
alarm(0) = 14
brk(0x8000) = 0x8000
brk(0x9000) = 0x9000
brk(0xa000) = 0xa000
brk(0xb000) = 0xb000
socket(PF_UNIX, STREAM, 0) = 3
connect(3, AF_UNIX(/tmp/.X11-unix/X0), 19XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: Microsoft, device: /dev/mouse, baudrate: 1200,
       3 button emulation
(**) Mach64: Graphics device ID: "ATI WinTurbo"
(**) Mach64: Monitor ID: "CTX 1765GM"
(--) Mach64: 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/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(--) Mach64: card type: PCI
(**) Mach64: Number of Clocks: 32
(**) Mach64: clocks:  50.35  56.64  63.00  72.00  40.00  44.90  49.50  50.00
(**) Mach64: clocks:   0.00 110.00 126.00 135.00   0.00  80.00  75.00  65.00
(**) Mach64: clocks:  25.18  28.32  31.50  36.00  20.00  22.45  24.75  25.00
(**) Mach64: clocks:   0.00  55.00  63.00  67.50   0.00  40.00  37.50  32.50
(--) Mach64: Maximum allowed dot-clock: 80.000 MHz
(**) Mach64: Mode "640x480": mode clock =  31.500, clock used =  31.500
(**) Mach64: Mode "800x600": mode clock =  36.000, clock used =  36.000
(**) Mach64: Mode "1024x768": mode clock =  44.900, clock used =  44.900
(**) Mach64: Mode "1280x1024": mode clock =  80.000, clock used =  80.000
(**) Mach64: Virtual resolution: 1280x1024
(--) Mach64: videoram: 2048k
(--) Mach64: Using hardware cursor
(--) Mach64: Using 4 MB aperture
(--) Mach64: Ramdac is ATI-68875/TLC34075/Bt885
(--) Mach64: Using 6 bits per RGB value
(--) Mach64: Aperture mapped to 0x7c000000
(--) Mach64: Pixmap cache: 1 256x256 slots, 2 128x128 slots, 8 64x64 slots
(--) Mach64: Font cache: 16 fonts
mach64CreateGC: unsupported depth: 0

Fatal server error:
Caught signal 11.  Server aborting

) = 0
 - [SIGCHLD]
brk(0xc000) = 0xc000
uname({Linux, sabimi, 1.1.90, #1 Sat Feb 11 11:10:21 PST 1995, i586}) = 0
fcntl(3, SETFD, 0x1) = 0
access("/root/.Xauthority", 04) = -1 (No such file or directory)
write(3, "l\0\b\0\0\0\0\0\0\0\0\0", 12) = -1 (Broken pipe)
 - [SIGPIPE]
sigaction(SIGQUIT, SIG_IGN, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}) = 0
sigaction(SIGINT, SIG_IGN, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}) = 0
sigaction(SIGHUP, SIG_IGN, {0x2a4, [], INTERRUPT|NOMASK|ONESHOT}) = 0
sigaction(SIGPIPE, SIG_IGN, SIG_DFL) = 0
write(2, "xinit:  ", 8xinit:  ) = 8
stat("/etc/locale/C/libc.cat", 0xbffff674) = -1 (No such file or directory)
stat("/usr/lib/locale/C/libc.cat", 0xbffff674) = -1 (No such file or directory)
stat("/usr/lib/locale/libc/C", 0xbffff674) = -1 (No such file or directory)
write(2, "No such file or directory (errno".., 38No such file or directory (errno 2):  ) = 38
write(2, "unexpected signal 13\r\n", 22unexpected signal 13
) = 22
kill(-169, SIGTERM) = 0
wait4(169, SIGNALED(ABRT), NOHANG, NULL) = 169
write(2, "\r\n", 2
) = 2
fstat(1, {dev 0 0 ino 0 mode 010600 nlink 1 uid 0 gid 0 size 1064 ...}) = 0
brk(0xd000) = 0xd000
exit(1) = ?

Thanx...
--
Scott Blachowicz    Ph: 206/283-8802x240    StatSci, a div of MathSoft, Inc.
                                            1700 Westlake Ave N #500
sc...@statsci.com                           Seattle, WA USA   98109
Scott.Blachow...@seaslug.org

 
 
 

1. Diamond Stealth 64 dot-clocks found in windows not XF3.1.1

Hi,

I have a Diamond Stealth 64dram (2MB) card hooked up to an cheapo SVGA
monitor.  I can run this configuration at 1024x768 interlaced using
windows 3.1 - but I cannot get the card to drive the monitor at
1024x768 interlaced using XFree (3.1.1) unless I first boot up windows
and the warm-boot the system into linux -- otherwise it drops down to
800x600.

The debug information that XFree spews out as starts indicates that it
can't find a proper dot-clock to support 1024x768 - but once I warm
boot into linux from windows -- then it does find the right dot clock.
Attempting to set the Clocks line of the XFConfig file to the the
dot-clock that XF said it was using (from the debug info) when it was
working at 1024x768 results in an unreadable skewed display.  Looks
like it doesn't quite sync up right.

I used to be able to run at 1024x768 using my OLD trident card -
without problems.

I would blame the cheapo monitor -- but I know that if I warm boot
from windows it will work properly - so I figure that the diamond
windows drivers are initallizing the card in some way that Xfree
doesn't know about.

Can someone point me to a utility program that I can use to probe the
card a bit more effectively to set(find) the right dot-clocks ?  

Thanks in Advance!

Vince

--
Vince Taluskie

UNIX Systems Administration   http://www.ph.utexas.edu/~taluskie/home.html

 "Be careful lest in casting out the devils you cast out the best thing
                           that's in you"  --Nietzsche

2. Open Source fingerprint readers drivers for Linux?

3. #9 motion 531 success xf3.1.1

4. PNP Modem with FreeBSD

5. XF2.1.1 to XF3.1: experience wanted

6. Unix vs Windows NT

7. W32p rev D/XF3.1.1 == Vert. Stripes?!

8. Wierd Cd-rom Problem? Any suggestions?

9. no colors in XF3.1.1

10. Slackware release of XF3.1.1

11. Strange XF3.1.1/X_W32/Xdm problem

12. XF3.1.1 - can get back to text VT's

13. how to use XF3.1 server with XF2.1.1