cosmoswang |
12-29-2014 08:58 AM |
The problem about Xorg
Hi,
I just migrate from ubuntu to slackware recently, I installed slackware on my laptop (Acer Aspire V5-472G).
However, when I tried to start the X-windows, it gave me the fatal error: no screen(s) found.
so I followed the instructions from http://docs.slackware.com/howtos:har...hics_driversto install Nvidia video driver, and the package I used is from
http://slackbuilds.org/repository/14...nvidia-driver/
The installation is successful.
When I type the
Code:
lspci | egrep "VGA|3D"
, I got a list of two devices:
Quote:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
|
I think that indicate the two video cards were recognized correctly.
But when I typed startx again, system still gave me same error, here is the content in the /var/log/Xorg.0.log
Code:
[ 1962.566]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 1962.573] X Protocol Version 11, Revision 0
[ 1962.575] Build Operating System: Slackware 14.1 Slackware Linux Project
[ 1962.577] Current Operating System: Linux cosmos 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64
[ 1962.577] Kernel command line: BOOT_IMAGE=dev000:\EFI\Slackware\vmlinuz root=/dev/sda6 nomodeset vga=1024*768 ro ro
[ 1962.581] Build Date: 09 October 2013 08:27:11PM
[ 1962.583]
[ 1962.585] Current version of pixman: 0.30.2
[ 1962.589] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1962.589] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1962.597] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 29 15:38:11 2014
[ 1962.655] (==) Using config file: "/etc/X11/xorg.conf"
[ 1962.657] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1962.691] (==) ServerLayout "X.org Configured"
[ 1962.691] (**) |-->Screen "Screen6" (6)
[ 1962.691] (**) | |-->Monitor "Monitor6"
[ 1962.691] (**) | |-->Device "Card6"
[ 1962.691] (**) |-->Input Device "Mouse0"
[ 1962.691] (**) |-->Input Device "Keyboard0"
[ 1962.691] (==) Automatically adding devices
[ 1962.691] (==) Automatically enabling devices
[ 1962.691] (==) Automatically adding GPU devices
[ 1962.692] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 1962.692] Entry deleted from font path.
[ 1962.692] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 1962.692] Entry deleted from font path.
[ 1962.733] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 1962.733] Entry deleted from font path.
[ 1962.733] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 1962.733] Entry deleted from font path.
[ 1962.733] (**) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic
[ 1962.733] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 1962.733] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1962.733] (WW) Disabling Mouse0
[ 1962.733] (WW) Disabling Keyboard0
[ 1962.733] (II) Loader magic: 0x7f6d20
[ 1962.733] (II) Module ABI versions:
[ 1962.733] X.Org ANSI C Emulation: 0.4
[ 1962.733] X.Org Video Driver: 14.1
[ 1962.733] X.Org XInput driver : 19.1
[ 1962.733] X.Org Server Extension : 7.0
[ 1962.733] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1962.735] (--) PCI:*(0:0:2:0) 8086:0166:1025:0799 rev 9, Mem @ 0xd1000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64
[ 1962.735] (--) PCI: (0:1:0:0) 10de:1292:1025:0799 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[ 1962.735] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1962.738] Initializing built-in extension Generic Event Extension
[ 1962.740] Initializing built-in extension SHAPE
[ 1962.742] Initializing built-in extension MIT-SHM
[ 1962.744] Initializing built-in extension XInputExtension
[ 1962.746] Initializing built-in extension XTEST
[ 1962.748] Initializing built-in extension BIG-REQUESTS
[ 1962.750] Initializing built-in extension SYNC
[ 1962.752] Initializing built-in extension XKEYBOARD
[ 1962.754] Initializing built-in extension XC-MISC
[ 1962.755] Initializing built-in extension XINERAMA
[ 1962.757] Initializing built-in extension XFIXES
[ 1962.758] Initializing built-in extension RENDER
[ 1962.760] Initializing built-in extension RANDR
[ 1962.761] Initializing built-in extension COMPOSITE
[ 1962.763] Initializing built-in extension DAMAGE
[ 1962.764] Initializing built-in extension MIT-SCREEN-SAVER
[ 1962.765] Initializing built-in extension DOUBLE-BUFFER
[ 1962.767] Initializing built-in extension RECORD
[ 1962.768] Initializing built-in extension DPMS
[ 1962.769] Initializing built-in extension X-Resource
[ 1962.770] Initializing built-in extension XVideo
[ 1962.771] Initializing built-in extension XVideo-MotionCompensation
[ 1962.772] Initializing built-in extension XFree86-VidModeExtension
[ 1962.773] Initializing built-in extension XFree86-DGA
[ 1962.774] Initializing built-in extension XFree86-DRI
[ 1962.775] Initializing built-in extension DRI2
[ 1962.775] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 1962.775] (II) LoadModule: "glx"
[ 1962.806] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1963.882] (II) Module glx: vendor="NVIDIA Corporation"
[ 1963.882] compiled for 4.0.2, module version = 1.0.0
[ 1963.882] Module class: X.Org Server Extension
[ 1963.883] (II) NVIDIA GLX Module 340.58 Fri Oct 31 16:48:52 PDT 2014
[ 1963.887] Loading extension GLX
[ 1963.887] (II) LoadModule: "intel"
[ 1963.910] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 1963.973] (II) Module intel: vendor="X.Org Foundation"
[ 1963.973] compiled for 1.14.2, module version = 2.21.15
[ 1963.973] Module class: X.Org Video Driver
[ 1963.973] ABI class: X.Org Video Driver, version 14.1
[ 1963.973] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[ 1963.974] (--) using VT number 7
[ 1963.982] (EE) No devices detected.
[ 1963.982] (EE)
Fatal server error:
[ 1963.983] (EE) no screens found(EE)
[ 1963.983] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1963.983] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1963.983] (EE)
And the following is my xorg.conf, which was generated by
then I modified to fix to my case:
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 6 "Screen6" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
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 "Monitor6"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
#Section "Monitor"
# Identifier "Monitor4"
# VendorName "Monitor Vendor"
# ModelName "Monitor Model"
#EndSection
#Section "Monitor"
# Identifier "Monitor6"
# 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 "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
# Identifier "Card0"
# Driver "nv"
# BusID "PCI:1:0:0"
#EndSection
#Section "Device"
# Identifier "Card0"
# Driver "nvidia"
# BusID "PCI:1:0: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 "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
# Identifier "Card4"
# Driver "intel"
# 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 "Card6"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen6"
Device "Card6"
Monitor "Monitor6"
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 "Screen4"
# Device "Card4"
# Monitor "Monitor4"
# 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 "Screen6"
# Device "Card6"
# Monitor "Monitor6"
# 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
So hopefully someone have any idea about what the problem is, looking forward your answer :)
|