Bug#164742: xserver-xfree86: [s3virge] Problems with Trio 3D/2X (rev 1) 86C362
Package: xserver-xfree86 Version: 4.1.0-16 Severity: normal 01:00.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 01) 01:00.0 Class 0300: 5333:8a13 (rev 01) Hi, I have a mentioned graphics card installed on one machine. There was RedHat 7.2 and xfree 4.1.0 worked fine. I changed OS to Debian. Then started problems. There were just four belts on the screen, every divided to about four places. When I moved the mouse (opened the menu or whatever) the mouse went throu this peaces of visible screen. It was software mouse. Hardware mouse cursor was just a such ugly big square (but traveling all around the scree as it should). A looked in the source packages of RedHat and Debian and then changed in the debain source the file 053_s3virge_fixes.diff from: @@ -1663,8 +1687,11 @@ save->CR34 = VGAIN8(vgaCRReg); VGAOUT8(vgaCRIndex, 0x36); save->CR36 = VGAIN8(vgaCRReg); +#if 0 VGAOUT8(vgaCRIndex, 0x3a); save->CR3A = VGAIN8(vgaCRReg); + xf86ErrorF( "S3VSave - cr3a: %02x (save 3a)\n", save->CR3A ); +#endif if (!S3_TRIO_3D_SERIES(ps3v->Chipset)) { VGAOUT8(vgaCRIndex, 0x40); save->CR40 = VGAIN8(vgaCRReg); to: @@ -1664,7 +1688,10 @@ VGAOUT8(vgaCRIndex, 0x36); save->CR36 = VGAIN8(vgaCRReg); VGAOUT8(vgaCRIndex, 0x3a); +#if 0 save->CR3A = VGAIN8(vgaCRReg); + xf86ErrorF( "S3VSave - cr3a: %02x (save 3a)\n", save->CR3A ); +#endif if (!S3_TRIO_3D_SERIES(ps3v->Chipset)) { VGAOUT8(vgaCRIndex, 0x40); save->CR40 = VGAIN8(vgaCRReg); No I have nice X, but after exiting (or switching to text console) I have to run textmode command from svgalib-bin package to restore text mode :-( (In RedHat it wasn't necessary). The folowing log is after my changes. This is a pre-release version of XFree86, and is not supported in any way. Bugs may be reported to XFree86@XFree86.Org and patches submitted to [EMAIL PROTECTED] Before reporting bugs in pre-release versions, please check the latest version in the XFree86 CVS repository (http://www.XFree86.Org/cvs) XFree86 Version 4.1.0.1 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 21 December 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.18-686-smp i686 [ELF] Module Loader present (==) Log file: "/var/log/XFree86.0.log", Time: Mon Oct 14 11:27:54 2002 (==) Using config file: "/etc/X11/XF86Config" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout "XFree86 Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Keyboard: CustomKeycode disabled (WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist. Entry deleted from font path. (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/". Entry deleted from font path. (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/"). (**) 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/,/usr/X11R6/lib/X11/fonts/cyrillic/,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/" (**) 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 = 0x80010008, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01 (II) PCI: 00:04:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:04:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00 (I
Bug#164742: xserver-xfree86: [s3virge] Problems with Trio 3D/2X (rev 1) 86C362
Package: xserver-xfree86 Version: 4.1.0-16 Severity: normal 01:00.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 01) 01:00.0 Class 0300: 5333:8a13 (rev 01) Hi, I have a mentioned graphics card installed on one machine. There was RedHat 7.2 and xfree 4.1.0 worked fine. I changed OS to Debian. Then started problems. There were just four belts on the screen, every divided to about four places. When I moved the mouse (opened the menu or whatever) the mouse went throu this peaces of visible screen. It was software mouse. Hardware mouse cursor was just a such ugly big square (but traveling all around the scree as it should). A looked in the source packages of RedHat and Debian and then changed in the debain source the file 053_s3virge_fixes.diff from: @@ -1663,8 +1687,11 @@ save->CR34 = VGAIN8(vgaCRReg); VGAOUT8(vgaCRIndex, 0x36); save->CR36 = VGAIN8(vgaCRReg); +#if 0 VGAOUT8(vgaCRIndex, 0x3a); save->CR3A = VGAIN8(vgaCRReg); + xf86ErrorF( "S3VSave - cr3a: %02x (save 3a)\n", save->CR3A ); +#endif if (!S3_TRIO_3D_SERIES(ps3v->Chipset)) { VGAOUT8(vgaCRIndex, 0x40); save->CR40 = VGAIN8(vgaCRReg); to: @@ -1664,7 +1688,10 @@ VGAOUT8(vgaCRIndex, 0x36); save->CR36 = VGAIN8(vgaCRReg); VGAOUT8(vgaCRIndex, 0x3a); +#if 0 save->CR3A = VGAIN8(vgaCRReg); + xf86ErrorF( "S3VSave - cr3a: %02x (save 3a)\n", save->CR3A ); +#endif if (!S3_TRIO_3D_SERIES(ps3v->Chipset)) { VGAOUT8(vgaCRIndex, 0x40); save->CR40 = VGAIN8(vgaCRReg); No I have nice X, but after exiting (or switching to text console) I have to run textmode command from svgalib-bin package to restore text mode :-( (In RedHat it wasn't necessary). The folowing log is after my changes. This is a pre-release version of XFree86, and is not supported in any way. Bugs may be reported to [EMAIL PROTECTED] and patches submitted to [EMAIL PROTECTED] Before reporting bugs in pre-release versions, please check the latest version in the XFree86 CVS repository (http://www.XFree86.Org/cvs) XFree86 Version 4.1.0.1 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 21 December 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.18-686-smp i686 [ELF] Module Loader present (==) Log file: "/var/log/XFree86.0.log", Time: Mon Oct 14 11:27:54 2002 (==) Using config file: "/etc/X11/XF86Config" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout "XFree86 Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Keyboard: CustomKeycode disabled (WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist. Entry deleted from font path. (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/". Entry deleted from font path. (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/"). (**) 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/,/usr/X11R6/lib/X11/fonts/cyrillic/,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/" (**) 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 = 0x80010008, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01 (II) PCI: 00:04:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:04:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00 (II)