You are not logged in.

#1 2012-09-13 23:30:51

blackout23
Member
Registered: 2011-11-16
Posts: 781

Slim fails. No screens with usable configuration[Solved]

Hello,

I was using nouveau with xf86-video-nouveau for some time on my Laptop with GeForce 6150 and AMD Dualcore CPU.
Now I wanted to switch back to nvidia or nvidia-ck-kx to be preciese since I'm using the CK Kernel. I have used the CK
Kernel with nvidia-ck driver before.

So I installed nvidia-ck-kx and nvidia-utils to replace libgl with it. I removed 20-nouveau.conf from xorg.conf.d and removed
my old xorg.conf. I then used "sudo nvidia-xconfig" to write a new config file. I also blacklisted nouveau in modprobe.d just to
make sure. I also rebuild my initramfs with mkinitcpio -p linux-ck.

Since slim.service is "enabled" it is started at boot but fails and I get set back to console login.
Now when I "sudo systemctl start slim" it finally starts like it should.

I exported some error logs after I login to console.

journalctl where first messages from slim appear untill the last message

Sep 14 01:06:08 archtop slim[218]: NVIDIA: could not open the device file /...).
Sep 14 01:06:08 archtop slim[218]: Fatal server error:
Sep 14 01:06:08 archtop slim[218]: no screens found
Sep 14 01:06:08 archtop slim[218]: Please consult the The X.Org Foundation ...rt
Sep 14 01:06:08 archtop slim[218]: at http://wiki.x.org
Sep 14 01:06:08 archtop slim[218]: for help.
Sep 14 01:06:08 archtop slim[218]: Please also check the log file at "/var/...n.
Sep 14 01:06:08 archtop slim[218]: Server terminated with error (1). Closin...e.
Sep 14 01:06:08 archtop kernel: input: HDA NVidia Front Headphone as /devic...10
Sep 14 01:06:08 archtop kernel: nvidia 0000:00:05.0: power state changed by...D0
Sep 14 01:06:08 archtop kernel: nvidia 0000:00:05.0: power state changed by...D0
Sep 14 01:06:08 archtop kernel: ACPI: PCI Interrupt Link [LK3E] enabled at ...18
Sep 14 01:06:08 archtop kernel: nvidia 0000:00:05.0: setting latency timer to 64
Sep 14 01:06:08 archtop kernel: vgaarb: device changed decodes: PCI:0000:00...em
Sep 14 01:06:08 archtop kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Mod...12
Sep 14 01:06:08 archtop slim[218]: slim: closing Log file, while is already...ed
Sep 14 01:06:08 archtop slim[218]: slim: closing Log file, while is already...ed
Sep 14 01:06:08 archtop slim[218]: slim: closing Log file, while is already...ed
Sep 14 01:06:08 archtop slim[218]: slim: closing Log file, while is already...ed
Sep 14 01:06:08 archtop slim[218]: slim: closing Log file, while is already...ed
Sep 14 01:06:08 archtop systemd[1]: slim.service: main process exited, code...=1
Sep 14 01:06:08 archtop systemd[1]: Unit slim.service entered failed state..

Xorg.0.log

[     3.049] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[     3.049] X Protocol Version 11, Revision 0
[     3.049] Build Operating System: Linux 3.4.8-1-ARCH x86_64 
[     3.049] Current Operating System: Linux archtop 3.5.3-2-ck #1 SMP PREEMPT Mon Aug 27 16:12:22 EDT 2012 x86_64
[     3.049] Kernel command line: root=/dev/sda1 quiet ro initrd=../initramfs-linux-ck.img BOOT_IMAGE=../vmlinuz-linux-ck 
[     3.049] Build Date: 27 August 2012  08:04:39AM
[     3.049]  
[     3.049] Current version of pixman: 0.26.2
[     3.049] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     3.049] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     3.050] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 14 01:06:07 2012
[     3.053] (==) Using config file: "/etc/X11/xorg.conf"
[     3.053] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     3.055] (==) ServerLayout "Layout0"
[     3.055] (**) |-->Screen "Screen0" (0)
[     3.055] (**) |   |-->Monitor "Monitor0"
[     3.056] (**) |   |-->Device "Device0"
[     3.056] (**) |-->Input Device "Keyboard0"
[     3.056] (**) |-->Input Device "Mouse0"
[     3.059] (**) Option "Xinerama" "0"
[     3.059] (==) Automatically adding devices
[     3.059] (==) Automatically enabling devices
[     3.063] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[     3.063] 	Entry deleted from font path.
[     3.068] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[     3.068] 	Entry deleted from font path.
[     3.068] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[     3.069] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[     3.069] 	Entry deleted from font path.
[     3.069] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[     3.069] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[     3.069] (==) ModulePath set to "/usr/lib/xorg/modules"
[     3.069] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     3.069] (WW) Disabling Keyboard0
[     3.069] (WW) Disabling Mouse0
[     3.069] (II) Loader magic: 0x7c8b00
[     3.069] (II) Module ABI versions:
[     3.069] 	X.Org ANSI C Emulation: 0.4
[     3.069] 	X.Org Video Driver: 12.1
[     3.069] 	X.Org XInput driver : 16.0
[     3.069] 	X.Org Server Extension : 6.0
[     3.070] (--) PCI:*(0:0:5:0) 10de:0244:103c:30b7 rev 162, Mem @ 0xb2000000/16777216, 0xc0000000/268435456, 0xb1000000/16777216, BIOS @ 0x????????/131072
[     3.070] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     3.070] (II) LoadModule: "extmod"
[     3.077] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[     3.079] (II) Module extmod: vendor="X.Org Foundation"
[     3.079] 	compiled for 1.12.4, module version = 1.0.0
[     3.079] 	Module class: X.Org Server Extension
[     3.079] 	ABI class: X.Org Server Extension, version 6.0
[     3.079] (II) Loading extension MIT-SCREEN-SAVER
[     3.079] (II) Loading extension XFree86-VidModeExtension
[     3.079] (II) Loading extension XFree86-DGA
[     3.079] (II) Loading extension DPMS
[     3.079] (II) Loading extension XVideo
[     3.079] (II) Loading extension XVideo-MotionCompensation
[     3.079] (II) Loading extension X-Resource
[     3.079] (II) LoadModule: "dbe"
[     3.079] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[     3.080] (II) Module dbe: vendor="X.Org Foundation"
[     3.080] 	compiled for 1.12.4, module version = 1.0.0
[     3.080] 	Module class: X.Org Server Extension
[     3.080] 	ABI class: X.Org Server Extension, version 6.0
[     3.080] (II) Loading extension DOUBLE-BUFFER
[     3.080] (II) LoadModule: "glx"
[     3.080] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.274] (II) Module glx: vendor="NVIDIA Corporation"
[     3.274] 	compiled for 4.0.2, module version = 1.0.0
[     3.274] 	Module class: X.Org Server Extension
[     3.274] (II) NVIDIA GLX Module  304.43  Sun Aug 19 20:34:01 PDT 2012
[     3.274] (II) Loading extension GLX
[     3.274] (II) LoadModule: "record"
[     3.274] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[     3.275] (II) Module record: vendor="X.Org Foundation"
[     3.275] 	compiled for 1.12.4, module version = 1.13.0
[     3.275] 	Module class: X.Org Server Extension
[     3.275] 	ABI class: X.Org Server Extension, version 6.0
[     3.275] (II) Loading extension RECORD
[     3.275] (II) LoadModule: "dri"
[     3.275] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[     3.280] (II) Module dri: vendor="X.Org Foundation"
[     3.280] 	compiled for 1.12.4, module version = 1.0.0
[     3.280] 	ABI class: X.Org Server Extension, version 6.0
[     3.280] (II) Loading extension XFree86-DRI
[     3.280] (II) LoadModule: "dri2"
[     3.280] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[     3.281] (II) Module dri2: vendor="X.Org Foundation"
[     3.281] 	compiled for 1.12.4, module version = 1.2.0
[     3.281] 	ABI class: X.Org Server Extension, version 6.0
[     3.281] (II) Loading extension DRI2
[     3.281] (II) LoadModule: "nvidia"
[     3.282] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     3.298] (II) Module nvidia: vendor="NVIDIA Corporation"
[     3.298] 	compiled for 4.0.2, module version = 1.0.0
[     3.298] 	Module class: X.Org Video Driver
[     3.302] (II) NVIDIA dlloader X Driver  304.43  Sun Aug 19 20:15:32 PDT 2012
[     3.302] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     3.303] (++) using VT number 7

[     3.332] (II) Loading sub module "fb"
[     3.332] (II) LoadModule: "fb"
[     3.332] (II) Loading /usr/lib/xorg/modules/libfb.so
[     3.347] (II) Module fb: vendor="X.Org Foundation"
[     3.347] 	compiled for 1.12.4, module version = 1.0.0
[     3.347] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.347] (II) Loading sub module "wfb"
[     3.347] (II) LoadModule: "wfb"
[     3.347] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     3.352] (II) Module wfb: vendor="X.Org Foundation"
[     3.352] 	compiled for 1.12.4, module version = 1.0.0
[     3.352] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.352] (II) Loading sub module "ramdac"
[     3.352] (II) LoadModule: "ramdac"
[     3.352] (II) Module "ramdac" already built-in
[     3.357] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[     3.357] (==) NVIDIA(0): RGB weight 888
[     3.357] (==) NVIDIA(0): Default visual is TrueColor
[     3.357] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     3.358] (**) NVIDIA(0): Option "Stereo" "0"
[     3.358] (**) NVIDIA(0): Stereo disabled by request
[     3.358] (**) NVIDIA(0): Option "MetaModes" "1280x800_60 +0+0; nvidia-auto-select +0+0"
[     3.358] (**) NVIDIA(0): Enabling 2D acceleration
[     3.699] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[     3.699] (EE) NVIDIA(0):     system's kernel log for additional error messages and
[     3.699] (EE) NVIDIA(0):     consult the NVIDIA README for details.
[     3.699] (EE) NVIDIA(0):  *** Aborting ***
[     3.699] (EE) NVIDIA(0): Failing initialization of X screen 0
[     3.699] (II) UnloadModule: "nvidia"
[     3.699] (II) UnloadSubModule: "wfb"
[     3.699] (II) UnloadSubModule: "fb"
[     3.699] (EE) Screen(s) found, but none have a usable configuration.
[     3.699] 
Fatal server error:
[     3.699] no screens found
[     3.699] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     3.699] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     3.699] 
[     3.704] Server terminated with error (1). Closing log file.

The strange thing is that slim launches after failing first and setting me back to console. I exported xorg.conf from nvidia-settings after I finally
reached my desktop but that did not help.

Any ideas?

Kind regards,

blackout23

Last edited by blackout23 (2012-09-14 11:38:15)

Offline

#2 2012-09-14 01:10:59

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Slim fails. No screens with usable configuration[Solved]

Does it only have to do with time? You could try using systemd.timer to delay the service. Or make the slim service call a script that sleeps and then starts slim. Also, try putting nvidia in /etc/modules-load.d.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2012-09-14 09:54:32

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: Slim fails. No screens with usable configuration[Solved]

Putting it in modules load fixed it. Still curious why it doesn't work otherwise like it did many times before.

Offline

Board footer

Powered by FluxBB