You are not logged in.
Startx gives fatal server error:(EE) no screens found
After installing arch on my laptop, I followed the xorg arch wiki to install the Xwindow system.
I installed xorg-server, startx
lspci -k | grep -A -2 -i "VGA" shows two graphic cards (see below). I guess the I am using the NVIDIA.
I installed nvidia-utils-337.12-1 , nvidia-337.12-1, nvidia-libgl-337.12-1
After that I ran nvidia-xconfig
startx gives the above error.
What can I try next?
Best,
Sjoerd
This are the log files:
lspci -k | grep -A -2 -i "VGA"
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 15a7
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)
Subsystem: ASUSTeK Computer Inc. GeForce GT 650M
Kernel driver in use: nvidia
lsmod
Module Size Used by
isofs 32820 0
usb_storage 49255 1
joydev 10367 0
mousedev 10912 0
uvcvideo 74492 0
videobuf2_vmalloc 3368 1 uvcvideo
videobuf2_memops 2239 1 videobuf2_vmalloc
btusb 19720 0
videobuf2_core 28999 1 uvcvideo
bluetooth 352753 2 btusb
videodev 122691 2 uvcvideo,videobuf2_core
media 12611 2 uvcvideo,videodev
6lowpan_iphc 11556 1 bluetooth
nvidia 10784100 0
arc4 2064 2
asus_nb_wmi 7400 0
coretemp 6550 0
asus_wmi 16605 1 asus_nb_wmi
intel_rapl 12332 0
sparse_keymap 3242 1 asus_wmi
hwmon 3153 2 coretemp,asus_wmi
x86_pkg_temp_thermal 7311 0
intel_powerclamp 9442 0
mxm_wmi 1595 0
kvm_intel 134316 0
iwldvm 171439 0
iTCO_wdt 5535 0
iTCO_vendor_support 1929 1 iTCO_wdt
kvm 419974 1 kvm_intel
nls_iso8859_1 4485 2
led_class 3611 2 iwldvm,asus_wmi
i915 752620 1
mac80211 510355 1 iwldvm
crct10dif_pclmul 4714 0
nls_cp437 6017 2
crc32_pclmul 2955 0
crc32c_intel 14217 0
ghash_clmulni_intel 4362 0
aesni_intel 144871 0
vfat 10631 2
aes_x86_64 7463 1 aesni_intel
fat 53688 1 vfat
lrw 3821 1 aesni_intel
gf128mul 6018 1 lrw
glue_helper 4737 1 aesni_intel
ablk_helper 2100 1 aesni_intel
cryptd 8537 3 ghash_clmulni_intel,aesni_intel,ablk_helper
iwlwifi 151777 1 iwldvm
psmouse 92904 0
snd_hda_codec_realtek 47141 1
snd_hda_codec_generic 53860 1 snd_hda_codec_realtek
microcode 17157 0
cfg80211 459335 3 iwlwifi,mac80211,iwldvm
evdev 11784 5
mac_hid 3273 0
serio_raw 5009 0
atl1c 38426 0
pcspkr 2059 0
i2c_i801 11364 0
rfkill 15971 3 cfg80211,bluetooth,asus_wmi
snd_hda_intel 38728 0
drm_kms_helper 35720 1 i915
snd_hda_codec 101816 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
button 4765 1 i915
snd_hwdep 6396 1 snd_hda_codec
drm 242043 3 i915,drm_kms_helper,nvidia
snd_pcm 81607 2 snd_hda_codec,snd_hda_intel
snd_timer 19038 1 snd_pcm
mei_me 9776 0
snd 60086 7 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
intel_gtt 12856 1 i915
i2c_algo_bit 5480 1 i915
thermal 8812 0
soundcore 5551 1 snd
tpm_tis 9310 0
i2c_core 25400 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev
video 12057 2 i915,asus_wmi
mei 65662 1 mei_me
processor 25217 0
lpc_ich 13560 0
wmi 8539 2 mxm_wmi,asus_wmi
battery 7821 0
tpm 23363 1 tpm_tis
shpchp 25706 0
intel_rst 2372 0
ac 3366 0
ext4 505317 2
crc16 1359 2 ext4,bluetooth
mbcache 6266 1 ext4
jbd2 86487 1 ext4
sd_mod 37170 8
crc_t10dif 1135 1 sd_mod
crct10dif_common 1436 2 crct10dif_pclmul,crc_t10dif
atkbd 16934 0
libps2 4507 2 atkbd,psmouse
ahci 24043 4
libahci 21708 1 ahci
libata 174012 2 ahci,libahci
ehci_pci 4152 0
xhci_hcd 147645 0
ehci_hcd 64875 1 ehci_pci
scsi_mod 137184 3 usb_storage,libata,sd_mod
usbcore 186974 6 btusb,uvcvideo,usb_storage,ehci_hcd,ehci_pci,xhci_hcd
usb_common 1712 1 usbcore
i8042 13135 1 libps2
serio 10785 9 serio_raw,atkbd,i8042,psmouse
/etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 337.12 (buildmeister@swio-display-x64-rhel04-11) Fri Apr 4 15:17:56 PDT 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
/var/log/Xorg.0.log
[ 1860.296]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 1860.302] X Protocol Version 11, Revision 0
[ 1860.304] Build Operating System: Linux 3.14.0-4-ARCH x86_64
[ 1860.306] Current Operating System: Linux zen 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:44 CEST 2014 x86_64
[ 1860.306] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda2
[ 1860.309] Build Date: 14 April 2014 08:39:09AM
[ 1860.311]
[ 1860.313] Current version of pixman: 0.32.4
[ 1860.316] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1860.316] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1860.324] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 5 12:22:24 2014
[ 1860.326] (==) Using config file: "/etc/X11/xorg.conf"
[ 1860.327] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1860.328] (==) ServerLayout "Layout0"
[ 1860.328] (**) |-->Screen "Screen0" (0)
[ 1860.328] (**) | |-->Monitor "Monitor0"
[ 1860.328] (**) | |-->Device "Device0"
[ 1860.328] (**) |-->Input Device "Keyboard0"
[ 1860.328] (**) |-->Input Device "Mouse0"
[ 1860.328] (==) Automatically adding devices
[ 1860.328] (==) Automatically enabling devices
[ 1860.328] (==) Automatically adding GPU devices
[ 1860.328] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1860.328] Entry deleted from font path.
[ 1860.328] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 1860.328] Entry deleted from font path.
[ 1860.328] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 1860.328] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 1860.328] Entry deleted from font path.
[ 1860.328] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 1860.328] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 1860.328] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1860.328] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1860.328] (WW) Disabling Keyboard0
[ 1860.328] (WW) Disabling Mouse0
[ 1860.328] (II) Loader magic: 0x804c80
[ 1860.328] (II) Module ABI versions:
[ 1860.328] X.Org ANSI C Emulation: 0.4
[ 1860.328] X.Org Video Driver: 15.0
[ 1860.328] X.Org XInput driver : 20.0
[ 1860.328] X.Org Server Extension : 8.0
[ 1860.328] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 1860.328] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1860.330] (--) PCI:*(0:0:2:0) 8086:0166:1043:15a7 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 1860.330] (--) PCI: (0:1:0:0) 10de:0fd1:1043:15a7 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 1860.330] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 1860.332] Initializing built-in extension Generic Event Extension
[ 1860.333] Initializing built-in extension SHAPE
[ 1860.335] Initializing built-in extension MIT-SHM
[ 1860.337] Initializing built-in extension XInputExtension
[ 1860.338] Initializing built-in extension XTEST
[ 1860.340] Initializing built-in extension BIG-REQUESTS
[ 1860.342] Initializing built-in extension SYNC
[ 1860.343] Initializing built-in extension XKEYBOARD
[ 1860.345] Initializing built-in extension XC-MISC
[ 1860.346] Initializing built-in extension SECURITY
[ 1860.348] Initializing built-in extension XINERAMA
[ 1860.349] Initializing built-in extension XFIXES
[ 1860.350] Initializing built-in extension RENDER
[ 1860.352] Initializing built-in extension RANDR
[ 1860.353] Initializing built-in extension COMPOSITE
[ 1860.355] Initializing built-in extension DAMAGE
[ 1860.356] Initializing built-in extension MIT-SCREEN-SAVER
[ 1860.357] Initializing built-in extension DOUBLE-BUFFER
[ 1860.358] Initializing built-in extension RECORD
[ 1860.360] Initializing built-in extension DPMS
[ 1860.361] Initializing built-in extension Present
[ 1860.362] Initializing built-in extension DRI3
[ 1860.364] Initializing built-in extension X-Resource
[ 1860.365] Initializing built-in extension XVideo
[ 1860.366] Initializing built-in extension XVideo-MotionCompensation
[ 1860.367] Initializing built-in extension XFree86-VidModeExtension
[ 1860.368] Initializing built-in extension XFree86-DGA
[ 1860.369] Initializing built-in extension XFree86-DRI
[ 1860.370] Initializing built-in extension DRI2
[ 1860.370] (II) LoadModule: "glx"
[ 1860.371] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1860.382] (II) Module glx: vendor="NVIDIA Corporation"
[ 1860.382] compiled for 4.0.2, module version = 1.0.0
[ 1860.382] Module class: X.Org Server Extension
[ 1860.382] (II) NVIDIA GLX Module 337.12 Fri Apr 4 14:34:00 PDT 2014
[ 1860.383] Loading extension GLX
[ 1860.383] (II) LoadModule: "nvidia"
[ 1860.383] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 1860.383] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1860.383] compiled for 4.0.2, module version = 1.0.0
[ 1860.383] Module class: X.Org Video Driver
[ 1860.383] (II) NVIDIA dlloader X Driver 337.12 Fri Apr 4 14:13:45 PDT 2014
[ 1860.383] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1860.383] (++) using VT number 2
[ 1860.384] (EE) No devices detected.
[ 1860.384] (EE)
Fatal server error:
[ 1860.384] (EE) no screens found(EE)
[ 1860.384] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1860.384] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1860.384] (EE)
Last edited by sjdh (2014-05-05 14:05:34)
Offline
Have you read the wiki https://wiki.archlinux.org/index.php/Nv … IA_Optimus ?
Offline
Hi Karol,
Thank you for the suggestion. I read the wiki Nvidia#No_screens_found_on_a_laptop.2FNVIDIA_Optimus .
It says "On a laptop, if the NVIDIA driver cannot find any screens, you may have an NVIDIA Optimus setup : an Intel chipset connected to the screen and the video outputs, and a NVIDIA". This seems to be the case for my latop.
The wiki suggests three options to get around the problem:
1) NVIDIA drivers now offer Optimus support since 319.12 Beta [[3]] with kernels above and including 3.9.
2) Another solution is to install the Intel driver to handle the screens
3) Enter the BIOS and changed the default graphics setting from 'Optimus' to 'Discrete' and the install NVIDIA drivers
I tried them all:
1) I had NVIDIA driver version 337 installed, but I don't know how to turn on Optimus support
3) I check my bios settings, but there is no such option
2) I removed the nvidia drivers and then installed intel drivers. I removed /etc/x11/xorg.conf
startx now find screens. I guess there is no 2d or 3d acceleration, but it works
Thank you
Sjoerd
Offline
If you are having through then you should try Bumblebee
Offline