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 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:
[0] -1 00xffe0 - 0x (0x20) MX[B](B)
[1] -1 0 

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 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
FontPathunix/: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
LoadGLcore
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadpex5
Loadrecord
Loadspeedo
Loadtype1
Loadvbe
Loadxie
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout de
Option  XkbVariantnodeadkeys
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  SendCoreEventstrue
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


[XFree86] Problem with resolution

2003-06-07 Thread Stephan Kulka
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??


Thank you

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


Re: [XFree86] Problem starting self-compiled program

2003-06-01 Thread Stephan Kulka
Hi all

I still get this problem.

  X Error of failed request:  BadRequest (invalid request code or no such
  operation)
Major opcode of failed request:  145 (XFree86-VidModeExtension)
Minor opcode of failed request:  16 (XF86VidModeGetGamma)
Serial number of failed request:  18
Current serial number in output stream:  18

 
Do you have:
 
Load extmod
 
in your Section Module of your XF86Config file?
I didn't have this  but I added it now.

 
  XFree86-VidModeExtension should show up in the extensions that
 xdpyinfo prints out.

It was there already before I added Load extmod but I attach the
output of xpdyinfo.

I was thinking about it again and both programs I have probelms with are
compiled using the SDL. Might this cause the problem?

Thanks

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


Re: [XFree86] Problem starting self-compiled program

2003-06-01 Thread Stephan Kulka
Hi
 
I'm stumped.  BadRequest should only be returned if your X-server
 doesn't support XF86VidModeGetGamma.  XF86VidModeGetGamma has
 been supported for a long time (since the XFree86 3.9 days).
 
Does xgamma work?  That calls that function.

If I call it user (the same who uses the Xserver) I get the following
error message:

[EMAIL PROTECTED]:~$ xgamma
Xserver is running an old XFree86-VidModeExtension version (0.8)
Minimum required version is 2.0

It seems that this is the problem. What can I do against it?


Thanks

Stephan  

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


[XFree86] Problem starting self-compiled program

2003-05-30 Thread Stephan Kulka
Hello

I read the documentation and have a slight idea now, but I still don't
know what to do.

My problem is that every time I try to start a self-compiled program I
get the following error message:

X Error of failed request:  BadRequest (invalid request code or no such
operation)
  Major opcode of failed request:  145 (XFree86-VidModeExtension)
  Minor opcode of failed request:  16 (XF86VidModeGetGamma)
  Serial number of failed request:  18
  Current serial number in output stream:  18

I am using XFree 4.1.0 in the Debian stable version. My graphics card is
a Trident with 1024 kB RAM (yes such cards still work).

I have no problems with the XServer as such and the installation was
absolutely easy.  

If there is a hit where the RTFM is I am happy to read it there.

Thanks in advance (and sorry if this a very wrong posting)
 
Stephan Kulka
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86