You are not logged in.
So, I've recently bought a Gigabyte P342 V5 which comes with an Intel i7-6500HQ processor and NVidia GeForce GTX 970M GPU. I had to wait for the newest testing kernel (linux-4.4.4) to even boot without a black screen - I had to disable KMS to get a console and according to the ArchWiki KMS is needed for the i915 driver. Anywho, with a most recent system update (pacman -Syu) I can boot now without KMS.
After boot I log into tty1 (I'm booting into multi-user.target with NO GDM)
startx /usr/bin/xmonadto start the gui I get:
waiting for X server to start connections
..
..
.. After about 1-3min I startx gives up and attempts to signal to X server to shutdown. Doing so results in a failure to shutdown X server and a SIGKILL is used to stop X server.
I haven't tried using a different WM however the same issue occurs with
startx urxvt. Also, I will note that I'm having issues with shutdown procedures (processing tend to hang and I never fully shutdown. This may have something to do with the kernel or systemd and I'm not sure if it has any affect on getting startx to work). BTW: /var/log/Xorg.0.log is not written to during the above procedure.
Here is my current setup:
Video drivers: xf86-video-intel (using i915 after following instructions on Intel Graphics wiki page). I DO NOT have nvidia or nvidia-* package installed (I want to see if my system will work without the GPU for now).
I would post results from
lspci -khowever the tty that I execute that command on freezes when I do so....
Any help would be appreciated. Thanks!
Last edited by theNerd247 (2016-01-30 21:26:44)
Offline
Have you installed the firmware needed for full functionality with Skylake GPUs?
https://www.archlinux.org/packages/core … -firmware/
Post the xorg log file please.
Jin, Jîyan, Azadî
Offline
I have this firware. Here is /var/log/Xorg.0.log (note ls -a on this has a date stamp of Jan 24 23:02)
[ 858.332]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 858.332] X Protocol Version 11, Revision 0
[ 858.332] Build Operating System: Linux 4.2.5-1-ARCH x86_64
[ 858.332] Current Operating System: Linux numbers 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64
[ 858.332] Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=927cfd80-66c8-462a-823c-43e15514d572 rw nomodeset nouveau.modeset=0
[ 858.332] Build Date: 08 January 2016 05:56:16PM
[ 858.332]
[ 858.332] Current version of pixman: 0.32.8
[ 858.332] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 858.332] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 858.332] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 24 23:02:07 2016
[ 858.332] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 858.332] (==) No Layout section. Using the first Screen section.
[ 858.332] (==) No screen section available. Using defaults.
[ 858.332] (**) |-->Screen "Default Screen Section" (0)
[ 858.332] (**) | |-->Monitor "<default monitor>"
[ 858.332] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 858.332] (==) Automatically adding devices
[ 858.332] (==) Automatically enabling devices
[ 858.332] (==) Automatically adding GPU devices
[ 858.332] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 858.332] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 858.332] Entry deleted from font path.
[ 858.332] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 858.332] Entry deleted from font path.
[ 858.332] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 858.332] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 858.333] Entry deleted from font path.
[ 858.333] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 858.333] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 858.333] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 858.333] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 858.333] (II) Loader magic: 0x819d40
[ 858.333] (II) Module ABI versions:
[ 858.333] X.Org ANSI C Emulation: 0.4
[ 858.333] X.Org Video Driver: 20.0
[ 858.333] X.Org XInput driver : 22.1
[ 858.333] X.Org Server Extension : 9.0
[ 858.333] (++) using VT number 1
[ 858.333] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 858.335] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 858.335] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 858.336] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 858.337] (--) PCI:*(0:0:2:0) 8086:191b:1458:b456 rev 6, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[ 858.337] (--) PCI: (0:1:0:0) 10de:13d8:1458:b456 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 858.337] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 858.337] (II) LoadModule: "glx"
[ 858.337] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 858.339] (II) Module glx: vendor="NVIDIA Corporation"
[ 858.339] compiled for 4.0.2, module version = 1.0.0
[ 858.339] Module class: X.Org Server Extension
[ 858.339] (II) NVIDIA GLX Module 358.16 Mon Nov 16 18:54:01 PST 2015
[ 858.339] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 858.339] loading driver: nvidia
[ 858.339] (==) Matched nvidia as autoconfigured driver 0
[ 858.339] (==) Matched nouveau as autoconfigured driver 1
[ 858.339] (==) Matched nv as autoconfigured driver 2
[ 858.339] (==) Matched intel as autoconfigured driver 3
[ 858.339] (==) Matched modesetting as autoconfigured driver 4
[ 858.339] (==) Matched fbdev as autoconfigured driver 5
[ 858.339] (==) Matched vesa as autoconfigured driver 6
[ 858.339] (==) Assigned the driver to the xf86ConfigLayout
[ 858.339] (II) LoadModule: "nvidia"
[ 858.339] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 858.339] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 858.339] compiled for 4.0.2, module version = 1.0.0
[ 858.340] Module class: X.Org Video Driver
[ 858.340] (II) LoadModule: "nouveau"
[ 858.340] (WW) Warning, couldn't open module nouveau
[ 858.340] (II) UnloadModule: "nouveau"
[ 858.340] (II) Unloading nouveau
[ 858.340] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 858.340] (II) LoadModule: "nv"
[ 858.340] (WW) Warning, couldn't open module nv
[ 858.340] (II) UnloadModule: "nv"
[ 858.340] (II) Unloading nv
[ 858.340] (EE) Failed to load module "nv" (module does not exist, 0)
[ 858.340] (II) LoadModule: "intel"
[ 858.340] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 858.340] (II) Module intel: vendor="X.Org Foundation"
[ 858.340] compiled for 1.18.0, module version = 2.99.917
[ 858.340] Module class: X.Org Video Driver
[ 858.340] ABI class: X.Org Video Driver, version 20.0
[ 858.340] (II) LoadModule: "modesetting"
[ 858.340] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 858.340] (II) Module modesetting: vendor="X.Org Foundation"
[ 858.340] compiled for 1.18.0, module version = 1.18.0
[ 858.340] Module class: X.Org Video Driver
[ 858.340] ABI class: X.Org Video Driver, version 20.0
[ 858.340] (II) LoadModule: "fbdev"
[ 858.340] (WW) Warning, couldn't open module fbdev
[ 858.340] (II) UnloadModule: "fbdev"
[ 858.340] (II) Unloading fbdev
[ 858.340] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 858.340] (II) LoadModule: "vesa"
[ 858.340] (WW) Warning, couldn't open module vesa
[ 858.340] (II) UnloadModule: "vesa"
[ 858.340] (II) Unloading vesa
[ 858.340] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 858.340] (II) NVIDIA dlloader X Driver 358.16 Mon Nov 16 18:32:40 PST 2015
[ 858.340] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 858.340] (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
[ 858.340] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 858.340] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 858.340] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 858.340] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 858.343] (WW) Falling back to old probe method for modesetting
[ 858.343] (EE) Screen 0 deleted because of no matching config section.
[ 858.343] (II) UnloadModule: "modesetting"
[ 858.343] (EE) Device(s) detected, but none match those in the config file.
[ 858.343] (EE)
Fatal server error:
[ 858.343] (EE) no screens found(EE)
[ 858.343] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 858.343] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 858.343] (EE)
[ 858.344] (EE) Server terminated with error (1). Closing log file.Offline
Here is /var/log/Xorg.0.log (note ls -a on this has a date stamp of Jan 24 23:02)
Unless you are using a display manager such as GDM, the Xorg log will be at ~/.local/share/xorg/Xorg.0.log (because rootless X)
At any rate, the posted log file shows that your drivers are not set up ("no screens found").
Either follow the Optimus guide or disable the NVIDIA card from your firmware ("BIOS") options.
Jin, Jîyan, Azadî
Offline
the Xorg log will be at ~/.local/share/xorg/Xorg.0.log (because rootless X)
This file does not exist on my system after running startx.
the posted log file shows that your drivers are not set up ("no screens found").
Yes I know. That's why I said in my original post:
BTW: /var/log/Xorg.0.log is not written to during the above procedure.
The Xorg.0.log file posted is from a couple weeks ago before updating the kernel - which seems to have fixed the driver issue I was having.
Offline
Yes, of course sorry.
Try this kernel parameter:
intel_iommu=igfx_offJin, Jîyan, Azadî
Offline
Ok. So weirdest thing happened. I went into the UEFI settings and there is a setting called "3D Graphic Acceleration" and I disabled it. I'm not sure if this disabled the GPU or not however. After rebooting I ran startx and everything worked. Could it have been the GPU?
Offline
It sounds like that may be the case, yes.
Disclaimer: I've never owned a machine with a discrete GPU.
Jin, Jîyan, Azadî
Offline
Ok. I'll mark issue as resolved. To the future reader using skylake: If you want to get Xorg to work and not use the graphics card you must disable it using BIOS or UEFI options. I think the issue is Xorg can't figure out which driver to use.
Offline