You are not logged in.

#1 2008-03-20 20:56:39

ep2011
Member
Registered: 2008-02-28
Posts: 66

X keeps crashing

X has been crashing about once a day, but today it crashed about 3 times in a 10 minute time span. I'm running openbox. I think I may of configured the graphics driver wrong, because it is the only thing I can think of. I have integrated graphics in my computer (i can't find the exact type... I have a hp m7067c (http://h10025.www1.hp.com/ewfrf/wc/docu … uct=464112). I have xf86-video-intel installed and that is what I configured according to the beginners guide. Please help because this is a urgent issue.

Offline

#2 2008-03-20 21:42:49

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: X keeps crashing

The only way I was able to get X working was with the vesa driver.

Offline

#3 2008-03-20 21:47:07

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

How would I change that in xorg.conf?

Right now here is the section of my xorg.conf containing my device information (and drivers):

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82915G/GV/910GL Integrated Graphics Controller"
        BusID       "PCI:0:2:0"

Offline

#4 2008-03-20 22:26:22

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: X keeps crashing

Change the value for Driver from "intel" to "vesa".
But before,  try the old driver "i810" (dont forget to install it first with pacman -S xf86-video-i810).

For the new driver, you can also add the following to the Device Section and see if it makes a difference:

Option      "AccelMethod"   "xaa"

or

Option      "AccelMethod"   "exa"
Option      "MigrationHeuristic" "greedy"

Offline

#5 2008-03-20 22:32:43

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

Thanks for all the help, thats exactly what I think I need.

is there a way to test if it works other than waiting and seeing if my computer crashes?... I really wouldn't like it to crash again tongue

Offline

#6 2008-03-21 00:27:21

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: X keeps crashing

i doubt it. save your work regularly.

Offline

#7 2008-03-21 01:08:33

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

I just tried i810 and vesa. I did not adjust anything except the driver names to "i810" and "vesa" after installing the respective packages (and uninstalling xf86-video-intel). For i810, everything was blurry and wasn't clear and for vesa my monitor said "Please change resolution to a supported resolution" (or something similar to that)... What should I do now... Which options that you posted above should I try?

Offline

#8 2008-03-21 02:29:09

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: X keeps crashing

Hello!

If xorg crash, you should have some info in the xorg's logs.

Try this command and paste it here:

cat /var/log/Xorg.0.log | grep EE

Good luck.

Offline

#9 2008-03-21 02:36:05

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

Shaika-Dzari wrote:

Hello!

If xorg crash, you should have some info in the xorg's logs.

Try this command and paste it here:

cat /var/log/Xorg.0.log | grep EE

Good luck.

[eric@eric-arch ~]$ cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux eric-arch 2.6.24-ARCH #1 SMP PREEMPT Wed Mar 5 12:07:52 UTC 2008 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER

Edit: It seems to me that there aren't any errors... what else could it be then? What happens is that my screen just turns black, and control-alt-backspace does not work, but control-alt-F4 does work... So I think it has something to do with X... Also, it seems to only happen when I am running a lot in firefox3, if I'm just chatting in pidgin it usually does not crash.

Edit2: can it have anything to do with my login manager (slim)? I'm going to try to disable a login manager and just startx automatically on boot using the wiki methods... I'll see if that helps.

Edit3: I think it is slim because my screen just turned back again and I looked at /var/log/slim.log and I found something that looks unusual:

FatalError re-entered, aborting
lockup

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 183055 requests (183047 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 10798 requests (10797 known processed) with 0 events remaining.
pidgin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Last edited by ep2011 (2008-03-21 13:16:34)

Offline

#10 2008-03-21 14:02:19

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

Okay now I need even more urgent help.. X won't start at all now. All i changed was in /etc/inittab from 3 to 5 to try to start x automatically... That didn't work so I changed under it to use slim instead of that xdm thing... It still wouldn't work so I undid everything I changed but now when I log in using slim or when I log in from the cli and start x there is just a black screen with a cursor... nothing else...

edit: figured out exactly what happened... For some reason SCIM was using 80% of ram WITHOUT me using X (well after it crashed I control-alt-F4 so i went back to cli and did top)... So I took scim out of .xinitrc and now it loaded perfectly. But I need scim, so now I need help with that... yikes

edit2: what happens with scim is it starts at 6% ram, then goes to 20, then 40, then 60, etc until It maxes my ram... I reinstalled it and it still doesn't work... Scim worked perfectly a few days ago. (Should I make a new thread for this? - its only a scim issue)

Oh and I used the last wiki method to auto log in to x and it worked perfectly

Last edited by ep2011 (2008-03-21 14:42:09)

Offline

#11 2008-03-21 15:22:12

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: X keeps crashing

Maybe you should make a bug report for scim.
http://bugs.archlinux.org/

Try to explain your problem and provide scim version as well.

@+

Offline

#12 2008-03-21 22:36:47

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

Shaika-Dzari wrote:

Maybe you should make a bug report for scim.
http://bugs.archlinux.org/

Try to explain your problem and provide scim version as well.

@+

Thanks, will do. I figured out that it is not scim that is making the problem, but it is the scim-pinyin package (the one that I need...) I'll submit the bug report now.

Offline

#13 2008-03-21 23:24:24

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

And back to the original issue... My computer crashed again. We can rule out slim and scim, because both of those are disabled/uninstalled currently... Any help?

Offline

#14 2008-03-22 06:42:08

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: X keeps crashing

Did you try xf86-video-intel with one of the additional options from the post above? (for me this is the only way to get X stable)

Maybe a bit into the blue, but you could eliminate bad ram as cause by running memtest86+ (in the repositories).
Otherwise, check all your log files and see if you can find something....

Offline

#15 2008-03-22 08:18:06

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: X keeps crashing

If you are running the xorg-server-1.4.0.90-8 and you are using a keyboard layout other than the default basic ones (like pc101) you should take a look at this Debian bug report. It seems the latest xorg-server has problems with non-default keyboard models in xorg.conf. I normally use the "latitude" keyboard model and was having crashes. I switched it to "pc101" and now all is well.

Regards,
j

Offline

#16 2008-03-22 13:15:20

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

hokasch: I just edited it and I will try the second option now. I don't think its ram, because This isn't a new computer and i've been running Ubuntu and Windows on it fine... Arch is the only one thats been giving problems relating to crashing... Thanks

jbromley: I'm running the default keyboard layout... Thanks though

Last edited by ep2011 (2008-03-22 13:16:40)

Offline

#17 2008-03-22 15:44:06

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: X keeps crashing

Are you running an opengl application with vsync enabled?  If so, it might be this bug:  http://bugs.archlinux.org/task/9830.

Offline

#18 2008-03-22 16:38:28

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

tigrmesh wrote:

Are you running an opengl application with vsync enabled?  If so, it might be this bug:  http://bugs.archlinux.org/task/9830.

I don't think so... Thanks though.

Offline

#19 2008-03-22 17:20:57

alexmgarcia
Member
From: Azores, Portugal
Registered: 2007-05-14
Posts: 51

Re: X keeps crashing

Offline

#20 2008-03-22 17:30:55

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

alexmgarcia wrote:

Thanks for that, seems close to what i am experiencing.

Offline

#21 2008-03-22 18:01:19

alexmgarcia
Member
From: Azores, Portugal
Registered: 2007-05-14
Posts: 51

Re: X keeps crashing

ep2011, try to change to version 2.1.1 (it doesn't get crashes with this version) of the driver.
I can send you my PKGBUILD to build that version.

Offline

#22 2008-03-22 18:26:13

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: X keeps crashing

alexmgarcia wrote:

ep2011, try to change to version 2.1.1 (it doesn't get crashes with this version) of the driver.
I can send you my PKGBUILD to build that version.

I don't think I need it, I think those changes mentioned above may have fixed it. If i do i'll be sure to get that PKGBUILD. Thanks

Offline

#23 2008-03-23 13:33:42

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: X keeps crashing

jbromley wrote:

If you are running the xorg-server-1.4.0.90-8 and you are using a keyboard layout other than the default basic ones (like pc101) you should take a look at this Debian bug report. It seems the latest xorg-server has problems with non-default keyboard models in xorg.conf. I normally use the "latitude" keyboard model and was having crashes. I switched it to "pc101" and now all is well.

Regards,
j

Thank you for pointing me in the right direction. xorg-server 1.4.0.90-9 contains a patch for this bug.

Offline

#24 2008-03-23 15:49:13

alexmgarcia
Member
From: Azores, Portugal
Registered: 2007-05-14
Posts: 51

Re: X keeps crashing

Hmm, will upgrade to new xorg-server,  use new intel driver and see if it is fixed.

EDIT: It is NOT fixed. Back to 2.1.1 driver.

Last edited by alexmgarcia (2008-03-23 16:45:56)

Offline

Board footer

Powered by FluxBB