Bug#233001: xserver-xfree86: [tseng] ET4000/W32p only works with vesa or vga

2004-06-19 Thread Ian Maclaine-cross
Branden,
   Please find attached my revision 1373 /var/log/XFree86.0.log.
Same problem :-(  
On Fri, May 14, 2004 at 05:22:05PM -0500, Branden Robinson wrote:
[snip]
> > > You appear to have a motherboard that the PCI bus handling code in
> > > XFree86 4.3.0 doesn't deal with well; a lot of "phantom" buses show up,
> > > and this *may* be confusing the X server into not knowing where to find
> > > your video card.
> > 
> > My mainboard is a Gigabyte GA-5AA and CPU is AMD-K6-3/450.
> > /proc/pci has the video card OK:
> > 
> >   Bus  0, device   8, function  0:
> > VGA compatible controller: Tseng Labs Inc ET4000/W32p rev C (rev 0).
> >   IRQ 11.
> >   Non-prefetchable 32 bit memory at 0xef00 [0xefff].
> >  
> > Works OK with xfree86 3.3.6. 
> 
> Yeah, the PCI bus logic was extensively overhauled in 4.x.
> 
> > I have not built xfree86 before. I read your instructions and I think
> > I should be able to follow them sometime in June.
> 
> Since I last mailed you, I have committed the following to the Debian
> XFree86 SVN trunk:
> 
> r1373 | branden | 2004-05-10 13:39:21 -0500 (Mon, 10 May 2004) | 17 lines
> 
> Update (from XFree86 CVS, 2003-12-18) the XFree86 X server's PCI bus
> handling code and device recognition databases from CVS.  Resync patch
> #452.  Delete superseded patch #453.
> + Simplify internal interfaces in the PCI code and remove the Xserver's
>   interference with normal PCMCIA operation (Marc La France).
> + Fixed typo in getPciBiosTypes() (Bugzilla #382,  Jakub Bogusz).
> + Change DEVID macro to work around glitch in SCO's C compiler (Marc La
>   France).
> + Fixed support for 64bit PCI bus on 32bit systems (Egbert Eich).
> + Be a little more precise about differentiating between active and
>   inactive non-video PCI resources (Marc La France).
> + Fix bug in detection of multi-function PCI devices (Marc La France, in
>   partial resolution of Bugzilla #574).
> + Rip out incorrect limits on the number of PCI buses an ix86 chipset can
>   handle and implement an improved solution for avoiding "phantom" PCI
>   buses (Marc La France, Bugzilla #604).
> 
> That last item may hold out some hope for your motherboard.
> 
> -- 
> G. Branden Robinson|Imagination was given man to
> Debian GNU/Linux   |compensate for what he is not, and
> [EMAIL PROTECTED] |a sense of humor to console him for
> http://people.debian.org/~branden/ |what he is.



-- 
Regards,
Ian Maclaine-cross <[EMAIL PROTECTED]>
GnuPG key fingerprint = 5F7A 7539 EA0D F4B4 95D3  0D22 A8BB B366 1D1D FB53

This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please delete it and notify the sender. Views expressed in this
message are those of the individual sender and are not 
necessarily the views of UNSW.

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.3.0.1 (Debian 4.3.0.dfsg.1-1+SVO 20040619043245 [EMAIL 
PROTECTED])
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26-1-686 i686 [ELF] 
Build Date: 19 June 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.26-1-k6 ([EMAIL PROTECTED]) (gcc version 3.3.3 
(Debian 20040401)) #1 Sat May 1 20:32:03 EST 2004 
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jun 20 01:55:31 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "ViewTop_BP-ET4"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) The directory "

Bug#233001: xserver-xfree86: [tseng] ET4000/W32p only works with vesa or vga

2004-05-13 Thread Ian Maclaine-cross
Branden,
   Please see comments below.
On Mon, May 10, 2004 at 03:50:57PM -0500, Branden Robinson wrote:
> tag 233001 + upstream
> thanks
> 
> On Fri, Apr 30, 2004 at 03:07:46PM +1000, Ian Maclaine-cross wrote:
> > On Tue, Apr 20, 2004 at 08:20:39PM -0500, Branden Robinson wrote:
> > > On Mon, Feb 16, 2004 at 08:32:25PM +1100, Ian Maclaine-cross wrote:
> > > > Xfree86 3.3.6 worked with my Tseng ET4000/W32p graphics card but 
> > > > 4.2 does not except with a low resolution vesa or vga mode.
> > > 
> > > Did you *try* the "tseng" driver instead?
> > 
> > Yes indeed and it did nothing.
> 
> Hrmph.
> 
> You appear to have a motherboard that the PCI bus handling code in
> XFree86 4.3.0 doesn't deal with well; a lot of "phantom" buses show up,
> and this *may* be confusing the X server into not knowing where to find
> your video card.

My mainboard is a Gigabyte GA-5AA and CPU is AMD-K6-3/450.
/proc/pci has the video card OK:

  Bus  0, device   8, function  0:
VGA compatible controller: Tseng Labs Inc ET4000/W32p rev C (rev 0).
  IRQ 11.
  Non-prefetchable 32 bit memory at 0xef00 [0xefff].
 
Works OK with xfree86 3.3.6. 

> The good news is, I have backported what claims to be a fix for this
> problem from XFree86 CVS to Debian's SVN repository for our XFree86
> packages, and if you can build and test packages from the "SVN trunk",
> you will be in a position to confirm whether this bad PCI bus handling
> is the problem, or if something else is going wrong as well.
> 
> Are you in a position to build and test xfree86 packages?  Instructions
> are at:
> 
> http://necrotic.deadbeast.net/xsf/XFree86/HACKING.txt
> 
> See the section "Building the package".  Please be sure to use revision
> 1373 or later of the trunk.

I have not built xfree86 before. I read your instructions and I think
I should be able to follow them sometime in June.

> I have packages prepared, but unfortunately they are for PowerPC only.
> 
> -- 
> G. Branden Robinson| I'm a firm believer in not drawing
> Debian GNU/Linux   | trend lines before you have data
> [EMAIL PROTECTED] | points.
> http://people.debian.org/~branden/ | -- Tim Ottinger



-- 
Regards,
Ian Maclaine-cross <[EMAIL PROTECTED]>
GnuPG key fingerprint = 5F7A 7539 EA0D F4B4 95D3  0D22 A8BB B366 1D1D FB53

This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please delete it and notify the sender. Views expressed in this
message are those of the individual sender and are not 
necessarily the views of UNSW.




Bug#233001: xserver-xfree86: [tseng] ET4000/W32p only works with vesa or vga

2004-04-30 Thread Ian Maclaine-cross
On Tue, Apr 20, 2004 at 08:20:39PM -0500, Branden Robinson wrote:
> tag 233001 + moreinfo
> thanks
> 
> On Mon, Feb 16, 2004 at 08:32:25PM +1100, Ian Maclaine-cross wrote:
> > Package: xserver-xfree86
> > Version: 4.2.1-12.1
> > Severity: important
> > 
> > Xfree86 3.3.6 worked with my Tseng ET4000/W32p graphics card but 
> > 4.2 does not except with a low resolution vesa or vga mode.
> 
> Did you *try* the "tseng" driver instead?

Yes indeed and it did nothing.
 
> Please do so, explain exactly how it appears to fail, and please mail
> this bug number the corresponding XFree86 X server config file and log
> file from when it does not work.
> E.g.,
> 
> $ /usr/share/bug/xserver-xfree86 > /tmp/output 3>&1
> $ mailx -s "Re: Bug#233001" [EMAIL PROTECTED] < /tmp/output

Done. Please let me know if /tmp/output arrives.
I checked it and it appears correct (ie wrong).

Sorry to be so slow in responding.
Thanks for your good work in tracking down bugs.

> -- 
> G. Branden Robinson| Never attribute to malice that
> Debian GNU/Linux   | which can be adequately explained
> [EMAIL PROTECTED]     | by stupidity.
> http://people.debian.org/~branden/ | -- Hanlon's Razor



-- 
Regards,
Ian Maclaine-cross <[EMAIL PROTECTED]>
GnuPG key fingerprint = 5F7A 7539 EA0D F4B4 95D3  0D22 A8BB B366 1D1D FB53

This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please delete it and notify the sender. Views expressed in this
message are those of the individual sender and are not 
necessarily the views of UNSW.




Bug#233001:

2004-04-30 Thread Ian Maclaine-cross
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86

X server symlink status:
lrwxrwxrwx1 root root   20 2004-04-30 13:19 /etc/X11/X -> 
/usr/bin/X11/XFree86
-rwxr-xr-x1 root root  1742316 2004-03-18 16:42 /usr/bin/X11/XFree86
/var/lib/xfree86/X.md5sum does not exist.

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:
:00:08.0 VGA compatible controller: Tseng Labs Inc ET4000/W32p rev C
:00:08.0 Class 0300: 100c:3206

XFree86 X server configuration file status:
-rw-r--r--1 root root 3210 2004-04-30 14:10 
/etc/X11/XF86Config-4

Contents of /etc/X11/XF86Config-4:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/tts/0"
Option  "Protocol"  "Microsoft"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "ViewTop_BP-ET4"
Driver  "tseng"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
HorizSync   30-72
VertRefresh 50-120
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "ViewTop_BP-ET4"
Monitor "Generic Monitor"
DefaultDepth8
SubSection "Display"
Depth   1
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
Inp

Bug#233001: xserver-xfree86: [tseng] ET4000/W32p only works with vesa or vga

2004-02-16 Thread Ian Maclaine-cross
Package: xserver-xfree86
Version: 4.2.1-12.1
Severity: important

Xfree86 3.3.6 worked with my Tseng ET4000/W32p graphics card but 
4.2 does not except with a low resolution vesa or vga mode.

-- Package-specific info:
00:08.0 VGA compatible controller: Tseng Labs Inc ET4000/W32p rev C
00:08.0 Class 0300: 100c:3206

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/tts/0"
Option  "Protocol"  "Microsoft"
Option  "Emulate3Buttons"   "true"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "vesa"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
HorizSync   30-72
VertRefresh 50-120
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode0666
EndSection



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.2.1.1 (Debian 4.2.1-12.1 20031003005825 [EMAIL PROTECTED]) / 
X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October