Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I emerge KDE for 12 hours, and it HANGS!!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Tue May 30, 2006 1:03 pm    Post subject: I emerge KDE for 12 hours, and it HANGS!!! Reply with quote

:(
well, i just return back to gentoo yesterday, i install using minimal cd, my sounds, network, graphic, xorg, all works great in my laptop Toshiba A80 Satellite.

however, after i emerge the full blown of kde 3.5.2, (it's a 12 hours process... :( ) after all, whenever i startkde using the startx or start kdm, the screen appears a mouse cursor, with a piece of white thing in the center, then it just HANG there!!!! i can't kill or return back to console, i have to hard reset my laptop!! :( :( :(

pls, any idea on how to fix this?

*using kernel-2.6.16-r7
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue May 30, 2006 1:09 pm    Post subject: Reply with quote

Have you configured Xorg?

If you haven't read: http://www.gentoo.org/doc/en/xorg-config.xml

Otherwise please post your /etc/X11/xorg.conf and /var/log/Xorg.0.log.
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Tue May 30, 2006 1:42 pm    Post subject: Reply with quote

yes, mark_alec, i have configured Xorg. i followed the handbook and configured everything.

just now i reboot again into gentoo, make some changes in my xorg.conf to test run startx, now after i startx, the xorg started perfectly, with fglrxinfo, i got the ATI drivers loaded without problem.

however, when i want to perform startkde with root, it say: "no command found!"

after all, i switch to second terminal, use root again to issue startkde, now it says: "xsetroot unable to open display '', cannot connect to x server....

how? what can i do?
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Tue May 30, 2006 2:08 pm    Post subject: Reply with quote

can anyone please let me know how i can post my xorg.conf here?

i use "links" to browse this forum, since i cannot start the kde, how can i copy and paste my xorg.conf here?
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Tue May 30, 2006 5:15 pm    Post subject: Reply with quote

pls....anyone can help on this? is my 12 hours wasted??? @#$@%@ KDE.... :cry:
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Tue May 30, 2006 5:37 pm    Post subject: Reply with quote

Are you using nvidia, composite.
If yes upgrade nvidia to the latest driver - ~arch with all the needed packages also unstable.
remove the composite extension if you are using it and pray :)
from your discription this looks like the infamous "x.org locks up, i could only move my mouse and sometimes could kill it from ssh, if not I need a hard reset" problem :)
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
tomm73
n00b
n00b


Joined: 19 Jan 2004
Posts: 37

PostPosted: Tue May 30, 2006 5:56 pm    Post subject: Reply with quote

Have you set XSESSION in /etc/rc.conf to the correct value?
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Wed May 31, 2006 12:18 am    Post subject: Reply with quote

tomm73, what is the correct value for XSESSION in /etc/rc.conf?

fyi, i have it commented. because i don't want to start kde using startx or watever....
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed May 31, 2006 12:54 am    Post subject: Reply with quote

What version of KDE are you using? I'd also remove startkde from your xinit/xsession file, since I remember reading somewhere this causes issues with KDE... Works for fluxbox though :-) (I recently abandoned KDE in favor of fluxbox, and havent regretted it).

Try setting this in your rc.conf (this is assuming you are using KDE 3.5.2, for 3.4, you probably juse need 'kde' as your XESSION value):

DISPLAYMANAGER="kdm"
XSESSION="kde-3.5.2"
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Wed May 31, 2006 1:35 am    Post subject: Reply with quote

Did you try the whole path? Also, I don't think you need to run it as root. Set it up as a normal user following this page. Only exception is, put the full path of the startkde file.

When you get to this part, put the full path in.

Code:
echo "exec /usr/kde/3.5/bin/startkde" > ~/.xinitrc
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Wed May 31, 2006 2:12 am    Post subject: Reply with quote

yup, guys, thanks for reply..

i had tried all your suggestions, and it don't works... T.T

i am using the latest gentoo-source 2.6.16-r7, kde3.5.2...

fyi, this is my another try...

i first commented out the XSESSION and Display Manager in the rc.conf,

then i startx to get into the ugly xterm,

from there, i verify that my ati-drivers works, dri also works...

then i simply issue: startkde

guess what? i can see the kde logo pop up and start loading....but after it loads to around 80%, where the whole screen is about to change, it hangs!!!!! my mouse can move, but i cannot kill it, cannot return to console....i have to hard reset my laptop.... T.T

please, anyone have idea on this? (if you need to see my xorg.conf, pls do teach me how to post it up using the console, because i have no gui browser, only have 'links', cannot copy and paste... -.- )
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed May 31, 2006 2:18 am    Post subject: Reply with quote

How to post xorg.conf

1) Run (at the console) rc-update add sshd default (might just be ssh). You can then reboot, or, run /etc/init.d/sshd start as ROOT.
2) Download to your windows box PuTTy.
3) Use putty to SSH into your linux box (by IP) and you cant hen copy from the terminal into your web browser. (run ifconfig to see your ip).

I do have a question. This sounds like the HELL I went through with my ATi drivers. Are you using ATi closed source drivers? If so I recomment upgrading to 8.25.18, they are way better than the 8.24.8's I was using. You might have to unmask them in your /etc/portage/package.keywords file.

Code:

# grep ati-drivers /etc/portage/package.keywords
x11-drivers/ati-drivers ~amd64


Now, replace ~amd64 with your proper arch (x86, amd64, etc... All x86_64 installs use amd64 for packages, so, if you're like me and running an Intel EM64T processor, you need amd64).
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Wed May 31, 2006 2:43 am    Post subject: Reply with quote

thanks a lot RazielFMX, but i think your methods of ssh can't apply to my situation. because i only have 1 laptop to connect to the internet, and i don't have other box to connect to... T.T

and yes, i do using the ATI Drivers, and i am using the 8.25.18 version. i admit that it does "better" than last time, because last time when i use it, my X11 can't even start, now it at least start my x with the ugly xterm.. -.-

so, any more ideas on? do you think is it related to my ati drivers?

ok, here i hope to get something confirm first, this is what i've done after succesfully boot my box into gentoo.

1. i emerge xorg-x11 (i think the version is 6.8.x, because i did not unmask it to use x11 7.0 or 7.1 )
2. then i emerge ati-drivers
3. use the "aticonfig" to generate the xorg.conf
4. make some changes in xorg.conf to get my mouse works.

is the above process correct? will my xorg.conf being generated correctly? i have this doubt because the xorg.conf that generated by the "aticonfig" seems very short compare to last time i use fglrxconfig.

ok, after i verify that i can startx, i emerge kde-meta, and it gets me to the situation now, which HANGS on startkde. T.T
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed May 31, 2006 3:19 am    Post subject: Reply with quote

Ok, you will need to modify the keyboard, mouse, and monitor sections. I recommend you do the following:

run xorgconfig, answer the questions. Then, save this somewhere. Take note of your monitor, mouse, and keyboard settings, and your fonts/files section.

Then, take a look at this, and save what you want (this is my xorg.conf):
NOTE: Ignore the what seem to be commented out duplicate screens, monitors, devices, etc... This is my dual head set up that choked under 8.24.8. You can leave my fonts settings even if you dont have all these fonts, you'll just get warnings in your xorg log.

Also, you should verify your PCI BUS address (lspci, it should be the first if you get two ATi listings).

Code:


Section "dri"
    Mode 0666
EndSection

Section "ServerLayout"
   Identifier     "Simple Layout"
   Screen      0  "Screen 0" 0 0
#   Screen        "Screen 1" RightOf "Screen 0"
   InputDevice    "Mouse1" "CorePointer"
   InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

   RgbPath      "/usr/lib/X11/rgb"
   FontPath     "/usr/share/fonts/misc/:unscaled"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/corefonts/"
   FontPath     "/usr/share/fonts/freefont/"
   FontPath     "/usr/share/fonts/sharefonts/"
   FontPath     "/usr/share/fonts/terminus/"
   FontPath     "/usr/share/fonts/ttf-bitstream-vera"
   FontPath     "/usr/share/fonts/unifont"
   FontPath     "/usr/share/fonts/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/artwiz/"
   FontPath     "/usr/share/fonts/cyrillic/"
   FontPath     "/usr/share/fonts/local/"
   FontPath     "/usr/share/fonts/dejavu/"
   FontPath     "/usr/share/fonts/ukr/"
   FontPath     "/usr/share/fonts/util/"
EndSection

Section "ServerFlags"
EndSection

Section "Module"

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

Section "InputDevice"

   Identifier  "Keyboard1"
   Driver      "kbd"
   Option       "AutoRepeat" "500 30"

   Option       "XkbModel" "pc104"
   Option       "XkbLayout" "us"
EndSection

Section "InputDevice"

   Identifier  "Mouse1"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option      "ZAxisMapping" "4 5"
   Option       "Device" "/dev/input/mice"
EndSection

Section "Monitor"
   Identifier   "aticonfig Monitor 0"
   HorizSync    30.0 - 81.0
   VertRefresh  56.0 - 76.0
   Option       "DPMS"
EndSection

#Section "Monitor"
#   Identifier   "aticonfig Monitor 1"
#   HorizSync    30.0 - 81.0
#   VertRefresh  56.0 - 76.0
#   Option       "DPMS"
#EndSection

# === ATI device section ===

Section "Device"
   Identifier                          "ATI Graphics Adapter 0"
   Driver                              "fglrx"
   # ### generic DRI settings ###
   # === disable PnP Monitor  ===
   #Option                              "NoDDC"
   # === disable/enable XAA/DRI ===
   Option "no_accel"                   "no"
   Option "no_dri"                     "no"
   # === misc DRI settings ===
   Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
   # ### FireGL DDX driver module specific settings ###
   # === Screen Management ===
   Option "DesktopSetup"               "horizontal"
   Option "ScreenOverlap"              "0"
   Option "GammaCorrectionI"           "0x00000000"
   Option "GammaCorrectionII"          "0x00000000"
   # === OpenGL specific profiles/settings ===
   Option "Capabilities"               "0x00000000"
   Option "CapabilitiesEx"             "0x00000000"
   # === Video Overlay for the Xv extension ===
   Option "VideoOverlay"               "on"
   # === OpenGL Overlay ===
   # Note: When OpenGL Overlay is enabled, Video Overlay
   #       will be disabled automatically
   Option "OpenGLOverlay"              "off"
   # === Center Mode (Laptops only) ===
   Option "CenterMode"                 "off"
   # === Pseudo Color Visuals (8-bit visuals) ===
   Option "PseudoColorVisuals"         "off"
   # === QBS Management ===
   Option "Stereo"                     "off"
   Option "StereoSyncEnable"           "1"
   # === FSAA Management ===
   Option "FSAAEnable"                 "no"
   Option "FSAAScale"                  "1"
   Option "FSAADisableGamma"           "no"
   Option "FSAACustomizeMSPos"         "no"
   Option "FSAAMSPosX0"                "0.000000"
   Option "FSAAMSPosY0"                "0.000000"
   Option "FSAAMSPosX1"                "0.000000"
   Option "FSAAMSPosY1"                "0.000000"
   Option "FSAAMSPosX2"                "0.000000"
   Option "FSAAMSPosY2"                "0.000000"
   Option "FSAAMSPosX3"                "0.000000"
   Option "FSAAMSPosY3"                "0.000000"
   Option "FSAAMSPosX4"                "0.000000"
   Option "FSAAMSPosY4"                "0.000000"
   Option "FSAAMSPosX5"                "0.000000"
   Option "FSAAMSPosY5"                "0.000000"
   # === Misc Options ===
   Option "UseFastTLS"                 "0"
   Option "BlockSignalsOnLock"         "on"
   Option "UseInternalAGPGART"         "yes"
   Option "ForceGenericCPU"            "no"
   BusID "PCI:1:0:0"    # no device found at config time
   Screen 0
EndSection

#Section "Device"
#   Identifier                          "ATI Graphics Adapter 1"
#   Driver                              "fglrx"
#   # ### generic DRI settings ###
#   # === disable PnP Monitor  ===
#   #Option                              "NoDDC"
#   # === disable/enable XAA/DRI ===
#   Option "no_accel"                   "no"
#   Option "no_dri"                     "no"
#   # === misc DRI settings ===
#   Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
#   # ### FireGL DDX driver module specific settings ###
#   # === Screen Management ===
#   Option "DesktopSetup"               "horizontal"
#   Option "ScreenOverlap"              "0"
#   Option "GammaCorrectionI"           "0x00000000"
#   Option "GammaCorrectionII"          "0x00000000"
#   # === OpenGL specific profiles/settings ===
#   Option "Capabilities"               "0x00000000"
#   Option "CapabilitiesEx"             "0x00000000"
#   # === Video Overlay for the Xv extension ===
#   Option "VideoOverlay"               "on"
#   # === OpenGL Overlay ===
#   # Note: When OpenGL Overlay is enabled, Video Overlay
#   #       will be disabled automatically
#   Option "OpenGLOverlay"              "off"
#   # === Center Mode (Laptops only) ===
#   Option "CenterMode"                 "off"
#   # === Pseudo Color Visuals (8-bit visuals) ===
#   Option "PseudoColorVisuals"         "off"
#   # === QBS Management ===
#   Option "Stereo"                     "off"
#   Option "StereoSyncEnable"           "1"
#   # === FSAA Management ===
#   Option "FSAAEnable"                 "no"
#   Option "FSAAScale"                  "1"
#   Option "FSAADisableGamma"           "no"
#   Option "FSAACustomizeMSPos"         "no"
#   Option "FSAAMSPosX0"                "0.000000"
#   Option "FSAAMSPosY0"                "0.000000"
#   Option "FSAAMSPosX1"                "0.000000"
#   Option "FSAAMSPosY1"                "0.000000"
#   Option "FSAAMSPosX2"                "0.000000"
#   Option "FSAAMSPosY2"                "0.000000"
#   Option "FSAAMSPosX3"                "0.000000"
#   Option "FSAAMSPosY3"                "0.000000"
#   Option "FSAAMSPosX4"                "0.000000"
#   Option "FSAAMSPosY4"                "0.000000"
#   Option "FSAAMSPosX5"                "0.000000"
#   Option "FSAAMSPosY5"                "0.000000"
#   # === Misc Options ===
#   Option "UseFastTLS"                 "0"
#   Option "BlockSignalsOnLock"         "on"
#   Option "UseInternalAGPGART"         "yes"
#   Option "ForceGenericCPU"            "no"
#   BusID "PCI:1:0:0"    # no device found at config time
#   Screen 0
#EndSection

Section "Screen"
   Identifier "Screen 0"
   Device     "ATI Graphics Adapter 0"
   Monitor    "aticonfig Monitor 0"
   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     "ATI Graphics Adapter 1"
#   Monitor    "aticonfig Monitor 1"
#   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

_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Wed May 31, 2006 9:30 am    Post subject: Reply with quote

RazielFMX, thanks again for your post.

fyi, i have done with re-configuration of xorg.conf, and also when i startx, i manage to run x smoothly. when i glxgears, i got quite a good result, over 3400 fps!

but, still to no avail, my startkde still hangs me up! T.T

i heard that kde 3.5.3 is out, is that a need for me to emerge the new one? or can i just turn to gnome to try out? will my gentoo crash emerging two wm?
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Wed May 31, 2006 10:30 am    Post subject: Reply with quote

hey guys, just now i got some weird error message when i enable "kdm" and XSESSION="kde-3.5"

when i startx under a normal user, the x started then immediately shutdown....this is the error message in the console:

"/home/user/.xinitrc: line 1: exec : startkde : not found"

what does it mean startkde not found??!! any idea?
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Wed May 31, 2006 11:01 am    Post subject: Reply with quote

Quote:
hey guys, just now i got some weird error message when i enable "kdm" and XSESSION="kde-3.5"

when i startx under a normal user, the x started then immediately shutdown....this is the error message in the console:

"/home/user/.xinitrc: line 1: exec : startkde : not found"

what does it mean startkde not found??!! any idea?


haha...i found the solution already... i have to include the full path to /usr/kde/3.5/bin/startkde in order to make it works...

anyway, now i can see the loading screen of the kde, it loads all with no problem....but when it comes to "Restoring Sessions" 0 % , it just hang there!!!! my mouse still can move, but the kde just freeze there. Ctrl + Alt + Backspace cannot terminate it....

how? any idea on this????
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Thu Jun 01, 2006 10:11 am    Post subject: Reply with quote

please, can anybody please let me know how to settle this problem? i have tried all i can think of..... T.T

i have also tried emerging gnome-light, and start gnome-session, but still, it just hangs on first start... T.T
Back to top
View user's profile Send private message
menetto
n00b
n00b


Joined: 05 Aug 2004
Posts: 18
Location: Belgium

PostPosted: Thu Jun 01, 2006 10:17 am    Post subject: Reply with quote

I don't know about gnome, but try removing your kde directory $HOME/.kde If there's no kde directory, it can't restore, so maybe it won't hang...
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Thu Jun 01, 2006 10:45 am    Post subject: Reply with quote

Quote:
don't know about gnome, but try removing your kde directory $HOME/.kde If there's no kde directory, it can't restore, so maybe it won't hang...


tried that...it appears the other screen instead of the kde logo loading screen....can't see the screen dialog...it's just a rectangle with some box looks like text box....maybe it's the login dialog....it just hang there... T.T
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum