f_tyet
(usa Slackware)
Enviado em 23/02/2013 - 11:00h
Olá pessoal!
Estou tentando configurar o X numa VM do VirtualBox que eu criei "dentro" do Ubuntu 12.10 que uso, já, há mais tempo.
Eu criei (dentro da VM, claro), meio sem saber como, este /etc/X11/xorg.conf aqui:
--------------
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/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 "glx"
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"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # <str>
#Option "fbdev" # <str>
#Option "debug" # [<bool>]
Identifier "Card1"
Driver "fbdev"
BusID "PCI:0:2:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card2"
Driver "vesa"
BusID "PCI:0:2: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
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
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
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
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
-------
e o erro dela está reportando nesse /var/log/XOrg.0.log aqui:
[ 217.925]
X.Org X Server 1.13.2
Release Date: 2013-01-24
[ 217.938] X Protocol Version 11, Revision 0
[ 217.952] Build Operating System: Linux 3.7.4-1-ARCH i686
[ 217.960] Current Operating System: Linux Cliente 3.7.9-1-ARCH #1 SMP PREEMPT Mon Feb 18 02:27:20 EET 2013 i686
[ 217.961] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=540d7379-84b5-4ab9-a8f0-b70f8e39b049 ro quiet
[ 217.984] Build Date: 25 January 2013 09:41:07AM
[ 217.988]
[ 218.003] Current version of pixman: 0.28.2
[ 218.011] Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest version.
[ 218.011] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 218.038] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb 23 10:21:18 2013
[ 218.061] (==) Using config file: "/etc/X11/xorg.conf"
[ 218.065] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 218.084] (==) ServerLayout "X.org Configured"
[ 218.085] (**) |-->Screen "Screen0" (0)
[ 218.085] (**) | |-->Monitor "Monitor0"
[ 218.085] (**) | |-->Device "Card0"
[ 218.085] (**) |-->Screen "Screen1" (1)
[ 218.085] (**) | |-->Monitor "Monitor1"
[ 218.086] (**) | |-->Device "Card1"
[ 218.086] (**) |-->Screen "Screen2" (2)
[ 218.086] (**) | |-->Monitor "Monitor2"
[ 218.088] (**) | |-->Device "Card2"
[ 218.089] (**) |-->Input Device "Mouse0"
[ 218.089] (**) |-->Input Device "Keyboard0"
[ 218.089] (==) Automatically adding devices
[ 218.089] (==) Automatically enabling devices
[ 218.089] (==) Automatically adding GPU devices
[ 218.122] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 218.122] Entry deleted from font path.
[ 218.122] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 218.122] Entry deleted from font path.
[ 218.152] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 218.152] Entry deleted from font path.
[ 218.152] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 218.152] Entry deleted from font path.
[ 218.152] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 218.152] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 218.152] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 218.152] (WW) Disabling Mouse0
[ 218.152] (WW) Disabling Keyboard0
[ 218.154] (II) Loader magic: 0x825a640
[ 218.154] (II) Module ABI versions:
[ 218.154] X.Org ANSI C Emulation: 0.4
[ 218.154] X.Org Video Driver: 13.1
[ 218.154] X.Org XInput driver : 18.0
[ 218.154] X.Org Server Extension : 7.0
[ 218.156] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 218.181] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[ 218.181] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 218.191] Initializing built-in extension Generic Event Extension
[ 218.194] Initializing built-in extension SHAPE
[ 218.208] Initializing built-in extension MIT-SHM
[ 218.211] Initializing built-in extension XInputExtension
[ 218.215] Initializing built-in extension XTEST
[ 218.218] Initializing built-in extension BIG-REQUESTS
[ 218.230] Initializing built-in extension SYNC
[ 218.234] Initializing built-in extension XKEYBOARD
[ 218.237] Initializing built-in extension XC-MISC
[ 218.240] Initializing built-in extension SECURITY
[ 218.244] Initializing built-in extension XINERAMA
[ 218.246] Initializing built-in extension XFIXES
[ 218.259] Initializing built-in extension RENDER
[ 218.262] Initializing built-in extension RANDR
[ 218.265] Initializing built-in extension COMPOSITE
[ 218.267] Initializing built-in extension DAMAGE
[ 218.270] Initializing built-in extension MIT-SCREEN-SAVER
[ 218.272] Initializing built-in extension DOUBLE-BUFFER
[ 218.285] Initializing built-in extension RECORD
[ 218.300] Initializing built-in extension DPMS
[ 218.302] Initializing built-in extension X-Resource
[ 218.327] Initializing built-in extension XVideo
[ 218.328] Initializing built-in extension XVideo-MotionCompensation
[ 218.328] Initializing built-in extension XFree86-VidModeExtension
[ 218.328] Initializing built-in extension XFree86-DGA
[ 218.328] Initializing built-in extension XFree86-DRI
[ 218.328] Initializing built-in extension DRI2
[ 218.328] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 218.328] (II) LoadModule: "glx"
[ 218.419] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 218.442] (II) Module glx: vendor="X.Org Foundation"
[ 218.442] compiled for 1.13.2, module version = 1.0.0
[ 218.442] ABI class: X.Org Server Extension, version 7.0
[ 218.442] (==) AIGLX enabled
[ 218.445] Loading extension GLX
[ 218.446] (II) LoadModule: "modesetting"
[ 218.446] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 218.460] (II) Module modesetting: vendor="X.Org Foundation"
[ 218.460] compiled for 1.13.1, module version = 0.6.0
[ 218.460] Module class: X.Org Video Driver
[ 218.460] ABI class: X.Org Video Driver, version 13.1
[ 218.460] (II) LoadModule: "fbdev"
[ 218.461] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 218.475] (II) Module fbdev: vendor="X.Org Foundation"
[ 218.475] compiled for 1.13.0, module version = 0.4.3
[ 218.475] Module class: X.Org Video Driver
[ 218.475] ABI class: X.Org Video Driver, version 13.0
[ 218.475] (II) LoadModule: "vesa"
[ 218.476] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 218.510] (II) Module vesa: vendor="X.Org Foundation"
[ 218.510] compiled for 1.13.0, module version = 2.3.2
[ 218.510] Module class: X.Org Video Driver
[ 218.510] ABI class: X.Org Video Driver, version 13.0
[ 218.510] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 218.510] (II) FBDEV: driver for framebuffer: fbdev
[ 218.510] (II) VESA: driver for VESA chipsets: vesa
[ 218.510] (++) using VT number 1
[ 218.512] (II) modesetting(0): using drv /dev/dri/card0
[ 218.512] (WW) Falling back to old probe method for fbdev
[ 218.512] (II) Loading sub module "fbdevhw"
[ 218.512] (II) LoadModule: "fbdevhw"
[ 218.513] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 218.520] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 218.520] compiled for 1.13.2, module version = 0.0.2
[ 218.520] ABI class: X.Org Video Driver, version 13.1
[ 218.520] (WW) Falling back to old probe method for vesa
[ 218.524] (==) modesetting(0): Depth 24, (--) framebuffer bpp 32
[ 218.524] (==) modesetting(0): RGB weight 888
[ 218.524] (==) modesetting(0): Default visual is TrueColor
[ 218.524] (II) modesetting(0): ShadowFB: preferred NO, enabled NO
[ 218.524] (EE) modesetting(0): KMS doesn't support dumb interface
[ 218.524] (EE) modesetting(0): KMS setup failed
[ 218.524] (II) UnloadModule: "modesetting"
[ 218.524] (EE) Screen(s) found, but none have a usable configuration.
[ 218.524]
Fatal server error:
[ 218.524] no screens found
[ 218.524] (EE)
Please consult the The X.Org Foundation support
at
http://wiki.x.org
for help.
[ 218.525] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 218.525] (EE)
[ 218.542] Server terminated with error (1). Closing log file.
------------------
eu sempre apanhei para "subir" o X no arch linux (eu usava ele há muito tempo atrás)
mas ele não usa mais, nem o hal, nem hwd ... agora ficou mais braçal e muuuuuito além do meu conhecimento (atual, pq a gente sempre aumenta o conhecimento, né? rsrs) sobre o X
Alguém pode me ajudar, por exemplo, me dizendo como eu faço para que "screens" sejam "found" nele? rsrs
Agradeço, desde já!
Fernando Tietê.