LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2009, 09:21 AM   #1
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Rep: Reputation: 15
Startx issue


Somehow I cannot start my X

I do startx then my screen goes blank, I see native X cursor, after that xterm flashes for a second and right after it system fail back to console with the output below:

Code:
padawan@Serenity ~ $ startx
xauth:  creating new authority file /home/padawan/.serverauth.4085


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo-r2 x86_64
Current Operating System: Linux Serenity 2.6.28-gentoo-r2 #4 SMP Mon Mar 2 12:38:49 MSK 2009 x86_64
Build Date: 03 March 2009  01:57:10PM

        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 Mar  3 14:29:10 2009
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:0@7:0:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@7:0:1) found
xinit:  Resource temporarily unavailable (errno 11):  Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: Launch 
helper
exited with unknown return code 0

Backtrace:
0: X(xorg_backtrace+0x26) [0x4e1676]
1: X(xf86SigHandler+0x39) [0x4742a9]
2: /lib/libc.so.6 [0x7f3c9703c270]
3: /usr/lib64/xorg/modules/drivers//fglrx_drv.so(atiddxDisplayShadowIsShadowPixmap+0x22) [0x7f3c95f9ac72]
4: /usr/lib64/xorg/modules//glesx.so [0x7f3c932482e3]
5: /usr/lib64/xorg/modules//libxaa.so(XAAComposite+0x196) [0x7f3c951c5946]
6: /usr/lib64/xorg/modules//libxaa.so [0x7f3c951e15d7]
7: X [0x521883]
8: X(miTrapezoids+0x204) [0x5084f4]
9: /usr/lib64/xorg/modules//libxaa.so [0x7f3c951e1310]
10: X [0x5119e6]
11: X(Dispatch+0x334) [0x449354]
12: X(main+0x43a) [0x4311ba]
13: /lib/libc.so.6(__libc_start_main+0xf4) [0x7f3c970295e4]
14: X [0x430599]

Fatal server error:
Caught signal 11.  Server aborting

xterm:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0.0"
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 533 requests (533 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 128 requests (53 known processed) with 0 events remaining.
xterm:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0.0"
xinit:  connection to X server lost.
And another strange thing is that text input cursor stuck in the middle of the screen, but no X-related processes are running! And I cannot get rid of it until reboot


Logs do not show any errors (drivers and xorg-server compiled with debug option)

Distro: Gentoo, kernel 2.6.28-r2, latest ATI-drivers installed, card ATI HD 2600

Full text of /var/log/Xorg.0.log located here:
http://docs.google.com/Doc?id=dfw4qmbp_20d7jwhhc
 
Old 03-03-2009, 10:51 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
This is just a wild guess but I use the fglrx driver also but I remember vaguely that I had to disable AIGLX for it to work. Could that be the problem?
cheers,
jdk
 
Old 03-04-2009, 03:11 AM   #3
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
AIGLX already disabled, but fglrx force it's loading (you can see that in Xorg.0.log)
 
Old 03-04-2009, 05:42 AM   #4
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
Here is my xorg.conf:

Code:
Section "ServerLayout"
	Identifier     "Simple Layout"
	Screen      0  "Screen 1" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 30"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc104"
	Option	    "XkbLayout" "us,ru(winkeys),ua(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"
	Identifier   "sm957df"
	HorizSync    30.0 - 96.0
	VertRefresh  50.0 - 160.0
EndSection

Section "Device"
	Identifier  "Standard VGA"
	Driver      "vga"
	VendorName  "Unknown"
	BoardName   "Unknown"
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"
EndSection
Section "Screen"
	Identifier "Screen 1"
	
	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 "DRI"
	Mode         0666
EndSection
Section "Extensions"
	Option	    "Composite" "true"
EndSection
 
Old 03-05-2009, 05:31 AM   #5
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
I cannot understand why I can see fully loaded xterm for a second and then all crashes.

As I understand drivers are configured properly because X starts as it should, but why this crash happens?

And why if I do startx for the second time in a row without reboot, I see only big black screen and neither ctrl+alt+F1, not ctrl+alt+backspace nor even ctrl+alt+del cannot bring system out of that state

Last edited by Padawan.AVT; 03-05-2009 at 05:33 AM.
 
Old 03-07-2009, 05:08 AM   #6
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
Wooohaa!!! Finaly I've launched that damn GUI!

What I did:

* added dri support to kernel as module (although in one of articles on this issue guys told to disable it at all)
* emerge -uDN world
* etc-update
* revdep-rebuild
* removed all X-related stuff from my home directory
* Added Option "AllowEmptyInput" "no" to my xorg.conf (cause my mouse and keyboard didn't work)

Now I'm sitting in the pretty Xfce4 envirinment, but I have to deal with one more thing - for some reason X process utilizes 100% of my CPU (and thus complitly wastes one of my CPU kernels)

Code:
$ top
.....
24816 root      19  -1  286m  72m  19m S    100  3.6   5:44.58 X
.....
Although I've launched X from my own user, not root

But I guess it has to do with debug USE flag enabled for xorg-server and related packages.

I will dig into it and post my results

Last edited by Padawan.AVT; 03-07-2009 at 05:11 AM.
 
Old 03-07-2009, 06:57 AM   #7
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
Ah, and that overload somehow also gone by itself.

2 problems less. 98 more left
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
startx xwindow issue mutsu Linux - Software 1 07-28-2006 08:48 PM
Startx font issue stardotstar Linux - Software 0 06-27-2006 02:07 AM
startx issue san802k Linux - Newbie 3 02-24-2006 06:28 AM
Slackpkg and startx issue DragonM15 Linux - Software 1 05-31-2005 05:18 PM
startx works but kdm won't (videoram issue) BuddyLove *BSD 0 05-09-2004 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 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