Received: (at submit) by bugs.debian.org; 9 Dec 1996 10:16:00 +0000 Received: (qmail 32003 invoked from network); 9 Dec 1996 10:15:58 -0000 Received: from undergrad.math.uwaterloo.ca (root@129.97.204.13) by master.debian.org with SMTP; 9 Dec 1996 10:15:57 -0000 Received: from dataum.uwaterloo.ca (root@cnts6p16.uwaterloo.ca [129.97.17.16]) by undergrad.math.uwaterloo.ca (8.7.6/8.7.3) with SMTP id EAA15244 for ; Mon, 9 Dec 1996 04:59:13 -0500 (EST) Received: by dataum.uwaterloo.ca id (Debian /\oo/\ Smail3.1.29.1 #29.37); Sun, 8 Dec 96 18:30 EST Message-Id: From: cpcallen@undergrad.math.uwaterloo.ca (Christopher Allen) Subject: XF86_Mono does not display text properly on a Hercules (mono) card. To: submit@bugs.debian.org Date: Sun, 8 Dec 1996 18:30:56 -0500 (EST) X-Mailer: ELM [version 2.4 PL24 PGP2] Content-Type: text Organization: datum.uwaterloo.ca remote POP mail services Package: xserver-mono Version: 3.1.2-5 I have a Juko G8 monochrome graphics card, which is an (enhanced) clone of the Hercules monochrome card. That is, it is of the really old sort, driving a TTL-level monitor at a resolution of 720x348. When running debian's version of XF86_Mono, text is not displayed properly on the screen. The letters are correctly formed, but are not located in the correct location. Graphics are otherwise displayed correctly: window borders, icons, images, etc. are all fine. Lines of text are displayed in various locations on the screen, with no apparent correlation to where they are supposed to be. For example, the title 'xterm' on a window might appear in the middle of the window, while the prompt might appear near the lower right-hand corner of the window, and subsequent text outside the window. I did not have this problem with a previous version of the mono X server which came with slackware. Sadly, I do not know what version it was, but it was not significantly older than this one. A second, and I suspect, related bug is that the server crashes just after the login dialog is displayed when it is run by xdm. This also did not occur with the older server. I have included a transcript of what happens when I type 'xdm -debug 10' below, as well as a copy of my XF86Config file. Please note that the autoconfig tool which came with the X package did not have appropriate entries for my card or monitor, so I have hacked them together by hand. This may explain both the above problems, but extensive hand-twiddling of this config file has produced no result which is distinguishable from the ones described above. I have a debian 1.1 (elf) system, libc version 5.2.18, Kernel version 2.0.6, running on an i486 / VESA bus system. The problems reported were also exhibited under Debinan ~0.98 (with a.out libc, kenrel, and xserver), but were not reported. I have a Juko Electronics Industrial Co. "G8" graphics card, driving a TTL monochrome monitor, with no other graphics cards in the system. ---------- DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /var/log/xdm-errors DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.pidFile/DisplayManager.PidFile value /var/run/xdm-pid DisplayManager.lockPidFile/DisplayManager.LockPidFile value true DisplayManager.authDir/DisplayManager.authDir value /var/lib/xdm DisplayManager.autoRescan/DisplayManager.AutoRescan value true DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true DisplayManager.keyFile/DisplayManager.KeyFile value /etc/X11/xdm/xdm-keys DisplayManager.accessFile/DisplayManager.AccessFile value /etc/X11/xdm/Xaccess DisplayManager.exportList/DisplayManager.ExportList value DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/X11R6/lib/X11/xdm/libXdmGreet.so DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 creating socket 177 Created chooser socket 5 Found new display: :0 Hercules-mono local /usr/X11R6/bin/X :0 StartDisplay :0 DisplayManager._0.serverAttempts/DisplayManager.Hercules-mono.ServerAttempts value 1 DisplayManager._0.openDelay/DisplayManager.Hercules-mono.OpenDelay value 15 DisplayManager._0.openRepeat/DisplayManager.Hercules-mono.OpenRepeat value 5 DisplayManager._0.openTimeout/DisplayManager.Hercules-mono.OpenTimeout value 120 DisplayManager._0.startAttempts/DisplayManager.Hercules-mono.StartAttempts value 4 DisplayManager._0.pingInterval/DisplayManager.Hercules-mono.PingInterval value 5 DisplayManager._0.pingTimeout/DisplayManager.Hercules-mono.PingTimeout value 5 DisplayManager._0.terminateServer/DisplayManager.Hercules-mono.TerminateServer value false DisplayManager._0.grabServer/DisplayManager.Hercules-mono.GrabServer value false DisplayManager._0.grabTimeout/DisplayManager.Hercules-mono.GrabTimeout value 3 DisplayManager._0.resetSignal/DisplayManager.Hercules-mono.Signal value 1 DisplayManager._0.termSignal/DisplayManager.Hercules-mono.Signal value 15 DisplayManager._0.resetForAuth/DisplayManager.Hercules-mono.ResetForAuth value false DisplayManager._0.authorize/DisplayManager.Hercules-mono.Authorize value true DisplayManager._0.authComplain/DisplayManager.Hercules-mono.AuthComplain value true DisplayManager._0.authName/DisplayManager.Hercules-mono.AuthName value MIT-MAGIC-COOKIE-1 DisplayManager._0.authFile/DisplayManager.Hercules-mono.AuthFile value SetLocalAuthorization :0, auth MIT-MAGIC-COOKIE-1 GenerateAuthorization MIT-MAGIC-COOKIE-1 Got 0x801b580 (18 MIT-MAGIC-COOKIE-1) 47 2f 1d 23 18 19 18 3a 6f 7f 78 24 7c 4f 74 65 File: /var/lib/xdm/authdir/authfiles/A:0-a00929 auth: 8020e60 StartServer for :0 Server Started 930 '/usr/X11R6/bin/X' ':0' '-auth' '/var/lib/xdm/authdir/authfiles/A:0-a00929' display manager paused til SIGUSR1 DisplayManager._0.resources/DisplayManager.Hercules-mono.Resources value /etc/X11/xdm/Xresources_0 DisplayManager._0.xrdb/DisplayManager.Hercules-mono.Xrdb value /usr/X11R6/bin/xrdb DisplayManager._0.setup/DisplayManager.Hercules-mono.Setup value /etc/X11/xdm/Xsetup_0 DisplayManager._0.startup/DisplayManager.Hercules-mono.Startup value /etc/X11/xdm/Xstartup_0 DisplayManager._0.reset/DisplayManager.Hercules-mono.Reset value /etc/X11/xdm/Xreset_0 DisplayManager._0.session/DisplayManager.Hercules-mono.Session value /etc/X11/Xsession DisplayManager._0.userPath/DisplayManager.Hercules-mono.Path value /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games DisplayManager._0.systemPath/DisplayManager.Hercules-mono.Path value /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 DisplayManager._0.systemShell/DisplayManager.Hercules-mono.Shell value /bin/sh DisplayManager._0.failsafeClient/DisplayManager.Hercules-mono.FailsafeClient value /usr/X11R6/bin/xterm DisplayManager._0.userAuthDir/DisplayManager.Hercules-mono.UserAuthDir value /tmp DisplayManager._0.chooser/DisplayManager.Hercules-mono.Chooser value /usr/X11R6/lib/X11/xdm/chooser Before XOpenDisplay(:0) XFree86 Version 3.1.2 / X Window System (protocol Version 11, revision 0, vendor release 6001) Operating System: Linux Configured drivers: VGA2: server for monochrome VGA (Patchlevel 0): et4000, et4000w32, et4000w32i, et4000w32p, et3000, pvga1, wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, vgawonder, tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga9000, clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430, clgd5434, clgd5436, clgd6205, clgd6215, clgd6225, clgd6235, ncr77c22, ncr77c22e, cpq_avga, oti067, oti077, oti087, cl6410, cl6412, cl6420, cl6440, generic MONO: server for interlaced and banked monochrome graphics adaptors (Patchlevel 0): hgc1280, sigmalview, apollo9, hercules (using VT number 7) XF86Config: /usr/X11R6/lib/X11/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) Mouse: type: MouseSystems, device: /dev/mouse, baudrate: 1200 (**) MONO: Graphics device ID: "juko" (**) MONO: Monitor ID: "monochrome" (**) 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/" (--) MONO: chipset: hercules (**) MONO: videoram: 64k After XOpenDisplay(:0) ManageSession :0 Loading resource file: /etc/X11/xdm/Xresources_0 greet :0 SecureDisplay :0 Before XGrabServer :0 XGrabKeyboard succeeded :0 pseudoReset screen 0 before XSync pseudoReset done done secure :0 source /etc/X11/xdm/Xsetup_0 dispatching :0 Fatal server error: Caught signal 11. Server aborting xdm error (pid 929): fatal IO error 2 (Broken pipe) X connection to :0.0 broken (explicit kill or server shutdown). ---------- Here is my XF86Config file. Most comments have been excised for brevity. ---------- # File generated by xf86config. # Edited by cpcallen 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" # NoTrapSignals # DontZap # DontZoom EndSection Section "Keyboard" Protocol "Standard" # Protocol "Xqueue" AutoRepeat 500 5 # ServerNumLock # Xleds 1 2 3 EndSection Section "Pointer" Protocol "MouseSystems" Device "/dev/mouse" # Protocol "Xqueue" # BaudRate 9600 # SampleRate 150 # Emulate3Buttons # Emulate3Timeout 50 # ChordMiddle EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "monochrome" VendorName "Packard Bell" ModelName "PB 1272A" HorizSync 18.432 # I looked this up. xmono dosn't seem to care. VertRefresh 50 # ditto # modelines deleted, as they seem to be ignored... EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present Section "Device" Identifier "juko" VendorName "Juko Electronics" BoardName "G8" VideoRam 64 # xf86config didn't belive me! # had to enter by hand. Made no difference. EndSection # ********************************************************************** # Screen sections # ********************************************************************** # The Mono server Section "Screen" Driver "mono" Device "juko" Monitor "monochrome" # I tried adding a chipset line here, but to no avail. Subsection "Display" Modes "720x348" EndSubsection EndSection ---------- Any assistance in solving this problem would be greatly appreciated, as I cannot currently use X, and this is most frustrating. I would be happy to test any bug fixes. Thanks. -- +-- Christopher Allen -----------------------+ .-===""===- c==== . |email: cpcallen@undergrad.math.uwaterloo.ca | . \ \____}} |snail: Christopher Allen, N2L 3G6 | . * @====-' . +--------------------------------------------+ . *