Re: [Freeciv-Dev] x crashes

2010-10-19 Thread David Lowe
On 14 Oct, 2010, at 7:42 PM, David Zuccaro wrote:

> x windows has crashes several times while I have been using the freeciv
> client ver 2.2.3. Is it possible that freeciv is causing this?

You sent the same message two days, and i replied to that.  Did you get 
my message, and did you try changing the version of your video driver?

Sent from my MacBookPro

Beauty without virtue is like a flower without perfume.

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] x crashes

2010-10-18 Thread David Lowe
On 17 Oct, 2010, at 8:31 PM, David Zuccaro wrote:

> 
> I tried this. The crash still happens.
> 
> I have been reading various threads on the subject. Such as:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=17713
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=23082
> 
> But no clear fix is presented but it has been marked as resolved.

I'm not sure that the first case is related to your situation, since it 
relates to X failing to start - this is not what you are seeing.  The second 
sounds like your case.  Their bug # 23082 is not closed, so it might be a bit 
of waiting game while a final version patch is developed and gradually makes 
its way into distro releases.  Hopefully you have turned on 'backports' or are 
perhaps considering Squeeze, as Lenny is essentially finished.  You should 
probably also file a bug report with Debian, or at least mention this on their 
forums or listmail.  Otherwise it is unlikely that they will take the effort to 
put this in their Lenny repository.

> I'm a bit wary of using a nonstandard kernel under debian.

Well, we're not talking anything that drastic - at least not yet.  The 
most radical suggestion i would contemplate now would be to force X.Org back to 
the previous version.  However, i'm not exactly sure how this would be 
accomplished; it'd be particularly tricky since so many other packages depend 
on it.  It is very likely that Gnome in Lenny would cease to work, and you'd 
have to regress it as well.  The resulting chain reaction would essentially end 
up having a system that was so Etch-like that it would be easier to go back to 
Etch.

I do have one more simple idea that might be worth trying: change your 
screen resolution down to a smaller one and see if that doesn't help.  It could 
be that the crash is due to memory used by the onboard video being stolen by 
the CPU, and it simply wasn't likely to happen until you changed to a larger 
monitor and [presumably] a screen mode needing more bytes.

Sent from my MacBookPro

"If we knew what it was we were doing, it would not be called research, would 
it?" - Albert Einstein
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] x crashes

2010-10-17 Thread David Zuccaro
On Sun, 2010-10-17 at 09:20 -0700, David Lowe wrote: 
> On 16 Oct, 2010, at 6:40 PM, David Zuccaro wrote:
> 
> > On Fri, 2010-10-15 at 08:16 -0700, David Lowe wrote:
> >> On 14 Oct, 2010, at 7:47 PM, David Zuccaro wrote:
> >> 
> >>> What is causing my x windows server to crash. How can I fix it?
> >>> 
> >>> This is the error in syslog:
> >>> Oct 15 10:36:48 Palatinus gdm[3173]: WARNING:
> >>> gdm_slave_xioerror_handler: Fatal X error - Restarting :0
> >> 
> >> Is this a new install, or one that has recently been updated?  This
> >> specific error has in the past been solved by rolling back to a
> >> previous version video driver or updating the video driver.  In any
> >> case, it is likely that the error will randomly pop up from time to
> >> time until resolved - i.e. you will probably see this same error even
> >> if you never start FreeCiv.  You may also want to file a bug report
> >> with Debian.
> > 
> > It started happening when I switched to a 21.5" monitor and added an
> > extra 3 GB of physical memory.
> 
> I'd bet you dollars to doughnuts that the blame for the crashes can be
> laid on the video driver having difficulties using the settings for
> the old monitor on the new monitor.  I've not tried Debian yet [i
> actually have a disc i mean to give a whirl, but haven't found time to
> do so], however, there's probably enough similarity to Ubuntu to make
> this work.  I'll list them in order of pain involved.

Yes I have found debian to be very similar to ubuntu. There are minor
differences but he underlying architecture is the same. 
> 
> 1) You probably have a GUI tool to configure the driver.  For
> instance, the proprietary Nvidia driver includes "NVidia X Server
> Settings", which is attached to my System -> Administration menu.
> Gnome also provides a tool for the open source drivers, on my system
> it is in the System menu -> Preferences -> Monitors.  

I have no video card. I'm using on-board video which is intel based.
lspci gives:
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ
Integrated Graphics Controller (rev 02)

I have no GUI tool to configure the monitor other than the one that sets
the resolution.

Just to clarify this this the current configuration of my system:

gnu/linux/debian lenny
xserver-xorg-video-intel 2:2.3.2-2+lenny8 
xserver-xorg 1:7.3+20 
xserver-xorg-core2:1.4.2-10.lenny2
linux-image-2.6-686  2.6.26+17+lenny1 

> 2) [from a terminal] "sudo dpkg-reconfigure ", where
>  is something like xserver-xorg or perhaps the name of
> the package that provides your video driver.  The difficulty is
> knowing exactly which package it is that needs to be configured,
> apt/aptitude might be able to help out here.  

dpkg-reconfigure xserver-xorg
This command just presented me with several screens to do with
configuring my keyboard layout. So no help here.

I just found a way to reliably cause this error to happen: By dragging
around a window. 

> 3) Another method would be to totally log out of X and use a single
> user shell or console. I'm not sure how this is accomplished in
> Debian, but it may involve selecting an option from the
> grub/lilo/yaboot menu. Once there, type the following commands:
> 
> cd /etc/X11/
> Xorg -configure
> 
> When that is finished test your settings by typing:
> 
> startx

I tried this. The crash still happens.

I have been reading various threads on the subject. Such as:

https://bugs.freedesktop.org/show_bug.cgi?id=17713

https://bugs.freedesktop.org/show_bug.cgi?id=23082

But no clear fix is presented but it has been marked as resolved.

I'm a bit wary of using a nonstandard kernel under debian.

Thanks

dz


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] x crashes

2010-10-17 Thread David Lowe
On 16 Oct, 2010, at 6:40 PM, David Zuccaro wrote:

> On Fri, 2010-10-15 at 08:16 -0700, David Lowe wrote:
>> On 14 Oct, 2010, at 7:47 PM, David Zuccaro wrote:
>> 
>>> What is causing my x windows server to crash. How can I fix it?
>>> 
>>> This is the error in syslog:
>>> Oct 15 10:36:48 Palatinus gdm[3173]: WARNING:
>>> gdm_slave_xioerror_handler: Fatal X error - Restarting :0
>> 
>> Is this a new install, or one that has recently been updated?  This
>> specific error has in the past been solved by rolling back to a
>> previous version video driver or updating the video driver.  In any
>> case, it is likely that the error will randomly pop up from time to
>> time until resolved - i.e. you will probably see this same error even
>> if you never start FreeCiv.  You may also want to file a bug report
>> with Debian.
> 
> It started happening when I switched to a 21.5" monitor and added an
> extra 3 GB of physical memory.

I'd bet you dollars to doughnuts that the blame for the crashes can be 
laid on the video driver having difficulties using the settings for the old 
monitor on the new monitor.  I've not tried Debian yet [i actually have a disc 
i mean to give a whirl, but haven't found time to do so], however, there's 
probably enough similarity to Ubuntu to make this work.  I'll list them in 
order of pain involved.

1) You probably have a GUI tool to configure the driver.  For instance, the 
proprietary Nvidia driver includes "NVidia X Server Settings", which is 
attached to my System -> Administration menu.  Gnome also provides a tool for 
the open source drivers, on my system it is in the System menu -> Preferences 
-> Monitors.  

2) [from a terminal] "sudo dpkg-reconfigure ", where  is something like xserver-xorg or perhaps the name of the package that 
provides your video driver.  The difficulty is knowing exactly which package it 
is that needs to be configured, apt/aptitude might be able to help out here.  

3) Another method would be to totally log out of X and use a single user shell 
or console.  I'm not sure how this is accomplished in Debian, but it may 
involve selecting an option from the grub/lilo/yaboot menu.  Once there, type 
the following commands:

cd /etc/X11/
Xorg -configure

When that is finished test your settings by typing:

startx

*) In days of yore we might have deleted the configurations file, but i 
understand that changes in the way X.Org 1.4 stores settings make that less 
useful in many cases.

Sent from my MacBookPro

If a train station is where the train stops, what is a workstation?
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] x crashes

2010-10-17 Thread David Zuccaro
On Sat, 2010-10-16 at 12:53 -0700, David Lowe wrote:
> On 14 Oct, 2010, at 7:42 PM, David Zuccaro wrote:
> 
> > x windows has crashes several times while I have been using the freeciv
> > client ver 2.2.3. Is it possible that freeciv is causing this?
> 
>   You sent the same message two days, and i replied to that.  Did you get 
> my message, and did you try changing the version of your video driver?

Yes, I got your first message. There seems to be a bit of a delay with
this list or perhaps it is moderation. Haven't tried changing my video
driver not sure how to do that with debian.


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] x crashes

2010-10-16 Thread David Zuccaro
On Fri, 2010-10-15 at 08:16 -0700, David Lowe wrote:
> On 14 Oct, 2010, at 7:47 PM, David Zuccaro wrote:
> 
> > What is causing my x windows server to crash. How can I fix it?
> > 
> > This is the error in syslog:
> > Oct 15 10:36:48 Palatinus gdm[3173]: WARNING:
> > gdm_slave_xioerror_handler: Fatal X error - Restarting :0
> 
> Is this a new install, or one that has recently been updated?  This
> specific error has in the past been solved by rolling back to a
> previous version video driver or updating the video driver.  In any
> case, it is likely that the error will randomly pop up from time to
> time until resolved - i.e. you will probably see this same error even
> if you never start FreeCiv.  You may also want to file a bug report
> with Debian.

It started happening when I switched to a 21.5" monitor and added an
extra 3 GB of physical memory.


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] x crashes

2010-10-15 Thread David Lowe
On 14 Oct, 2010, at 7:47 PM, David Zuccaro wrote:

> What is causing my x windows server to crash. How can I fix it?
> 
> This is the error in syslog:
> Oct 15 10:36:48 Palatinus gdm[3173]: WARNING:
> gdm_slave_xioerror_handler: Fatal X error - Restarting :0

Is this a new install, or one that has recently been updated?  This 
specific error has in the past been solved by rolling back to a previous 
version video driver or updating the video driver.  In any case, it is likely 
that the error will randomly pop up from time to time until resolved - i.e. you 
will probably see this same error even if you never start FreeCiv.  You may 
also want to file a bug report with Debian.

Sent from my MacBookPro

Your mistakes are not behind you until you face them.
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev