You are not logged in.

#1 2015-11-26 03:44:37

praetorxyn
Member
Registered: 2014-05-20
Posts: 7

Clean install, CLI works fine but problems with X / Nvidia

Let me preface this post by describing the setup I'm planning; I've worked up a simple installation script just to automate the process because of how many problems I've had with it.
In short the SSD will have (in addition to the Windows 10 partitions after I get things sorted out) a single LVM partition, encrypted with a LUKS-encrypted key file and using an external LUKS header on a USB stick.
I've made a custom hook by modifying the encrypt hook, so during boot it asks for the password to decrypt the keyfile, then puts the output in /crypto_keyfile.bin so it will be used to decrypt the LVM partition.
Bootloader is rEFInd, as I think it looks nicer and is much easier to use than GRUB. Boot partition is an EFI System Partition on the USB stick that contains the kernels, initramfs images, rEFInd, LUKS header, and encrypted key file.
Laptop: Lenovo ThinkPad W550s

Graphics (lspci | grep 3D):

00:02:0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
        Subsystem: Lenovo Device 2225
        Kernel driver in use: i915
--
08:00:0 3D controller: NVIDIA Corporation GM108GLM [Quadro K620M] (rev a2)
        Subsystem: Lenovo Device 2225
        Kernel modules: nouveau

At first I tried the nouveau drivers, which worked fine for me before, but during the init process where it asks me for the password to the encrypt keyfile, it has a message about nouveau unrecognized Maxwell chipset (which is strange as it used to recognize it before) and I get a black screen.

So I'm trying to get the proprietary Nvidia drivers to work by following the wiki, which generally have better performance and feature support if I understand correctly. Unfortunately, if I enable a display manager, sddm in my case, the system just hangs during boot.

So to get at the root of the problem I've not enabled sddm and I can successfully log in via command-line.
So I just tried to run startx and have copied the xorg log file to my USB so I can post it here and go over it in a proper editor.

Like the boot process with sddm enable, startx hangs forever, hence after a few minutes I manually powered down the machine. Here's the log:

X.Org X Server 1.18.0
Release Date: 2015-11-09
[    48.495] X Protocol Version 11, Revision 0
[    48.495] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[    48.495] Current Operating System: Linux helios 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[    48.495] Kernel command line: \vmlinuz-linux cryptdevice=PARTUUID=73c244bf-b7f1-4383-933c-e5bf1767d6ef:vg_helios:allow-discards,header root=/dev/mapper/vg_helios-lv_root resume=/dev/mapper/vg_helios-lv_swap rw verbose loglevel=3 initrd=\initramfs-linux.img
[    48.496] Build Date: 18 November 2015  08:07:09AM
[    48.496]  
[    48.496] Current version of pixman: 0.32.8
[    48.496] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    48.496] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    48.496] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 25 21:18:01 2015
[    48.498] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    48.498] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    48.498] (==) ServerLayout "layout"
[    48.498] (**) |-->Screen "nvidia" (0)
[    48.498] (**) |   |-->Monitor "<default monitor>"
[    48.499] (**) |   |-->Device "nvidia"
[    48.499] (**) |   |-->GPUDevice "intel"
[    48.499] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[    48.499] (**) |-->Inactive Device "intel"
[    48.499] (==) Automatically adding devices
[    48.499] (==) Automatically enabling devices
[    48.499] (==) Automatically adding GPU devices
[    48.499] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    48.500] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    48.500] 	Entry deleted from font path.
[    48.501] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    48.501] 	Entry deleted from font path.
[    48.501] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    48.501] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    48.501] 	Entry deleted from font path.
[    48.501] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    48.501] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[    48.501] (==) ModulePath set to "/usr/lib/xorg/modules"
[    48.501] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    48.501] (II) Loader magic: 0x819d40
[    48.501] (II) Module ABI versions:
[    48.501] 	X.Org ANSI C Emulation: 0.4
[    48.501] 	X.Org Video Driver: 20.0
[    48.501] 	X.Org XInput driver : 22.1
[    48.501] 	X.Org Server Extension : 9.0
[    48.501] (++) using VT number 1

[    48.501] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    48.502] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    48.503] (II) xfree86: Adding drm device (/dev/dri/card1)
[    48.503] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[    48.503] (II) xfree86: Adding drm device (/dev/dri/card0)
[    48.504] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[    48.505] (--) PCI:*(0:0:2:0) 8086:1616:17aa:2225 rev 9, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x00004000/64
[    48.505] (--) PCI: (0:8:0:0) 10de:137a:17aa:2225 rev 162, Mem @ 0xf1000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
[    48.505] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    48.505] (II) LoadModule: "glx"
[    48.506] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    48.558] (II) Module glx: vendor="NVIDIA Corporation"
[    48.558] 	compiled for 4.0.2, module version = 1.0.0
[    48.558] 	Module class: X.Org Server Extension
[    48.559] (II) NVIDIA GLX Module  358.16  Mon Nov 16 18:54:01 PST 2015
[    48.559] (II) LoadModule: "nvidia"
[    48.560] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    48.567] (II) Module nvidia: vendor="NVIDIA Corporation"
[    48.567] 	compiled for 4.0.2, module version = 1.0.0
[    48.567] 	Module class: X.Org Video Driver
[    48.568] (II) LoadModule: "modesetting"
[    48.568] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    48.568] (II) Module modesetting: vendor="X.Org Foundation"
[    48.568] 	compiled for 1.18.0, module version = 1.18.0
[    48.568] 	Module class: X.Org Video Driver
[    48.568] 	ABI class: X.Org Video Driver, version 20.0
[    48.568] (II) NVIDIA dlloader X Driver  358.16  Mon Nov 16 18:32:40 PST 2015
[    48.568] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    48.569] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    48.570] (II) Loading sub module "fb"
[    48.570] (II) LoadModule: "fb"
[    48.570] (II) Loading /usr/lib/xorg/modules/libfb.so
[    48.571] (II) Module fb: vendor="X.Org Foundation"
[    48.571] 	compiled for 1.18.0, module version = 1.0.0
[    48.571] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    48.571] (II) Loading sub module "wfb"
[    48.571] (II) LoadModule: "wfb"
[    48.571] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    48.572] (II) Module wfb: vendor="X.Org Foundation"
[    48.572] 	compiled for 1.18.0, module version = 1.0.0
[    48.572] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    48.572] (II) Loading sub module "ramdac"
[    48.572] (II) LoadModule: "ramdac"
[    48.572] (II) Module "ramdac" already built-in
[    48.575] (II) modeset(1): using drv /dev/dri/card1
[    48.575] (EE) Screen 1 deleted because of no matching config section.
[    48.575] (II) UnloadModule: "modesetting"
[    48.575] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"nvidia" for depth/fbbpp 24/32
[    48.575] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    48.575] (==) NVIDIA(0): RGB weight 888
[    48.575] (==) NVIDIA(0): Default visual is TrueColor
[    48.575] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    48.576] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "Yes"
[    48.576] (**) NVIDIA(0): Enabling 2D acceleration
[    48.746] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[    48.748] (II) NVIDIA(0): NVIDIA GPU Quadro K620M (GM108GL-A) at PCI:8:0:0 (GPU-0)
[    48.748] (--) NVIDIA(0): Memory: 2097152 kBytes
[    48.748] (--) NVIDIA(0): VideoBIOS: 82.08.1f.00.03
[    48.748] (II) NVIDIA(0): Detected PCI Express Link width: 4X
[    48.748] (II) NVIDIA(0): Validated MetaModes:
[    48.748] (II) NVIDIA(0):     "NULL"
[    48.748] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    48.748] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    48.748] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    48.748] (--) Depth 24 pixmap format is 32 bpp
[    48.749] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[    48.749] (II) NVIDIA:     access.
[    48.753] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    48.754] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    48.754] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    48.754] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    48.754] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    48.754] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    48.754] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    48.754] (II) NVIDIA(0):     Config Options in the README.
[    48.772] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[    48.773] (II) NVIDIA(0): Setting mode "NULL"
[    48.782] (==) NVIDIA(0): Disabling shared memory pixmaps
[    48.782] (==) NVIDIA(0): Backing store enabled
[    48.782] (==) NVIDIA(0): Silken mouse enabled
[    48.783] (==) NVIDIA(0): DPMS enabled
[    48.785] (II) Loading sub module "dri2"
[    48.785] (II) LoadModule: "dri2"
[    48.785] (II) Module "dri2" already built-in
[    48.785] (II) NVIDIA(0): [DRI2] Setup complete
[    48.785] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    48.785] (--) RandR disabled
[    48.788] (II) Initializing extension GLX
[    48.788] (II) Indirect GLX disabled.(II) config/udev: Adding input device Power Button (/dev/input/event3)
[    48.840] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    48.840] (II) LoadModule: "evdev"
[    48.840] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    48.842] (II) Module evdev: vendor="X.Org Foundation"
[    48.842] 	compiled for 1.18.0, module version = 2.10.0
[    48.842] 	Module class: X.Org XInput Driver
[    48.842] 	ABI class: X.Org XInput driver, version 22.1
[    48.843] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 29 paused 0
[    48.843] (II) Using input driver 'evdev' for 'Power Button'
[    48.843] (**) Power Button: always reports core events
[    48.843] (**) evdev: Power Button: Device: "/dev/input/event3"
[    48.843] (--) evdev: Power Button: Vendor 0 Product 0x1
[    48.843] (--) evdev: Power Button: Found keys
[    48.843] (II) evdev: Power Button: Configuring as keyboard
[    48.843] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[    48.843] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    48.843] (**) Option "xkb_rules" "evdev"
[    48.843] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[    48.843] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    48.844] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 30 paused 0
[    48.844] (II) Using input driver 'evdev' for 'Video Bus'
[    48.844] (**) Video Bus: always reports core events
[    48.844] (**) evdev: Video Bus: Device: "/dev/input/event7"
[    48.844] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    48.844] (--) evdev: Video Bus: Found keys
[    48.844] (II) evdev: Video Bus: Configuring as keyboard
[    48.844] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9/event7"
[    48.844] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    48.844] (**) Option "xkb_rules" "evdev"
[    48.844] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[    48.844] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    48.845] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 31 paused 0
[    48.845] (II) Using input driver 'evdev' for 'Video Bus'
[    48.845] (**) Video Bus: always reports core events
[    48.845] (**) evdev: Video Bus: Device: "/dev/input/event8"
[    48.845] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    48.845] (--) evdev: Video Bus: Found keys
[    48.845] (II) evdev: Video Bus: Configuring as keyboard
[    48.845] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input10/event8"
[    48.845] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    48.845] (**) Option "xkb_rules" "evdev"
[    48.845] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    48.845] (II) No input driver specified, ignoring this device.
[    48.845] (II) This device may have been added with another device file.
[    48.845] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    48.845] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    48.846] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 32 paused 0
[    48.846] (II) Using input driver 'evdev' for 'Sleep Button'
[    48.846] (**) Sleep Button: always reports core events
[    48.846] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    48.846] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    48.846] (--) evdev: Sleep Button: Found keys
[    48.846] (II) evdev: Sleep Button: Configuring as keyboard
[    48.846] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event2"
[    48.846] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    48.846] (**) Option "xkb_rules" "evdev"
[    48.846] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event9)
[    48.846] (II) No input driver specified, ignoring this device.
[    48.846] (II) This device may have been added with another device file.
[    48.846] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event10)
[    48.846] (II) No input driver specified, ignoring this device.
[    48.846] (II) This device may have been added with another device file.
[    48.846] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event11)
[    48.846] (II) No input driver specified, ignoring this device.
[    48.846] (II) This device may have been added with another device file.
[    48.847] (II) config/udev: Adding input device Integrated Camera (/dev/input/event6)
[    48.847] (**) Integrated Camera: Applying InputClass "evdev keyboard catchall"
[    48.847] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 33 paused 0
[    48.847] (II) Using input driver 'evdev' for 'Integrated Camera'
[    48.847] (**) Integrated Camera: always reports core events
[    48.847] (**) evdev: Integrated Camera: Device: "/dev/input/event6"
[    48.847] (--) evdev: Integrated Camera: Vendor 0x4ca Product 0x703c
[    48.847] (--) evdev: Integrated Camera: Found keys
[    48.847] (II) evdev: Integrated Camera: Configuring as keyboard
[    48.847] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/input/input8/event6"
[    48.847] (II) XINPUT: Adding extended input device "Integrated Camera" (type: KEYBOARD, id 10)
[    48.847] (**) Option "xkb_rules" "evdev"
[    48.847] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
[    48.847] (II) No input driver specified, ignoring this device.
[    48.847] (II) This device may have been added with another device file.
[    48.848] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event13)
[    48.848] (II) No input driver specified, ignoring this device.
[    48.848] (II) This device may have been added with another device file.
[    48.848] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event14)
[    48.848] (II) No input driver specified, ignoring this device.
[    48.848] (II) This device may have been added with another device file.
[    48.848] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event15)
[    48.848] (II) No input driver specified, ignoring this device.
[    48.848] (II) This device may have been added with another device file.
[    48.848] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event16)
[    48.848] (II) No input driver specified, ignoring this device.
[    48.848] (II) This device may have been added with another device file.
[    48.848] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    48.848] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    48.849] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 34 paused 0
[    48.849] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    48.849] (**) AT Translated Set 2 keyboard: always reports core events
[    48.849] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    48.849] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    48.849] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    48.849] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    48.849] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    48.849] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    48.849] (**) Option "xkb_rules" "evdev"
[    48.849] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event17)
[    48.849] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    48.849] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    48.849] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    48.849] (II) LoadModule: "synaptics"
[    48.849] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    48.850] (II) Module synaptics: vendor="X.Org Foundation"
[    48.850] 	compiled for 1.18.0, module version = 1.8.3
[    48.850] 	Module class: X.Org XInput Driver
[    48.850] 	ABI class: X.Org XInput driver, version 22.1
[    48.850] (II) systemd-logind: got fd for /dev/input/event17 13:81 fd 35 paused 0
[    48.850] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    48.850] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    48.850] (**) Option "Device" "/dev/input/event17"
[    48.876] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1266 - 5676 (res 45)
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1096 - 4758 (res 68)
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    48.876] (**) Option "TapButton1" "1"
[    48.876] (**) Option "TapButton2" "2"
[    48.876] (**) Option "TapButton3" "3"
[    48.876] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    48.876] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    48.876] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    48.876] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event17"
[    48.876] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[    48.876] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    48.877] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    48.877] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[    48.877] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    48.877] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    48.877] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    48.877] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    48.877] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    48.877] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    48.877] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    48.877] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event18)
[    48.877] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    48.878] (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 36 paused 0
[    48.878] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[    48.878] (**) TPPS/2 IBM TrackPoint: always reports core events
[    48.878] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event18"
[    48.878] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[    48.878] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[    48.878] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[    48.878] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[    48.878] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[    48.878] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[    48.878] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    48.878] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input19/event18"
[    48.878] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 13)
[    48.878] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[    48.878] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[    48.878] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[    48.878] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    48.878] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    48.878] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    48.878] (II) No input driver specified, ignoring this device.
[    48.878] (II) This device may have been added with another device file.
[    48.878] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[    48.878] (II) No input driver specified, ignoring this device.
[    48.878] (II) This device may have been added with another device file.
[    48.878] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[    48.878] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    48.879] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 37 paused 0
[    48.879] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[    48.879] (**) ThinkPad Extra Buttons: always reports core events
[    48.879] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event4"
[    48.879] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[    48.879] (--) evdev: ThinkPad Extra Buttons: Found keys
[    48.879] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[    48.879] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event4"
[    48.879] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 14)
[    48.879] (**) Option "xkb_rules" "evdev"
[    91.660] (II) evdev: ThinkPad Extra Buttons: Close
[    91.660] (II) UnloadModule: "evdev"
[    91.660] (II) systemd-logind: releasing fd for 13:68
[    91.660] (EE) systemd-logind: failed to release device: Connection was disconnected before a reply was received
[    91.660] (II) evdev: TPPS/2 IBM TrackPoint: Close
[    91.660] (II) UnloadModule: "evdev"
[    91.660] (II) systemd-logind: releasing fd for 13:82
[    91.660] (EE) systemd-logind: failed to release device: Connection is closed
[    91.660] (II) UnloadModule: "synaptics"
[    91.660] (II) systemd-logind: releasing fd for 13:81
[    91.660] (EE) systemd-logind: failed to release device: Connection is closed
[    91.660] (II) evdev: AT Translated Set 2 keyboard: Close
[    91.660] (II) UnloadModule: "evdev"
[    91.660] (II) systemd-logind: releasing fd for 13:64
[    91.661] (EE) systemd-logind: failed to release device: Connection is closed
[    91.661] (II) evdev: Integrated Camera: Close
[    91.661] (II) UnloadModule: "evdev"
[    91.661] (II) systemd-logind: releasing fd for 13:70
[    91.661] (EE) systemd-logind: failed to release device: Connection is closed
[    91.661] (II) evdev: Sleep Button: Close
[    91.661] (II) UnloadModule: "evdev"
[    91.661] (II) systemd-logind: releasing fd for 13:66
[    91.661] (EE) systemd-logind: failed to release device: Connection is closed
[    91.661] (II) evdev: Video Bus: Close
[    91.661] (II) UnloadModule: "evdev"
[    91.661] (II) systemd-logind: releasing fd for 13:72
[    91.661] (EE) systemd-logind: failed to release device: Connection is closed
[    91.661] (II) evdev: Video Bus: Close
[    91.661] (II) UnloadModule: "evdev"
[    91.661] (II) systemd-logind: releasing fd for 13:71
[    91.661] (EE) systemd-logind: failed to release device: Connection is closed
[    91.661] (II) evdev: Power Button: Close
[    91.661] (II) UnloadModule: "evdev"
[    91.661] (II) systemd-logind: releasing fd for 13:67
[    91.661] (EE) systemd-logind: failed to release device: Connection is closed
[    91.716] (II) NVIDIA(GPU-0): Deleting GPU-0
[    91.716] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[    91.716] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[    91.716] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[    91.716] (EE) systemd-logind: ReleaseControl failed: Connection is closed
[    91.716] (II) Server terminated successfully (0). Closing log file.

I'm generally pulling my hair out here. Does anyone have any ideas?
I think the K620M in my laptop is an Optimus GPU, so after just installing the Nvidia drivers and setting up a basic config file I followed all the steps here:
https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Offline

#2 2015-11-26 14:12:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: Clean install, CLI works fine but problems with X / Nvidia

[    48.575] (EE) Screen 1 deleted because of no matching config section.
<snip>
[    48.748] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    48.748] (WW) NVIDIA(0): Unable to get display device for DPI computation.

Looks like something is wrong with your xorg.conf / xorg.conf.d/  files or .xinitrc.

please past .xinitrc and your xorg.conf files .
Also start without any xorg.conf file and post Xorg.0.log from that start.

NOTE :
if you got network connection, wiki lists several pastebin clients that work from CLI .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-11-26 15:21:31

praetorxyn
Member
Registered: 2014-05-20
Posts: 7

Re: Clean install, CLI works fine but problems with X / Nvidia

Lone_Wolf wrote:
[    48.575] (EE) Screen 1 deleted because of no matching config section.
<snip>
[    48.748] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    48.748] (WW) NVIDIA(0): Unable to get display device for DPI computation.

Looks like something is wrong with your xorg.conf / xorg.conf.d/  files or .xinitrc.

please past .xinitrc and your xorg.conf files .
Also start without any xorg.conf file and post Xorg.0.log from that start.

NOTE :
if you got network connection, wiki lists several pastebin clients that work from CLI .

You were apparently correct. Before issuing startx I had installed xorg-twm and xorg-xclock just to get the minimal testing. After deleting the files I'm posting below X started immediately.
The odd thing is (correct me if I'm wrong) if you don't have a .xinitrc in your home directory, it calls back to /etc/X11/xinit/xinitrc, which I copied to .xinitrc in the first place, though I added the two xrandr lines from the Nvidia Optimus article and removed the .sh near the bottom as per this forum thread:
https://bbs.archlinux.org/viewtopic.php?id=195265

EDIT: On further investigation, X starts fine with the .xinitrc posted below, but the 20-nvidia.conf breaks it.

./home/xyn/.xinitrc

#!/bin

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?* ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

/etc/X11/xorg.conf.d/20-nvidia.conf:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    # Change BusID if necessary. Tips: (lspci | grep 3D) (Change 01:00.0 to 1:0:0)
    BusID "PCI:8:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "Yes"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    # Change BusID if necessary. Tips: (lspci | grep VGA) (Change 00:02.0 to 0:2:0)
    BusID "PCI:0:2:0"
    Option "AccelMethod"  "none"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Last edited by praetorxyn (2015-11-26 15:47:08)

Offline

#4 2015-11-27 15:20:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: Clean install, CLI works fine but problems with X / Nvidia

Your 20-nividia.conf looks good, 2 things you can try :

-  for the intel device, use Option "AccelMethod"  "sna"

- if that doesn't help, try https://wiki.archlinux.org/index.php/NV … n_Xorg.log


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2015-11-27 18:13:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Clean install, CLI works fine but problems with X / Nvidia

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB