
Code: Select all
Section "ServerLayout"
# "SendCoreEvents".
Identifier "Simple Layout"
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft" # Microsoft compatible (2-button protocol)
Option "Device" "/dev/input/mice"
# When using XQUEUE, comment out the above two lines, and uncomment
Option "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
Option "ChordMiddle"
EndSection
Well, actually yes. It's important to be precise. Please post the output ofidella4 wrote:No need for the whole thing. Most lines start with # and this is the relevant part.
Code: Select all
egrep -v '^(#|$)' /etc/X11/xorg.confCode: Select all
VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev"Code: Select all
emerge -uDNav worldCode: Select all
emerge app-portage/portage-utils && emerge -1av $(qlist -IC x11-drivers)Code: Select all
emerge -pv xorg-server
which it doesn't do.and look at the the output following INPUT_DEVICES,
[ebuild N ] x11-base/xorg-server-...USE="..." INPUT_DEVICES="...." VIDEO_CARDS="..."
Code: Select all
Susie / # emerge -pv xorg-server
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-base/xorg-server-1.6.3.901-r2 USE="ipv6 nptl sdl xorg -debug -dmx -hal -kdrive -minimal -tslib" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Code: Select all
Susie / # emerge --search evdev
Searching...
[ Results for search key : evdev ]
[ Applications found : 1 ]
* x11-drivers/xf86-input-evdev
Latest version available: 2.2.5
Latest version installed: 2.2.5
Size of files: 291 kB
Homepage: http://xorg.freedesktop.org/
Description: Generic Linux input driver
License: MIT
Code: Select all
Susie / # egrep -v '^(#|$)' /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft" # Microsoft compatible (2-button protocol)
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
Option "ChordMiddle"
EndSection
Section "Monitor"
Identifier "screen1"
HorizSync 31.5 - 64.3
VertRefresh 40.0 - 150.0
EndSection
Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
#VideoRam 512
# Insert Clocks lines here if appropriate
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "screen1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "640x400"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "1600x1200"
EndSubSection
EndSection
Code: Select all
Susie / # emerge --search xorg-server
Searching...
[ Results for search key : xorg-server ]
[ Applications found : 1 ]
* x11-base/xorg-server
Latest version available: 1.6.3.901-r2
Latest version installed: 1.6.3.901-r2
Size of files: 4,568 kB
Homepage: http://xorg.freedesktop.org/
Description: X.Org X servers
License: MIT MIT
Code: Select all
emerge -uDNav --pretend world
Susie / # emerge -uDNav --pretend world
>>> --pretend disables --ask... removing --ask from options.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] net-misc/dhcpcd-4.0.15 [4.0.13] USE="compat zeroconf" 52 kB
[ebuild R ] net-libs/libvncserver-0.9.1 USE="jpeg zlib -no24bpp (-nobackchannel%)" 0 kB
[ebuild R ] sys-process/procps-3.2.8 USE="(-n32) -unicode%" 0 kB
[ebuild R ] x11-base/xorg-drivers-1.6 INPUT_DEVICES="evdev -acecad -aiptek -citron -elographics -fpit -hyperpen -joystick -keyboard* -mouse* -mutouch -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia tdfx trident vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx -geode -glint -i128 -i740 (-impact) -intel -mach64 -mga -neomagic (-newport) -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tga -tseng -v4l -via -virtualbox-vmware (-voodoo) -xgi" 0 kB
[ebuild U ] dev-libs/openssl-0.9.8l-r1 [0.9.8k-r1] USE="zlib -bindist -gmp -kerberos -sse2 -test" 4,082 kB
[ebuild U ] net-print/cups-1.3.11-r1 [1.3.10-r2] USE="X acl dbus java jpeg ldap pam perl pngpython samba slp ssl -avahi -gnutls -kerberos -php -ppds -static -tiff -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW" 3,711 kB
Total: (3 upgrades, 3 reinstalls), Size of downloads: 7,844 kB
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Code: Select all
emerge -1 xf86-input-... xf86-vides...Code: Select all
rc-update showCode: Select all
emerge wgetpaste
wgetpaste /var/log/Xorg.0.log

Code: Select all
Device Drivers
->Input device support
->Event interface
Code: Select all
│ │ < > Joystick interface │ │
│ │ <*> Event interface │ │
│ │ < > Event debugging
in early stage, is a worry(==) Not automatically adding devices
(==) Not automatically enabling devices
is not fatal. Is there a freetype package missing? This log says glx is loaded(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
not fatal but how can it be fixed?(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
is a worry. How can it be fixed? xorg is fairly complex, many modules. The mouse doesn't work, I think that's all but there may be more according to this, Does anyone know?(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel

So how do I set it to nvidia?opengl should be set to nvidia to use the GLX from the nvidia-drivers.
Code: Select all
Susie linux # rc-update show
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
dbus | default
hald | default
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.eth0 | default
net.lo | boot
netmount | default
rmnologin | boot
syslog-ng | default
urandom | boot
vixie-cron | default
xdm | default

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<!-- Mouse configuration -->
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
<!-- Keyboard configuration -->
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string"></merge>
<append key="input.xkb.options" type="strlist"></append>
</match>
</device>
</deviceinfo> Code: Select all
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse1" "CorePointer"
# InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
Load "glx"
EndSection
#Section "InputDevice"
# Identifier "Keyboard1"
# Driver "kbd"
# Option "AutoRepeat" "500 30"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc104"
# Option "XkbLayout" "us"
#EndSection
#Section "InputDevice"
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "Microsoft" # Microsoft compatible (2-button protocol)
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5 6 7"
# Option "Emulate3Buttons"
# Option "ChordMiddle"
#EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 64.3
VertRefresh 40.0 - 150.0
EndSection
Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
#VideoRam 512
# Insert Clocks lines here if appropriate
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "nvidia"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "640x400"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "1600x1200"
EndSubSection
EndSection Code: Select all
IMPORTANT: 1 config files in '/usr/share/config' need updating.



Code: Select all
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "640x400"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "1600x1200"
EndSubSection
EndSection

Code: Select all
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetypeCode: Select all
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)Code: Select all
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "1280x1024"
(II) NVIDIA(0): "1024x768"
(II) NVIDIA(0): "1600x1200"
(II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200Code: Select all
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "1600x1200"
EndSubSection Code: Select all
Modes "1600x1200" "1280x1024" "1024x768" Code: Select all
(**) Option "xkb_layout" "us"