Re: [Xpert]Full-screen DGA problem with s3virge, XFree86 4.1.0.1

2002-01-08 Thread Kevin Brosius

Peter Kaminski wrote:
 
 
 I'm running XFree86 4.1.0.1 on Debian 2.4.13 (woody).  I've got a S3
 Trio3D/2X  (86C368) card, and I'm running the s3virge driver.
 
 DGA full-screen doesn't seem to work, with either Tombs' dga test utility,
 or with VMware 3.0 (Debian host, Win98 guest with VMware Tools).  I've
 tried 15- and 16-bit 1024x768 modes.  I'd appreciate any suggestions or
 guidance on how to debug it further or get it to work.
 
 The DGA extension is being loaded -- no omit-DGA directive, and it appears
 to be loading in the log:
 
 snip
 (II) Loading extension XFree86-DGA
 snip
 S3VDGAInit
 S3VDGAInit firstone vpWid=1024, vpHgt=768, Bpp=2, mdbitsPP=16
 snip
 
 When I run the dga util, nothing happens visually to the screen, no matter
 which keys I push.  It runs very slowly, too -- if I press q right after
 running it, it takes about 5 seconds to quit.  Pushing more keys adds more
 seconds.  If I push b then q right after running it, it returns (after
 about 11 seconds):
 
 1 addr:0x4022a000, width 1024, bank size 4194304, depth 15 planes
 Framebuffer write speed: 1083K/s
 Framebuffer write speed: 909K/s
 
 When I run VMware, nothing happens to the screen, and I get a register dump
 in the logs:
 
  S3VMdInit - cr3a: 91 (probe)
  S3VMdInit - cr3a: 91 (new)
 S3VModeInit dclk=78800
 S3VInitSTREAMS
 S3VWriteMode
 S3VGEReset sub_stat=1100b000
  S3VWrMode - cr3a: 91 (set 3a)
  S3VWrMode - restoring cr3a: 91 (adding 0x80)
 S3VGEReset sub_stat=1100b000
 (II) S3VIRGE(0): ViRGE driver: done restoring mode, dumping CR registers:
 (II) S3VIRGE(0): START register dump --
 Misc Out[3CC]
2f
 
 CR[00-2f]
9f 7f 7f 82  82 8e 1e f5  00 60 00 00  00 00 00 00
01 24 ff 00  00 ff 1e c3  ff ff ff ff  ff ff ff ff
ff 00 00 00  00 00 00 00  00 00 00 00  00 8a 13 02
 
 SR[00-27]
03 01 0f 00  0e 05 06 07  06 00 02 00  0c 00 00 00
42 63 81 40  00 83 00 00  00 00 0c 00  00 00 04 00
00 00 c2 36  c2 3d 40 08
 
 Gr Cont GR[00-0f]
00 00 00 00  00 40 05 0f  ff f9 fa fb  fc fd fe ff
 
 Att Cont AR[00-1f]
60 61 62 63  64 65 66 67  68 69 6a 6b  6c 6d 6e 6f
41 00 0f 00  00 35 36 37  41 00 0f 00  00 3d 3e 3f
 
 CR[30-6f]
e1 8c 40 20  00 00 1f 9f  5b bd 95 91  4f 00 2c 00
00 04 04 00  00 00 01 fc  f9 78 00 ff  ff ff c0 c0
00 10 90 08  00 10 00 00  13 f0 00 00  00 00 40 40
05 05 05 08  08 10 99 34  ff e0 c0 01  09 01 ff f8
 
 (II) S3VIRGE(0): END register dump 
 
 Any help appreciated...
 
 Pete


What are your driver options?  What does a full log file look like?

-- 
Kevin
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Full-screen DGA problem with s3virge, XFree86 4.1.0.1

2002-01-08 Thread Peter Kaminski

Kevin Brosius writes,

What are your driver options?  What does a full log file look like?

No driver options I know of:

Section Module
 Load  xie
 Load  pex5
 Load  glx
 Load  dri
 Load  dbe
 Load  record
 Load  extmod
 Load  type1
EndSection

Section Device
 Identifier  S3 Trio3D/2X
 Driver  s3virge
 CardS3 Trio3D
EndSection

Here's a full log:

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx August 2001
 If the server is older than 6-12 months, or if your card is
 newer than the above date, look for a newer version before
 reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.13 i686 [ELF]
Module Loader present
(==) Log file: /var/log/XFree86.0.log, Time: Tue Jan  8 17:42:36 2002
(==) Using config file: /etc/X11/XF86Config-4
Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout Layout0
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Envision EN-5100
(**) |   |--Device S3 Trio3D/2X
(**) |--Input Device Keyboard0
(**) Option XkbModel pc104
(**) XKB: model: pc104
(**) Option XkbLayout us
(**) XKB: layout: us
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse0
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
 Entry deleted from font path.
(==) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(--) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
 XFree86 ANSI C Emulation: 0.1
 XFree86 Video Driver: 0.4
 XFree86 XInput driver : 0.2
 XFree86 Server Extension : 0.1
 XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
 compiled for 4.1.0.1, module version = 1.0.0
 Module class: XFree86 Font Renderer
 ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
 compiled for 4.1.0.1, module version = 0.1.0
 ABI class: XFree86 Video Driver, version 0.4
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1022,700e card , rev 13 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1022,700f card , rev 00 class 06,04,00 hdr 01
(II) PCI: 00:04:0: chip 1106,0686 card 1043,8040 rev 40 class 06,01,00 hdr 80
(II) PCI: 00:04:1: chip 1106,0571 card , rev 06 class 01,01,8a hdr 00
(II) PCI: 00:04:2: chip 1106,3038 card 0925,1234 rev 16 class 0c,03,00 hdr 00
(II) PCI: 00:04:3: chip 1106,3038 card 0925,1234 rev 16 class 0c,03,00 hdr 00
(II) PCI: 00:04:4: chip 1106,3057 card 1043,8040 rev 40 class 00,00,00 hdr 00
(II) PCI: 00:05:0: chip 13f6,0111 card 1043,80e2 rev 10 class 04,01,00 hdr 00
(II) PCI: 00:09:0: chip 1317,0985 card 1317,0574 rev 11 class 02,00,00 hdr 00
(II) PCI: 00:0c:0: chip 1095,0649 card 1095,0649 rev 02 class 01,01,8f hdr 00
(II) PCI: 01:05:0: chip 5333,8a13 card 5333,8a13 rev 02 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: scanpci
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor=The XFree86 Project
 compiled for 4.1.0.1, module version = 0.1.0
 ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: scanpci
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
 [0] -1 00x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
 [0] -1 00x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
 [0] -1 00x - 0x (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
 [0] -1 00xf000 - 0xf75f (0x760) MX[B]
(II) Bus 1 prefetchable memory range:
 [0] -1 00xf770 - 0xf77f (0x10) MX[B]
(II) Bus -1: bridge is at (0:4:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:5:0) S3