Re: Minor help with X

1997-01-12 Thread Riku Saikkonen
In article [EMAIL PROTECTED] you wrote:
(--) SVGA: There is no mode definition named 800x600
(--) SVGA: Removing mode 800x600 from list of valid modes.
...  [XF86Config:]
Section Monitor
HorizSync   31.5 - 35.1
VertRefresh 50-70

Here is the problem; the HorizSync range is too small. The 800x600 and
1024x768 modes have the following hsyncs [quoted from the same XF86Config]:
# 800x600 @ 56 Hz, 35.15 kHz hsync
# 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync

So, change that HorizSync to HorizSync 31.5 - 35.6 or something (see your
monitor's specifications if you have them; but if 800x600 works in SVGAlib
(or DOS), setting that HorizSync should be safe), and it should work.

Section Screen
Subsection Display
Modes   640x480 800x600 1024x768

And here, the first mode in this Modes list is the mode that X starts by
default; but you can cycle between them all with Ctrl-Alt-+ (the + key on
the numeric keypad).


(On a more general note, I've always thought that There is no mode
definition named xxx is not an informative error message when the real
`error' is that the mode definition was deleted because it didn't fit the
monitor's specifications (HorizSync, VertRefresh). But I guess we'd need to
talk to the XFree86 folks about that.)

-- 
-=- Rjs -=- [EMAIL PROTECTED], [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Minor help with X

1997-01-11 Thread Orn E. Hansen
 Jens B. Jorgensen writes:
  
  Gith wrote:
 [snip]
  
  [   XF86Config file deleted ]
  
  Check to make sure that you have the right file. When I ran the
  auto-XF86 config program I ended up with /etc/X11/XF86Config and
  /usr/X11R6/lib/X11/XF86Config as separate files and I think that
  /etc/X11/XF86Config needed to be linked to the later. It confused
  the hello out of me while I was trying to get it working.
 
 Actually, it is the reverse. /etc/X11/XF86Config should be the original file
 with /usr/X11R6/lib/X11/XF86Config as a link to it. Stuff stored in the /etc
 directory was meant to be altered and files under /usr weren't. It seems that
 the configuration program looks and writes to /etc/X11, but the servers look
 at /usr/X11R6/lib/X11. Confusing, huh?!
 
  This is not correct... I'm running XFree86 here, non-debian... the file in
/usr/lib/X11/X11/  XF86Config should be left alone.  This one is only for
referance.   The debian package uses /etc/X11/XF86Config, and the XFree86
uses /etc/XF86Config file... you should make these a symbolic link to each
other.  Not the original, fall back default file...

-- 

Ørn Einar Hansen [EMAIL PROTECTED]
  [EMAIL PROTECTED]
fax; +46 035 217194



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Minor help with X

1997-01-10 Thread tomk
Jens B. Jorgensen writes:
 
 Gith wrote:
[snip]
  (**) SVGA: chipset:  clgd5434
  (**) SVGA: videoram: 1024k
  (--) SVGA: clocks:  25.23  28.32  41.16  36.08  31.50  39.99  45.08  49.87
  (--) SVGA: clocks:  64.98  72.16  75.00  80.01
  (**) SVGA: Option mmio
  (--) SVGA: Maximum allowed dot-clock: 81.349 MHz
  (**) SVGA: Mode 640x480: mode clock =  25.175, clock used =  25.226
  (--) SVGA: There is no mode definition named 800x600
  (--) SVGA: Removing mode 800x600 from list of valid modes.
  (--) SVGA: There is no mode definition named 1024x768
  (--) SVGA: Removing mode 1024x768 from list of valid modes.
  (--) SVGA: Virtual resolution set to 640x480
  (--) SVGA: SpeedUp code selection modified because virtualX != 1024
  (--) SVGA: clgd5434: Internal memory clock register is 0x19 (Standard RAS)
  (**) SVGA: clgd5434: Approximate DRAM bandwidth for drawing: 64 of 89 MB/s
  (--) SVGA: clgd5434: 741376 bytes off-screen memory available
  (--) SVGA: clgd5434: Using hardware cursor
  (--) SVGA: clgd5434: Using accelerator functions
  (--) SVGA: clgd5434: Using BitBLT engine
  (**) SVGA: clgd5434: Using memory-mapped I/O
  
 
 [   XF86Config file deleted ]
 
 Check to make sure that you have the right file. When I ran the
 auto-XF86 config program I ended up with /etc/X11/XF86Config and
 /usr/X11R6/lib/X11/XF86Config as separate files and I think that
 /etc/X11/XF86Config needed to be linked to the later. It confused
 the hello out of me while I was trying to get it working.

Actually, it is the reverse. /etc/X11/XF86Config should be the original file
with /usr/X11R6/lib/X11/XF86Config as a link to it. Stuff stored in the /etc
directory was meant to be altered and files under /usr weren't. It seems that
the configuration program looks and writes to /etc/X11, but the servers look
at /usr/X11R6/lib/X11. Confusing, huh?!

Looking at the response list from Gith, I see that the server determined that
the 800x600  1024x768 display modes are invalid. Gith, make sure the card has
sufficient memory to support the modes. Also make sure the monitor
specifications are sufficient to support the modes. While the card might
produce the required video display, if you told the config program a lesser
monitor, the modes will be rejected anyhow. (trying to protect your monitor!)

-- 
-= Sent by Debian 1.2 Linux =-
Thomas Kocourek  KD4CIK
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Minor help with X

1997-01-08 Thread Jens B. Jorgensen
Gith wrote:
 
 Ok, since I've just recently gotten a computer that can run X
 I'm still a newbie on how it works.
 I want to start up in 800x600x256 mode. SVGALIB has no problem
 doing this. I can't figure out how to get X to do it. X keeps
 starting in 640x480.
 
 This is for a Cirrus Logic CL-GD5434 with 1Meg Ram.
 It seemd from the messages during startup, that there isn't
 an 800x600 mode defined but there is a modeline for it.
 
 Also, in the Modeline section in my XF86Config file, could
 i delete all but the modelines for: 640x480, 800x600, 1024x768?
 it seems like alot defined for things i'll never use.
 
 Below are the messages i get when starting X and the contents
 of my XF86Config file. Any help would be great.
 
 **
 This is what i get on start up
 **
 
 (**) SVGA: chipset:  clgd5434
 (**) SVGA: videoram: 1024k
 (--) SVGA: clocks:  25.23  28.32  41.16  36.08  31.50  39.99  45.08  49.87
 (--) SVGA: clocks:  64.98  72.16  75.00  80.01
 (**) SVGA: Option mmio
 (--) SVGA: Maximum allowed dot-clock: 81.349 MHz
 (**) SVGA: Mode 640x480: mode clock =  25.175, clock used =  25.226
 (--) SVGA: There is no mode definition named 800x600
 (--) SVGA: Removing mode 800x600 from list of valid modes.
 (--) SVGA: There is no mode definition named 1024x768
 (--) SVGA: Removing mode 1024x768 from list of valid modes.
 (--) SVGA: Virtual resolution set to 640x480
 (--) SVGA: SpeedUp code selection modified because virtualX != 1024
 (--) SVGA: clgd5434: Internal memory clock register is 0x19 (Standard RAS)
 (**) SVGA: clgd5434: Approximate DRAM bandwidth for drawing: 64 of 89 MB/s
 (--) SVGA: clgd5434: 741376 bytes off-screen memory available
 (--) SVGA: clgd5434: Using hardware cursor
 (--) SVGA: clgd5434: Using accelerator functions
 (--) SVGA: clgd5434: Using BitBLT engine
 (**) SVGA: clgd5434: Using memory-mapped I/O
 

[   XF86Config file deleted ]

Check to make sure that you have the right file. When I ran the
auto-XF86 config program I ended up with /etc/X11/XF86Config and
/usr/X11R6/lib/X11/XF86Config as separate files and I think that
/etc/X11/XF86Config needed to be linked to the later. It confused
the hello out of me while I was trying to get it working.

Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Minor help with X

1997-01-07 Thread Gith


Ok, since I've just recently gotten a computer that can run X
I'm still a newbie on how it works. 
I want to start up in 800x600x256 mode. SVGALIB has no problem
doing this. I can't figure out how to get X to do it. X keeps
starting in 640x480.

This is for a Cirrus Logic CL-GD5434 with 1Meg Ram.
It seemd from the messages during startup, that there isn't
an 800x600 mode defined but there is a modeline for it.


Also, in the Modeline section in my XF86Config file, could
i delete all but the modelines for: 640x480, 800x600, 1024x768?
it seems like alot defined for things i'll never use.

Below are the messages i get when starting X and the contents
of my XF86Config file. Any help would be great.




**
This is what i get on start up 
**

(**) SVGA: chipset:  clgd5434
(**) SVGA: videoram: 1024k
(--) SVGA: clocks:  25.23  28.32  41.16  36.08  31.50  39.99  45.08  49.87
(--) SVGA: clocks:  64.98  72.16  75.00  80.01
(**) SVGA: Option mmio
(--) SVGA: Maximum allowed dot-clock: 81.349 MHz
(**) SVGA: Mode 640x480: mode clock =  25.175, clock used =  25.226
(--) SVGA: There is no mode definition named 800x600
(--) SVGA: Removing mode 800x600 from list of valid modes.
(--) SVGA: There is no mode definition named 1024x768
(--) SVGA: Removing mode 1024x768 from list of valid modes.
(--) SVGA: Virtual resolution set to 640x480
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
(--) SVGA: clgd5434: Internal memory clock register is 0x19 (Standard RAS)
(**) SVGA: clgd5434: Approximate DRAM bandwidth for drawing: 64 of 89 MB/s
(--) SVGA: clgd5434: 741376 bytes off-screen memory available
(--) SVGA: clgd5434: Using hardware cursor
(--) SVGA: clgd5434: Using accelerator functions
(--) SVGA: clgd5434: Using BitBLT engine
(**) SVGA: clgd5434: Using memory-mapped I/O


**
This is what my XF86Config file looks like.
**

Section Files
RgbPath /usr/X11R6/lib/X11/rgb
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/
ModulePath /usr/X11R6/lib/modules
EndSection


Section Module
# Load xf86Jstk.so
Load pex5.so
Load xie.so
EndSection


Section ServerFlags
#NoTrapSignals
#DontZap
#DontZoom
#DisableVidModeExtension
#AllowNonLocalXvidtune
#DisableModInDev
#AllowNonLocalModInDev
EndSection


Section Keyboard
ProtocolStandard
AutoRepeat  500 5
XkbKeymap   xfree86(us)
EndSection


Section Pointer
ProtocolPS/2
Device  /dev/psaux
Emulate3Buttons
Emulate3Timeout50
EndSection


Section Monitor
Identifier  cirrus
VendorName  cirrus
ModelName   cirrus
HorizSync   31.5 - 35.1
VertRefresh 50-70
# 640x400 @ 70 Hz, 31.5 kHz hsync
Modeline 640x400 25.175 640  664  760  800   400  409  411  450
# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline 640x480 25.175 640  664  760  800   480  491  493  525
# 800x600 @ 56 Hz, 35.15 kHz hsync
Modeline 800x600 36 800  824  896 1024   600  601  603  625
# 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync
Modeline 1024x76844.9  1024 1048 1208 1264   768  776  784  817 Interlace

# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline 640x480 31.5   640  680  720  864   480  488  491  521
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline 800x600 40 800  840  968 1056   600  601  605  628 +hsync 
+vsync

# 800x600 @ 72 Hz, 48.0 kHz hsync
Modeline 800x600 50 800  856  976 1040   600  637  643  666 +hsync 
+vsync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline 1024x768651024 1032 1176 1344   768  771  777  806 -hsync 
-vsync

# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline 1024x768751024 1048 1184 1328   768  771  777  806 -hsync 
-vsync
# 1280x1024 @ 87 Hz interlaced, 51 kHz hsync
Modeline 1280x1024   801280 1296 1512 1568  1024 1025 1037 1165 Interlace

# 1024x768 @ 76 Hz, 62.5 kHz hsync
Modeline 1024x768851024 1032 1152 1360   768  784  787  823
# 1280x1024 @ 61 Hz, 64.2 kHz hsync
Modeline 1280x1024  1101280 1328 1512 1712  1024 1025 1028 1054

# 1280x1024 @ 74 Hz, 78.85 kHz hsync
Modeline 1280x1024  1351280 1312 1456 1712  1024 1027 1030 1064

# 1280x1024 @ 76 Hz, 81.13 kHz hsync
Modeline 1280x1024  1351280 1312 1416 1664  1024 1027 1030 1064

# Low-res Doublescan modes
# If your chipset does not support doublescan, you get a 'squashed'
# resolution like 320x400.

# 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio
Modeline 320x200 12.588 320  336  384  400   200  204  205  225 Doublescan
# 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio
Modeline 320x240 12.588