You are not logged in.

#1 2013-11-30 19:26:01

jesusrop
Member
Registered: 2013-10-19
Posts: 14

[SOLVED] X fails to start automatically, but works manually

Hi,

i just installed arch on my desktop. I enabled kdm service to start kde at boot, but I just get a blinking cursor. From another terminal I can log to console, stop kdm service and start it manually successfully.

I tried both with no xorg.conf file (only the default if there is any from installation) and with a file automatically generated by nvidia-settings. No difference in any case.

When it fails I get:
systemctl status kdm -l

kdm.service - K Display Manager
   Loaded: loaded (/usr/lib/systemd/system/kdm.service; enabled)
   Active: active (running) since sáb 2013-11-30 22:26:53 CET; 32s ago
 Main PID: 206 (kdm)
   CGroup: /system.slice/kdm.service
           └─206 /usr/bin/kdm -nodaemon

nov 30 22:26:53 estudi systemd[1]: Started K Display Manager.
nov 30 22:26:54 estudi kdm[206]: X server died during startup
nov 30 22:26:54 estudi kdm[206]: X server for display :0 cannot be started, session disabled

tail -50 /var/log/Xorg.0.log

[     3.956] (WW) Warning, couldn't open module fbdev
[     3.956] (II) UnloadModule: "fbdev"
[     3.956] (II) Unloading fbdev
[     3.956] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     3.956] (II) NVIDIA dlloader X Driver  331.20  Wed Oct 30 17:16:53 PDT 2013
[     3.956] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     3.956] (++) using VT number 7

[     3.961] (II) Loading sub module "fb"
[     3.961] (II) LoadModule: "fb"
[     3.961] (II) Loading /usr/lib/xorg/modules/libfb.so
[     3.962] (II) Module fb: vendor="X.Org Foundation"
[     3.962]    compiled for 1.14.4, module version = 1.0.0
[     3.962]    ABI class: X.Org ANSI C Emulation, version 0.4
[     3.962] (WW) Unresolved symbol: fbGetGCPrivateKey
[     3.962] (II) Loading sub module "wfb"
[     3.962] (II) LoadModule: "wfb"
[     3.962] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     3.964] (II) Module wfb: vendor="X.Org Foundation"
[     3.964]    compiled for 1.14.4, module version = 1.0.0
[     3.964]    ABI class: X.Org ANSI C Emulation, version 0.4
[     3.964] (II) Loading sub module "ramdac"
[     3.964] (II) LoadModule: "ramdac"
[     3.964] (II) Module "ramdac" already built-in
[     3.965] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[     3.965] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     3.965] (==) NVIDIA(0): RGB weight 888
[     3.965] (==) NVIDIA(0): Default visual is TrueColor
[     3.965] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     3.966] (**) NVIDIA(0): Enabling 2D acceleration
[     3.967] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[     3.967] (EE) NVIDIA(0):     system's kernel log for additional error messages and
[     3.967] (EE) NVIDIA(0):     consult the NVIDIA README for details.
[     3.967] (EE) NVIDIA(0):  *** Aborting ***
[     3.967] (EE) NVIDIA(0): Failing initialization of X screen 0
[     3.967] (II) UnloadModule: "nvidia"
[     3.967] (II) UnloadSubModule: "wfb"
[     3.967] (II) UnloadSubModule: "fb"
[     3.967] (EE) Screen(s) found, but none have a usable configuration.
[     3.967] (EE) 
Fatal server error:
[     3.967] (EE) no screens found(EE) 
[     3.967] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[     3.967] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     3.967] (EE) 
[     3.968] (EE) Server terminated with error (1). Closing log file.

dmesg | tail -50

[    3.543295] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4                                                                                                                                                                                                    
[    3.548706] input: PC Speaker as /devices/platform/pcspkr/input/input7                                                                                                                                                                                                      
[    3.549507] ACPI Warning: 0x0000000000000400-0x000000000000041f SystemIO conflicts with Region \SMRG 1 (20130725/utaddress-251)                                                                                                                                             
[    3.549513] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver                                                                                                                                                            
[    3.549623] microcode: CPU0 sig=0x1067a, pf=0x10, revision=0xa07                                                                                                                                                                                                            
[    3.573601] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X                                                                                                                                                                                                                
[    3.579368] [drm] Initialized drm 1.1.0 20060810                                                                                                                                                                                                                            
[    3.592804] microcode: CPU1 sig=0x1067a, pf=0x10, revision=0xa07                                                                                                                                                                                                            
[    3.606866] iTCO_vendor_support: vendor-support=0                                                                                                                                                                                                                           
[    3.608328] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10                                                                                                                                                                                                                 
[    3.608359] iTCO_wdt: Found a ICH10R TCO device (Version=2, TCOBASE=0x0860)                                                                                                                                                                                                 
[    3.608481] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)                                                                                                                                                                                                            
[    3.617139] systemd-udevd[170]: renamed network interface eth0 to enp2s0                                                                                                                                                                                                    
[    3.650651] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready                                                                                                                                                                                                            
[    3.663281] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[    3.669878] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[    3.670291] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    3.670350] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    3.672410] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    3.677233] microcode: CPU2 sig=0x1067a, pf=0x10, revision=0xa07
[    3.678409] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    3.680095] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    3.680168] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    3.681278] hda_intel: Disabling MSI
[    3.681288] hda-intel 0000:01:00.1: Handle VGA-switcheroo audio client
[    3.681440] microcode: CPU3 sig=0x1067a, pf=0x10, revision=0xa07
[    3.681902] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    3.684666] md: bind<sdc>
[    3.705747] md: bind<sdb>
[    3.707854] md: bind<sdc>
[    3.707967] md: bind<sdb>
[    3.715885] md: raid0 personality registered for level 0
[    3.716281] md/raid0:md126: md_size is 1953536000 sectors.
[    3.716289] md: RAID0 configuration for md126 - 1 zone
[    3.716290] md: zone0=[sdb/sdc]
[    3.716293]       zone-offset=         0KB, device-offset=         0KB, size= 976768256KB

[    3.716302] md126: detected capacity change from 0 to 1000210432000
[    3.720513]  md126: p1 p2
[    3.743600] nvidia: module license 'NVIDIA' taints kernel.
[    3.743608] Disabling lock debugging due to kernel taint
[    4.346809] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
[    4.346963] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[    4.347036] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[    4.347175] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[    4.352390] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[    4.354858] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 0
[    4.354869] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.20  Wed Oct 30 17:43:35 PDT 2013
[    6.241887] ATL1E 0000:02:00.0 enp2s0: NIC Link is Up <1000 Mbps Full Duplex>
[    6.241901] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready

When it works:
systemctl status kdm -l

kdm.service - K Display Manager
   Loaded: loaded (/usr/lib/systemd/system/kdm.service; enabled)
   Active: active (running) since sáb 2013-11-30 22:16:36 CET
 Main PID: 384 (kdm)
   CGroup: /system.slice/kdm.service
           ├─384 /usr/bin/kdm -nodaemon
           └─386 /usr/bin/X -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-EF26Kb

tail -50 /var/log/Xorg.0.log

[    33.953] (--) evdev: Logitech Unifying Device. Wireless PID:2008: Found keys
[    33.953] (II) evdev: Logitech Unifying Device. Wireless PID:2008: Configuring as mouse
[    33.953] (II) evdev: Logitech Unifying Device. Wireless PID:2008: Configuring as keyboard
[    33.953] (II) evdev: Logitech Unifying Device. Wireless PID:2008: Adding scrollwheel support
[    33.953] (**) evdev: Logitech Unifying Device. Wireless PID:2008: YAxisMapping: buttons 4 and 5
[    33.953] (**) evdev: Logitech Unifying Device. Wireless PID:2008: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    33.953] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-2/4-2:1.2/0003:046D:C52B.0003/input/input3/event1"
[    33.953] (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:2008" (type: KEYBOARD, id 9)
[    33.953] (**) Option "xkb_rules" "evdev"
[    33.953] (**) Option "xkb_model" "pc104"
[    33.953] (**) Option "xkb_layout" "us"
[    33.953] (II) evdev: Logitech Unifying Device. Wireless PID:2008: initialized for relative axes.
[    33.953] (WW) evdev: Logitech Unifying Device. Wireless PID:2008: ignoring absolute axes.
[    33.953] (**) Logitech Unifying Device. Wireless PID:2008: (accel) keeping acceleration scheme 1
[    33.954] (**) Logitech Unifying Device. Wireless PID:2008: (accel) acceleration profile 0
[    33.954] (**) Logitech Unifying Device. Wireless PID:2008: (accel) acceleration factor: 2.000
[    33.954] (**) Logitech Unifying Device. Wireless PID:2008: (accel) acceleration threshold: 4
[    33.954] (II) config/udev: Adding input device Logitech Logitech Cordless RumblePad 2 (/dev/input/event2)
[    33.954] (II) No input driver specified, ignoring this device.
[    33.954] (II) This device may have been added with another device file.
[    33.954] (II) config/udev: Adding input device Logitech Logitech Cordless RumblePad 2 (/dev/input/js0)
[    33.954] (II) No input driver specified, ignoring this device.
[    33.954] (II) This device may have been added with another device file.
[    33.954] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[    33.954] (II) No input driver specified, ignoring this device.
[    33.954] (II) This device may have been added with another device file.
[    39.530] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-0)) does not
[    39.530] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    39.560] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-2)) does not
[    39.560] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    39.621] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-0)) does not
[    39.621] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    39.650] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-2)) does not
[    39.650] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    39.711] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-0)) does not
[    39.711] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    39.741] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-2)) does not
[    39.741] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    40.987] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-0)) does not
[    40.987] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    41.017] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-2)) does not
[    41.017] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    43.215] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-0)) does not
[    43.215] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    43.245] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-2)) does not
[    43.245] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    46.221] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-0)) does not
[    46.221] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.
[    46.251] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VS239 (DFP-2)) does not
[    46.251] (II) NVIDIA(GPU-0):     support NVIDIA 3D Vision stereo.

lspci

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode]
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF104 High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)

lsmod

Module                  Size  Used by
snd_hda_codec_hdmi     30162  4 
nvidia              10573185  41 
raid0                  10153  1 
coretemp                6334  0 
kvm_intel             131191  0 
kvm                   389093  1 kvm_intel
iTCO_wdt                5407  0 
iTCO_vendor_support     1937  1 iTCO_wdt
md_mod                105996  1 raid0
joydev                  9671  0 
evdev                  10989  6 
snd_hda_codec_via      19726  1 
microcode              15024  0 
drm                   238206  2 nvidia
psmouse                85428  0 
i2c_i801               11277  0 
serio_raw               5049  0 
pcspkr                  2035  0                                                                                                                                                    
i2c_core               24164  3 drm,i2c_i801,nvidia                                                                                                                                
atl1e                  30748  0                                                                                                                                                    
snd_hda_intel          36904  4                                                                                                                                                    
snd_hda_codec         149569  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep               6340  1 snd_hda_codec
snd_pcm                77709  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7242  2 snd_pcm,snd_hda_intel
asus_atk0110           12008  0 
acpi_cpufreq           10779  1 
snd_timer              18726  1 snd_pcm
snd                    59173  15 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec,snd_hda_intel
shpchp                 25465  0 
intel_agp              10880  0 
soundcore               5450  1 snd
button                  4677  0 
intel_gtt              12664  1 intel_agp
lpc_ich                13120  0 
processor              24999  1 acpi_cpufreq
ext4                  474187  1 
crc16                   1367  1 ext4
mbcache                 6082  1 ext4
jbd2                   83504  1 ext4
sr_mod                 14898  0 
sd_mod                 30789  4 
cdrom                  34848  1 sr_mod
hid_logitech           18089  0 
ff_memless              6091  1 hid_logitech
hid_logitech_dj        10639  0 
usbhid                 40577  0 
hid                    90678  5 hid_logitech,usbhid,hid_logitech_dj
ahci                   22896  5 
libahci                21401  1 ahci
libata                170792  2 ahci,libahci
scsi_mod              130669  3 libata,sd_mod,sr_mod
ehci_pci                4000  0 
uhci_hcd               24795  0 
ehci_hcd               59220  1 ehci_pci
usbcore               179880  4 uhci_hcd,ehci_hcd,ehci_pci,usbhid
usb_common              1656  1 usbcore

Edited to add info about x file and lspci lsmod. Added dmesg output.

Last edited by jesusrop (2013-12-01 12:31:53)

Offline

#2 2013-12-01 10:49:30

jesusrop
Member
Registered: 2013-10-19
Posts: 14

Re: [SOLVED] X fails to start automatically, but works manually

After reading this post I decided to install nvidia-304xx drivers. My system now works normally, but I'd like to install normal nvidia drivers (just a version that works, I think 325.15 was the previous one). Do you know were can I get them?

Thank you!

Offline

#3 2013-12-01 11:43:36

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: [SOLVED] X fails to start automatically, but works manually

You can probably find a package corresponding to the version of the nvidia driver you want in your /var/cache/pacman directory. If you don't find it, you can have a look in the Arch Rollback Machine. Please note that dependencies required by an older nvidia driver are likely to be a pain to manage and will somehow require that you freeze part of your installation (like kernel version, etc).

Alternatively, you can just recompile the nvidia drivers by using the Arch Build System, see here.

All you have to do is to retrieve the PKGUILD and its associated files corresponding to the version you would like to compile, see here (direct link to tarball). Once the package is built, it will integrate nicely into your installation.

Last edited by aurelieng (2013-12-01 11:47:09)

Offline

#4 2013-12-01 12:31:32

jesusrop
Member
Registered: 2013-10-19
Posts: 14

Re: [SOLVED] X fails to start automatically, but works manually

aurelieng wrote:

You can probably find a package corresponding to the version of the nvidia driver you want in your /var/cache/pacman directory. If you don't find it, you can have a look in the Arch Rollback Machine. Please note that dependencies required by an older nvidia driver are likely to be a pain to manage and will somehow require that you freeze part of your installation (like kernel version, etc).

Alternatively, you can just recompile the nvidia drivers by using the Arch Build System, see here.

All you have to do is to retrieve the PKGUILD and its associated files corresponding to the version you would like to compile, see here (direct link to tarball). Once the package is built, it will integrate nicely into your installation.

Thanks!
I used the ARM and worked, just needed to install 3 packages at the same time: nvidia nvidia-utils and nvidia-libgl.

In the nvidia package page there is a bug report about this issue. Looks like I decided to reinstall my box the same exact day that the nvidia package was upgraded so I did not notice that I was upgrading my package.
Others with the same problem can just go to this post

Offline

Board footer

Powered by FluxBB