LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   gdm hangs on close (https://www.linuxquestions.org/questions/debian-26/gdm-hangs-on-close-493477/)

baldmonkey 10-18-2006 07:29 AM

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 :D

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


Dutch Master 10-19-2006 08:28 AM

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.

basileus 10-19-2006 12:25 PM

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.

baldmonkey 10-19-2006 06:17 PM

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.


All times are GMT -5. The time now is 04:18 PM.