LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Too high CPU load while starting Xfce4 (https://www.linuxquestions.org/questions/linux-software-2/too-high-cpu-load-while-starting-xfce4-766045/)

Padawan.AVT 11-01-2009 02:43 PM

Too high CPU load while starting Xfce4
 
Hi! When I start X session (Xfce4), it completely loads one of my CPU cores for a few minutes (sometimes even for 30-40 minutes).
In the meantime my /var/log/Xorg.0.log log almost completely consists of such continuously repeating records:
Code:

(II) fglrx(0): EDID vendor "Samsung", prod id 46
(II) fglrx(0): Using hsync ranges from config file
(II) fglrx(0): Using vrefresh ranges from config file
(II) fglrx(0): Printing DDC gathered Modelines:
(II) fglrx(0): Modeline "1280x1024"x0.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz)
(II) fglrx(0): Modeline "800x600"x0.0  40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(II) fglrx(0): Modeline "800x600"x0.0  36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
(II) fglrx(0): Modeline "640x480"x0.0  31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
(II) fglrx(0): Modeline "640x480"x0.0  31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz)
(II) fglrx(0): Modeline "640x480"x0.0  30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
(II) fglrx(0): Modeline "640x480"x0.0  25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) fglrx(0): Modeline "720x400"x0.0  35.50  720 738 846 900  400 421 423 449 -hsync -vsync (39.4 kHz)
(II) fglrx(0): Modeline "720x400"x0.0  28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
(II) fglrx(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
(II) fglrx(0): Modeline "1024x768"x0.0  78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
(II) fglrx(0): Modeline "1024x768"x0.0  75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
(II) fglrx(0): Modeline "1024x768"x0.0  65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) fglrx(0): Modeline "1024x768"x0.0  44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz)
(II) fglrx(0): Modeline "832x624"x0.0  57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
(II) fglrx(0): Modeline "800x600"x0.0  49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
(II) fglrx(0): Modeline "800x600"x0.0  50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
(II) fglrx(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
(II) fglrx(0): Modeline "640x480"x85.0  35.71  640 672 736 832  480 481 484 505 -hsync +vsync (42.9 kHz)
(II) fglrx(0): Modeline "800x600"x85.0  56.55  800 840 928 1056  600 601 604 630 -hsync +vsync (53.5 kHz)
(II) fglrx(0): Modeline "1024x768"x85.0  94.39  1024 1088 1200 1376  768 769 772 807 -hsync +vsync (68.6 kHz)
(II) fglrx(0): Modeline "1280x1024"x85.0  159.36  1280 1376 1512 1744  1024 1025 1028 1075 -hsync +vsync (91.4 kHz)
(II) fglrx(0): Modeline "1600x1200"x75.0  205.99  1600 1720 1896 2192  1200 1201 1204 1253 -hsync +vsync (94.0 kHz)
(II) fglrx(0): Modeline "2048x1536"x60.0  266.95  2048 2200 2424 2800  1536 1537 1540 1589 -hsync +vsync (95.3 kHz)

After a hundred or so lines of common startx diagnostics information comes a few thousand lines of this garbage.

What is the reason of such behavior?

nimnull22 11-01-2009 09:29 PM

I think the problem is not with XFCE, problem with X.Org and with his libraries.
Check xorg.conf.

Padawan.AVT 11-09-2009 05:08 PM

Here's my conf
Code:

Section "ServerLayout"
        Identifier    "Simple Layout"
        Screen      0  "Screen 0"  0 0
        Screen      1  "Screen 1" rightof "Screen 0"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
        Option "AllowEmptyInput" "no"
EndSection

Section "Files"
EndSection

Section "Module"
    Load      "glx"
        Load  "dbe"          # Double buffer extension
        SubSection "extmod"
                Option            "omit xfree86-dga"  # don't initialise the DGA extension
        EndSubSection
        Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option            "AutoRepeat" "500 30"
        Option            "XkbRules" "xorg"
        Option            "XkbModel" "pc104"
        Option            "XkbLayout" "us,ru(winkeys)"
        Option            "XkbOptions" "grp:ctrl_shift_toggle"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option            "Protocol" "Auto"        # Auto detect
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Option "ReducedBlanking" "true"
        Identifier  "sm957df"
        Option "DPMS"       
EndSection

Section "Monitor"
        Identifier "Projector"
        Option "DPMS"
EndSection

Section "Device"
        Identifier  "h2600"
        Driver      "fglrx"
        VideoRam    524288
        Option            "DRI" "true"
        Option            "XAANoOffScreenPixmaps" "true"
        Option            "VideoOverlay" "on"
        Option            "TexturedVideo" "on"
        Option            "Textured2D" "on"
        Option            "TexturedXrender" "true"
        Option            "ForceMonitors" "notv"
        Option            "UseFastTLS" "1"
        Option            "OpenGLOverlay" "off"
        BusID      "PCI:7:0:0"
        Screen      0
EndSection
       
Section "Device"
        Identifier "sec_h2600"
        Driver "fglrx"
        Busid "PCI:7:0:0"
        Screen 1
EndSection

Section "Screen"
        Identifier "Screen 0"
        Device    "h2600"
        Monitor    "sm957df"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    8
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device "sec_h2600"
        Monitor "Projector"
        Defaultdepth 24
        SubSection "Display"
                Depth 24
                Modes "1152x864"
        EndSubSection
EndSection

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option            "Composite" "true"
EndSection



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