Re: [XFree86] Problem with resolution

2003-06-10 Thread Mark Vojkovich
On Tue, 10 Jun 2003, Jesse Hutton wrote:

> Hello,
> 
> On Tue, 10 Jun 2003, Stephan Kulka wrote:
> 
> > Hi
> >
> > > device should probably be /dev/mouse.  But as to the 800x600
> > > problem:
> > >
> > > (II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz
> > > (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> > > clock/interlace/doublescan)
> > > (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> > > clock/interlace/doublescan)
> > > (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> > > clock/interlace/doublescan)
> > >
> > >It's looks like none of your 800x600 modes fall within
> > > the clock range.   I'm not sure why that would happen because I
> > > clearly see modes builtin to the server (at least in 4.3 servers)
> > > that fall within that range.  You most likely have bad modes
> > > in the XF86Config file.
> > >
> > > Here are some valid modes I generated with the "gtf" program
> > > that comes with XFree86.
> >
> > I don't have the prgram "gtf". Is it important?
> 
> gft is just a modeline generator that is included with the XFree86 (not
> sure if it is included in all versions, however).  You can find other
> programs that do the same thing (videogen, for example).
> 
> 
> >
> > > # 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz
> > > Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
> > >
> > > # 800x600 @ 69.00 Hz (GTF) hsync: 43.12 kHz; pclk: 44.85 MHz
> > > Modeline "800x600_69.00"  44.85  800 840 920 1040  600 601 604 625  -HSync +Vsync
> > >
> > >   The 60 Hz mode is close to the one builtin to the server.  The 69 Hz
> > > one is about the highest refresh rate you can get and still keep
> > > within the video card's clock limits.  Though things may look fuzzy
> > > up there and a 65 Hz mode like below might look better:
> > >
> > > # 800x600 @ 65.00 Hz (GTF) hsync: 40.49 kHz; pclk: 42.11 MHz
> > > Modeline "800x600_65.00"  42.11  800 840 920 1040  600 601 604 623  -HSync +Vsync
> >
> > None of them is working, I still get the same error message (this is why
> > I don't post my log file again). I really have no idea any more now.
> >
> 
> I noticed in your first message in the log file that there was a warning
> for MTRR support.  Check to see if your config file (/boot/Config-xx in
> debain) has CONFIG_MTRR=y.  If it doesn't, try compiling that into the
> kernel.  It might make a difference.

   MTRRs failing only effect performance.  They won't have anything
to do with modes failing.


Mark.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-10 Thread Jesse Hutton
Hello,

On Tue, 10 Jun 2003, Stephan Kulka wrote:

> Hi
>
> > device should probably be /dev/mouse.  But as to the 800x600
> > problem:
> >
> > (II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz
> > (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> > clock/interlace/doublescan)
> > (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> > clock/interlace/doublescan)
> > (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> > clock/interlace/doublescan)
> >
> >It's looks like none of your 800x600 modes fall within
> > the clock range.   I'm not sure why that would happen because I
> > clearly see modes builtin to the server (at least in 4.3 servers)
> > that fall within that range.  You most likely have bad modes
> > in the XF86Config file.
> >
> > Here are some valid modes I generated with the "gtf" program
> > that comes with XFree86.
>
> I don't have the prgram "gtf". Is it important?

gft is just a modeline generator that is included with the XFree86 (not
sure if it is included in all versions, however).  You can find other
programs that do the same thing (videogen, for example).


>
> > # 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz
> > Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
> >
> > # 800x600 @ 69.00 Hz (GTF) hsync: 43.12 kHz; pclk: 44.85 MHz
> > Modeline "800x600_69.00"  44.85  800 840 920 1040  600 601 604 625  -HSync +Vsync
> >
> >   The 60 Hz mode is close to the one builtin to the server.  The 69 Hz
> > one is about the highest refresh rate you can get and still keep
> > within the video card's clock limits.  Though things may look fuzzy
> > up there and a 65 Hz mode like below might look better:
> >
> > # 800x600 @ 65.00 Hz (GTF) hsync: 40.49 kHz; pclk: 42.11 MHz
> > Modeline "800x600_65.00"  42.11  800 840 920 1040  600 601 604 623  -HSync +Vsync
>
> None of them is working, I still get the same error message (this is why
> I don't post my log file again). I really have no idea any more now.
>

I noticed in your first message in the log file that there was a warning
for MTRR support.  Check to see if your config file (/boot/Config-xx in
debain) has CONFIG_MTRR=y.  If it doesn't, try compiling that into the
kernel.  It might make a difference.

Jesse

> Thanks for your ideas.
>
>
> Stephan
>
>
>
> ___
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86
>
>


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-10 Thread Stephan Kulka
Hi

> device should probably be /dev/mouse.  But as to the 800x600
> problem:
> 
> (II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz
> (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> clock/interlace/doublescan)
> (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> clock/interlace/doublescan)
> (II) TRIDENT(0): Not using default mode "800x600" (bad mode
> clock/interlace/doublescan)
> 
>It's looks like none of your 800x600 modes fall within
> the clock range.   I'm not sure why that would happen because I
> clearly see modes builtin to the server (at least in 4.3 servers)
> that fall within that range.  You most likely have bad modes
> in the XF86Config file.
> 
> Here are some valid modes I generated with the "gtf" program
> that comes with XFree86.
 
I don't have the prgram "gtf". Is it important?

> # 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz
> Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
> 
> # 800x600 @ 69.00 Hz (GTF) hsync: 43.12 kHz; pclk: 44.85 MHz
> Modeline "800x600_69.00"  44.85  800 840 920 1040  600 601 604 625  -HSync +Vsync
> 
>   The 60 Hz mode is close to the one builtin to the server.  The 69 Hz
> one is about the highest refresh rate you can get and still keep
> within the video card's clock limits.  Though things may look fuzzy
> up there and a 65 Hz mode like below might look better:
> 
> # 800x600 @ 65.00 Hz (GTF) hsync: 40.49 kHz; pclk: 42.11 MHz
> Modeline "800x600_65.00"  42.11  800 840 920 1040  600 601 604 623  -HSync +Vsync

None of them is working, I still get the same error message (this is why
I don't post my log file again). I really have no idea any more now.

Thanks for your ideas.


Stephan



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-08 Thread Mark Vojkovich
On Sun, 8 Jun 2003, Stephan Kulka wrote:

> Hi all
>  
> > > I have installed Xfree 4.1 and my graphics card is supported and also
> > > detected. I have got 1 MB videoram (yes, it's a very old card).
> > > 
> > > The problem is that I would like to have 800x600 (as I had it before
> > > with 3.3.6) but there is an error message in the log file like:
> > > 
> > > bad mode clock/interlace/doublescan
> > > 
> > > and therefore 640x400 is used instead.
> > > 
> > > What's the problem here??
> 
> Attached is my XFree86.0.log file, there are the error messages in it.
> 

   You have errors due to your mouse being misconfigured.  The
device should probably be /dev/mouse.  But as to the 800x600
problem:

(II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz
(II) TRIDENT(0): Not using default mode "800x600" (bad mode
clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "800x600" (bad mode
clock/interlace/doublescan)
(II) TRIDENT(0): Not using default mode "800x600" (bad mode
clock/interlace/doublescan)

   It's looks like none of your 800x600 modes fall within
the clock range.   I'm not sure why that would happen because I
clearly see modes builtin to the server (at least in 4.3 servers)
that fall within that range.  You most likely have bad modes
in the XF86Config file.

Here are some valid modes I generated with the "gtf" program
that comes with XFree86.

# 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz
Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync

# 800x600 @ 69.00 Hz (GTF) hsync: 43.12 kHz; pclk: 44.85 MHz
Modeline "800x600_69.00"  44.85  800 840 920 1040  600 601 604 625  -HSync +Vsync

  The 60 Hz mode is close to the one builtin to the server.  The 69 Hz
one is about the highest refresh rate you can get and still keep
within the video card's clock limits.  Though things may look fuzzy
up there and a 65 Hz mode like below might look better:

# 800x600 @ 65.00 Hz (GTF) hsync: 40.49 kHz; pclk: 42.11 MHz
Modeline "800x600_65.00"  42.11  800 840 920 1040  600 601 604 623  -HSync +Vsync


Mark.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-08 Thread Pieter Hulshoff
> > have a look at the modeline for 800x600. I did notice the reporting of
> > (II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz. This seems like a
> > small range to me, and perhaps the modeline has a clock higher than 45
> > MHz (most of
> Also to me this seems quite small.
> Attached is my XFconfig-4, it was done by the installation routine
> (Debian)

Hello Stephen,

My apologies: I should have looked a tad better: it said: default mode. You 
don't appear to have any modelines defined. Try adding:

Section "Modes"
  Modeline  "800x600" 37.44 800 816 928 1072 600 600 605 626
  Modeline  "800x600" 43.68 800 816 928 1072 600 600 606 626
EndSection

before the "Screen" section. These modes were created by SaX2 on my machine, 
so keep a quick finger on the monitor off button in case your monitor can't 
handle them. :)

Regards,

Pieter Hulshoff

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-08 Thread Stephan Kulka
Here is the file now.


Stephan
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 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.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

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/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"pex5"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
Load"xie"
EndSection

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

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/ttyS0"
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  "Generic Video Card"
Driver  "trident"
#   Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
HorizSync   30-66
VertRefresh 50-90
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth15
SubSection "Display"
Depth   1
Modes   "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "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

### END DEBCONF SECTION


Re: [XFree86] Problem with resolution

2003-06-08 Thread Stephan Kulka
Hi

> have a look at the modeline for 800x600. I did notice the reporting of
> (II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz. This seems like a small 
> range to me, and perhaps the modeline has a clock higher than 45 MHz (most of 

Also to me this seems quite small.
Attached is my XFconfig-4, it was done by the installation routine
(Debian)


Stephan
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-08 Thread Pieter Hulshoff
> > > I have installed Xfree 4.1 and my graphics card is supported and also
> > > detected. I have got 1 MB videoram (yes, it's a very old card).
> > > The problem is that I would like to have 800x600 (as I had it before
> > > with 3.3.6) but there is an error message in the log file like:
> > > bad mode clock/interlace/doublescan

Could you also post (or email) your /etc/X11/XF86Config-4 file? I'd love to 
have a look at the modeline for 800x600. I did notice the reporting of
(II) TRIDENT(0): Clock range:  12.00 to  45.00 MHz. This seems like a small 
range to me, and perhaps the modeline has a clock higher than 45 MHz (most of 
my 800x600 modelines do). I have two that might work for you:

Modeline  "800x600" 37.44 800 816 928 1072 600 600 605 626
Modeline  "800x600" 43.68 800 816 928 1072 600 600 606 626

Regards,

Pieter Hulshoff

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problem with resolution

2003-06-08 Thread Stephan Kulka
Hi all
 
> > I have installed Xfree 4.1 and my graphics card is supported and also
> > detected. I have got 1 MB videoram (yes, it's a very old card).
> > 
> > The problem is that I would like to have 800x600 (as I had it before
> > with 3.3.6) but there is an error message in the log file like:
> > 
> > bad mode clock/interlace/doublescan
> > 
> > and therefore 640x400 is used instead.
> > 
> > What's the problem here??

Attached is my XFree86.0.log file, there are the error messages in it.

Stephan 

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.17 i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jun  8 10:15:32 2003
(==) 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 "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Generic Video Card"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "de"
(**) XKB: layout: "de"
(**) Option "XkbVariant" "nodeadkeys"
(**) XKB: variant: "nodeadkeys"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(**) FontPath set to 
"unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) 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 = 0x80007800, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,5597 card , rev 02 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1039,0008 card , rev 01 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 1039,5513 card , rev d0 class 01,01,8a hdr 80
(II) PCI: 00:0f:0: chip 10b7,9004 card 10b7,9004 rev 04 class 02,00,00 hdr 00
(II) PCI: 00:11:0: chip 1023,9440 card , rev e3 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) 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,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:*(0:17:0) Trident TGUI 9440 rev 227, Mem @ 0xe000/21, 0xe020/16
(II) Addressable bus resource ranges are
[0] -1 00x - 0x (0x0) MX[B]
[1] -1 00x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:

Re: [XFree86] Problem with resolution

2003-06-07 Thread Mark Vojkovich
On Sat, 7 Jun 2003, Stephan Kulka wrote:

> Hello
> 
> I have installed Xfree 4.1 and my graphics card is supported and also
> detected. I have got 1 MB videoram (yes, it's a very old card).
> 
> The problem is that I would like to have 800x600 (as I had it before
> with 3.3.6) but there is an error message in the log file like:
> 
> bad mode clock/interlace/doublescan
> 
> and therefore 640x400 is used instead.
> 
> What's the problem here??
> 

   We need to see your /var/log/XFree86.0.log file.


Mark.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86