LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2009, 08:19 PM   #1
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Just finished installing GNOME on Gentoo, need to fix some minor issues (X related?)


1. X takes too long to start (1.5 for xterm and 3.5 minutes for GNOME)

I didn't make any changes to the xorg.conf file using Xorg -configure. I know it isn't the hardware since distributions with the installer take less than 2 seconds. While installing Gentoo, it asked me to put some modules in autoload. I never put them because I didn't know what to put. I don't expect this to be the problem for the following reason: When I startx for the first time, all the modules which didn't load at startup are loaded (radeon, drm, i2c_core, ipv6). When I quit X (GNOME), they are not removed as can be seen through lsmod. If the modules were the difference, it would have loaded X (GNOME) much faster, but it did not.

When I startx, I hear the fan going at full speed. I don't know if that's expected.
hdparm -d /dev/hda says using_dma = 1 (on)

Ignore the second problem (marked in white), that's a resolved problem. Please tell me how to speed up X instead.

[SOLVED] 2. Mouse and keyboard are too fast, and also don't behave well


When I press a key, it's repeated thrice (in both GNOME and Xterm). Mouse flies faster than I'd appreciate. I don't think that this is just a fast scan rate issue, for the reason in the next paragraph.

Pressing alphabets usually repeats them but this isn't always the case. Pressing h deletes all characters behind it. It appears like Ctrl is prefixed to some keys I type. Pressing the left arrow moves the current application moves the application to another desktop. When I click on things in GNOME, the mouse doesn't behave properly. It doesn't click on the buttons in the calculator or chess, but the menus seem to work. It's confusing to use. Could the HAL configuration for X have something to do with this?


For a solution to this problem: Hotplugging


I'm using ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE). This is my current Xorg file. I've highlighted the changes I've made to the file I obtained using 'Xorg -configure' in bold.

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

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dri"
	Load  "record"
	Load  "glx"
	Load  "dbe"
	Load  "dri2"
EndSection

 #Remove the AllowEmptyInput option - this is what caused my repeated keys problem. It's not there by default. I added it for a misguided reason. For details, consult the Hotplugging link I mentioned above 
Section "ServerFlags"
#Option "AllowEmptyInput" "off"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

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

Section "Monitor"
	#DisplaySize	  300   180	# mm
	Identifier   "Monitor0"
	VendorName   "SEC"
	ModelName    "3242"
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     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# <i>
        #Option     "DepthBits"          	# <i>
        #Option     "PCIAPERSize"        	# <i>
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "RageTheatreCrystal" 	# <i>
        #Option     "RageTheatreTunerPort" 	# <i>
        #Option     "RageTheatreCompositePort" 	# <i>
        #Option     "RageTheatreSVideoPort" 	# <i>
        #Option     "TunerType"          	# <i>
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# <i>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
        #Option     "DefaultTVDACAdj"    	# [<bool>]
        #Option     "Int10"              	# [<bool>]
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "ATOMTVOut"          	# [<bool>]
        #Option     "R4xxATOM"           	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon XPRESS 200M 5955 (PCIE)"
	BusID       "PCI:1:5:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Last edited by gregorian; 12-24-2009 at 07:28 AM. Reason: I have resolved the second problem
 
Old 12-23-2009, 08:27 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
I know it isn't the hardware since distributions with the installer take less than 2 seconds.
But the installer would use the VESA driver and not the ATI one.
 
Old 12-23-2009, 08:51 PM   #3
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by smeezekitty View Post
But the installer would use the VESA driver and not the ATI one.
I saw "radeon" while executing lsmod. Isn't that the driver? I'll start a new thread, that completely focuses only on the startup.

Last edited by gregorian; 12-24-2009 at 07:32 AM.
 
  


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
wxPython not installing correctly on Slack 12, possible related issues Trako Linux - Software 2 02-05-2008 02:25 PM
Minor GNOME issues matte85 Linux - Software 0 11-29-2007 07:44 AM
Minor FireFox issues with Gentoo vharishankar Linux - Software 9 04-27-2005 12:35 AM
Gnome Install Issues on Gentoo iverson0881 Linux - Software 1 12-28-2003 11:22 PM
[NOT REALLY LINUX RELATED] How do i fix loopback issues? vbp6us Linux - General 3 04-20-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 AM.

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