LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2007, 08:50 PM   #1
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Rep: Reputation: 31
Can't logout to bash from KDE


I solved my SavageIX problems with DRI and blank screens by adding some options under xorg.conf "devices" but whenever I logout from KDE the screen goes dead and ctrl-alt-f2 does nothing at that point however I can log out by ctrl-alt-f2 then ctrl-alt-f1 then ctrl-x-c to shutdown the X-term.
It's not a big deal but is this a KDE/slack 12 bug or am I missing something?
 
Old 07-12-2007, 09:06 PM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Init level?

Do you usually run in init level 4 or level 3?
 
Old 07-12-2007, 09:27 PM   #3
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Original Poster
Rep: Reputation: 31
runlevel is 3
 
Old 07-13-2007, 08:39 AM   #4
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Are you trying to enable 3D acceleration with that savage card? If so, that may be contributing to the problem. I have found that when I'm running compiz and ctrl+alt+F* to another tty, and go back to number 7 it's all black and won't clear. And that is with the Nvidia driver installed. Just as an experiment, try using just the fbdev driver for X and see if you still have the problem. And disable all the DRI and all the other 3D stuff.
 
Old 07-19-2007, 04:29 AM   #5
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
I have the same problem.
One workaround is.. If instead of closing xwindows normally I ctl-alt-F1 back to the term I ran startx from , then just ctl-C it kills off xwindows and I can still use the pc locally, and if I want, I can running startx to get back into xwindows again.
however, it is a bit of a clumsy workaround, It should be possible to just shutdown xwindows normally. If anyone finds a configuration fix, that would be great. I had no problems with stack ll and xwindows with a custom 2.6 kernel on the same hardware.
update.

a tidier workaround is to comment the Load "dri" line in xorg.conf. that fixes the logout freeze up - but disables dri so glx is half the speed. It still is quick enough for movies, but I'll keep hunting for a way to get dri and no logout lockup with the s3 graphics

Last edited by timsoft; 07-19-2007 at 08:13 AM.
 
Old 07-19-2007, 03:38 PM   #6
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 873

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Quote:
Originally Posted by mortal
I solved my SavageIX problems with DRI and blank screens by adding some options under xorg.conf "devices" but whenever I logout from KDE the screen goes dead and ctrl-alt-f2 does nothing at that point however I can log out by ctrl-alt-f2 then ctrl-alt-f1 then ctrl-x-c to shutdown the X-term.
It's not a big deal but is this a KDE/slack 12 bug or am I missing something?
Would you please link or elaborate about your Savage problems? I'm experiencing some troubles with my Savage video chip under Slack 12. Thanks!
 
Old 07-19-2007, 05:35 PM   #7
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
I am having the same problem. My T23 laptop with 3D enabled Savage graphics will not let me jump out of the X windows system. Only black screen remains

I can use Ctrl+alt+Del or disable 3D acceleration but these aren't an elegant solution ......
 
Old 07-19-2007, 05:48 PM   #8
Slackovado
Member
 
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308

Rep: Reputation: 70
I've had this problem on my NEC Lxi laptop too ever since replacing slackware 11 with Debian 4 on it.
I think this has to do with the new xorg and kernel modules for dri.
I couldn't boot into init 4, only 3.
If I booted into init 4 then the laptop would lockup and I had to reset it.
I'll try and see if I can go between X and console without crashing with my current configs and will report back here.
 
Old 07-29-2007, 09:44 PM   #9
bgoct
LQ Newbie
 
Registered: Jul 2007
Location: Mainland China
Distribution: slackware
Posts: 7

Rep: Reputation: 0
my experiment results on this problem!!!

yep!I installed slk 12 few days ago.lots of problems happened and lots were fixed.and now I am more familiar with my laptop now.thanks Pat.

But then,a serious problem came up and I have spent days greps the Internet trying to fix it!I have the exact problem of logging out the kde,when dri enabled!If dri is disable,everything is fine except that 3D acceleration is lost.Beacuse my T20 laptop has just a PIII 700 and savage IX of APG2x and 8M ram,I can not loss 3D function or I will feel I am robbed!

Now comes my result:

1.when DRI module is loaded and use by X,when logging out KDE,the screen is black ,whit some radom dots on it.I think it is the screen problem,some guy in this forum says his screen shows "signal out of range",and he fix his problem by setting the vga=788 in lilo.conf. So,i think it is a problem of reseting the screen mode when kde logout.but I don't konw howto do it,anyont help me...

2.I use to think it is my bios problem ,but when i tweaked all the display related options in bios setup,problem just exists.

3,I change vga=normal in lilo.conf ,still not working.

4,I use XFace wm,problem show up when logout!

------------------------
now I only have backup solutions as you guys have,but all of them are not elegant enought,so I am still hunting the final solution,anyone who's good in X system plz help us!
 
Old 07-30-2007, 08:51 AM   #10
bgoct
LQ Newbie
 
Registered: Jul 2007
Location: Mainland China
Distribution: slackware
Posts: 7

Rep: Reputation: 0
my xorg.conf for T20,can use DRI but can not restart X,or the screen will go black

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load "xtrap"
Load "glx"
Load "extmod"
Load "dbe"
Load "GLcore"
Load "dri"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "thinkpadintl"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "HWCursor" # [<bool>]
Option "SWCursor" "True" # [<bool>]
#Option "ShadowFB" "True" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" "False" # [<bool>]
#Option "LCDClock" # <freq>
Option "ShadowStatus" "True" # [<bool>]
#Option "CrtOnly" # [<bool>]
#Option "TvOn" # [<bool>]
#Option "PAL" # [<bool>]
#Option "ForceInit" "True" # [<bool>]
#Option "Overlay" # [<str>]
#Option "TransparencyKey" # [<str>]
#Option "DisableXVMC" # [<bool>]
#Option "DisableTile" # [<bool>]
#Option "DisableCOB" # [<bool>]
#Option "BCIforXv" # [<bool>]
#Option "DVI" # [<bool>]
Option "BusType" "AGP" # [<str>]
#Option "DmaType" # [<str>]
Option "DmaMode" "None" # [<str>]
Option "AGPMode" "2" # <i>
#Option "AGPSize" "32" # <i>
Identifier "Card0"
Driver "savage"
VendorName "S3 Inc."
BoardName "86C270-294 Savage/IX-MV"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 09-14-2007, 08:28 PM   #11
vulcan59
Member
 
Registered: Sep 2007
Location: UK
Distribution: Slackware 14.2 & Current
Posts: 96

Rep: Reputation: 30
Thought you all might be interested in my solution for this.

When I put Slack 12.0 on my T23 laptop I couldn't get DRI to work. Kept getting a message when starting X "error: drmMap of framebuffer failed (Invalid argument)". I solved this by upgrading to kernel 2.6.22.5 which was the latest at the time I did it.

This left me with the problem of freezing with a black screen when I logged out of KDE. I've just solved this by upgrading xf86-video-savage to version 2.1.3. I downloaded the source from an xorg mirror and compiled it myself then replaced /usr/lib/xorg/modules/drivers/savage_drv.so and savage_drv.la with the new versions.

Works great for me. If anyone needs any help or more information just let me know.
 
Old 09-14-2007, 10:40 PM   #12
Pratt
Member
 
Registered: Apr 2005
Location: Colombia
Distribution: Slackware 14.2
Posts: 82

Rep: Reputation: 18
Same problem.. It doesnt happen every time but its quite often. When i logout from KDE the screen stays blank/black with some random lines and it just stays that way. Tried with CTRL + ALT + BACKSPACE to shutdown X, but the keyboard is also death.

It happens mostly after playing games alot or after demanding alot of resources from the graphic card, mostly with 3D progrmas or games.

Also a Laptop, but with intel graphic card
 
Old 09-14-2007, 11:00 PM   #13
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
All of you are unable to shutdown with ctrl+alt+bcksp ??

btw, ATI(AMD) just released the specs to their cards, so you can expect much much better support for their cards pretty soon.
 
Old 09-15-2007, 08:26 AM   #14
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Thanks Vulcan ...

Your solution via compiling the driver works for me thanks !
 
  


Reply

Tags
dri, freeze, kde, lockup, logout, s3, savage, slackware, xwindows



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
kde logout - not working divukman Linux - Software 1 10-06-2005 11:51 AM
KDE Logout ? _UnPrEdictAbLe_ Fedora 1 10-26-2004 09:27 AM
KDE logout bax Mandriva 1 09-08-2003 12:18 AM
bash logout profile rc cs emacs sreenrc ravenarts Linux - Newbie 2 05-15-2002 08:01 PM
How logout from login-menu bash script? MikHud Linux - General 0 04-12-2002 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration