LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-18-2006, 07:29 AM   #1
baldmonkey
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
gdm hangs on close


I have recently 'made the switch' as it were and im now using debian (etch) full time!
(of course that makes me very sorry for any n00besque things said)

I have fully configured my 9800pro to the way i like it (with fglrx, 8.29.6) but It seems that whenever I try to reboot, gdm crashes and permanently hangs, with a fuzzy, white, completely stationary screen, forcing me to hit reset.

If i change to a console from the X terminal and 'sudo reboot', it reboots fine, but I can see from the terminal that it doesn't actually manage to kill the gdm process. If i try to kill the gdm process manually it doesnt end and if I try to startx after it has supposedly been killed (or not), it starts a new x server on :1 as gdm is still hanging on :0.

I have already tried adding 'AlwaysRestartServer=true' to '/etc/gdm/gdm.conf', which allowed me to at least logout to the login screen (which had previously caused the same error on a number of occasions), but i still get the same problem if I try to restart from the login screen or from when I am logged in.

I have seen evidence of this behaviour here but my problem seems to happen 100% of the time.

My xorg.conf is below.

Thanks for any help

Code:
Section "Files"

	# path to defoma fonts
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "type1"
	Load  "vbe"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"
EndSection

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Emulate3Buttons" "true"
EndSection

Section "Monitor"
	Identifier   "Mitsubishi 91TXM"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier  "Mitsubishi TV"
	HorizSync       30-81
	VertRefresh     50-50
EndSection

Section "Device"
	Identifier  "Radeon 9800 Pro RGB"
	Driver      "fglrx"
	BusID "PCI:1:0:0"
Option "UseInternalAGPGART" "no"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "MonitorLayout" "AUTO, AUTO"
Option "UseFBDev" "true"
	#TV SHIT
	Option "NoTV" "no"
	Option "TVFormat"                   "PAL-I"
	Option "TVStandard"                 "PAL-I"
	Option "TVHSizeAdj"                 "0"
	Option "TVVSizeAdj"                 "0"
	Option "TVHPosAdj"                  "0"
	Option "TVVPosAdj"                  "0"
	Option "TVHStartAdj"                "0"
	Option "TVColorAdj"                 "0"
	Option "GammaCorrectionI"           "0x06419064"
	Option "GammaCorrectionII"          "0x07d1905b"
        Option "UseInternalAGPGART" "no"
EndSection

Section "Device"
	Identifier  "Radeon 9800 Pro TV-Out"
	Driver      "fglrx"
	BusID "PCI:1:0:0"
	Screen 1
EndSection

Section "Screen"
	Identifier "Monitor"
	Device     "Radeon 9800 Pro RGB"
	Monitor    "Mitsubishi 91TXM"
	DefaultDepth     24
	Option    "DPMS"
	SubSection "Display"
		Depth     1
		Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
   Identifier  "TV Screen"
   Device      "Radeon 9800 Pro TV-Out"
   Monitor     "Mitsubishi TV"
   DefaultDepth 24
   Subsection "Display"
       Depth       24
       Modes       "1024x768" "800x600" "640x480"
    EndSubsection
 EndSection

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Monitor" 0 0
	Screen      1  "TV Screen" Rightof "Monitor"	
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
EndSection

Section "DRI"
	Mode         0666
EndSection

Last edited by baldmonkey; 10-18-2006 at 07:36 AM.
 
Old 10-19-2006, 08:28 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,673

Rep: Reputation: 122Reputation: 122
Figure out what process is keeping gdm occupied. Kill that and try again, it should now work properly. If it does, check if there are scripts in the /etc/rc0 and /etc/rc6 directories that handle shutting down that application. If not, create those scripts, read the man pages for the application on how it should be terminated. There are plenty HOWTO's on writing scripts (which isn't very difficult once you understand the basics ) on the internet.
 
Old 10-19-2006, 12:25 PM   #3
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I've had similar issues with two different Radeon cards using the fglrx drivers. If you don't need every extra bit of performance, I suggest reconfiguring the xorg (with dpkg-reconfigure xserver-xorg) and switching the video driver to "radeon", which is the open source driver for ATI Radeons.

If this is not an option, I suggest trying different fglrx options in xorg.conf. This is more than likely an issue with the ATI fglrx driver. At least I haven't managed to freeze my system completely with any other display drivers.
 
Old 10-19-2006, 06:17 PM   #4
baldmonkey
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for that, in terms of performance i will have to see what i lose if i just use the standard open source drivers, but i will try all of your suggestions.
 
  


Reply

Tags
close, debian, gdm, hang, kill


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
what is /etc/x11/gdm/gdm.conf ? Floreen Linux - Newbie 2 04-30-2007 12:22 PM
mplayer 'close all' doesn't close anything allelopath Linux - Software 2 12-08-2005 09:40 AM
Dell D600 hangs on lid close mark_2811 Mandriva 4 10-22-2004 04:31 AM
gdm overwrites /etc/gdm/Session/fluxbox _flaab_ Mandriva 0 12-21-2003 10:58 AM
Netscape hangs, can't close it down. DiBosco Linux - General 3 04-06-2002 11:36 AM


All times are GMT -5. The time now is 07:49 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