LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-16-2008, 12:08 PM   #1
v3gard
LQ Newbie
 
Registered: Jan 2007
Location: Kristiansand, Norway
Distribution: Slackware 12
Posts: 18

Rep: Reputation: 0
X hangs regularly


Hello.

I've been using Slackware for six months now, and around one month ago - I got curious about Archlinux and have now spent the last 4 weeks until yesterday figuring out whether I prefer Archlinux or Slackware. The choice was however fairly simple.. I am officially a Slacker

But now to the real issue at hand. While I was using Archlinux, I had a problem with my mousecursor stopping regularly - and when I tried to do a CTRL+ALT+BACKSPACE to restart X, the entire system hanged, and I was forced to do a reboot.

This was actually one of the major reasons of why I switched back to Slackware, because I never had that problem earlier...

As mentioned, I installed Slackware again yesterday and have now spent a few hours configuring and tweaking it to my liking - but I've come across the same problem. Once in a while, the mousecursor hangs and when I try to restart X or run "init 3" from a terminal - the ensire system crashes, and I am forced to reboot..

Does anyone know what I could do to figure out how to solve this problem?

Thanks.
 
Old 02-16-2008, 02:23 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You should probably start by checking the logs. These are located in '/var/log'. You should check 'Xorg.0.log' for the last xorg log, 'Xorg.0.log.old' for the xorg log before last, and also check 'syslog' and 'messages', these have everything timestamped so you should find when approximately the crash happened and go to that time and date look for anything suspicious. If you don't see anything suspicious, then it could also be a hardware issue, maybe the video card is overheating, what card do you have, BTW (some cards are more likely to overheat than others). It could be many things, actually.
 
Old 02-18-2008, 03:45 AM   #3
thegoofeedude
Member
 
Registered: Aug 2004
Distribution: Slackware 13.37, 14.1
Posts: 70

Rep: Reputation: 16
What video card do you have? With my ATI card, I had random X problems (I am pretty sure they were just what you described) which were fixed by upgrading the xfvideo-ati package to the one found in extra/xf86-video-ati-6.6.3/xf86-video-ati-6.6.3-i486-3.tgz.

Regardless of your video card, make sure you are up to date with all the patches (you can grab them from your nearest mirror.) I know that xfvideo-nv and xfvideo-intel had some updates.
 
Old 02-18-2008, 04:44 AM   #4
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
i also wanted to aks you the same question what "thegoofeedude" asked.

are you getting the same error with vesa driver?

i think you are using nvidia!

regards
 
Old 02-18-2008, 01:50 PM   #5
v3gard
LQ Newbie
 
Registered: Jan 2007
Location: Kristiansand, Norway
Distribution: Slackware 12
Posts: 18

Original Poster
Rep: Reputation: 0
Hi guys, and thanks for the replies

I'm using a GeForce 6800 GT GPU with the latest drivers and autoconfigured xorg.conf from the installerscript provided by Nvidia. I have also checked the X-server logs, namely Xorg.0.log and Xorg.0.log.old as well as /var/log/messages but none of them returned any suspicious output.

Syslog however, printed some info that caught my attention. The following was added to the log shortly around the time when my cursor froze yet again earlier today.

Code:
Feb 18 14:55:06 rivendell gdmgreeter[3029]: GdkPixbuf-CRITICAL: gdk_pixbuf_new_from_file_at_scale: assertion `width > 0 || width == -1' failed 
Feb 18 14:55:06 rivendell gdmgreeter[3029]: GLib-GObject-WARNING: invalid (NULL) pointer instance 
Feb 18 14:55:06 rivendell gdmgreeter[3029]: GLib-GObject-CRITICAL: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
Feb 18 14:55:06 rivendell gdmgreeter[3029]: GdkPixbuf-CRITICAL: gdk_pixbuf_new_from_file_at_scale: assertion `width > 0 || width == -1' failed 
Feb 18 14:55:06 rivendell gdmgreeter[3029]: GLib-GObject-WARNING: invalid (NULL) pointer instance 
Feb 18 14:55:06 rivendell gdmgreeter[3029]: GLib-GObject-CRITICAL: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
I do not know if this output is a result from when the cursor froze or from the entire system crashing when I ran a "init 3" after the hang-up.

If it could be of interest, I've also provided an output from my xorg.conf:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Jan 11 15:05:59 PST 2008

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath	    "/usr/local/share/fonts"
EndSection

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "xtrap"
    Load           "record"
    Load           "dbe"
    Load           "freetype"
    Load           "type1"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "no"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option	   "Buttons" "7"
    Option	   "Resolution" "800"
EndSection

Section "Monitor"

	#DisplaySize	  410   260	# mm
 ### Comment all HorizSync and VertRefresh values to use DDC:
    Identifier     "Monitor0"
    VendorName     "ACR"
    ModelName      "Acer AL1916W"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "NV40 [GeForce 6800 GT]"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
	Modes	    "1440x900"
    EndSubSection
EndSection
I'll try using the vesa-driver instead of nvidia and see if that'll help..

Thanks for the help so far

Last edited by v3gard; 02-18-2008 at 04:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X/Firefox Hang regularly mm3000 Slackware 15 11-07-2007 02:03 PM
Need to FSCK regularly froussy Linux - General 13 09-21-2006 12:12 AM
can i regularly run dhclient spooon Linux - Networking 3 12-28-2005 03:59 AM
Regularly switching between monitors ianunderwood Suse/Novell 2 08-04-2005 12:34 PM
Run fsck regularly? macnut Linux - General 1 12-27-2004 07:36 AM


All times are GMT -5. The time now is 11:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration