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