Re: X hangs in mysterious ways

2001-05-18 Thread Simon Law
On Thu, 17 May 2001, Kevin Ross wrote:

  What's funny is that VESA comes up right, it detects my card
  beautifully; but then it complains that there aren't any screens.
 
 Sounds like it can't find a matching resolution and refresh rate.  The VESA 
 driver is limited in what resolutions and refresh rates it will support.
 
 In Section Monitor, try commenting out everything except the Identifier.  
 This will use a default set of refresh rates.
 
 In Section Screen, try using conservative values.  Like for DefaultDepth, 
 try 16.  And in the Subsection Display for 16 bit, try just 800x600.
 

I've got VESA to work now.  I had to set it to use a bpp of 8, and
then it came up fine.  My computer has been up for 15 hours now, and I've
been in X all this time; so I guess things are working alright (Although
none of my consoles work now.  *sigh*  Something about the refresh rate
being too low.  (I always thought that text consoles ran at 60Hz.))

Anyway, this leads me to suspect that it's my video card that's
busted (unlikely) or that the X driver is broken.  Should I try going back
to X 4.0.2 and see if that works?  (I had a computer a while ago with the
same type of video card, running X 4.0.2.)

Actually, VESA mode isn't much slower than the accelerated driver.
X 4.0.3 doesn't seem to have working Direct Rendering support for ATI cards
yet.  All I'm missing are the pretty colours, and I can live without them
for the time being.

Simon



Re: X hangs in mysterious ways

2001-05-18 Thread Kevin Ross
 I've got VESA to work now.  I had to set it to use a bpp of 8, and
 then it came up fine.  My computer has been up for 15 hours now, and I've
 been in X all this time; so I guess things are working alright (Although
 none of my consoles work now.  *sigh*  Something about the refresh rate
 being too low.  (I always thought that text consoles ran at 60Hz.))

I'm glad you at least have a working and stable system.  Now, you can try
playing with the monitor and screen sections of your config file, to try to
get a display that's more to your liking.  I'm using the VESA driver, too,
because the driver for my video card (Trident) flat out doesn't work with my
card.  I'm able to use 16 bpp, which is colorful enough for me, and I can
switch consoles using Ctrl+Alt+F[1-7] just fine.

 Anyway, this leads me to suspect that it's my video card that's
 busted (unlikely) or that the X driver is broken.  Should I try going back
 to X 4.0.2 and see if that works?  (I had a computer a while ago with the
 same type of video card, running X 4.0.2.)

If 4.0.2 works for you, then sure, why not.

Also, I would suggest bringing this problem up on the XFree86 mailing lists.
Go to http://www.XFree86.org

-- Kevin





Re: X hangs in mysterious ways

2001-05-17 Thread Kevin Ross
 I am running Sid with XFree86 4.0.3-3 on Linux 2.4.4.  My
 predicament, you see, is that my X server seems to hang the machine
 whenever it fancies.  I have maximum uptimes of about 15 to 20 minutes
 of usage.  If I don't touch my X server, it's fine.  If I don't use
 my X server, it's fine.  I've tried MemTest86, but that passed with
 flying colours.  Any suggestions for log files to look at, or diagnostics
 to run?

Sounds like it could be a video driver problem.  There are a couple things
you can try:

1. In the Device section for your video card in your XF86Config-4 file,
try adding:
Option NoAccel

There may be other driver-specific options for your card.  What driver
are you using?

2. In the same section, instead of your current driver, try:
Driver vesa

This probably won't give you great performance, but at least it should
be stable.

-- Kevin





Re: X hangs in mysterious ways

2001-05-17 Thread Simon Law
On Thu, 17 May 2001, Kevin Ross wrote:

  I am running Sid with XFree86 4.0.3-3 on Linux 2.4.4.  My
  predicament, you see, is that my X server seems to hang the machine
  whenever it fancies.  I have maximum uptimes of about 15 to 20 minutes
  of usage.  If I don't touch my X server, it's fine.  If I don't use
  my X server, it's fine.  I've tried MemTest86, but that passed with
  flying colours.  Any suggestions for log files to look at, or diagnostics
  to run?
 
 Sounds like it could be a video driver problem.  There are a couple things
 you can try:
 
 1. In the Device section for your video card in your XF86Config-4 file,
 try adding:
 Option NoAccel
 
 There may be other driver-specific options for your card.  What driver
 are you using?

Did that with the r128 and the ati drivers.  No dice.  I still get
hangs.

 2. In the same section, instead of your current driver, try:
 Driver vesa
 
 This probably won't give you great performance, but at least it should
 be stable.

What's funny is that VESA comes up right, it detects my card
beautifully; but then it complains that there aren't any screens.

Simon



Re: X hangs in mysterious ways

2001-05-17 Thread Kevin Ross
 What's funny is that VESA comes up right, it detects my card
 beautifully; but then it complains that there aren't any screens.

Sounds like it can't find a matching resolution and refresh rate.  The VESA 
driver is limited in what resolutions and refresh rates it will support.

In Section Monitor, try commenting out everything except the Identifier.  
This will use a default set of refresh rates.

In Section Screen, try using conservative values.  Like for DefaultDepth, try 
16.  And in the Subsection Display for 16 bit, try just 800x600.

-- Kevin




X hangs in mysterious ways

2001-05-16 Thread Simon Law
Hello,

I seem to have a small, and mysterious problem.

I am running Sid with XFree86 4.0.3-3 on Linux 2.4.4.  My 
predicament, you see, is that my X server seems to hang the machine
whenever it fancies.  I have maximum uptimes of about 15 to 20 minutes
of usage.  If I don't touch my X server, it's fine.  If I don't use
my X server, it's fine.  I've tried MemTest86, but that passed with
flying colours.  Any suggestions for log files to look at, or diagnostics
to run?

Simon