You are not logged in.

#1 2016-12-10 05:51:06

skiller712
Member
Registered: 2016-12-10
Posts: 23

[SOLVED]startx doesnt work

It says error (1) I would certainly post the logs (it says to refer log file at /var/log/Xorg.0.log) on opening the log file with nano it shows many errors originating from X11 directory and at the end a segmentation fault I'd post the logs but I've no idea how to.

Thanks.

Last edited by skiller712 (2016-12-10 15:51:29)

Offline

#2 2016-12-10 06:26:31

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

Re: [SOLVED]startx doesnt work


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-12-10 06:53:52

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

Here it is
[   509.495]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   509.496] X Protocol Version 11, Revision 0
[   509.496] Build Operating System: Linux 4.5.4-1-ARCH x86_64
[   509.496] Current Operating System: Linux skiller712 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64
[   509.496] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=683a0020-6ff5-4d7d-bde1-52616cffebf4 rw quiet pci=noaer
[   509.497] Build Date: 19 July 2016  05:54:24PM
[   509.497] 
[   509.498] Current version of pixman: 0.34.0
[   509.498]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   509.498] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   509.500] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 10 12:13:25 2016
[   509.500] (II) Loader magic: 0x821d40
[   509.500] (II) Module ABI versions:
[   509.500]     X.Org ANSI C Emulation: 0.4
[   509.500]     X.Org Video Driver: 20.0
[   509.500]     X.Org XInput driver : 22.1
[   509.500]     X.Org Server Extension : 9.0
[   509.501] (++) using VT number 1

[   509.501] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   509.503] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   509.503] (II) xfree86: Adding drm device (/dev/dri/card0)
[   509.503] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   509.504] (II) xfree86: Adding drm device (/dev/dri/card1)
[   509.504] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 9 paused 0
[   509.507] (--) PCI:*(0:0:2:0) 8086:1916:1043:246a rev 7, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   509.507] (--) PCI: (0:1:0:0) 10de:1346:1043:246a rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   509.507] (EE)
[   509.507] (EE) Backtrace:
[   509.507] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x59cd49]
[   509.507] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7fab740570af]
[   509.507] (EE) 2: /usr/lib/xorg-server/Xorg (xf86PlatformMatchDriver+0xa9) [0x496689]
[   509.508] (EE) 3: /usr/lib/xorg-server/Xorg (config_fini+0x191d) [0x49b11d]
[   509.508] (EE) 4: /usr/lib/xorg-server/Xorg (config_fini+0x1ac5) [0x49b475]
[   509.508] (EE) 5: /usr/lib/xorg-server/Xorg (InitOutput+0x760) [0x47cd00]
[   509.508] (EE) 6: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x266) [0x43a5f6]
[   509.508] (EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xf1) [0x7fab74044291]
[   509.508] (EE) 8: /usr/lib/xorg-server/Xorg (_start+0x29) [0x4246e9]
[   509.508] (EE) 9: ? (?+0x29) [0x29]
[   509.508] (EE)
[   509.508] (EE) Segmentation fault at address 0x50
[   509.508] (EE)
Fatal server error:
[   509.508] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   509.508] (EE)
[   509.508] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[   509.508] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   509.508] (EE)

Offline

#4 2016-12-10 06:58:47

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

Re: [SOLVED]startx doesnt work

Use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code

What card and driver do you have? What is startx supposed to start?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-12-10 07:01:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]startx doesnt work

Current Operating System: Linux skiller712 4.7.2-1-ARCH

That's pretty old. Have you not updated in months or are you loading an old kernel for some reason?

Offline

#6 2016-12-10 07:06:39

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

Scimmia wrote:

Current Operating System: Linux skiller712 4.7.2-1-ARCH

That's pretty old. Have you not updated in months or are you loading an old kernel for some reason?

I had loaded up arch some months ago because the idea of a DYI os gave me chills but after loading up a gui(kde) and then running nvidia-xconfig it kinda stopped working so today i logged into a live session chrooted into it and removed kde and all things gui and also the graphics driver I'm updating as we speak

Last edited by skiller712 (2016-12-10 08:32:46)

Offline

#7 2016-12-10 09:31:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,181

Re: [SOLVED]startx doesnt work

> running nvidia-xconfig
remove /etc/X11/xorg.conf

Online

#8 2016-12-10 09:58:11

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

seth wrote:

> running nvidia-xconfig
remove /etc/X11/xorg.conf

I've done that i only have xinit

Offline

#9 2016-12-10 11:39:26

usagi
Member
Registered: 2011-11-21
Posts: 62

Re: [SOLVED]startx doesnt work

Wait, you removed the graphics driver? Explain further. Are you trying to say you removed the proprietary drivers and are trying to load nouveau? If so make sure nouveau isn't blacklisted in /etc/modprobe.d/

Offline

#10 2016-12-10 12:55:34

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

usagi wrote:

Wait, you removed the graphics driver? Explain further. Are you trying to say you removed the proprietary drivers and are trying to load nouveau? If so make sure nouveau isn't blacklisted in /etc/modprobe.d/

I removed the proprietary nvidia graphics driver and loaded up xf86-video-intel and nouveau , it did work with proprietary(up until nvidia-xconfig) but me being a noob thought the driver was part of the problem

Offline

#11 2016-12-10 13:10:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]startx doesnt work

skiller, please take a few moments to collect your thoughts and some relevant information then come back and give some clear concrete information.  In your first post you reported an "error (1)" but when you posted the log, that's not there - there is a different error.  When asked if you were running a very old kernel or hadn't updated, you went off on a different tangent and didn't answer the question (maybe that xorg log isn't even the current one - we don't know).

Then you gave out just a little more information about things that had gone wrong before - but not enough information for us to understand.  Now you say you've installed both the intel and nouveau drivers.  Is this a hybrid graphics system?  What is your hardware?  Are you trying to use PRIME, or are you just flailing with random packages and commands?

Help us see what is going on.  Give a decent history including your graphics hardware information (the wiki provides commands for collecting this) and a precise description of the problem with actual logs and error messages.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2016-12-10 15:21:50

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

Pardon me, I will get to the point

I have a laptop Asus R558u
With the following:
i5 6200U with integrated graphics (Intel HD 530)
4GB ram
Nvidia GT 930M with 2GB of DDR3 memory


Running startx gives the following log:

[   609.852] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   609.855] X Protocol Version 11, Revision 0
[   609.856] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[   609.856] Current Operating System: Linux skiller712 4.8.12-3-ARCH #1 SMP PREEMPT Thu Dec 8 16:10:23 CET 2016 x86_64
[   609.856] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=683a0020-6ff5-4d7d-bde1-52616cffebf4 rw quiet pci=noaer
[   609.858] Build Date: 19 July 2016  05:54:24PM
[   609.859]  
[   609.860] Current version of pixman: 0.34.0
[   609.862] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[   609.862] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   609.866] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 10 20:09:17 2016
[   609.867] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   609.867] (==) No Layout section.  Using the first Screen section.
[   609.867] (==) No screen section available. Using defaults.
[   609.867] (**) |-->Screen "Default Screen Section" (0)
[   609.867] (**) |   |-->Monitor "<default monitor>"
[   609.867] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   609.867] (==) Automatically adding devices
[   609.867] (==) Automatically enabling devices
[   609.867] (==) Automatically adding GPU devices
[   609.867] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   609.867] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   609.867] 	Entry deleted from font path.
[   609.867] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   609.867] (==) ModulePath set to "/usr/lib/xorg/modules"
[   609.867] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   609.867] (II) Loader magic: 0x821d40
[   609.867] (II) Module ABI versions:
[   609.867] 	X.Org ANSI C Emulation: 0.4
[   609.867] 	X.Org Video Driver: 20.0
[   609.867] 	X.Org XInput driver : 22.1
[   609.867] 	X.Org Server Extension : 9.0
[   609.868] (++) using VT number 1

[   609.868] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   609.869] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   609.870] (II) xfree86: Adding drm device (/dev/dri/card0)
[   609.870] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   609.870] (II) xfree86: Adding drm device (/dev/dri/card1)
[   609.871] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 9 paused 0
[   610.013] (--) PCI:*(0:0:2:0) 8086:1916:1043:246a rev 7, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   610.013] (--) PCI: (0:1:0:0) 10de:1346:1043:246a rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   610.013] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   610.013] (II) LoadModule: "glx"
[   610.013] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   610.015] (II) Module glx: vendor="X.Org Foundation"
[   610.015] 	compiled for 1.18.4, module version = 1.0.0
[   610.015] 	ABI class: X.Org Server Extension, version 9.0
[   610.015] (==) AIGLX enabled
[   610.015] (==) Matched intel as autoconfigured driver 0
[   610.015] (==) Matched nouveau as autoconfigured driver 1
[   610.015] (==) Matched nv as autoconfigured driver 2
[   610.015] (==) Matched intel as autoconfigured driver 3
[   610.015] (==) Matched modesetting as autoconfigured driver 4
[   610.015] (==) Matched fbdev as autoconfigured driver 5
[   610.015] (==) Matched vesa as autoconfigured driver 6
[   610.015] (==) Assigned the driver to the xf86ConfigLayout
[   610.015] (II) LoadModule: "intel"
[   610.015] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   610.015] (II) Module intel: vendor="X.Org Foundation"
[   610.015] 	compiled for 1.18.4, module version = 2.99.917
[   610.015] 	Module class: X.Org Video Driver
[   610.015] 	ABI class: X.Org Video Driver, version 20.0
[   610.015] (II) LoadModule: "nouveau"
[   610.015] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[   610.016] (II) Module nouveau: vendor="X.Org Foundation"
[   610.016] 	compiled for 1.18.4, module version = 1.0.13
[   610.016] 	Module class: X.Org Video Driver
[   610.016] 	ABI class: X.Org Video Driver, version 20.0
[   610.016] (II) LoadModule: "nv"
[   610.016] (II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
[   610.016] (II) Module nv: vendor="X.Org Foundation"
[   610.016] 	compiled for 1.18.0, module version = 2.1.20
[   610.016] 	Module class: X.Org Video Driver
[   610.016] 	ABI class: X.Org Video Driver, version 20.0
[   610.016] (II) LoadModule: "modesetting"
[   610.016] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   610.016] (II) Module modesetting: vendor="X.Org Foundation"
[   610.016] 	compiled for 1.18.4, module version = 1.18.4
[   610.016] 	Module class: X.Org Video Driver
[   610.016] 	ABI class: X.Org Video Driver, version 20.0
[   610.016] (II) LoadModule: "fbdev"
[   610.016] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   610.016] (II) Module fbdev: vendor="X.Org Foundation"
[   610.016] 	compiled for 1.18.0, module version = 0.4.4
[   610.016] 	Module class: X.Org Video Driver
[   610.016] 	ABI class: X.Org Video Driver, version 20.0
[   610.016] (II) LoadModule: "vesa"
[   610.016] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   610.016] (II) Module vesa: vendor="X.Org Foundation"
[   610.017] 	compiled for 1.18.0, module version = 2.3.4
[   610.017] 	Module class: X.Org Video Driver
[   610.017] 	ABI class: X.Org Video Driver, version 20.0
[   610.017] (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
[   610.017] (II) intel: Driver for Intel(R) HD Graphics
[   610.017] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   610.017] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   610.017] (II) NOUVEAU driver 
[   610.017] (II) NOUVEAU driver for NVIDIA chipset families :
[   610.017] 	RIVA TNT        (NV04)
[   610.017] 	RIVA TNT2       (NV05)
[   610.017] 	GeForce 256     (NV10)
[   610.017] 	GeForce 2       (NV11, NV15)
[   610.017] 	GeForce 4MX     (NV17, NV18)
[   610.017] 	GeForce 3       (NV20)
[   610.017] 	GeForce 4Ti     (NV25, NV28)
[   610.017] 	GeForce FX      (NV3x)
[   610.017] 	GeForce 6       (NV4x)
[   610.017] 	GeForce 7       (G7x)
[   610.017] 	GeForce 8       (G8x)
[   610.017] 	GeForce GTX 200 (NVA0)
[   610.017] 	GeForce GTX 400 (NVC0)
[   610.017] (II) NOUVEAU driver 
[   610.017] (II) NOUVEAU driver for NVIDIA chipset families :
[   610.017] 	RIVA TNT        (NV04)
[   610.017] 	RIVA TNT2       (NV05)
[   610.017] 	GeForce 256     (NV10)
[   610.017] 	GeForce 2       (NV11, NV15)
[   610.017] 	GeForce 4MX     (NV17, NV18)
[   610.017] 	GeForce 3       (NV20)
[   610.017] 	GeForce 4Ti     (NV25, NV28)
[   610.017] 	GeForce FX      (NV3x)
[   610.017] 	GeForce 6       (NV4x)
[   610.017] 	GeForce 7       (G7x)
[   610.017] 	GeForce 8       (G8x)
[   610.017] 	GeForce GTX 200 (NVA0)
[   610.017] 	GeForce GTX 400 (NVC0)
[   610.017] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   610.017] (II) FBDEV: driver for framebuffer: fbdev
[   610.017] (II) VESA: driver for VESA chipsets: vesa
[   610.018] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160711
[   610.018] (II) intel(0): SNA compiled from 2.99.917-746-g169c74f
[   610.018] (II) [drm] nouveau interface version: 1.3.1
[   610.018] (EE) Unknown chipset: NV118
[   610.018] (II) [drm] nouveau interface version: 1.3.1
[   610.018] (EE) Unknown chipset: NV118
[   610.018] (WW) Falling back to old probe method for modesetting
[   610.018] (WW) Falling back to old probe method for fbdev
[   610.018] (II) Loading sub module "fbdevhw"
[   610.018] (II) LoadModule: "fbdevhw"
[   610.018] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   610.018] (II) Module fbdevhw: vendor="X.Org Foundation"
[   610.018] 	compiled for 1.18.4, module version = 0.0.2
[   610.018] 	ABI class: X.Org Video Driver, version 20.0
[   610.018] (WW) Falling back to old probe method for vesa
[   610.019] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 520
[   610.019] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[   610.019] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   610.019] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   610.019] (==) intel(0): RGB weight 888
[   610.019] (==) intel(0): Default visual is TrueColor
[   610.019] (II) intel(0): Output eDP1 has no monitor section
[   610.036] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[   610.036] (II) intel(0): Enabled output eDP1
[   610.036] (II) intel(0): Output DP1 has no monitor section
[   610.037] (II) intel(0): Enabled output DP1
[   610.037] (II) intel(0): Output HDMI1 has no monitor section
[   610.037] (II) intel(0): Enabled output HDMI1
[   610.037] (II) intel(0): Output HDMI2 has no monitor section
[   610.037] (II) intel(0): Enabled output HDMI2
[   610.037] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   610.037] (II) intel(0): Output VIRTUAL1 has no monitor section
[   610.037] (II) intel(0): Enabled output VIRTUAL1
[   610.037] (--) intel(0): Output eDP1 using initial mode 1366x768 on pipe 0
[   610.037] (==) intel(0): TearFree disabled
[   610.037] (==) intel(0): DPI set to (96, 96)
[   610.037] (II) Loading sub module "dri3"
[   610.037] (II) LoadModule: "dri3"
[   610.037] (II) Module "dri3" already built-in
[   610.037] (II) Loading sub module "dri2"
[   610.037] (II) LoadModule: "dri2"
[   610.037] (II) Module "dri2" already built-in
[   610.037] (II) Loading sub module "present"
[   610.037] (II) LoadModule: "present"
[   610.037] (II) Module "present" already built-in
[   610.037] (II) UnloadModule: "fbdev"
[   610.037] (II) Unloading fbdev
[   610.037] (II) UnloadSubModule: "fbdevhw"
[   610.037] (II) Unloading fbdevhw
[   610.038] (II) UnloadModule: "vesa"
[   610.038] (II) Unloading vesa
[   610.038] (==) Depth 24 pixmap format is 32 bpp
[   610.038] (II) intel(0): SNA initialized with Skylake (gen9) backend
[   610.038] (==) intel(0): Backing store enabled
[   610.038] (==) intel(0): Silken mouse enabled
[   610.038] (II) intel(0): HW Cursor enabled
[   610.038] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   610.038] (==) intel(0): DPMS enabled
[   610.038] (==) intel(0): Display hotplug detection enabled
[   610.038] (II) intel(0): [DRI2] Setup complete
[   610.038] (II) intel(0): [DRI2]   DRI driver: i965
[   610.038] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   610.038] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[   610.038] (II) intel(0): hardware support for Present enabled
[   610.038] (--) RandR disabled
[   610.059] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   610.059] (II) AIGLX: enabled GLX_ARB_create_context
[   610.059] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   610.059] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   610.059] (II) AIGLX: enabled GLX_INTEL_swap_event
[   610.059] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   610.059] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   610.059] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   610.059] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   610.059] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   610.059] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   610.059] (II) AIGLX: Loaded and initialized i965
[   610.059] (II) GLX: Initialized DRI2 GL provider for screen 0
[   610.062] (II) intel(0): switch to mode 1366x768@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   610.072] (II) intel(0): Setting screen physical size to 361 x 203
[   610.132] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   610.132] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   610.132] (II) LoadModule: "evdev"
[   610.132] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   610.133] (II) Module evdev: vendor="X.Org Foundation"
[   610.133] 	compiled for 1.18.4, module version = 2.10.4
[   610.133] 	Module class: X.Org XInput Driver
[   610.133] 	ABI class: X.Org XInput driver, version 22.1
[   610.133] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 16 paused 0
[   610.133] (II) Using input driver 'evdev' for 'Power Button'
[   610.133] (**) Power Button: always reports core events
[   610.133] (**) evdev: Power Button: Device: "/dev/input/event3"
[   610.133] (--) evdev: Power Button: Vendor 0 Product 0x1
[   610.133] (--) evdev: Power Button: Found keys
[   610.133] (II) evdev: Power Button: Configuring as keyboard
[   610.133] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   610.133] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   610.133] (**) Option "xkb_rules" "evdev"
[   610.134] (II) config/udev: Adding input device Asus Wireless Radio Control (/dev/input/event4)
[   610.134] (**) Asus Wireless Radio Control: Applying InputClass "evdev keyboard catchall"
[   610.134] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 17 paused 0
[   610.134] (II) Using input driver 'evdev' for 'Asus Wireless Radio Control'
[   610.134] (**) Asus Wireless Radio Control: always reports core events
[   610.134] (**) evdev: Asus Wireless Radio Control: Device: "/dev/input/event4"
[   610.134] (--) evdev: Asus Wireless Radio Control: Vendor 0x1043 Product 0
[   610.134] (--) evdev: Asus Wireless Radio Control: Found keys
[   610.134] (II) evdev: Asus Wireless Radio Control: Configuring as keyboard
[   610.134] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input4/event4"
[   610.134] (II) XINPUT: Adding extended input device "Asus Wireless Radio Control" (type: KEYBOARD, id 7)
[   610.134] (**) Option "xkb_rules" "evdev"
[   610.134] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[   610.134] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   610.135] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 18 paused 0
[   610.135] (II) Using input driver 'evdev' for 'Video Bus'
[   610.135] (**) Video Bus: always reports core events
[   610.135] (**) evdev: Video Bus: Device: "/dev/input/event7"
[   610.135] (--) evdev: Video Bus: Vendor 0 Product 0x6
[   610.135] (--) evdev: Video Bus: Found keys
[   610.135] (II) evdev: Video Bus: Configuring as keyboard
[   610.135] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7/event7"
[   610.135] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   610.135] (**) Option "xkb_rules" "evdev"
[   610.135] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[   610.135] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   610.135] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 19 paused 0
[   610.135] (II) Using input driver 'evdev' for 'Video Bus'
[   610.135] (**) Video Bus: always reports core events
[   610.135] (**) evdev: Video Bus: Device: "/dev/input/event8"
[   610.135] (--) evdev: Video Bus: Vendor 0 Product 0x6
[   610.135] (--) evdev: Video Bus: Found keys
[   610.135] (II) evdev: Video Bus: Configuring as keyboard
[   610.136] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:22/LNXVIDEO:01/input/input8/event8"
[   610.136] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 9)
[   610.136] (**) Option "xkb_rules" "evdev"
[   610.136] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[   610.136] (II) No input driver specified, ignoring this device.
[   610.136] (II) This device may have been added with another device file.
[   610.136] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   610.136] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   610.136] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 20 paused 0
[   610.136] (II) Using input driver 'evdev' for 'Sleep Button'
[   610.136] (**) Sleep Button: always reports core events
[   610.136] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[   610.136] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[   610.136] (--) evdev: Sleep Button: Found keys
[   610.136] (II) evdev: Sleep Button: Configuring as keyboard
[   610.136] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[   610.136] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[   610.136] (**) Option "xkb_rules" "evdev"
[   610.137] (II) config/udev: Adding input device USB Camera (/dev/input/event14)
[   610.137] (**) USB Camera: Applying InputClass "evdev keyboard catchall"
[   610.138] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 21 paused 0
[   610.138] (II) Using input driver 'evdev' for 'USB Camera'
[   610.138] (**) USB Camera: always reports core events
[   610.138] (**) evdev: USB Camera: Device: "/dev/input/event14"
[   610.138] (--) evdev: USB Camera: Vendor 0xbda Product 0x57b5
[   610.138] (--) evdev: USB Camera: Found keys
[   610.138] (II) evdev: USB Camera: Configuring as keyboard
[   610.138] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input14/event14"
[   610.138] (II) XINPUT: Adding extended input device "USB Camera" (type: KEYBOARD, id 11)
[   610.138] (**) Option "xkb_rules" "evdev"
[   610.138] (II) config/udev: Adding input device Elan Touchpad (/dev/input/event6)
[   610.138] (**) Elan Touchpad: Applying InputClass "evdev touchpad catchall"
[   610.139] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 22 paused 0
[   610.139] (II) Using input driver 'evdev' for 'Elan Touchpad'
[   610.139] (**) Elan Touchpad: always reports core events
[   610.139] (**) evdev: Elan Touchpad: Device: "/dev/input/event6"
[   610.139] (--) evdev: Elan Touchpad: Vendor 0x4f3 Product 0x5
[   610.139] (--) evdev: Elan Touchpad: Found 1 mouse buttons
[   610.139] (--) evdev: Elan Touchpad: Found absolute axes
[   610.139] (--) evdev: Elan Touchpad: Found absolute multitouch axes
[   610.139] (--) evdev: Elan Touchpad: Found x and y absolute axes
[   610.139] (--) evdev: Elan Touchpad: Found absolute touchpad.
[   610.139] (II) evdev: Elan Touchpad: Configuring as touchpad
[   610.139] (**) evdev: Elan Touchpad: YAxisMapping: buttons 4 and 5
[   610.139] (**) evdev: Elan Touchpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   610.139] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-ELAN1000:00/input/input6/event6"
[   610.139] (II) XINPUT: Adding extended input device "Elan Touchpad" (type: TOUCHPAD, id 12)
[   610.139] (II) evdev: Elan Touchpad: initialized for absolute axes.
[   610.139] (**) Elan Touchpad: (accel) keeping acceleration scheme 1
[   610.139] (**) Elan Touchpad: (accel) acceleration profile 0
[   610.139] (**) Elan Touchpad: (accel) acceleration factor: 2.000
[   610.139] (**) Elan Touchpad: (accel) acceleration threshold: 4
[   610.139] (II) config/udev: Adding input device Elan Touchpad (/dev/input/mouse0)
[   610.139] (II) No input driver specified, ignoring this device.
[   610.139] (II) This device may have been added with another device file.
[   610.139] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
[   610.139] (II) No input driver specified, ignoring this device.
[   610.139] (II) This device may have been added with another device file.
[   610.140] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event11)
[   610.140] (II) No input driver specified, ignoring this device.
[   610.140] (II) This device may have been added with another device file.
[   610.140] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event12)
[   610.140] (II) No input driver specified, ignoring this device.
[   610.140] (II) This device may have been added with another device file.
[   610.140] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event13)
[   610.140] (II) No input driver specified, ignoring this device.
[   610.140] (II) This device may have been added with another device file.
[   610.140] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event9)
[   610.140] (**) Asus WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[   610.140] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 23 paused 0
[   610.140] (II) Using input driver 'evdev' for 'Asus WMI hotkeys'
[   610.140] (**) Asus WMI hotkeys: always reports core events
[   610.140] (**) evdev: Asus WMI hotkeys: Device: "/dev/input/event9"
[   610.140] (--) evdev: Asus WMI hotkeys: Vendor 0 Product 0
[   610.140] (--) evdev: Asus WMI hotkeys: Found keys
[   610.140] (II) evdev: Asus WMI hotkeys: Configuring as keyboard
[   610.140] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input9/event9"
[   610.140] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 13)
[   610.140] (**) Option "xkb_rules" "evdev"
[   610.141] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[   610.141] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   610.141] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 24 paused 0
[   610.141] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   610.141] (**) AT Translated Set 2 keyboard: always reports core events
[   610.141] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[   610.141] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[   610.141] (--) evdev: AT Translated Set 2 keyboard: Found keys
[   610.141] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[   610.141] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[   610.141] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 14)
[   610.141] (**) Option "xkb_rules" "evdev"
[   610.142] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   610.142] (II) No input driver specified, ignoring this device.
[   610.142] (II) This device may have been added with another device file.
[   610.163] (II) evdev: AT Translated Set 2 keyboard: Close
[   610.163] (II) UnloadModule: "evdev"
[   610.163] (II) systemd-logind: releasing fd for 13:64
[   610.200] (II) evdev: Asus WMI hotkeys: Close
[   610.200] (II) UnloadModule: "evdev"
[   610.200] (II) systemd-logind: releasing fd for 13:73
[   610.220] (II) evdev: Elan Touchpad: Close
[   610.220] (II) UnloadModule: "evdev"
[   610.220] (II) systemd-logind: releasing fd for 13:70
[   610.260] (II) evdev: USB Camera: Close
[   610.260] (II) UnloadModule: "evdev"
[   610.260] (II) systemd-logind: releasing fd for 13:78
[   610.300] (II) evdev: Sleep Button: Close
[   610.300] (II) UnloadModule: "evdev"
[   610.300] (II) systemd-logind: releasing fd for 13:66
[   610.320] (II) evdev: Video Bus: Close
[   610.320] (II) UnloadModule: "evdev"
[   610.320] (II) systemd-logind: releasing fd for 13:72
[   610.350] (II) evdev: Video Bus: Close
[   610.350] (II) UnloadModule: "evdev"
[   610.350] (II) systemd-logind: releasing fd for 13:71
[   610.373] (II) evdev: Asus Wireless Radio Control: Close
[   610.373] (II) UnloadModule: "evdev"
[   610.373] (II) systemd-logind: releasing fd for 13:68
[   610.390] (II) evdev: Power Button: Close
[   610.390] (II) UnloadModule: "evdev"
[   610.390] (II) systemd-logind: releasing fd for 13:67
[   610.445] (II) Server terminated successfully (0). Closing log file.

Running lspci | grep VGA gives the following output:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)

lspci gives the following output

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 930M] (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

Also this piece of text pops in whenever i close the laptop lid and open it up,  also came up before the actual output whenever i used the command lspci but wasn't registered as output for some reason(doesn't register as output means when i execute the command it shows up in the terminal but does not come up in the file when i use

command | curl -F c=@- [url]https://ptpb.pw/[/url]

This comes up

[  821.236272] nouveau 0000:01:00.0: priv: HUBO: 6013d4 0000573f (1f408200)

[  821.284299] nouveau 0000:01:00.0: priv: HUBO: 10ecc0 ffffffff (1e40822c)

My problem is that startx just says x server shutting down and says command xterm command wasn't found(all this also doesn't register as output for some reason)


As for a detailed description of what I did:
I opened up arch but it wasn't booting up completely It'd show an error halfway and stop responding(i had enabled sddm to start on startup).
I decided it was the nvidia-xconfig command that screwed this up. I had installed kde-plasma de and sddm and proprietary nvidia driver(nvidia-370) before this nvidia-xconfig screwed up my system. I used a live cd to disable sddm. Then I decided to remove the nvidia proprietary driver, kde plasma, xorg server, deleted the xorg.conf in /etc/X11/
Then I reinstalled xorg server and installed xf86-intel and nouveau and updated my system. Also I was planning to use bumblebee later and thought it'd be a good idea to install both drivers. The xorg log is now from after a full system upgrade. The message i got after running startx was to refer to the log at /usr/log/ Xorg.0.log So hopefully it's current?

Please bear with me, I am not very knowledgeable at arch (I've used Ubuntu before but as you know, they're completely different). I have tried to give all the information I could gather, if something more is required, please do mention it.

Last edited by skiller712 (2016-12-10 15:29:59)

Offline

#13 2016-12-10 15:25:29

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED]startx doesnt work

Please use code tags when posting logs/config files/etc to improve readability.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#14 2016-12-10 15:29:12

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

startx is supposed to start the x server, i have the xf86-Intel and nouveau driver installed as of now

Offline

#15 2016-12-10 15:31:48

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED]startx doesnt work

[   610.445] (II) Server terminated successfully (0). Closing log file.

Well, do you have anything in your .xinitrc

Offline

#16 2016-12-10 15:32:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,181

Re: [SOLVED]startx doesnt work

1. nouveau doesn't support your GPU, you'll have to use the nvidia blob (and eg. bumblebee or deactivate the intel chip)
2. there's nothing wrong with your Xorg server, It starts and closes fine. The reason this happens instantly is

and says command xterm command wasn't found

because by default startx will try to launch that and it's what then keeps the session alive.

pacman -S xterm

Edit: inb4 I get trouble suggesting Sy ;-)

Last edited by seth (2016-12-10 15:33:03)

Online

#17 2016-12-10 15:41:32

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

ugjka wrote:
[   610.445] (II) Server terminated successfully (0). Closing log file.

Well, do you have anything in your .xinitrc

#!/bin/sh

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/?*.sh ; 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

Offline

#18 2016-12-10 15:43:09

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

seth wrote:

1. nouveau doesn't support your GPU, you'll have to use the nvidia blob (and eg. bumblebee or deactivate the intel chip)
2. there's nothing wrong with your Xorg server, It starts and closes fine. The reason this happens instantly is

and says command xterm command wasn't found

because by default startx will try to launch that and it's what then keeps the session alive.

pacman -S xterm

Edit: inb4 I get trouble suggesting Sy ;-)

Can i use just the Intel one instead(I'm thinking it'll save some power so I can code longer overnight)

Edit: Thanks a ton! After I installed xterm it finally works :-)

Last edited by skiller712 (2016-12-10 15:45:31)

Offline

#19 2016-12-10 15:50:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]startx doesnt work

Thanks skiller, your follow up post contained all the right information, and it looks like that got us to the bottom of this pretty quickly.  I'm not well versed on hybrid graphics, but it is certainly possible to just use intel - check the wiki, I think you'd want to disable the nvidia card in bios settings.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#20 2016-12-10 15:55:03

skiller712
Member
Registered: 2016-12-10
Posts: 23

Re: [SOLVED]startx doesnt work

Okay, thanks for help everyone! :-)

Offline

Board footer

Powered by FluxBB