You are not logged in.

#1 2009-02-10 20:09:12

abhinavg90
Member
Registered: 2009-02-03
Posts: 5

[SOLVED] XFCE4 won't shut down and other FGLRX issues.

I am using ArchLinux (kernel 2.6.28-ARCH) on my laptop and XFCE4 desktop environment. After the last kernel upgrade, my xfce won't shut down. If I choose to shut down from the XFCE shut down dialog, it exits X with some errors and I am at the terminal. Here I can do a sudo halt. I think this has something to do with fglrx ( Graphics card : ATI Radeon x1200 series ).

Along with that theres this small issue with fglrx for quite some time. No matter what desktop environment I use ( tried kde4, lxde, xfce4, openbox, fluxbox, enlightenment), if I start X, and then exit X and start X again, I get a segmentation fault of some kind ( shows a stack trace ). If I press ctrl-alt-del at this point, it restarts. If I mess around, it gives me a kernel panic. Now I can avoid all this by just restarting fglrx before restarting X ( sudo rmmod fglrx && sudo modprobe fglrx ). Then it works perfectly. But this keeps me from using GDM/KDM/SLIM.

Here is the output of the terminal from startx to attempting a shut down ( where it exists to terminal ).

xauth:  creating new authority file /home/abhinav/.serverauth.4894





X.Org X Server 1.5.3

Release Date: 5 November 2008

X Protocol Version 11, Revision 0

Build Operating System: Linux 2.6.27-ARCH i686 

Current Operating System: Linux localhost 2.6.28-ARCH #1 SMP PREEMPT Sun Feb 8 10:13:45 UTC 2009 i686

Build Date: 17 December 2008  08:20:05PM

 

    Before reporting problems, check http://wiki.x.org

    to make sure that you have the latest version.

Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 10 14:51:04 2009

(==) Using config file: "/etc/X11/xorg.conf"

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:0:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:1:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:4:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:5:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:6:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:1) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:3) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:4) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:5) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:0:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:1:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:4:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:5:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:6:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:1) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:3) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:4) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:5) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found

** Message: This build doesn't include support for XF86Misc extension

** Message: Querying Xkb extension

** Message: Xkb extension found

** Message: Querying XINPUT extension

** Message: XINPUT extension found

** Message: Querying Xkb extension

** Message: Xkb extension found



(xfce4-session:4923): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed



(xfce4-menu-plugin:4933): libxfce4util-CRITICAL **: Unable to open file /home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.rc.4933.tmp for writing: Permission denied



(xfce4-menu-plugin:4933): libxfce4util-CRITICAL **: Unable to open file /home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.rc.4933.tmp for writing: Permission denied



(xfce4-menu-plugin:4933): libxfce4util-CRITICAL **: Unable to open file /home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.rc.4933.tmp for writing: Permission denied



** (xfce4-menu-plugin:4933): CRITICAL **: xfdesktop: Unable to write to '/home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.xml'.  Desktop menu wil not be cached



(xfdesktop:4935): libxfce4util-CRITICAL **: Unable to open file /home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.rc.4935.tmp for writing: Permission denied



(xfdesktop:4935): libxfce4util-CRITICAL **: Unable to open file /home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.rc.4935.tmp for writing: Permission denied



(xfdesktop:4935): libxfce4util-CRITICAL **: Unable to open file /home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.rc.4935.tmp for writing: Permission denied



** (xfdesktop:4935): CRITICAL **: xfdesktop: Unable to write to '/home/abhinav/.cache/xfce4/desktop/menu-cache--home-abhinav-.config-xfce4-desktop-menu.xml.xml'.  Desktop menu wil not be cached

** Message: xfsm-shutdown-helper.c:209: Using HAL to shutdown/reboot the computer.



(xfce4-session:4923): GdkPixbuf-CRITICAL **: gdk_pixbuf_savev: assertion `filename != NULL' failed



** (xfce4-session:4923): WARNING **: xfsm-shutdown-helper.c:176: Failed to contact HAL: org.freedesktop.hal.power-management.shutdown no <-- (action, result)



** (xfce4-session:4923): WARNING **: Failed to perform shutdown action!




waiting for X server to shut down xfce-mcs-manager: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

If it helps, here is my xorg.conf

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "USB Mouse" "SendCoreEvents"
    InputDevice    "SynapticsTouchpad" "CorePointer"
EndSection

Section "Files"
    # Additional fonts: Locale, Gimp, TTF...
    #    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
    #    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    #FontPath     "/usr/share/fonts/PEX"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/Type1"
    #FontPath     "/usr/share/fonts/ttf/western"
    #FontPath     "/usr/share/fonts/ttf/decoratives"
    #FontPath     "/usr/share/fonts/truetype"
    #FontPath     "/usr/share/fonts/truetype/openoffice"
    #FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    #FontPath     "/usr/share/fonts/latex-ttf-fonts"
    #FontPath     "/usr/share/fonts/defoma/CID"
    #FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    #Load  "type1"
    Load  "freetype"
    #Load  "record"
    Load  "synaptics"
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail" "true"
#    Option        "AutoAddDevices" "False"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us"
    Option        "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option        "Protocol" "Microsoft"
    Option        "Device" "/dev/ttyS0"
    Option        "Emulate3Buttons" "true"
    Option        "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier     "SynapticsTouchpad"
    Driver        "synaptics"
    Option        "Device"        "/dev/psaux"
    Option        "SendCoreEvents"    "true"
    Option        "Protocol"        "auto-dev"
    Option        "SHMConfig"        "true"
    Option        "VertEdgeScroll"    "true"
    Option        "VertTwoFingerScroll"    "false"
    Option        "HorizEdgeScroll"    "false"
    Option        "RTCornerButton"    "2"
    Option        "LTCornerButton"    "2"
    Option        "RBCornerButton"    "3"
    Option        "LBCornerButton"    "3"
    Option        "TapButton1"        "1"
    Option        "TapButton2"        "2"
    Option        "TapButton3"        "3"
EndSection

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option        "Device" "/dev/input/mice"
    Option        "SendCoreEvents" "true"
    Option        "Protocol" "IMPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "5"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection

And parts of my rc.conf

MODULES=(!snd_pcsp fglrx snd-hda-intel snd-pcm-oss !pcspkr)
DAEMONS=(syslog-ng network netfs crond hal fam esd alsa)

And my .xinitrc

#!/bin/sh
exec xfce4-session
# exec startxfce4
exit 0

Hope someone can help me out.

Last edited by abhinavg90 (2009-02-11 00:03:58)

Offline

#2 2009-02-10 20:24:31

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: [SOLVED] XFCE4 won't shut down and other FGLRX issues.

This small change should solve your shutdown problem:
.xinitrc

exec ck-launch-session xfce4-session

Sorry, I can't help you with with the other problem.

Offline

#3 2009-02-10 20:26:56

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: [SOLVED] XFCE4 won't shut down and other FGLRX issues.

For xfce4 shutdown and reboot you probably have to fix the Policykit.conf: http://bbs.archlinux.org/viewtopic.php? … 19#p496619

I just got helped with this myself.


If you use my /etc/PolicyKit/PolicyKit.conf make sure you use your own "login name"...... mine is "seventy3" so use your own "$USER" name like the HAL ArchWiki page says here: http://wiki.archlinux.org/index.php/HAL … utomounter

Last edited by methuselah (2009-02-10 20:30:06)

Offline

#4 2009-02-11 00:03:42

abhinavg90
Member
Registered: 2009-02-03
Posts: 5

Re: [SOLVED] XFCE4 won't shut down and other FGLRX issues.

Thanks peart and methuselah.
peart's solution worked.

I will see what can be done about the fglrx problem.

Offline

#5 2009-07-29 04:54:57

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: [SOLVED] XFCE4 won't shut down and other FGLRX issues.

Thanks so much I lost so much sleep over this. I can finally go to bed.

Offline

Board footer

Powered by FluxBB